Homebrew melonDS 0.4

Arisotura

rise of melonism
OP
Member
Joined
Dec 5, 2009
Messages
839
Trophies
1
Age
30
Location
center of the Sun
Website
kuribo64.net
XP
2,498
Country
France
melonDS 0.4 is out!

The highlights of this release are several 2D and 3D fixes and improvements, but also, working wifi multiplayer.

The full changelog is below.


• implement access modes for certain IO registers that were unhandled
• actually implement RCNT instead of hardcoding it
• wifi: emulation of multiplayer cmd/reply/ack transfers
• wifi: more accurate RFSTATUS/RFPINS
• wifi: some games can go into multiplayer now (Pictochat, NSMB, Pokémon known working)
• improved savemem detect heuristic
• implement firmware write, fix SPI bugs
• accurate emulation of 'main memory display FIFO'
• 2D: fix render/capture order
• 2D: implement mode6 large BG
• 2D: fix bitmap BG sizes
• 2D: fix rotscaled bitmap sprites
• 3D: fix missing term in MatrixTranslate
• 3D: fix toon highlight mode
• 3D: fix boxtest bug
• 3D: accurate viewport transform
• 3D: polygon Y-sorting
• 3D: more accurate interpolation, still not perfect
• 3D: more accurate Z and W transforms, fix some cases of Z-fighting
• 3D: separate polygonID attributes for opaque and translucent pixels
• 3D: start documenting and implementing depth test edge cases
• emulate delays for SPI transfers and div/sqrt
• misc bugfixes/additions as usual


pile of copypasta

melonDS4_1.png
melonDS4_2.png
melonDS4_3.png


How to use

melonDS requires BIOS/firmware dumps from a DS. You can dump them with the following dumper.

The files must be placed in the same directory as the melonDS executable, as follows:

* bios7.bin -- ARM7 BIOS, 16KB
* bios9.bin -- ARM9 BIOS, 4KB
* firmware.bin -- firmware, 256KB or 512KB

Note: the DS-mode firmware in the 3DS isn't bootable. It only contains the bare minimum required to run DS games. Be sure to enable direct game boot when using a firmware dump from a 3DS.

Settings

Emulation: settings related to emulation. For now it lets you enable direct game boot (directly runs the game instead of going through the firmware) and the threaded 3D renderer.

There's also a wifi-related setting (which only ended up there because I'm lazy and I need to redo the UI). You should try toggling it if you have trouble getting multiplayer working.

Input: allows you to configure keyboard and joystick input. You can change a mapping by clicking the corresponding entry, then pressing a keyboard key or joystick button. For now, joystick input uses the first joystick available if multiple joysticks are plugged.

If your game fails to save

Check the size of the savefile. melonDS can, in some circumstances, misdetect the save memory type.

Save memory type detection is done only when no existing savefile is present.

If you provide an existing savefile with the correct size, melonDS will use the correct save memory type and saving should work properly.


Downloads

* Windows 64-bit
* Linux 64-bit


If you feel generous

melonDS Patreon


Have fun! :D
 

Hayro

Well-Known Member
Newcomer
Joined
Oct 17, 2016
Messages
89
Trophies
0
Age
34
XP
377
Country
France
How do you setup the Wifi function for MelonDS?
I can't find the access point.

Anyone tested Dragon Quest iX online?
 

Mat37

Well-Known Member
Member
Joined
Dec 3, 2016
Messages
790
Trophies
0
Age
22
Location
Does it matter ?
XP
1,379
Country
France
I am only about 20FPS at MKDS title screen and about 10-15 in race. Is that because the emu require a lot of power or something like bad BIOS and firmware ? (i got them from that paradise site since i don't have a ds)
 
Last edited by Mat37,

AsPika2219

Pikachu going beach!
Member
Joined
Jun 17, 2010
Messages
1,954
Trophies
1
Age
47
Location
Cats City
XP
3,022
Country
Malaysia
Testing 1-2-3..... I testing exporting save games from Desmume into melonDS, just few hour ago. :)

  • Open Desmume and any games (example Digimon World Dawn). Play the game and save after any events on games. Pause the game.
  • Next, open File menu and select Export Backup Memory. For Save As Type, stay with Raw save format because melonDS using RAW save version.
  • Change directory into MelonDS or anything depend you put melonds.exe file. For file name, type game name (must matched) for you play it.
  • Click Save and done. Quit Desmume. Next, open My Computer and select Hard Disk C:\ (not other drive because you play them)
  • Next job is copy ROM games from Desmume (under C:\Desmume\Roms or any directory) into MelonDS directory.
  • After that, rename save game that you created from Desmume, just matching game name.
  • Example:- ROM game is Digimon Dawn.nds and save game must to be Digimon Dawn.sav
  • Next job is open MelonDS and open the games (example Digimon Dawn). Wait until show main menu.
  • Select Continue (or Load Game depend on games itself) and finally you continue the saved games from Desmume before!

Try it! Is works! :D If doesn't work, maybe some games required other save game format.... Anyway, enjoy the games! :yaynds:
 

blckshrk

Member
Newcomer
Joined
Jul 5, 2017
Messages
7
Trophies
0
XP
51
Country
Germany
What's the reason for this emulator having 3 windows?

Nonetheless melonDS is great and I'm sure it's going to be a better emulator than DeSmuME is!
It seems like it doesn't even have those timing issues with Pokemon HGSS that DeSmuME supposedly has and there are no random black dots/lines as well. Nice work!
 

PeeJay Bonobo

Well-Known Member
Member
Joined
May 10, 2014
Messages
117
Trophies
0
Age
37
Location
Jamaica, New York
Website
steamcommunity.com
XP
2,039
Country
United States
What's the reason for this emulator having 3 windows?

Nonetheless melonDS is great and I'm sure it's going to be a better emulator than DeSmuME is!
It seems like it doesn't even have those timing issues with Pokemon HGSS that DeSmuME supposedly has and there are no random black dots/lines as well. Nice work!

@StapleButter has stated that he is currently at work on a UI, so you don't have a console, ingame, and a menu window all over your computer screen. Hopefully, this happens by 0.5+, but nonetheless, it's shaping up to be what DeSmuME should've been.
 
  • Like
Reactions: blckshrk

Kioku

猫。子猫です!
Member
Joined
Jun 24, 2007
Messages
12,003
Trophies
3
Location
In the Murderbox!
Website
www.twitch.tv
XP
16,126
Country
United States
No. The 3DS can't even handle N64 emulation.
What does that have to do with anything? Also, why are we talking about emulating DS on the 3DS again? There's already ways of playing ds games without a flashcard and horrible emulation.
 

Hayro

Well-Known Member
Newcomer
Joined
Oct 17, 2016
Messages
89
Trophies
0
Age
34
XP
377
Country
France
Also, why are we talking about emulating DS on the 3DS again? There's already ways of playing ds games without a flashcard and horrible emulation.
You can't run all DS games on 3DS because of Compatibility problem.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=hke2YUirpf4 +1