![]() | ||
Views: 24,212,733 | Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search | 02-09-25 05:52 AM |
Guest: |
0 users reading .sav question | 1 bot |
Main - General - .sav question | Hide post layouts | New reply |
foolishgrunt |
| ||
Newcomer Inactive Level: 4 Posts: 1/2 EXP: 143 Next: 136 Since: 01-07-18 Last post: 2589 days ago Last view: 1733 days ago |
My understanding is that melonDS generates raw .sav files, and it's also my understanding that Drastic generates raw files as well, albeit with a different extension (.dsv). I know in the past that I ahve been able to import drastic saves into Desmume by first renaming the drastic save from .dsv to .sav and importing, however I have no such success doing to same and opening the file in melonDS. Has anybody else tried it? |
Arisotura |
| ||
![]() Big fire melon magical melon girl Level: 59 ![]() Posts: 163/968 EXP: 1614887 Next: 58241 Since: 03-28-17 From: France Last post: 8 days ago Last view: 17 hours ago |
DraStic might be appending shit at the end of the file. Check that the file size is an exact power of two. ____________________ Kuribo64 |
foolishgrunt |
| ||
Newcomer Inactive Level: 4 Posts: 2/2 EXP: 143 Next: 136 Since: 01-07-18 Last post: 2589 days ago Last view: 1733 days ago |
Hm. Well, it's not *quite* exact - it's 512.1 kb (524,410 bytes as opposed to 524,288). So you may be right, thanks. I'll see if I can track down any useful information from Drastic. |
Arisotura |
| ||
![]() Big fire melon magical melon girl Level: 59 ![]() Posts: 165/968 EXP: 1614887 Next: 58241 Since: 03-28-17 From: France Last post: 8 days ago Last view: 17 hours ago |
You probably need to open it in a hex editor and trim the extra shit at the end. melonDS expects exact savefile sizes. ____________________ Kuribo64 |
oshawottuhh |
| ||
Newcomer Inactive Level: 3 Posts: 1/1 EXP: 50 Next: 78 Since: 03-19-18 Last post: 2518 days ago Last view: 2518 days ago |
instead of a hex editor, try this one: (it works perfectly for me | currently using melonDS 0.6b)
https://gbatemp.net/threads/nds-save-converter-v2-6-alpha.306224/ just open offline save converter 2. select save file type to NDS. select your game save file of whatever format. (Ex: Pokemon White Version 2.dsv*) .......*if .dsv, then select the source format to DeSmuME. select target format to Raw Format. (that's .sav file) select the size to whatever you like. (mostly, pokemon b2/w2 save file size was 512 kilo-bytes - 4 mega-bits) then convert it. |
ctown |
| ||
Newcomer Inactive Level: 3 Posts: 1/1 EXP: 46 Next: 82 Since: 04-02-19 Last post: 2140 days ago Last view: 2139 days ago |
@oshawottuhh
Thank you but that unfortuantly is only available for Windows. It does not work well on Wine. If anyone is confused on what exactly needs to be deleted to use a Drastic save file in melonds: 1) Open any Hex Editor. A) I used Okteta which is easily available on most Linux distributions. Bless and jeet are Linux alternatives. B) DxD is a safe choice on Windows. 2) Open the file in your hex editor. Go straight to the VERY end of the file. You will find this message:
3) Delete this message. Delete exactly what I quoted. This will also shorten the file by 122 bytes to make it the size melonds and flash cards want. A) In Okteta, I had to uncheck the option "Overwrite Mode" in the Edit options to be able to delete anything. 4) Save. 5) Rename the save file. A) It has to be the same name as the ROM. B) The extension has to be changed to .sav C) Put the sav file in the same folder as the nds file Takes about 30 seconds after you do it right once. I only ever used a Hex Editor once (Smash Bros Brawl releated!) I do not understand the point of Drastic and DeSmuMe adding such a weird message to the save file in the first place. edit: I'm sorry that I didn't see how old this thread was. I thought the post above mine was just a week old; not a year and a week old. I found this thread using Google and just decided to update it with a solution that worked for me. |
grateful |
| ||
Newcomer Inactive Level: 2 Posts: 1/1 EXP: 35 Next: 11 Since: 09-09-21 Last post: 1248 days ago Last view: 1172 days ago |
@ctown
You probably won't see this, but thank you so much!! I've been trying to import my DeSmuME .sav file into MelonDS for the past two hours using different convertors to no avail. The hex file edit worked perfectly. I have no idea what a hex editor even is, but blindly deleting the last 8 lines of code worked for me. Thanks again and apologies for resurrecting a 3 year old thread. |
Main - General - .sav question | Hide post layouts | New reply |
Page rendered in 0.045 seconds. (2048KB of memory used) MySQL - queries: 28, rows: 89/89, time: 0.032 seconds. ![]() © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |