Homebrew WIP melonDS for Switch

  • Thread starter Thread starter Hydr8gon
  • Start date Start date
  • Views Views 654,917
  • Replies Replies 1,382
  • Likes Likes 87
so I already wanted to do a release last week, but then I didn't. I don't know why now, but I think this is a good point in time.

So behold, the first public (pre alpha) release of melonDS with ARM64 JIT and Neon GPU optimisations:toot::toot:. The source code is available here: https://github.com/RSDuck/melonDS/tree/switch

You need to put your bios files and romlist.bin (which is shipped with regular melonds releases) into sdcard root/melonds

It currently uses my own not so great for end user interface, but this also isn't a release for general audiences.

Press ZL to hide the gui overlay while playing.

Most 2d games run well without overclocking. For 3d games it depends on the load. E.g. Pokemon HG runs fullspeed with full overclock. Saving is always slow, because it's done synchronous in melonDS, so it's bound by your sd card speed.

The jit max block size is by default set to max 32. The dynarec of melonDS seems to be more robust than the one of desmume, I haven't found a game, which breaks at this high block size. If you do experience crashes or bugs, please try to first to disable branch optimisations and then to lower the block size. Note that the fast 2d renderer currently dosen't support background mosaic, which should rarely be noticeable.

The future is currently unclear. My homebrewed profiler turned out to provide inaccurate results, there are so many things I could try, but I don't know how much impact they would make.

EDIT: I noticed that the screen layout isn't applied on load, the attached file is replaced with one where this was fixed.

EDIT 2: I noticed a second bug, when the screens are rotated the touchscreen doesn't work properly


great job!
 
  • Like
Reactions: lordelan
Holy shit!
melonDS with Switch dynarec! \o/
This is amazing!

Would the JIT changes be applied into the main repo?
And also, would those changes be carried over to the libretro core of melonDS?
great job!

Looks wonderful?
Did you use overclock for this?
 
will not work i have same issue as ploggy
Which issue?
Make sure you have the bios7.bin, bios9.bin and firmware.bin in root/melonds.
-----------
The only game that runs fullspeed for me so far in my tests is Yoshi's Island, both Mario 64 DS and Castlevania Aria of Sorrow run quite badly :/
I haven't tried Pokemon yet but looking at the vid above that should run fine :)
 
Which issue?
Make sure you have the bios7.bin, bios9.bin and firmware.bin in root/melonds.
-----------
The only game that runs fullspeed for me so far in my tests is Yoshi's Island, both Mario 64 DS and Castlevania Aria of Sorrow run quite badly :/
I haven't tried Pokemon yet but looking at the vid above that should run fine :)
20191013_121742.jpg
 
Which issue?
Make sure you have the bios7.bin, bios9.bin and firmware.bin in root/melonds.
-----------
The only game that runs fullspeed for me so far in my tests is Yoshi's Island, both Mario 64 DS and Castlevania Aria of Sorrow run quite badly :/
I haven't tried Pokemon yet but looking at the vid above that should run fine :)
Dawn* of Sorrow :p
Aria is the GBA one. Unless melon runs GBA too and I wasn't aware of it xD
 
  • Like
Reactions: ploggy
as I already wrote only 2d games run fullspeed without overclock. For games which use the 3d engine (which includes some games which use the 3d engine to draw 2d graphics) overclock is unfortunately still needed.

You can enable overclocking before loading a rom, in the window called "Settings"
 
  • Like
Reactions: ShadowOne333
as I already wrote only 2d games run fullspeed without overclock. For games which use the 3d engine (which includes some games which use the 3d engine to draw 2d graphics) overclock is unfortunately still needed.

You can enable overclocking before loading a rom, in the window called "Settings"
mine not working how do u put melon.nro in what file? I have bios and bin in melon folder. i had old melon was working now this new melon.nro not working
 
still not working and u mind show me the directory file how u do?
2019101317384800-703BDEE72B19135DD048E644FC452DE6.jpg

as I already wrote only 2d games run fullspeed without overclock. For games which use the 3d engine (which includes some games which use the 3d engine to draw 2d graphics) overclock is unfortunately still needed.

You can enable overclocking before loading a rom, in the window called "Settings"
I should have said this IS with full overclock through the ui settings
 
I should have said this IS with full overclock through the ui settings
I noticed too that e.g. Animal Crossing doesn't work too well even with full overclock. Though I know that Pokemon HG, aswell as Mario Kart run fullspeed. There's still a lot to be done.

I have also updated the binary, touch input for rotated screens is now fixed.
 
  • Like
Reactions: ber71 and ploggy

Site & Scene News

Popular threads in this forum