Homebrew melonDS 0.4

Crimson Cuttlefish

Well-Known Member
Member
Joined
Aug 15, 2016
Messages
298
Trophies
0
Age
21
XP
1,149
Country
United States
No, you can't. Correctly dump from your DS or you know where (I can't mention it since it is against the rules for illegal bios). I hope you know where to find it. :)
Ah nice, got 'em.
Question, why is the firmware.bin from my console the wrong size anyways? Is that common or is it just random among ds's?
 

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
Try it out :P

Download play is hit and miss from what I've seen.


As for the firmware size, the documentation misses one case: DSi/3DS firmware dumps are 128KB, and that is normal (as they don't include the firmware boot code, they were put on a smaller Flash chip). They should also be usable with melonDS without issue, as long as you keep direct boot enabled.

Edit- oh but crap, melonDS rejects lengths that aren't 256K or 512K. blarg
 

FFT

Active Member
Newcomer
Joined
Jan 6, 2016
Messages
41
Trophies
0
Age
32
XP
425
Country
Poland
Edit- oh but crap, melonDS rejects lengths that aren't 256K or 512K. blarg

Works for me, although tested on splitted part from the original DS 256KB ROM. Only warning is shown: Bad firmware size 131072, assuming 256K

He may also try to insert some padding into remaining space after/before firmware code, it may work - of course direct boot is still required.

If I have missed something then sorry. ;)
 
Last edited by FFT,

AsPika2219

Well-Known Member
Member
Joined
Jun 17, 2010
Messages
1,960
Trophies
1
Age
47
Location
Usa
XP
3,057
Country
Georgia
Will desume saves work with this

First, play any games on Desmume. Next, save the games on Desmume. Then, pause the games and open File menu and
select Export Backup Memory. Next, change folder or directory into MelonDS (or any directory which melonds.exe was
installed). For file name, type game name (must same as ROM). If you don't know, type any name for temporary.
For Save As Type, just keep RAW Save Format. Click Save button and mission was completed! Next, quit Desmume
and open My Computer. Select hard disk drive C: and go to MelonDS folder. Rename the save game file which your
typed anything into real one (match game name). Finally, open MelonDS and load the save game. Enjoy the games!

I tested Digimon World Dawn between Desmume and MelonDS and it was almost works! :D
 

BlastedGuy9905

where's the updated autopsy report
Member
Joined
Apr 13, 2017
Messages
2,334
Trophies
1
Age
33
Location
under your desk
XP
4,043
Country
United States
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
Does this not work with real DSs and DSis?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://www.phonearena.com/phones/compare/Samsung-Galaxy-S22+,Google-Pixel-8a/phones/11762,12219...