Homebrew WIP melonDS for Switch

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,811
Trophies
2
XP
7,806
Country
United Kingdom
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 :)
 

Engezerstorung

Well-Known Member
Member
Joined
Nov 9, 2011
Messages
208
Trophies
1
XP
1,736
Country
France
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)
 

Syynx

Well-Known Member
Member
Joined
Jun 5, 2018
Messages
129
Trophies
0
Age
36
XP
432
Country
United States
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,

FanNintendo

Well-Known Member
Member
Joined
Apr 16, 2018
Messages
1,577
Trophies
0
Age
51
XP
2,495
Country
United States
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,

RisingHopperZeroOne

Well-Known Member
Newcomer
Joined
Jul 31, 2019
Messages
70
Trophies
0
Age
40
XP
232
Country
Australia
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.
 

Qwerty5555

Active Member
Newcomer
Joined
Sep 28, 2019
Messages
40
Trophies
0
Age
34
XP
113
Country
Afghanistan
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)
 

Qwerty5555

Active Member
Newcomer
Joined
Sep 28, 2019
Messages
40
Trophies
0
Age
34
XP
113
Country
Afghanistan
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,

FanNintendo

Well-Known Member
Member
Joined
Apr 16, 2018
Messages
1,577
Trophies
0
Age
51
XP
2,495
Country
United States
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
 

JonJaded

Well-Known Member
Member
Joined
May 22, 2016
Messages
669
Trophies
0
XP
2,856
Country
United States
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

Syynx

Well-Known Member
Member
Joined
Jun 5, 2018
Messages
129
Trophies
0
Age
36
XP
432
Country
United States
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
 

mammoth_dream

Member
Newcomer
Joined
Jul 13, 2018
Messages
17
Trophies
0
Age
33
XP
169
Country
United States
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,

Rahkeesh

Well-Known Member
Member
Joined
Apr 3, 2018
Messages
2,178
Trophies
1
Age
42
XP
3,248
Country
United States
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)
 

Stoned

Well-Known Member
Member
Joined
Mar 26, 2014
Messages
2,762
Trophies
2
Age
45
XP
4,341
Country
Germany
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

General chit-chat
Help Users
  • No one is chatting at the moment.
    LeoTCK @ LeoTCK: yes for nearly a month i was officially a wanted fugitive, until yesterday when it ended