viciious / d32xr

A modern port of Doom for the Sega 32X
Other
161 stars 13 forks source link

Unable to save on Everdrive-MD on Genesis Model 1 #32

Closed chmcarro closed 3 years ago

chmcarro commented 3 years ago

The game save screen displays:

"Reach your first checkpoint after the first area"

Even after completing the first level

viciious commented 3 years ago

This absolutely works on a multitude of legit Everdrive models. Which one have you got?

chmcarro commented 3 years ago

Thanks, viciious! Doom runs great on the 32X :) The device in question is a replica/clone Everdrive-MD running a custom firmware.

OS version: 38 firmware version: 12 file system FAT16/FAT32 console region: USA NTSC CD-ROM USA SEGA-CD dir size: 512

For example, Sonic 3 will show the save file after a console reset.

viciious commented 3 years ago

Everdrive clones are typically missing the SRAM chip, which is required for saves in Doom. Also, Sonic3 saves on such devices are only kept until the power off, which I suspect is also the case here.

Works like a charm on the real thing!

chmcarro commented 3 years ago

Thank you sincerely for your reply. I think there might be a discrepancy or I have a flawed comprehension and kindly request a revisit of this issue if suitable.

The clone in this case is based on the Everdrive-MD line, both contain the SRAM flash memory chip required for saves and I suspect Doom 32X Resurrection saving is not functional on the genuine Everdrive-MD v1 (prior to the X3 product line).

The manual has information about saving: https://stoneagegamer.com/content/flash/legacy/edmd/EverDrive-MD_english.pdf

Images of the chip comparisons can be found here: https://www.youtube.com/watch?v=VZaGmzTtQk0

I've tested both Sonic 3 for Genesis/MD and Knuckle's Chaotix for 32X and the save files persist between power cycles and the SRAM is saved/loaded between reflashes of the ROM chip.

viciious commented 3 years ago

The same manual doesn't state that the game should specifically add specific support for Everdrive's SRAM. The promise is that it should work "automatically".

I suspect that the SRAM emulation is simply not activated on your Everdrive for D32XR since it's probably not in the list of known games that can use the SRAM.

Or maybe the older models simply don't support the SRAM for 32X games, who knows.

Either way it's an ED problem, not something that needs fixing in the game.

chmcarro commented 3 years ago

For what it's worth, Knuckle's Chaotix SRAM saving is working. I took the Doom 32X Resurrection .srm file from Kega Fusion (8KB) and inserted into a blank 16KB .srm file on my Everdrive-MD. I wrote the .srm file to the SRAM using the everdrive menu, but the load screen did not have the saves.

viciious commented 3 years ago

Anyway, there's no way for me to tell what's going on there without having access to the actual hardware. There's no way Krikzz is going to help because you know.. he probably doesn't fancy bootleg Everdrives that much.

chmcarro commented 3 years ago

This is now fixed by changing the ROM text from 32X to Genesis. This was also previously completed and how Knuckle's Chaotix was saving:

https://krikzz.com/forum/index.php?topic=5136.0

viciious commented 3 years ago

Alright, thanks. I'll change the header to SEGA GENESIS in the future update.

viciious commented 3 years ago

This is now fixed by changing the ROM text from 32X to Genesis. This was also previously completed and how Knuckle's Chaotix was saving:

https://krikzz.com/forum/index.php?topic=5136.0

Try v1.2a available on romhacks.net