Homebrew WIP melonDS for Switch

  • Thread starter Thread starter Hydr8gon
  • Start date Start date
  • Views Views 654,884
  • Replies Replies 1,382
  • Likes Likes 87
Quick tests (all with full overclock) Switch FW9.0
Castlevania: Dawn of Sorrow - Close to fullspeed
Mario Kart - Fullspeed!
New Super Mario Bros. - Fullspeed!
Phantom Hourglass - Slightly slow in the beginning cutscenes but otherwise Fullspeed!
Sonic Rush - Fullspeed!
Super Mario 64 DS - close to fullspeed (playable)
Warioware Touched - Fullspeed!
Yoshi's Island - Fullspeed!

Not too shabby :)
 
hi, thank you for your work o/

zelda phantom hourglass+spirit tracks (EU) work, with some slow down on cutscenes
also tested avalon code (EU), also cutscene slowdown
same for Golden Sun 3 (EU)

white screen on Dragon quest 9 (EU)
 
I'm still getting a white screen when I load a rom with the newest version

I've got
\melonds\romlist.bin
\melonds\firmware.bin
\melonds\bios7.bin
\melonds\bios9.bin
\roms\ds\Rhythm Heaven (USA).nds
\roms\ds\WarioWare - Touched! (USA).nds
\switch\melonDS.nro

edit: nvm, the filenames were wrong
 
Last edited by Syynx,
Just ordered Flip Grip for 12 bucks what ya think? It's at https://www.fangamer.com/products/flip-grip if you want one.
20191014_172640.jpg
20191014_172653.jpg
 
Last edited by FanNintendo,
Whoa, the thread blew up! @catlover007 I wonder if your build should get its own thread, since it has its own UI and all. I dunno if there's any interest in porting the JIT to my UI as well, although I kinda want to rewrite that UI since the code is messy. Anyways, great work! :yaynds:
 
Whoa, the thread blew up! @catlover007 I wonder if your build should get its own thread, since it has its own UI and all. I dunno if there's any interest in porting the JIT to my UI as well, although I kinda want to rewrite that UI since the code is messy. Anyways, great work! :yaynds:
Personally would like having the JIT with your UI since the touch one bit hard to use and the file paths are hardcoded in a way that isn't tidy, would prefer all files in the switch/melonds folder instead of root of sdcard.
 
Does this work in atmo/kosmos? when i boot a game i get a error and the software is closed down - or with applet mode i get a crash. (fw9.0)
 
are you sure that you have all the files in place(bios9.bin, bios7.bin, firmware.bin and romlist.bin)?

I have the following files:

Root/melonds:
bios7
bios9
firmware
romlist
imgui

And the nro i have in the switch folder.

I also tried a different SD card to be sure but the same thing happends.

Edit: After i redownloaded the files it started up just fine. Sorry haha
 
Last edited by Qwerty5555,
Whoa, the thread blew up! @catlover007 I wonder if your build should get its own thread, since it has its own UI and all. I dunno if there's any interest in porting the JIT to my UI as well, although I kinda want to rewrite that UI since the code is messy. Anyways, great work! :yaynds:
It's called "Good team work" putting DS to improvement better
 
Have all my files setup properly yet I still cant get any games to start up. Stuck at the white screen. Not only that the gui becomes so laggy, it's near unusable.
 
  • Like
Reactions: Deleted User
Have all my files setup properly yet I still cant get any games to start up. Stuck at the white screen. Not only that the gui becomes so laggy, it's near unusable.
Make sure all the files in the melonds folder are .bin filetype

bios7.bin
bios9.bin
romlist.bin
firmware.bin
 
this crashes atmosphere when i try to load a rom. the files are in the right place, the .bin's are all .bin
HELP

EDIT: this only happens when going through album. if i use the hbmenu NSP it works as it should. strange
 
Last edited by mammoth_dream,
Not strange, running homebrew through album has only a pittance of memory. To get full memory you need to use either an nsp forwarder or title redirect on atmosphere (Hold R while launching any Switch game)
 
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

EDIT 3: The bug above is now fixed too, the attachment has been updated

EDIT 4: Overclocking on fw versions >=8.0.0. has (hopefully, I can't test it) been fixed

Quick Question.
What is the Roms.bin?
A renamed Txt file whit the Names of the Games Inside the Roms.bin?
 

Site & Scene News

Popular threads in this forum