WIP melonDS for Switch

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by Hydr8gon, Sep 17, 2018.

  1. Hydr8gon
    OP

    Hydr8gon Dragon Trainer

    Member
    4
    Dec 15, 2014
    Canada
    I present to you my port of the Nintendo DS emulator melonDS to the Switch. It's nothing fancy, but all the basic features are there for it to be usable. The file browser is very rough, and the emulator is slow. Experimental savestates are supported; the L button saves and the R button loads. The DS L and R buttons are mapped to the Switch ZL and ZR buttons because they're bigger.

    To use the emulator, place your legally dumped Nintendo DS BIOS files in the sdmc:/switch/melonds directory with the names "bios7.bin", bios9.bin", and "firmware.bin". It will not work without these files. Roms can be placed anywhere.

    Right now there is no full speed DS emulator on the Switch. If you're looking for your best option, DeSmuME-NX is a bit faster than this but has less features. melonDS development has recently resumed, and my hope is that it will eventually surpass DeSmuME.


    If you're interested in trying this out, you can download the emulator here on my GitHub. Source code is available as well.
     
    Last edited by Hydr8gon, Oct 22, 2018 at 5:38 PM
  2. jjbredesen

    jjbredesen Developer

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

    Our Patreon
    Feb 16, 2018
    Norway
    Hyrule
    Great work! Nice to see more emulators hitting the Switch
     
  3. Csmrcc

    Csmrcc Advanced Member

    Newcomer
    1
    Sep 13, 2018
    Spain
    sweeet news before going bed!!
    thank you!
     
  4. Xandrid

    Xandrid GBAtemp Advanced Fan

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

    Our Patreon
    Mar 27, 2016
    Nigeria
    Nice! Didn't know the melonds developer stopped the project, glad he resumed
     
  5. radicalwookie

    radicalwookie GBAtemp Regular

    Member
    2
    Sep 15, 2018
    United States
    This are the news I need to start off my day!
    GOOD WORK!
     
  6. Billy Acuña

    Billy Acuña GBAtemp Addict

    Member
    10
    Oct 10, 2015
    Mexico
    Hope this goes somewhere, melonDS is very future-proof AND alreally surpased desmume in accuracy, but it fails on the lack on hw rendering, hope Staple gets it soon.

    Enviado desde mi LG-X240 mediante Tapatalk
     
    -----a likes this.
  7. Draxzelex

    Draxzelex GBAtemp Guru

    Member
    15
    Aug 6, 2017
    United States
    New York City
    mgba and melonDS in the same day? This is the true power of the Switch hacking scene!
     
    -----a likes this.
  8. Nevercholt

    Nevercholt GBAtemp Regular

    Member
    2
    Jun 30, 2018
    Netherlands
    Awesome stuff <3
     
  9. focusonme

    focusonme GBAtemp Regular

    Member
    2
    Jun 30, 2016
    United States
    amazing !
     
  10. nWo

    nWo The Game Master

    Member
    3
    Oct 20, 2016
    Mexico
    Great!! man, looking forward to see the updates. Thanks
     
  11. OkazakiTheOtaku

    OkazakiTheOtaku no thanks, I don't want a custom title

    Member
    7
    Jul 20, 2016
    Japan
    127.0.0.1
    Loading any ROM simply crashes my console. Firmware 4.1.0
     
  12. Hydr8gon
    OP

    Hydr8gon Dragon Trainer

    Member
    4
    Dec 15, 2014
    Canada
    That's weird. Do you have BIOS files in the melonds folder with the correct filenames? Not sure why it's crashing though, it should be bringing up a message saying the files are missing and then stopping...

    Edit: I fixed the crash when an error occurs when attempting to launch a ROM. It should now properly display a message telling you that either the BIOS can't be found or the ROM can't be loaded. I updated the build for the initial release.
     
    Last edited by Hydr8gon, Sep 18, 2018
  13. OkazakiTheOtaku

    OkazakiTheOtaku no thanks, I don't want a custom title

    Member
    7
    Jul 20, 2016
    Japan
    127.0.0.1
    Hmm, I verified my bios with an MD5 hash. I wonder if it corrupted when I FTP'd it over. I'll try again.
     
  14. Hydr8gon
    OP

    Hydr8gon Dragon Trainer

    Member
    4
    Dec 15, 2014
    Canada
    Try redownloading melonDS too to get the updated build. It'll tell you whether the problem is with the BIOS or the ROM. And make sure the BIOS are named exactly how melonDS wants them: bios7.bin, bios9.bin, and firmware.bin.
     
  15. Fadi5555

    Fadi5555 GBAtemp Regular

    Member
    3
    Jan 3, 2018
    United States
    Sounds amazing.
    I hope we can run ds games on full landscape mode with tiny square on upper left or right or completely fullscreen without second screen like (Drastic DS).

    Here’s an image to get my point:
     

    Attached Files:

    Last edited by Fadi5555, Sep 18, 2018
  16. andre1891

    andre1891 GBAtemp Regular

    Member
    2
    Sep 12, 2015
    Gambia, The
    Are you planing to implement the Wireless Multiplayer DS Feature of melonds ?
     
  17. Madr0x

    Madr0x Member

    Newcomer
    3
    Jul 2, 2007
    thank you for this, tested a handful of games this morning and everything seems to load, managed to play a very slow 200 line marathon on Tetris DS, looking forward to improvements. Keep up the good work
     
  18. Hydr8gon
    OP

    Hydr8gon Dragon Trainer

    Member
    4
    Dec 15, 2014
    Canada
    It's not a priority right now, but maybe once the speed improves.
     
  19. TamarindoJuice

    TamarindoJuice GBAtemp Regular

    Member
    3
    Jan 30, 2016
    Brazil
    Nice work, thank you dev!

    Tried the Dragon Quest IX, booting fine, i wish you the best and that this emulator project goes on and on!
     
  20. mariogamer

    mariogamer GBAtemp Maniac

    Member
    5
    Aug 12, 2015
    Canada
    Nice to see the homebrews popping up.

    He didn't stopped it in the first place. Just a lack of commit those time.
    "Resume" doesn't mean that it was stopped.
     
Loading...