• Welcome to SCdev.org. Please log in.

Welcome to the new SCdev forums!

Can you convert R4 and sclite saves to load back into original NDS cart?

Started by jumpman, August 26, 2007, 05:29:15 PM

Previous topic - Next topic

jumpman

I just have a simple question.  I downloaded some .sav files from original carts using the NDS_Backup_Tool_Slot2.  There is also an option with this homebrew to load a .sav file back into the original cart by selecting one from the list.  I downloaded the save, and now I can convert this .sav file to work with either the SClite or the R4.  But I was wondering, is there a way to convert these files (R4 or SCLite .save files), back into their orginal format, so if I wanted to, I can put them back on the original cart?

Example:
1) Backup Game and Save for Mario Brothers (Save file is on Level 2).
2) Patch save file for use in either R4 or SCLite.
3) Play backup (R4 or SCLite)..... and then save (Save file is on Level 8).
4) Convert R4 or SCLite save file back to its original format.
5) Upload this save file back to the original NDS Mario Brothers game (Now Save is on Level 8 instead of Level 2), using NDS_Backup_Tool_Slot2.

I hope that I explained this correctly.  Thanks for the help!!!

liquidnitrogen

R4 and the Supercard Lite uses the standard format the original cart uses...

so the easiest way for me or anyone is using the Slot2 method -

boot into slot2 - run rein17 or reinmoon
swap out the slot1 for your original ds cart
select file -> ds cart
wait for it to write

you're done

jumpman

Interesting, I guess that Rudolphs tool for grabbing save files from the NDS games doesn't work, because when I put the .nds and .sav that I dump from an original in the R4 or SCLite, when I boot the .nds file, it says that there is no save file present, and just creates a fresh one.  Does reinmoon do save dumps from originals as well as re-writing new saves?

jumpman

Well I did some research, and I found out that the R4 uses 512 KB for a .sav file.  I verified this by just creating a fresh .sav file from the R4 and then copied it to my PC.  Most of the save files that I do copy with rudolphs tool are not that large usually 64 KB or 128 KB, so I assume that this is why they are not recognized by the R4 when you attempt to boot a rom.  I read that you have to "pad" a save file to make it larger, I assume add a bunch of "zeros" to the file to make it 512 KB.  I also assume that there is software created to handle this process, and is this what the R4 save file converter actually do (I hope that it doesn't change any other parts of the data, since I hope to re-insert it back into the original cart in the future)?  If I take this new 512 KB file and try to place it back onto the original cart who's save space was originally 64 KB, will it automatically cut off the padding, or do I need to manually do this first?  If I do need to manually do this, then anybody know of any software for this??  Thanks!!!

dantheman

I'd imagine it would work best if you manually cut off the extra data.  A hex editor should help with this.

kkan

have you tried the DS SAVE TOOL Convertor ?

here also posted about by me elsewhere on the forum :)

Mota

Use the DS Save converter mentioned by kkan, it worked wonders for me!

Also, track down a program called 'eepinator' for all kinds of wonderful SRAM copying options.
White NDSL / Flashme 7 / DSLink / EZ 3-in-1