loading saved game problem

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
burrows1980
Engineer
Engineer
Posts: 2
Joined: 14 Apr 2017 19:52

loading saved game problem

Post by burrows1980 »

Hi,

For some reason that I cant explain I updated to the new version tonight, went to load my saved game that ive been playing on and off for years now and it wont load :shock:

When selecting the save game file it comes up, Saved game made with a newer version. Strange as im pretty sure the version i have been using is older then the current v1.7.

Annoyingly i didnt back up the version I had been using! Tried 1.6.1 but still the same message. Is there a way I can find out what version was used to create the save game or a way to make it workin 1.7? Seems a bit weird for save game data not to load in a newer version, could understand it if I tried to load it in v0.5

cheers

Gaz
User avatar
Sylf
President
President
Posts: 957
Joined: 23 Nov 2010 21:25
Location: ::1

Re: loading saved game problem

Post by Sylf »

burrows1980 wrote:Hi,

For some reason that I cant explain I updated to the new version tonight, went to load my saved game that ive been playing on and off for years now and it wont load :shock:

When selecting the save game file it comes up, Saved game made with a newer version. Strange as im pretty sure the version i have been using is older then the current v1.7.

Annoyingly i didnt back up the version I had been using! Tried 1.6.1 but still the same message. Is there a way I can find out what version was used to create the save game or a way to make it workin 1.7? Seems a bit weird for save game data not to load in a newer version, could understand it if I tried to load it in v0.5

cheers

Gaz
Upload the sav file, and maybe someone can find out what version is needed. It might be a newer version of nightly build. It might be a patched version. We'll see.
MonChrMe
Engineer
Engineer
Posts: 16
Joined: 17 Mar 2017 23:45

Re: loading saved game problem

Post by MonChrMe »

Just had a poke in mine, looks like it should be easy to work out. The save game has a header - OTTX <null> number <null> <null>. Figured the number would be a version number, and a quick look at the source confirms that. Mine's 196.

Basically, if you open the save file in a hex editor, the first eight bytes should be 4F 54 54 58 00 <x> 00 00, and that <x> tells us which version of the game it was saved in. More or less. There's a table in the source code for this, and this layout looks like it's been used since the 0.4.x versions.

It's a big list, so I've spoilered it for space, but basically all you want to do open the save in a hex editor (Frhed is free on windows), find the value for that fifth byte, convert it to decimal (http://hextodecimal.com/index.php?hex=C4 if you don't know how), then look it up in the list.
[+] Spoiler
*
* 21 3472 0.4.x
* 22 3726
* 23 3915
* 24 4150
* 25 4259
* 26 4466
* 27 4757
* 28 4987
* 29 5070
* 30 5946
* 31 5999
* 32 6001
* 33 6440
* 34 6455
* 35 6602
* 36 6624
* 37 7182
* 38 7195
* 39 7269
* 40 7326
* 41 7348 0.5.x
* 42 7573
* 43 7642
* 44 8144
* 45 8501
* 46 8705
* 47 8735
* 48 8935
* 49 8969
* 50 8973
* 51 8978
* 52 9066
* 53 9316
* 54 9613
* 55 9638
* 56 9667
* 57 9691
* 58 9762
* 59 9779
* 60 9874
* 61 9892
* 62 9905
* 63 9956
* 64 10006
* 65 10210
* 66 10211
* 67 10236
* 68 10266
* 69 10319
* 70 10541
* 71 10567
* 72 10601
* 73 10903
* 74 11030
* 75 11107
* 76 11139
* 77 11172
* 78 11176
* 79 11188
* 80 11228
* 81 11244
* 82 11410
* 83 11589
* 84 11822
* 85 11874
* 86 12042
* 87 12129
* 88 12134
* 89 12160
* 90 12293
* 91 12347
* 92 12381 0.6.x
* 93 12648
* 94 12816
* 95 12924
* 96 13226
* 97 13256
* 98 13375
* 99 13838
* 100 13952
* 101 14233
* 102 14332
* 103 14598
* 104 14735
* 105 14803
* 106 14919
* 107 15027
* 108 15045
* 109 15075
* 110 15148
* 111 15190
* 112 15290
* 113 15340
* 114 15601
* 115 15695
* 116 15893 0.7.x
* 117 16037
* 118 16129
* 119 16242
* 120 16439
* 121 16694
* 122 16855
* 123 16909
* 124 16993
* 125 17113
* 126 17433
* 127 17439
* 128 18281
* 129 18292
* 130 18404
* 131 18481
* 132 18522
* 133 18674
* 134 18703
* 135 18719
* 136 18764
* 137 18912
* 138 18942 1.0.x
* 139 19346
* 140 19382
* 141 19799
* 142 20003
* 143 20048
* 144 20334
* 145 20376
* 146 20446
* 147 20621
* 148 20659
* 149 20832
* 150 20857
* 151 20918
* 152 21171
* 153 21263
* 154 21426
* 155 21453
* 156 21728
* 157 21862
* 158 21933
* 159 21962
* 160 21974 1.1.x
* 161 22567
* 162 22713
* 163 22767
* 164 23290
* 165 23304
* 166 23415
* 167 23504
* 168 23637
* 169 23816
* 170 23826
* 171 23835
* 172 23947
* 173 23967 1.2.0-RC1
* 174 23973 1.2.x
* 175 24136
* 176 24446
* 177 24619
* 178 24789
* 179 24810
* 180 24998 1.3.x
* 181 25012
* 182 25296
* 183 25363
* 184 25508
* 185 25620
* 186 25833
* 187 25899
* 188 26169 1.4.x
* 189 26450
* 190 26547
* 191 26646
* 192 26700
* 193 26802
* 194 26881 1.5.x, 1.6.0
* 195 27572 1.6.x
* 196 27778 1.7.x
burrows1980
Engineer
Engineer
Posts: 2
Joined: 14 Apr 2017 19:52

Re: loading saved game problem

Post by burrows1980 »

Thanks for the help guys, I realised last night I must have been using a patched game as I have been using signals in tunnels and bridges.. little more investigation found it was JGR's patch pack.

Looking at starting a new game soon, so will use a non patched version!

Gaz
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 34 guests