Problem opening old save games in 0.3.5

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
User avatar
Mackensen
Engineer
Engineer
Posts: 56
Joined: 17 Jun 2003 10:51
Location: Michigan, USA
Contact:

Problem opening old save games in 0.3.5

Post by Mackensen »

I'm running 0.3.5 out of the box, so to speak. I compiled the source on my Debian/testing platform. It works fine, except when I try to load my save games from 0.3.4. When I go to do so I get this error message:

Code: Select all

cfulton@goltz:~/openttd-0.3.5$ ./openttd
openttd: gfx.c:1343: GfxMainBlitter: Assertion `bp.height > 0' failed.
Aborted
This is very frustrating. I would like to emphasize that I'm not using big maps, or any custom patches. I am using the following grfs: dbsetw, trkfoundw, cargosetw, and newshipsw. Attached is one of my saves that won't open now (I can still run 0.3.4, and it opens fine then).
Attachments
Sudingstone Bay Transport, 1st Apr 1992.sav
(159.11 KiB) Downloaded 71 times
User avatar
dominik81
OpenTTD Developer
OpenTTD Developer
Posts: 768
Joined: 16 Aug 2003 12:55
Location: Bonn, Germany

Post by dominik81 »

Indeed, this game crashes when opening with the latest SVN. Here's a backtrace:

Code: Select all

#0  0x080c161d in ReadSprite (num=-1077238, dest=0x4056b000 "") at spritecache.c:186
#1  0x080c2062 in LoadSpriteToMem (sprite=5696) at spritecache.c:650
#2  0x080c20fb in GetSpritePtr (sprite=5696) at spritecache.c:733
#3  0x080c25c9 in GetSpriteDimension (sprite=5696) at spritecache.c:927
#4  0x080e14ad in VehiclePositionChanged (v=0x829d000) at vehicle.c:133
#5  0x080e16bb in AfterLoadVehicles () at vehicle.c:171
#6  0x080dccec in AfterLoadGame (version=1025) at ttd.c:1259
#7  0x080b4ff3 in SaveOrLoad (
As you can see the crash occurs while the game is trying to access the sprites of a certain vehicle. I assume that this is one of the vehicles that you had added using newgrf sets. You have to make sure that the newgrf files are loaded in 0.3.5 in the same or as in 0.3.4.
"There's a readme that comes with the source. I suggest you read it."
- Korenn
User avatar
Pimmeh
Engineer
Engineer
Posts: 94
Joined: 10 Jan 2005 09:39
Location: NL ^_^
Contact:

Post by Pimmeh »

It also occurs with me trying to load an normal TTD version game with no special graphics at all....any ideas?
<^=-_PH33R T|-|3 R3@P3R_-=^>
Hoezo Redbull?Geef mij maar een vliegtuig!
User avatar
dominik81
OpenTTD Developer
OpenTTD Developer
Posts: 768
Joined: 16 Aug 2003 12:55
Location: Bonn, Germany

Post by dominik81 »

Pimmeh wrote:It also occurs with me trying to load an normal TTD version game with no special graphics at all....any ideas?
Please post your savegame as well. I don't think it is the same problem.
"There's a readme that comes with the source. I suggest you read it."
- Korenn
User avatar
Pimmeh
Engineer
Engineer
Posts: 94
Joined: 10 Jan 2005 09:39
Location: NL ^_^
Contact:

Post by Pimmeh »

Mkay right away :D
Attachments
Confingpool Transport, 7th Jun 1953.sav
Here it is :D
(96.95 KiB) Downloaded 73 times
<^=-_PH33R T|-|3 R3@P3R_-=^>
Hoezo Redbull?Geef mij maar een vliegtuig!
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

1. It is an OpenTTD savegame
2. It loads just fine in 0.3.5
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."
User avatar
dominik81
OpenTTD Developer
OpenTTD Developer
Posts: 768
Joined: 16 Aug 2003 12:55
Location: Bonn, Germany

Post by dominik81 »

Loads just fine for me as well.
"There's a readme that comes with the source. I suggest you read it."
- Korenn
User avatar
Pimmeh
Engineer
Engineer
Posts: 94
Joined: 10 Jan 2005 09:39
Location: NL ^_^
Contact:

Post by Pimmeh »

no i mean i cant open normal ttd games from it!!!!
<^=-_PH33R T|-|3 R3@P3R_-=^>
Hoezo Redbull?Geef mij maar een vliegtuig!
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

Waat?

So what is the problem? The savegame you said you have issues with works perfectly and is not even a ttd/ttdpatch savegame.

NL: Dus je bedoelt dat je in OpenTTD geen TTD/TTDPatch games kan openen? Of wat bedoel je nou? We vroegen je om de savegame die je niet kan openen op het forum te uploaden en dan krijgen wij een OpenTTD savegame die gewoon perfect werkt????
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."
User avatar
Pimmeh
Engineer
Engineer
Posts: 94
Joined: 10 Jan 2005 09:39
Location: NL ^_^
Contact:

Post by Pimmeh »

Yes i ment that i cant open any regular TTD/TTDpatch games!
<^=-_PH33R T|-|3 R3@P3R_-=^>
Hoezo Redbull?Geef mij maar een vliegtuig!
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

We asked you before if you can attach the savegame you CANNOT open :roll:
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."
User avatar
orudge
Administrator
Administrator
Posts: 25218
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

TTDPatch games with morevehicles enabled cannot be loaded. If optional data is saved too, that might have an effect on loading. Normal TTD or unextended TTDPatch games ought to load fine.
User avatar
Pimmeh
Engineer
Engineer
Posts: 94
Joined: 10 Jan 2005 09:39
Location: NL ^_^
Contact:

Post by Pimmeh »

Here it is
:oops:sorry for being noobish
Attachments
TRT00.SV1
:$
(226.09 KiB) Downloaded 71 times
<^=-_PH33R T|-|3 R3@P3R_-=^>
Hoezo Redbull?Geef mij maar een vliegtuig!
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 9 guests