Main > Software Forum

108u4 out. New diff to add hiscore back in *EDIT* 108u5 changed again...

<< < (4/5) > >>

MiKman:
Thanks u_rebelscum.  Now if I can find an easy way to pull my high scores over from the old method into the new save states.  I'll be more inclined to update to the latest version.  I guess if I am at 106 now I can save the state of all my favorite games with my highscores, then upgrade to 108 and theoretically all the games shoudl load from the saved state correct?

might have to do a little testing with this...

MKChamp:
108u5 changed to the point the diff won't compile. So see the original post. Use hiscore_108u5.diff for 108u5 and hopefully mame builds after...

BamBam:

--- Quote from: Chris on September 18, 2006, 10:50:54 am ---
--- Quote from: BamBam on September 18, 2006, 08:55:22 am --- ???So having said all that, where should I place my hiscore.diff file?  After it is there, what do I need to do with it?
Thanks.

--- End quote ---
You have to actually recompile MAME, meaning you have to have a full development environment configured on your machine.  There's a FAQ on the MAME site describing how to do this.

--Chris

--- End quote ---
Thanks Chris.

MiKman:

--- Quote from: u_rebelscum on September 20, 2006, 03:31:28 am ---
--- Quote from: MiKman on September 19, 2006, 09:01:23 pm ---So how do save states work? would I have to press the function key to save the state of the game everytime I play the game instead of just exiting the game by pressing ESC?  I know it's all about documentation and not actually about playing and using the games, but throw us a bone here devs ::)

--- End quote ---

Just use the -autosave option.  If the game supports save state, then every time you exit mame, the game will save the current conditions automatically, and load it the next time you start.  If the doesn't support save state, then neither the autosave nor the manual way will work.  More info in docs/windows.txt that comes with mame. 

And if you want to help add savestate to certain games, check out aarongiles.com savestate fundamentals: parts 1, 2, 3, & 4.  A little much if you just want to use it ;), but a fun read if you're into this type of stuff.

--- End quote ---

I use MAME32 on my regular computer, is there any way to add the -autosave switch and have it work with it?

EDIT:
Found I just needed to edit the Mame32/ini/mame32.ini file and change the 0 to 1 on the autosave line.
Also found that version 109 has a checkbox for this now.

subcriminal:
Hi, I have managed to compile mame 0.110 but would like to add hiscore support back in, I just tried compiling it again using the patch.bat from Mr. Do!'s site and edited it to apply the hiscore.diff posted at the top of this thread but it wont apply.
I take it I'm doing something wrong here ???


--- Code: ---C:\mamesrc>patchmame.bat

C:\mamesrc>patch -p0 -E  0<hiscore.diff
patching file src/core.mak
patching file src/drawgfx.c
patching file src/hiscore.c
patching file src/hiscore.h
patching file src/inptport.c
Hunk #1 FAILED at 862.
Hunk #2 FAILED at 881.
2 out of 2 hunks FAILED -- saving rejects to file src/inptport.c.rej
patching file src/mame.c
Hunk #2 succeeded at 313 (offset 8 lines).
Hunk #3 succeeded at 1232 with fuzz 1 (offset 202 lines).
patching file src/profiler.c
patching file src/profiler.h
patching file src/windows/config.c
Hunk #1 FAILED at 147.
1 out of 1 hunk FAILED -- saving rejects to file src/windows/config.c.rej
patching file src/windows/drawd3d.c
patching file src/windows/fileio.c
Hunk #1 FAILED at 98.
1 out of 1 hunk FAILED -- saving rejects to file src/windows/fileio.c.rej
--- End code ---

Can anyone help please?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version