Core commit. Compile and run on the OpenPandora
[mupen64plus-pandora.git] / source / mupen64plus-core / tools / savestate_convert.txt
CommitLineData
451ab91e 1==============================================================================
2savestate_convert.txt - Mupen64Plus - July 12th, 2008
3
4This conversion tool was written to help users migrate their savestate files
5when there are changes to the savestate file format which break backward
6compatibility.
7
8To compile the conversion tool, open a console window, go to the root of your
9Mupen64Plus source code, and type:
10
11gcc -o savestate_convert -lz tools/savestate_convert.c
12
13This will create a small command-line application called 'savestate_convert'.
14This program takes only one command-line parameter, which is a path to the
15savestate file that you want to update. The old savestate file will be
16overwritten with the new one, so you may wish to first make a backup copy
17of the savestate file. If you update a savestate file to a newer version,
18older versions of Mupen64Plus will not be able to load it.
19
20If you wish to update all of the savestate files in your home directory, you
21may do so with the following bash command:
22
23for file in ~/.mupen64plus/save/*.st*; do ./savestate_convert "${file}"; done
24
25==============================================================================
26Savestate File Format History:
27
28version 0:
29 - Original (Unversioned) file format
30 - used by Mupen64 v0.5 and Mupen64Plus up to v1.4
31
32version 1.0:
33 - bugfix: TLB was not being entirely saved and restored
34 - added small header with magic number and version number
35 - introduced in rev 758 of Mupen64Plus SVN repository (trunk)
36