1. gatoula

    OP gatoula Advanced Member
    Newcomer

    Joined:
    Jul 21, 2016
    Messages:
    86
    Country:
    Greece
    How to import .sav files from nintendo DS console to emulator?
    I have tried desmume 0.9.6. but it gives me error when i try to import.
     
    Last edited by gatoula, Sep 9, 2020
  2. Shadow#1

    Shadow#1 Wii, 3DS Softmod & Dumpster Diving Expert
    Member

    Joined:
    Nov 21, 2005
    Messages:
    10,248
    Country:
    United States
    Most DS Emulator s dont use raw saves u will have to convert them and Idk how
     
  3. godreborn

    godreborn GBAtemp Legend
    Member

    Joined:
    Oct 10, 2009
    Messages:
    18,903
    Country:
    United States
    that's an interesting challenge. send me the save and I'll try to convert it.
     
  4. gatoula

    OP gatoula Advanced Member
    Newcomer

    Joined:
    Jul 21, 2016
    Messages:
    86
    Country:
    Greece
    here you go:
     

    Attached Files:

  5. godreborn

    godreborn GBAtemp Legend
    Member

    Joined:
    Oct 10, 2009
    Messages:
    18,903
    Country:
    United States
    I figured it out with new super mario bros. let me download that game.

    — Posts automatically merged - Please don't double post! —

    what region is the game?
     
  6. FAST6191

    FAST6191 Techromancer
    Reporter

    Joined:
    Nov 21, 2005
    Messages:
    33,468
    Country:
    United Kingdom
    Step 1 is dump the saves.
    If using a flash cart it should be a matter of grab SD card (or plug in cable if it is one of those ones), copy and paste.
    If using an original cart then there are loads of homebrew programs to dump saves. Stuff for the original DS will tend to revolve around either the GBA slot (either running from or copying to), wifi or the like and involve swapping out the DS cart if it is not being dumped from a GBA slot flash cart (unlikely in this day and age).
    The DSi and 3ds on the other hand should have options to dump from them if they are hacked and can run homebrew.
    There are also hardware devices that will dump saves in various manners.

    Flash carts, and also some of the dumping tools, will use other formats that are not raw saves.
    Most of the time this involves sticking a bit of info on the end of the save to identify the game (DS games were responsible for their own save formats which meant most games did not include any easily identifiable info, newer consoles will tell them to put their save data in this format which usually includes a name of the game), trimming them (most DS games do not indicate the size of save so most dumpers/flash carts then went for the maximum*) or compressing them.
    To that end we have conversion tools
    http://shunyweb.info/convert.php

    *the actual maximum is considerable and seen in that warioware DIY game and some music games (daigasso I believe was one) where you download extra songs or store your own creations. For most practical purposes though then 512K was it, something of a problem when 2 gig microSD cards were a considerable expense and many were still using 512 meg or 1 gig hence the compression.

    Emulators may also have limited abilities to accept other save formats (their own tending to vary, even more so if you go fiddling with options). Emulators will tend to be more raw formats than others but there are exceptions. Anyway said other format options might well be in the file menu somewhere to import a save, as opposed to simply naming it the same as the ROM and putting it in the save folder.
    Also be sure you are using the same ROM -- while I would expect most Euro and NA ROMs to play together, indeed it is far from unusual for Japanese and Euro/NA stuff to play nicely, there can be differences, and likewise there may be differences for v1.1 or those games that got a later version with wifi support.
     
  7. godreborn

    godreborn GBAtemp Legend
    Member

    Joined:
    Oct 10, 2009
    Messages:
    18,903
    Country:
    United States
    try this

    — Posts automatically merged - Please don't double post! —

    I converted it via hex editing. it works.
     

    Attached Files:

  8. gatoula

    OP gatoula Advanced Member
    Newcomer

    Joined:
    Jul 21, 2016
    Messages:
    86
    Country:
    Greece
    Lots of thanks can you tell me what program you used so i can convert it myself next time?
     
  9. godreborn

    godreborn GBAtemp Legend
    Member

    Joined:
    Oct 10, 2009
    Messages:
    18,903
    Country:
    United States
  10. gatoula

    OP gatoula Advanced Member
    Newcomer

    Joined:
    Jul 21, 2016
    Messages:
    86
    Country:
    Greece
    I have it how exactly you did this?
     
  11. godreborn

    godreborn GBAtemp Legend
    Member

    Joined:
    Oct 10, 2009
    Messages:
    18,903
    Country:
    United States
    the save is padded, so you delete the padding up to 0x1ec and add this to the end: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 7C 3C 2D 2D 53 6E 69 70 20 61 62 6F 76 65 20 68 65 72 65 20 74 6F 20 63 72 65 61 74 65 20 61 20 72 61 77 20 73 61 76 20 62 79 20 65 78 63 6C 75 64 69 6E 67 20 74 68 69 73 20 44 65 53 6D 75 4D 45 20 73 61 76 65 64 61 74 61 20 66 6F 6F 74 65 72 3A EC 01 00 00 00 02 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 7C 2D 44 45 53 4D 55 4D 45 20 53 41 56 45 2D 7C
     
  12. gatoula

    OP gatoula Advanced Member
    Newcomer

    Joined:
    Jul 21, 2016
    Messages:
    86
    Country:
    Greece
    What padding? Be more specific?
     
  13. godreborn

    godreborn GBAtemp Legend
    Member

    Joined:
    Oct 10, 2009
    Messages:
    18,903
    Country:
    United States
    the save file is padded with 0s at around that hex address all the way to the end. each dsemu save contains that hex above as a footer.

    — Posts automatically merged - Please don't double post! —

    upload_2020-9-9_6-19-8.png
     
  14. gatoula

    OP gatoula Advanced Member
    Newcomer

    Joined:
    Jul 21, 2016
    Messages:
    86
    Country:
    Greece
    So after FF i copy the padding you sent?
     
  15. godreborn

    godreborn GBAtemp Legend
    Member

    Joined:
    Oct 10, 2009
    Messages:
    18,903
    Country:
    United States
    include the FF. it's just 0s before that. starting at 0x1ec

    — Posts automatically merged - Please don't double post! —

    do note this is a per game basis. new super mario bros. ds is 9KBs.
     
  16. gatoula

    OP gatoula Advanced Member
    Newcomer

    Joined:
    Jul 21, 2016
    Messages:
    86
    Country:
    Greece
    Rom gets black screen when game saves after a mission
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - nintendo, emulator, import