PDA

View Full Version : Need help making a save state editor...


X-2000
02-01-2005, 10:33 AM
I need help with the following:

1) Make it so that if the states of any games except the one the save state editor is made for, it'll give the user an error.
2) Upon loading of the state, it will provide the HP, Strength, Level, etc, for the character editor on another Form.

And just for reference, should you need it to assist me, the game is on Breath of Fire 2. Also note, that I have tried tutorials, but they seldom do anything for me.

Thanks in advance. :)

<P ID="signature"></P>

phonymike
02-03-2005, 12:47 AM
you obviously need to program it. do you have vidual basic? it's pretty much the easiest programming language for simple windows apps. other better languages would be c++, possibly pascal? if you can find visual basic I could whip up a little beginning source for you, so you can see the concepts.

<P ID="signature">immortality (http://www.alexchiu.com/affiliates/clickthru.cgi?id=phonymike)</P>

Disch
02-03-2005, 12:55 AM
> do you have vidual basic?
> it's pretty much the easiest programming language for simple
> windows apps.

While that second sentence may be true -- I must object to VB being recommended in any way, shape, or form... especially to beginners... as it's a positively horrid language that teaches all sorts of back-asswards logic and nonsensical rules that you'll ultimately have to forget when (not if) you move to another language.

<P ID="signature"></P>

CROcOp
02-03-2005, 01:17 AM
And C++ is the best!<img src=smilies/thumb.gif>

<P ID="signature"></P>

phonymike
02-03-2005, 01:41 AM
yeah but if he's got the motivation right now, by the time he learns c++ he'll pry lose interest. at least this way he could whip something up.

<P ID="signature">immortality (http://www.alexchiu.com/affiliates/clickthru.cgi?id=phonymike)</P>

Fx3
02-03-2005, 02:22 PM
I didn't get your request... Do you want a programming language concept OR the BOF2 RAM locations to modify the things you just mentioned? <img src=smilies/werd.gif>

<P ID="signature"></P>

Dan
02-03-2005, 03:03 PM
> I didn't get your request... Do you want a programming
> language concept OR the BOF2 RAM locations to modify the
> things you just mentioned?

It's being created in Visual Basic, and he has the actual savestate offsets also.

The first point in the list is virtually impossible. The only kind of protection that can be done is to make sure that the save state is a ZSNES save state. Sometimes, you have to trust users not to be stupid to load an entirely incorrect savestate.

The second point is virtually the main function of the program. You can't expect people to write the whole thing for you.

My advice is to reread the tutorials, or find some sample code of working save state editors. http://tfg.panicus.orgTFG's</a> website has the source code to his Harvest Moon save state editor. Study that, if you find reading tutorials does nothing for you.

<P ID="signature"><div align="center"><font size=2>http://dan.panicus.orgDan's Space</a></font></div></P>

phonymike
02-03-2005, 11:41 PM
having it check if it's the correct savestate is easy. look for known values such as a name, or other set values. or even search for a part of code or graphics that's common amongst many savestates. for doing saverams, I had a program open two savestates, and compare the area within it that is exactly what is coppied into sram upon saving. this allowed me to make a save right before and after a change, and come up with one result which is the location. the same is probably true for most savestates.

<P ID="signature">immortality (http://www.alexchiu.com/affiliates/clickthru.cgi?id=phonymike)</P>