melonDS 0.4

Discussion in 'NDS - Emulation and Homebrew' started by StapleButter, Jul 16, 2017.

  1. StapleButter
    OP

    StapleButter 'New Member' registered since 2009. Fuck yea.

    Member
    773
    1,466
    Dec 5, 2009
    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

    [​IMG] [​IMG] [​IMG]

    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
     


  2. Olmectron

    Olmectron GBAtemp Addict

    Member
    2,096
    1,300
    Dec 31, 2012
    Mexico
    A game
    Wow. Thanks for this release!
     
  3. AsPika2219

    AsPika2219 Pikachu going beach!

    Member
    1,198
    220
    Jun 17, 2010
    Malaysia
    Cats City
    Oh yeah! :D WIFI!!!!!! :yay: Is time for enjoying Pokemon games with WIFI!!!! :yaynds:
     
  4. AsPika2219

    AsPika2219 Pikachu going beach!

    Member
    1,198
    220
    Jun 17, 2010
    Malaysia
    Cats City
    Someone testing Pokemon games with trading between version on 2 PC's!



    That's was AWESOME!!! :yaynds:
     
  5. azoreseuropa

    azoreseuropa GBAtemp Guru

    Member
    5,629
    802
    Nov 6, 2002
    Portugal
    Proud to be Portuguese but I am in USA.
    It is going to the best emulator over DeSmuME. I will replace it soon. melonDS is an awesome emulator right now!
     
    StarTrekVoyager likes this.
  6. Hayro

    Hayro Member

    Newcomer
    45
    2
    Oct 17, 2016
    France
    How do you setup the Wifi function for MelonDS?
    I can't find the access point.

    Anyone tested Dragon Quest iX online?
     
  7. StapleButter
    OP

    StapleButter 'New Member' registered since 2009. Fuck yea.

    Member
    773
    1,466
    Dec 5, 2009
    France
    It only works for local multiplayer.
     
  8. Mat37

    Mat37 GBAtemp Regular

    Member
    190
    13
    Dec 3, 2016
    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, Jul 21, 2017
  9. mustafag32g

    mustafag32g GBAtemp Advanced Fan

    Member
    640
    438
    Jul 30, 2014
    Argentina
    whats the difference between this and the first DS emulator that came out many years ago ?
     
  10. Mat37

    Mat37 GBAtemp Regular

    Member
    190
    13
    Dec 3, 2016
    France
    We can play Wifi
     
  11. StarTrekVoyager

    StarTrekVoyager Soon™

    Member
    952
    1,014
    Jun 19, 2016
    France
    Paris
    This emulator is more accurate in many ways. Also, it still doesn't have JIT, so it's very slow and you need very capable hardware.
     
  12. Mat37

    Mat37 GBAtemp Regular

    Member
    190
    13
    Dec 3, 2016
    France
    Thank, will wait for some newer releases ^^
     
  13. AsPika2219

    AsPika2219 Pikachu going beach!

    Member
    1,198
    220
    Jun 17, 2010
    Malaysia
    Cats City
    Testing 1-2-3..... I testing exporting save games from Desmume into melonDS, just few hour ago. :)

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

    noctis90210 GBAtemp Advanced Fan

    Member
    731
    106
    Dec 24, 2013
    i hope this can be ported to 3ds, will it be possible?
     
  15. StarTrekVoyager

    StarTrekVoyager Soon™

    Member
    952
    1,014
    Jun 19, 2016
    France
    Paris
    No. The 3DS can't even handle N64 emulation.
     
    TotalInsanity4 likes this.
  16. blckshrk

    blckshrk Newbie

    Newcomer
    5
    3
    Jul 5, 2017
    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!
     
  17. PeeJay Bonobo

    PeeJay Bonobo Advanced Member

    Newcomer
    67
    34
    May 10, 2014
    United States
    Far Rockaway, New York
    @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.
     
    blckshrk likes this.
  18. Memoir

    Memoir A Hero to Zero

    Member
    GBAtemp Patron
    Memoir is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    4,714
    4,346
    Jun 24, 2007
    United States
    Wyoming
    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.
     
  19. Hayro

    Hayro Member

    Newcomer
    45
    2
    Oct 17, 2016
    France
    You can't run all DS games on 3DS because of Compatibility problem.
     
  20. Oleboy555

    Oleboy555 Wie dit leest is een zemmel

    Member
    639
    269
    Feb 8, 2017
    Netherlands
    Amsterdam
    Last edited by Oleboy555, Jul 21, 2017