Path: blob/master/libmupen64plus/mupen64plus-core/tools/savestate_convert.txt
2 views
==============================================================================1savestate_convert.txt - Mupen64Plus - July 12th, 200823This conversion tool was written to help users migrate their savestate files4when there are changes to the savestate file format which break backward5compatibility.67To compile the conversion tool, open a console window, go to the root of your8Mupen64Plus source code, and type:910gcc -o savestate_convert -lz tools/savestate_convert.c1112This will create a small command-line application called 'savestate_convert'.13This program takes only one command-line parameter, which is a path to the14savestate file that you want to update. The old savestate file will be15overwritten with the new one, so you may wish to first make a backup copy16of the savestate file. If you update a savestate file to a newer version,17older versions of Mupen64Plus will not be able to load it.1819If you wish to update all of the savestate files in your home directory, you20may do so with the following bash command:2122for file in ~/.mupen64plus/save/*.st*; do ./savestate_convert "${file}"; done2324==============================================================================25Savestate File Format History:2627version 0:28- Original (Unversioned) file format29- used by Mupen64 v0.5 and Mupen64Plus up to v1.43031version 1.0:32- bugfix: TLB was not being entirely saved and restored33- added small header with magic number and version number34- introduced in rev 758 of Mupen64Plus SVN repository (trunk)35363738