Author Topic: Here are the known fixes for games/hacks/etc to save and load correctly  (Read 29023 times)

0 Members and 1 Guest are viewing this topic.

Offline Kerr Avon

  • Hero Member
  • *****
  • Posts: 1691
  • Karma: +169/-3
    • View Profile
Re: Here are the known fixes for games/hacks/etc to save and load correctly
« Reply #75 on: February 26, 2021, 07:32 PM »
I have the first version of the Everdrive released for the N64 it's running ALT64: v0.1.8.22

I realize I neglected to update it to ALT64: v0.1.8.23, and that this is unofficial firmware so something like this was likely to happen sooner or later

I see, thanks. I don't know anything about the v1 model, but I would have thought that using the official OS, then it would probably run the Dinosaur Planet rom OK, if you set the Everdrive to simulate Flash RAM (I don't know how to do that on the v1, sorry).

Offline nuu

  • Hero Member
  • *****
  • Posts: 2145
  • Karma: +91/-2
    • View Profile
Re: Here are the known fixes for games/hacks/etc to save and load correctly
« Reply #76 on: February 27, 2021, 11:46 AM »
Depending on which version of the OS that is supported by v1 at the latest, it might also use the save_db file.

I think "DP=5" would be more useful to add to save_db than "0x906C3F77=5", since it would work with any future hacks while the CRC only works with the current cracked rom.

But since Dinosaur Planet wasn't released, it's possible that the "DP" was reused by a later game, and would cause a conflict if it doesn't use FLASH. Probably not though, since Dinosaur Planet was a very late game and it seems it already got its game code from Nintendo.

'DP' is already "officially" allocated to Donkey Kong kiosk demo ROM (EEP16k) - including in the internal save database. So technically using the CRC values would be the correct way to go (although entering "DP=50" in the save_db does work, because it overrides the internal database, and and if not using the DK demo, then would not be an issue...

Really ROM hacks should change the cart ID to something unique, and go from there. The question would be, whether the cracked DinoP rom already had this ID, or if it was added when cracked.
Ok, CRC is the way to go then.

If hacks would keep allocating new IDs they would eventually run out though. It already had the "PD" ID, the original rom is included with the cracked rom, and both roms has "NDPE" as game code. "NDPE" is also written on the CD-R disc the source was found on, so I'm pretty sure it wasn't just added by the people that compiled the source either.
https://ia802205.us.archive.org/16/items/dino_20210220/dplanet.jpg

By the way, is there some way to see what the internal database includes in for the OS, or is this secret? Krikzz doesn't always say in the update what games he added in the internal database, so it's hard to keep track on exactly what games are there and what games requires an entry in save_db.
« Last Edit: February 27, 2021, 11:50 AM by nuu »

Offline lee4

  • codetype specialist
  • Hero Member
  • *****
  • Posts: 995
  • Karma: +55/-0
    • View Profile
    • gamehacking.org
Re: Here are the known fixes for games/hacks/etc to save and load correctly
« Reply #77 on: February 27, 2021, 03:40 PM »
Unfortunately ED64 v1 last update is OS v1.29 and ALT64 doesnt support save changing

plus save_db.txt was introduced in OS v2.05 for ED64 v2/3
ED64 v2.0, 3.0 & X7 | EDMD v3 | MEGAED X7 M15 v2.01 & PRO rev B | TED v2.4 | EDN8 v1.2N & Pro M19 N1 | SED v2.1 | SD2SNES rev E1 & PRO rev.B | EDGB v1.1 & X7 M17 rev B | EDGBA X5 M16 rev A & Mini M19 Rev B
RetroUSB AVS | Super NT | Mega SG | Super Retro Advance |  16bitPocket GBC | PCE+SSD3

Offline Kerr Avon

  • Hero Member
  • *****
  • Posts: 1691
  • Karma: +169/-3
    • View Profile
Re: Here are the known fixes for games/hacks/etc to save and load correctly
« Reply #78 on: February 27, 2021, 04:30 PM »
Unfortunately ED64 v1 last update is OS v1.29 and ALT64 doesnt support save changing

plus save_db.txt was introduced in OS v2.05 for ED64 v2/3

I would have expected Krikzz to have included a way to change the save type for a game, in the official OS for the version 1 Everdrive, even if the save type itself wasn't saved and so the user would have to remember to change to that save type every time he wanted to play the game.

Offline nuu

  • Hero Member
  • *****
  • Posts: 2145
  • Karma: +91/-2
    • View Profile
Yes I'm pretty sure you could do that even before the save_db was introduced.

Offline IRL Random Hajile

  • Bounty Hunter
  • Full Member
  • ***
  • Posts: 131
  • Karma: +12/-0
    • View Profile
Here to post another fix thingy for save_db.txt
A Japanese N64 exclusive game called Nushi Tsuri 64 when running on the EverDrive 64 has a bug where no matter which character you choose, you will end up playing as the little brother. Turns out, it's because of a lack of SRAM saving which can easily be solved by adding its ROM ID to save_db.txt:

UT=3   (Nushi Tsuri 64)

Adding this fixes the problem and makes the game run like intended.

(Here's the thread for reference:
http://krikzz.com/forum/index.php?topic=10948.0 )
« Last Edit: April 02, 2021, 04:20 AM by IRL Random Hajile »
"BH75001, Random Hajile... that's
R-A-N-D-O-M H-A-J-I-L-E."

Offline Kerr Avon

  • Hero Member
  • *****
  • Posts: 1691
  • Karma: +169/-3
    • View Profile
Thanks for the heads up, but I think it's probably better to use the CRC value, in case another game/rom emerges that uses the same game tag.

I've added:

0xD83BB920=30      (Nushi Zuri 64 - Japan)
0xC5F1DE79=30      (Nushi Zuri 64 - Japan) (Rev A)

to the first post.


Edit: Also added it's sequel, via the line:

0x5B9B1618=30      (Nushi Zuri 64 - Shiokaze ni Notte - Japan)

Thanks to Lee4 for that.
« Last Edit: April 02, 2021, 04:33 PM by Kerr Avon »

Offline family_brick

  • Newbie
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
I've got a couple of additional entries:

0xB4FD397A=10            (Viewpoint2064 No AA or Dither)
0xB57D3964=10            (Viewpoint2064 No AA)

Offline nuu

  • Hero Member
  • *****
  • Posts: 2145
  • Karma: +91/-2
    • View Profile
I think it's probably better to use the CRC value, in case another game/rom emerges that uses the same game tag.
I don't agree. It's better to use the ID unless another game using the same ID comes up and is added to the list. Released licensed games generally can't have conflicting IDs with each other, Nintendo made sure of that. Using the ID means that any hacks or other variations of the game will get the correct save type as well as long as they use the same ID. The CRC is only good for exceptions when a hack or other variation uses a different save type but the same ID, or like in the case of the Dinosaur Planet prototype.
The exceptions are far less common than the norm, which is why I think you got it backwards.

Offline zstandig

  • Jr. Member
  • **
  • Posts: 71
  • Karma: +0/-0
    • View Profile
I have the first version of the Everdrive released for the N64 it's running ALT64: v0.1.8.22

I realize I neglected to update it to ALT64: v0.1.8.23, and that this is unofficial firmware so something like this was likely to happen sooner or later

I see, thanks. I don't know anything about the v1 model, but I would have thought that using the official OS, then it would probably run the Dinosaur Planet rom OK, if you set the Everdrive to simulate Flash RAM (I don't know how to do that on the v1, sorry).

I managed to get Dinosaur Planet to work on after changing the CIC to 6102 and Save type to Flash

Offline Kerr Avon

  • Hero Member
  • *****
  • Posts: 1691
  • Karma: +169/-3
    • View Profile
I've got a couple of additional entries:

0xB4FD397A=10            (Viewpoint2064 No AA or Dither)
0xB57D3964=10            (Viewpoint2064 No AA)

Added, thanks.



I think it's probably better to use the CRC value, in case another game/rom emerges that uses the same game tag.
I don't agree. It's better to use the ID unless another game using the same ID comes up and is added to the list. Released licensed games generally can't have conflicting IDs with each other, Nintendo made sure of that. Using the ID means that any hacks or other variations of the game will get the correct save type as well as long as they use the same ID. The CRC is only good for exceptions when a hack or other variation uses a different save type but the same ID, or like in the case of the Dinosaur Planet prototype.
The exceptions are far less common than the norm, which is why I think you got it backwards.

Well, since Dinosaur Planet has begun being modded, it might be an idea to do as you say, so I've added the line:

DP=50      (Dinosaur Planet Prototype and hacks/fixes)

which will hopefully catch all present and future hacks of the game. Is there a known list of all two letter ID codes for N64 games available?
« Last Edit: April 05, 2021, 05:28 PM by Kerr Avon »

Offline tree_frog

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
I've got a few others:
0xA2933ACC=30   (Super Smash Bros. (U) [!] D-Pad Controls_1.0 - https://krikzz.com/forum/index.php?topic=6166.0)
0x95AE7791=30   (Super Smash Bros. (U) [!] D-Pad Controls_1.01 - https://krikzz.com/forum/index.php?topic=6166.0)
0x77303BA3=30   (Donkey Kong 64 - Tag Anywhere (V4) (U) - http://www.romhacking.net/hacks/4961/)

Note that the DK64 Tag Anywhere v4 on the front page is specifically the mod with the Dextrose patch, whereas the one above is the regular version of the mod. This had me tripped up for a while.  Would suggest they both go on there, with the other one renamed:
0x7D2D1059=3    (Donkey Kong 64 - Tag Anywhere - use D-PAd Left Right (V4) (U) (Dextrose) [f2])
« Last Edit: April 05, 2021, 07:44 PM by tree_frog »

Offline IRL Random Hajile

  • Bounty Hunter
  • Full Member
  • ***
  • Posts: 131
  • Karma: +12/-0
    • View Profile
Well, since Dinosaur Planet has begun being modded, it might be an idea to do as you say, so I've added the line:

DP=50      (Dinosaur Planet Prototype and hacks/fixes)

which will hopefully catch all present and future hacks of the game. Is there a known list of all two letter ID codes for N64 games available?
This is what I ended up doing, as Dinosaur Planet has since been having mods made for it, like DinoMod & DinoPatch for example which do get updated from time to time. In this case, going with the ROM ID is the best way to go as having to add new CRC-HI values into save_db.txt every time there is a new version of DinoMod or DinoPatch will end up getting kinda tedious.
Like JonesAlmighty said above though, "DP" technically is already used for the Donkey Kong 64 Kiosk Demo (EEPROM 16Kb) so it would be wise to include the Kiosk Demo's CRC-HI value just to fix that up.

0x0DD4ABAB=2   (Donkey Kong 64 (U) (Demo) (Kiosk))

That way, both the added Dinosaur Planet ROM ID and DK64 Kiosk Demo have their proper saves. I also added the ROM IDs of both Nushi Tsuri 64 games in the event that there might be upcoming English translations for said games, plus convenience (though I can only hope such English translations happen in the future :P ).
« Last Edit: April 05, 2021, 10:04 PM by IRL Random Hajile »
"BH75001, Random Hajile... that's
R-A-N-D-O-M H-A-J-I-L-E."

Offline nuu

  • Hero Member
  • *****
  • Posts: 2145
  • Karma: +91/-2
    • View Profile
I meant to use ID for the two Nushi Tsuri games and most games in general. ID is best in most cases, while CRC can be used in special cases when using the ID would cause a conflict.
But you are right that Dino Planet having so many mods, that it's easier to use the ID for Dino Planet and the CRC for the DK64 demo.

Code: [Select]
UT=3 Nushi Tsuri 64
UM=3 Nushi Tsuri 64 - Shiokaze ni Notte
« Last Edit: April 06, 2021, 10:13 AM by nuu »

Offline Kerr Avon

  • Hero Member
  • *****
  • Posts: 1691
  • Karma: +169/-3
    • View Profile
I've added the following:

0xA2933ACC=30   (Super Smash Bros. (U) [!] D-Pad Controls_1.0 - https://krikzz.com/forum/index.php?topic=6166.0)
0x95AE7791=30   (Super Smash Bros. (U) [!] D-Pad Controls_1.01 - https://krikzz.com/forum/index.php?topic=6166.0)
0x77303BA3=30   (Donkey Kong 64 - Tag Anywhere (V4) (U) - http://www.romhacking.net/hacks/4961/)
0x7D2D1059=3    (Donkey Kong 64 - Tag Anywhere - use D-PAd Left Right (V4) (U) (Dextrose) [f2])



0x0DD4ABAB=2   (Donkey Kong 64 (U) (Demo) (Kiosk))



UT=3 Nushi Tsuri 64
UM=3 Nushi Tsuri 64 - Shiokaze ni Notte

Thanks, everyone. Please keep suggesting any new ones as they come, so we can all have all of the known entries in one easy to copy archive.