|
Post by cNp on Jul 22, 2015 3:18:00 GMT -5
Hi,
Has anyone here any experience saving high scores or other game state to EEPROM on a cart?
I haven't looked into this but know I want to do it for Big Blue, more to remember the fish species and artefacts the player has 'unlocked' than the high score. I've downloaded Alex Herbert's drivers and sample code from his site... is that what other people have used or written your own?
Just wondering how much extra dev time this is likely to add and if it's relatively simple to do or a PITA!
cNp
|
|
|
Post by hcmffm on Jul 22, 2015 4:03:14 GMT -5
Perhaps a sort of unlock code which can unlock several things at once might be a good and simple alternative to saving to EEPROM. This unlock code (more a sort of "save code") would mainly consists of bits and bytes which represent the current state of the game. A simple checksum (or something) in the unlock code is used to prevent people from cheating. This unlock code could be entered at the beginning (optional) and the state of the game would be restored.
Using the unlock code would also solve the problem that occurs if several players play the game: If you have one save state on the EEPROM only, what happens for player 2, 3, 4, ...?
Just an idea...
|
|
|
Post by cNp on Jul 22, 2015 6:28:21 GMT -5
Good idea as an alternative, cheers... always good to have options!
cNp
|
|
|
Post by christophertumber on Jul 22, 2015 12:13:56 GMT -5
Are the EEPROM PCBs still available somewhere? Or do you plan to manufacture your own?
|
|
|
Post by 50tbrd on Jul 22, 2015 12:29:15 GMT -5
I think it's worth it to use Toby's boards for ease and convience not to mention price. So if theres a way around using different boards that require certain chips, I'd do it.
I'm not sure if others implement a one-wire board but Packrat of course does for Protector and that's where you'd get them.
|
|
|
Post by cNp on Jul 22, 2015 15:40:02 GMT -5
Are the EEPROM PCBs still available somewhere? Or do you plan to manufacture your own? Good question... certainly I won't be manufacturing my own so I'll have to check round the various options out there. cNp
|
|
|
Post by VectorX on Jul 22, 2015 17:16:15 GMT -5
You might want to check with Ville Krumlinde through his site in regards to him using the high score save with Thrust (which he got from Alex Herbert with Y*A*S*I). I assume he's still answering e-mails.
|
|
|
Post by mikiex on Jul 22, 2015 18:09:42 GMT -5
Ville was answering emails last time I talked to him (a year ago)
I quite like the code method, its also a possible way to verify peoples scores. I am pretty sure I played some 8bit games that did that... Sentinel for one, you put in the level number and then an 8 digit code.
|
|
|
Post by binarystar on Jul 23, 2015 2:00:26 GMT -5
|
|
|
Post by cNp on Jul 23, 2015 2:22:26 GMT -5
Hi, Cheers for the replies, I did have a very brief look at Alex's code yesterday, I'm usually fairly rubbish at doing anything particularly 'clever' in my coding, just sticking to the basics so wanted to check if anyone had implemented it recently.
The game is going to be more based on collecting things to complete the collection(s) rather than point scoring... in fact I might remove scoring altogether.
cNp
|
|
|
Post by binarystar on Jul 23, 2015 2:33:27 GMT -5
Are the EEPROM PCBs still available somewhere? Or do you plan to manufacture your own? Good question... certainly I won't be manufacturing my own so I'll have to check round the various options out there. cNp Jim and I have a pcb that supports the 32 byte eeprom. If you need any, give either of us a shout.
|
|
|
Post by cNp on Jul 23, 2015 2:42:32 GMT -5
Good question... certainly I won't be manufacturing my own so I'll have to check round the various options out there. cNp Jim and I have a pcb that supports the 32 byte eeprom. If you need any, give either of us a shout. Nice one Chris, been meaning to get in touch about board costs as both of us being in the UK it's probably the best option... I'll drop you a PM as I've been putting together a cost spreadsheet to work out total unit prices. Cheers, Chris
|
|