Homebrew [WIP] 3DeSmume (DS emulator for 3DS)

MRJPGames

Pretty great guy
Member
Joined
Aug 17, 2013
Messages
1,199
Trophies
1
Location
The Netherlands
Website
fizazy.com
XP
1,686
Country
Netherlands
I just downloaded this but can't try until later: does/will this work on 11.0.0-33U? (n3ds)
Quick look at source tells me yes. Does not rely on any kernel exploits is completely userland only. And as such should work. But I might be wrong though.
(Work = it boots, not it actually runs games)
 

itsthenavy

Well-Known Member
Member
Joined
Sep 3, 2015
Messages
102
Trophies
0
Age
31
XP
175
Country
United States
gbatemp really needs rules for it's development forums like xdadevelopers to keep garbage posting like the past 16 pages of this thread out. One shouldn't need to resort to PMs for help.

@shutterbug2000 does the repo contain all dependencies needed to compile? (With the exception of perhaps ctrulib which I have anyway.) I can't say I can help you with porting, as I've never worked with emulators before, but I am interested in building for fun.
 

shutterbug2000

Cubic NINJHAX!
OP
Member
Joined
Oct 11, 2014
Messages
1,088
Trophies
0
Age
29
XP
4,878
Country
United States
gbatemp really needs rules for it's development forums like xdadevelopers to keep garbage posting like the past 16 pages of this thread out. One shouldn't need to resort to PMs for help.

@shutterbug2000 does the repo contain all dependencies needed to compile? (With the exception of perhaps ctrulib which I have anyway.) I can't say I can help you with porting, as I've never worked with emulators before, but I am interested in building for fun.

The currently uploaded source needs sf2dlib, but I'm trying to make it ctrulib only.
 

MRJPGames

Pretty great guy
Member
Joined
Aug 17, 2013
Messages
1,199
Trophies
1
Location
The Netherlands
Website
fizazy.com
XP
1,686
Country
Netherlands
gbatemp really needs rules for it's development forums like xdadevelopers to keep garbage posting like the past 16 pages of this thread out. One shouldn't need to resort to PMs for help.

@shutterbug2000 does the repo contain all dependencies needed to compile? (With the exception of perhaps ctrulib which I have anyway.) I can't say I can help you with porting, as I've never worked with emulators before, but I am interested in building for fun.
It compiled for me first time. I do have sf2dlib which I think is needed (and external).
EDIT: Ninja'd by creator himself :(, :)?
 
  • Like
Reactions: shutterbug2000

faku1810

Well-Known Member
Member
Joined
Mar 10, 2014
Messages
893
Trophies
0
Age
32
XP
328
Country
Argentina
@shutterbug2000 Man, I'm rooting for you and I hope you can do what you want to achieve here. But I really think, and please don't take it wrong, that you should remove the attachments you linked to earlier and edit the first post to make it clear that this can't run roms yet, so people will stop asking the same questions (and reporting the same black screens/squares) all the time.

That said, I'll be watching this development, so cheers and I wish you luck.
 
  • Like
Reactions: MRJPGames

itsthenavy

Well-Known Member
Member
Joined
Sep 3, 2015
Messages
102
Trophies
0
Age
31
XP
175
Country
United States
The currently uploaded source needs sf2dlib, but I'm trying to make it ctrulib only.
Thanks. I was perusing the makefile and wanted to confirm that. Might pull that in later unless you're going to move to ctrulib soon. Are you only using sf2dlib to blit to the screen like the snippet in the OP? I'd go with the suggestion earlier and copy to the framebuffer directly for now and concern yourself with hardware acceleration after that.
 

shutterbug2000

Cubic NINJHAX!
OP
Member
Joined
Oct 11, 2014
Messages
1,088
Trophies
0
Age
29
XP
4,878
Country
United States
Thanks. I was perusing the makefile and wanted to confirm that. Might pull that in later unless you're going to move to ctrulib soon. Are you only using sf2dlib to blit to the screen like the snippet in the OP? I'd go with the suggestion earlier and copy to the framebuffer directly for now and concern yourself with hardware acceleration after that.

Yeah, my one question is how do I set the framebuffer size to that of the DS? Right now it just wants to draw on the side of the screen in rows.
 

MasterFeizz

Well-Known Member
Member
Joined
Oct 15, 2015
Messages
1,098
Trophies
1
Age
29
XP
3,710
Country
United States
Yeah, my one question is how do I set the framebuffer size to that of the DS? Right now it just wants to draw on the side of the screen in rows.
You can't set the framebuffer size, you have to run a loop and blit each pixel since the 3ds screen is rotated. Example:
Code:
for(x=0; x<256; x++){
    for(y=0; y<192;y++){
        framebuffer[((x*240) + (239 -y))] = source[( y * sourcewidth ) + x];
    }
}
 

Chaos8425

Well-Known Member
Newcomer
Joined
Mar 11, 2016
Messages
76
Trophies
0
Age
23
XP
92
Country
United States
I'm guessing the first supported games will have 2d graphics? I hope it can eventually play games like sm64ds (fav ds game of all time) (and sorry if someone already mentioned this 1-17 pages before)
 
Last edited by Chaos8425,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtu.be/eQZnbv5zc3w?si=I8MBUZfEnkZpwccJ