olddef2newdef
olddef2newdef is a tool by Zichqec, which can convert SERIKO code from the old definition to the new definition automatically.
Usage
To use it is simple; the user must drag and drop a surfaces.txt file onto the program's exe file (not the program's window, the exe file should not be double clicked), and the tool will attempt to convert any applicable lines to the new definition of SERIKO.
The program will convert SERIKO from the old definition directly to the new definition, as accurately as possible. It will also add a note at the top about having converted the file, which may be erased if desired.
The tool will always attempt to create a backup of the original old definition code, in case something should go wrong in the process, or the user decides not to go forward with the new definition after all. The backup will be saved with the same name as the original file, but with “.bak” appended on the end.
If the backup file already exists when the tool is run, the program will ask if it is ok to overwrite this file. Saying no will exit the program without changing anything, while saying yes will overwrite the file and perform the conversion as normal.
Tips
- The program has a bug where it will not convert square brackets [] to parenthesis (). For example, [1.2.3] should be converted to (1,2,3), but is instead left untouched. These must be converted manually by the user.