EverDrive Forum

General => EverDrive 64 => Topic started by: Kerr Avon on January 25, 2017, 11:08 PM

Title: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: Kerr Avon on January 25, 2017, 11:08 PM
The following is a list of all the needed save_db.txt settings that I know of (as of the 27th March 2019). The file save_db.txt is used to tell the Everdrive 64 how to handle game saving and loading for games it's not been pre-programmed to handle, so you should keep the file up to date, so as to avoid saving problems with new hacks or homebrew games.

I suggest you open your save_db.txt file (it's in the ED64 folder, on your Everdrive 64's SD card) with a text editor, clear out all of the text, then copy and past the data from this post, starting with the line  'OFF       : 0'  up to and including the last line of this post ( 0x6D75410B=2   (Yoshi's Story - modified controls - http://krikzz.com/forum/index.php?topic=6087.0) ), in other words, just copy and past the black text into your text editor, and save it as the save_db.txt file.

That way, you'll have all of the known fixes on your SD card.






OFF       : 0
EEPROM 4k : 1
EEPROM 16k: 2
SRAM      : 3
SRAM 768  : 4
FLASHRAM  : 5
ROM ID or CRC HI can be used for game detection. (check "ROM Info" menu for details)
-----------------------------------


OS=1      (64 Oozumou)
O2=1      (64 Oozumou 2)
B5=3      (Biohazard 2 - Resident Evil 2)
N6=1      (Dr. Mario. ROM ID detection)
SI=3      (Fushigi no Dungeon - Furai no Shiren 2 - Oni Shuurai! Shiren Jou!)
GL=1       (Getter Love!!)
GF=1       (Goldfinger 64 save game)
JG=3       (Jinsei Game 64)
SB=1       (King Hill 64 Extreme Snowboarding)
PS=3      (Pokemon Stadium, Japan-only title)
PM=1      (Premier Manager 64)
PT=1      (Puyo Puyo 4 Puyo Puyo Party)
R7=2      (Robot Ponkotsu 64 7tsu no Umi no Caramel)
IB=3      (Shigesato Itoi's No. 1 Bass Fishing! Definitive Edition)
T3=2      (Shin Nihon Pro Wrestling Toukon Road 2)
TX=1       (Taz Express - http://krikzz.com/forum/index.php?topic=147.165)
A2=3        (Virtual Pro Wrestling 2 English translation by S.K. Stylez)
VF=3        (Virtual Pro Wrestling 2 Freem Edition)

0x0D40E9C6=2   (Conker's Bad Fur Day Modded 28-1-2017 - Altered Colors and Deathmatch modes)
0x96BA4EFB=3    (Derby Stallion 64 Beta)
0xD52FE29D=1   (Donchan Puzzle)
0x1F95CAAA=3   (Donkey Kong 64 (E) [f1] Boot&Save)
0xce84793d=3    (Donkey Kong 64 [f2]. CRC detection)
0x7D2D1059=3   (Donkey Kong 64 - Tag Anywhere - use D-PAd Left Right (V4) (U) [f2])
0x19E0E54C=1   (Dragon King)
0x6D9D1FE4=1   (Eleven Beat: World Tournament)
0x25414DCA=1    (Glover Prototype)
0x0D93BA11=2   (Kirby 64 - The Crystal Shards (E) [!])
0x46039FB4=2   (Kirby 64 - The Crystal Shards (U) [!])
0x0AC29131=2   (Kirby 64 - The Crystal Shards (U) [!] Analog Controls)
0x4248BA87=1   (Kuru Kuru Fever)
0x0160E9E5=1   (Last Legion UX (English Translation - 4k eeprom save))
0x21548CA9=3    (Mini Racers Prototype)
0x1974961C=4   (neon64 NES emulator v3 - Press L and R for savestates)
0xB73AB6F6=1   (Sin and Punishment - English Translation)
0x315C7466=1   (Star Soldier: Vanishing Earth Arcade)
0xFD6907F0=5   (Starcraft 64 German Prototype)
0xBC9B2CC3=5   (Starcraft 64 Prototype)
0x7f43e701=1         (Top Gear Rally PAL - http://krikzz.com/forum/index.php?topic=5385.0)
0x90AF8D2C=1   (Tower & Shaft)
0x5D40ED2C=1   (Viewpoint 2064 (Unreleased Game Prototype - uses 4kb save))
0x7280E03F=1   (Viewpoint 2064 English Translation (Unreleased Game Prototype - uses 4kb save))
0xC130FFE8=3   (Virtual Pro Wrestling English Translation Beta v1.77)
0x045C08C4=3   (Virtual Pro Wrestling Original)
0x2F57C9F7=1   (Vivid Dolls)
0x6D75410B=2   (Yoshi's Story - modified controls - http://krikzz.com/forum/index.php?topic=6087.0)
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: mikeveli20 on March 02, 2017, 09:13 PM
Can you verify that Kirby uses EEP16K and not EEP4K? According to the list at http://n64.icequake.net/mirror/www.elitendo.com/n64/usa_boot_save_list.html (http://n64.icequake.net/mirror/www.elitendo.com/n64/usa_boot_save_list.html), it's supposed to use EEP4K.

I went through my games and found a couple more discrepancies in the ED64 defaults. ED64 has Castlevania Legacy of Darkness as EEP4K and Duke Nukem Zero Hour as SRAM96K. However, both those games should use controller pak as per the linked list above. Can anyone verify these?
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: sysopgrace on May 15, 2017, 12:46 AM
Hi, I agree with you mikeveli20, the micro-64 site is showing the same stuff. Now I'm not sure if thats because they are using the same incorrect source or if these are some kind of required work-around for the ED64
http://micro-64.com/database/gamesave.shtml

I'll go through the database sometime and check for more issues.
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: jonesalmighty on May 15, 2017, 02:26 AM
In the case of top gear (and possibly others) it depended on the region as to which save type you got.
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: sysopgrace on May 15, 2017, 07:23 AM
In the case of top gear (and possibly others) it depended on the region as to which save type you got.

yeah i suspected this could be the case... i guess i'll just leave my txt file alone for now...
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: Yoshidaka on May 15, 2017, 10:37 AM
Your information is very good.
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: Kerr Avon on May 15, 2017, 03:28 PM
Can you verify that Kirby uses EEP16K and not EEP4K? According to the list at http://n64.icequake.net/mirror/www.elitendo.com/n64/usa_boot_save_list.html (http://n64.icequake.net/mirror/www.elitendo.com/n64/usa_boot_save_list.html), it's supposed to use EEP4K.

I went through my games and found a couple more discrepancies in the ED64 defaults. ED64 has Castlevania Legacy of Darkness as EEP4K and Duke Nukem Zero Hour as SRAM96K. However, both those games should use controller pak as per the linked list above. Can anyone verify these?

The PAL version of Duke Nukem: Zero Hour does save only to the controller pak, yes.
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: nuu on November 14, 2019, 05:06 PM
Yes and only Japanese version of the Castlevania games uses cartridge backup (EEP4k) while other versions uses the controller pak. Krikzz corrected it (and many other games) so that Japanese version can save.


BTW I think this thread is a good candidate for a sticky. I added a link to it in the compatibility sticky so people can find it at least.
The list could be organized a bit better though. Consider this:
Code: [Select]
N6=1 (Dr. Mario)
GF=1 (Goldfinger 64 save game)
SI=3 (Fushigi no Dungeon - Furai no Shiren 2 - Oni Shuurai! Shiren Jou!)
OS=1 (64 Oozumou)
O2=1 (64 Oozumou 2)
GL=1 (Getter Love!!)
JG=3 (Jinsei Game 64)
...
0xBC9B2CC3=5 (Starcraft 64 Prototype)
0xD52FE29D=1 (Donchan Puzzle)
0x4248BA87=1 (Kuru Kuru Fever)
0x315C7466=1 (Star Soldier: Vanishing Earth Arcade)
0x90AF8D2C=1 (Tower & Shaft)
0x2F57C9F7=1 (Vivid Dolls)
0xB73AB6F6=1 (Sin and Punishment - English Translation)
...
The ID and the CRC high detection entries are sorted separately and all entries uses equal spacing for the comment field so it's much easier to read. My own save_db.txt looks something like this, although I also sorted the ID entries alphabetically (this example is sorted randomly).
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: Junninx on January 03, 2020, 07:55 AM
 IS Just copy and paste? The game need to have a exact name or It is automatic or what Else? How this differ different games named equal? I forgot many things about my everdrive, I just want to update all my rom hacks and get new ones, any help pm.
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: Kerr Avon on January 03, 2020, 01:48 PM
Yes, just empty your own save_db.txt file, or if you don't have one in your \ED64\ on your SD card then create one. Then copy the data from the first post of this thread into the save_db.txt file.
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: Kerr Avon on January 03, 2020, 01:48 PM
Junninx, I've just sent you a PM.
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: nuu on January 04, 2020, 04:38 PM
The name before the "=" must be exact, and the number after the "=" must be the save type you want for the rom (e.g. "SI=3" or "0xD52FE29D=1"). Anything after that is probably a comment and you can type anything there you want, preferably you type the name of the game and possibly some explanation if it's a hack or something. Also the [name]=[type] statement must probably be first on its line. I guess it must also all be ASCII so don't use any characters that needs to change the encoding of the file (like Japanese characters).

If you only care that things works you can just copy Kerr Avon's first post (don't copy my post, it was just an example and is missing most games). I just suggested to him to clean it up a bit since it's so messy and uses inconsistent spacing. The ED64 won't complain, but I see little reason to make it hard to read for humans when you can easily have it look neat. It's not a very long list.
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: nuu on January 22, 2020, 04:14 PM
I haven't confirmed this myself yet, but Biohazard 2 should most likely be forced to SRAM (https://krikzz.com/forum/index.php?topic=9590.msg72672#msg72672).

Just add this line:
Code: [Select]
B5=3 (Biohazard 2)
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: Kerr Avon on January 26, 2020, 07:45 PM
I haven't confirmed this myself yet, but Biohazard 2 should most likely be forced to SRAM (https://krikzz.com/forum/index.php?topic=9590.msg72672#msg72672).

Just add this line:
Code: [Select]
B5=3 (Biohazard 2)

I've just added that to the list, thanks. Can anyone confirm that it works, please?

Also, I've modified the first post as Nuu asked, so it's clearer to read, and the games are listed alphabetically.
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: Galron on January 26, 2020, 08:03 PM
Quote
Yes and only Japanese version of the Castlevania games uses cartridge backup (EEP4k) while other versions uses the controller pak. Krikzz corrected it (and many other games) so that Japanese version can save.

Man I would love it if someone hacked that save feature back into the US/UK release of the game, and hacked the extra speech from the Pal version's fight with False-Dracula into the US release...
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: Kerr Avon on January 28, 2020, 04:59 PM
Added VF=3 for the Virtual Pro Wrestling 64 English Translation, as detailed in:

http://krikzz.com/forum/index.php?topic=8561.0 (http://krikzz.com/forum/index.php?topic=8561.0)
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: supersign on January 28, 2020, 05:28 PM
Added VF=3 for the Virtual Pro Wrestling 64 English Translation, as detailed in:

http://krikzz.com/forum/index.php?topic=8561.0 (http://krikzz.com/forum/index.php?topic=8561.0)
Er, slight mistake, there's already an English translation of VPW2 a few years ago by S.K. Stylez which uses A2=3.
The Freem edition - although translated - is unrelated to S.K. Stylez' project.

However Startrinket released their beta English translation for the first VPW today.
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: Kerr Avon on January 28, 2020, 08:20 PM
OK. Should I change the text to:

VF=3      (Virtual Pro Wrestling 64  2 English Translation)

and should I also add:

A2=3      (Earlier Virtual Pro Wrestling 64 2 English Translation)

for anyone who wants to try the latter?

Also, the VPW2 freem webpage seems to show a new version of that mod, released today, for anyone who's interested.
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: supersign on January 28, 2020, 08:34 PM
OK. Should I change the text to:

VF=3      (Virtual Pro Wrestling 64  2 English Translation)

and should I also add:

A2=3      (Earlier Virtual Pro Wrestling 64 2 English Translation)

for anyone who wants to try the latter?

Also, the VPW2 freem webpage seems to show a new version of that mod, released today, for anyone who's interested.
VF=3      (Virtual Pro Wrestling 2 Freem Edition)

A2=3      (Virtual Pro Wrestling 2 English translation by S.K. Stylez)

I remember making a wrestler on S.K. Stylez' translation but it didn't save my creation because I didn't put in A2=3. Adding it in fixes it so that's good.
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: Kerr Avon on January 28, 2020, 10:22 PM
Changed now, thanks.
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: nuu on January 29, 2020, 01:41 AM
"A2" isn't a unique ID for the English translation though, the original rom is using it too, so saying it's for the English translation in the comment field implies that it's different from the clean rom. If the hacker changed the save type, it must be added with the CRC for the patched rom instead of ID.

Freem's version seems to have changed both save type and ID though, so we have to trust Freem that "VF" doesn't conflict with any other games (or one can just add the CRC instead).

I've modified the first post as Nuu asked, so it's clearer to read, and the games are listed alphabetically.
Great! It's much easier to read. I see the spaces are still weird though. I suggest to use code tags for this. It makes the font mono-spaced so that everything will be lined up perfectly as long as you use equal number of spaces for each comment. It also makes it clear what to copy.
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: Kerr Avon on February 07, 2020, 08:38 PM
Updated to add:

NVPE=3      (Virtual Pro Wrestling English Translation Beta v1.75)
NVPJ=3      (Virtual Pro Wrestling Original)

for Startrinket's English translation of that game. The second code is to allow the untranslated (Japanese) version to save correctly too.
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: nuu on February 10, 2020, 06:34 PM
As it turns out the full 4-letter game code doesn't work. Only the two middle letters (which is an abbreviation of the game's title). So NVPE=3 and NVPJ=3 should be changed to just one VP=3 entry.


The first Japanese-exclusive Pokemon Stadium game is incorrectly set to FLASH by the ED64. It should be 32kByte SRAM. Add the following line to save_db:
Code: [Select]
PS=3 (Pokemon Stadium, Japan-only title)
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: Kerr Avon on February 10, 2020, 10:36 PM
OK, I've changed the two Virtual Pro Wrestling entries to:

0xC130FFE8=3    (Virtual Pro Wrestling English Translation Beta v1.77)
0x045C08C4=3    (Virtual Pro Wrestling Original)


and also added:

PS=3 (Pokemon Stadium, Japan-only title)
Title: Re: Here are the known fixes for games/hacks/etc to save and load correctly
Post by: Kerr Avon on March 28, 2020, 05:18 PM
Added save data for the newly released prototype Viewpoint 2064, as linked in the thread http://krikzz.com/forum/index.php?topic=9766.0 (http://krikzz.com/forum/index.php?topic=9766.0). Thanks to DustyK112 for the announcement.