0.4.5 -> 0.4.0.1 save file format
Moderator: OpenTTD Developers
0.4.5 -> 0.4.0.1 save file format
Hello,
I need to convert the 0.4.5 .sav file to the old 0.4.0.1 format. Any suggestions?
Thanks.
I need to convert the 0.4.5 .sav file to the old 0.4.0.1 format. Any suggestions?
Thanks.
Yes. Learn the difference between "need" and "want".
Then explain why you want to do that. If you've got a good reason and a good grasp of C, someone may be able to point you to portions of the source code that need changing to write a 0.4.0.1 save with 0.4.5.
Even if you have no reason at all, grep for "SaveLoad" and " SL" -- the code that you need to change lives in those functions.
Then explain why you want to do that. If you've got a good reason and a good grasp of C, someone may be able to point you to portions of the source code that need changing to write a 0.4.0.1 save with 0.4.5.
Even if you have no reason at all, grep for "SaveLoad" and " SL" -- the code that you need to change lives in those functions.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
You're probably out of luck unless you know coding yourself and are going to do it. It is however pretty simple (in theory).
Check the savegame version of 0.4.0.1 (which was 15 or something) than that of 0.4.5 (22?), and all the Sl-macros that are saved. If you see something that is saved only from 17 onward, you need to remove it. This is the easy part, you might get into trouble with other things which I have no idea about.
Good luck if you are going to do it, I don't think there are many people around that are willing to really help though.
Check the savegame version of 0.4.0.1 (which was 15 or something) than that of 0.4.5 (22?), and all the Sl-macros that are saved. If you see something that is saved only from 17 onward, you need to remove it. This is the easy part, you might get into trouble with other things which I have no idea about.
Good luck if you are going to do it, I don't think there are many people around that are willing to really help though.
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
Except that there was no PBS in 0.4.0.1.Killer 11 wrote:Maybe he wants PBS
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Who is online
Users browsing this forum: Google [Bot] and 11 guests