Page 1 of 1

Ttdpatch Crashing

Posted: 05 Jun 2006 18:18
by nikolaci
I've made some changes with ttdx configurator.exe and ttdc.exe before chrasing started. I couldn't open the gamem, cause it looked for original cd.I thought the problem might be with ttdpatch.cfg so i replaced it with an old one, and i could start the game. Next problem was that when i try to load saved game (not every saved game but the one i was playing in which i used GRF's, old saved games that did not use GRF's can be loaded normally), the game crashes to windows. Here is the text from Crash000.txt file :
TTD V0019E200 Crash Log by TTDPatch 2.5 beta 4 (Windows)

Exception C0000005 at 001B:00548F2B

EAX EBX ECX EDX
00000400 0000D640 00090D60 00005320

ESI EDI ESP EBP
00000028 00430000 0006A744 000003F4

DS ES FS GS SS Flags
0023 0023 0038 0000 0023 00010246
FFFFFFFF FFFFFFFF 00000FFF ######## FFFFFFFF (Segment limits)
00CFF300 00CFF300 0040F300 ######## 00CFF300 (Access rights)

Bytes at DS:EIP
8B 5D 00 66 0B DB 79 0E F7 C3 00 00 FF FF 75 06

Stack Dump:
000003F4 0055F1A3 53200000 FFFF0002 0D50000F 04100003 0006F974 03C00CF0
0056E358 00001076 0006A778 0CF003C0 00000318 00001006 0006A788 0CF003C0
00000318 00000FFD 0006A798 0CF003C0 00000318 00000542 0006A7A8 0D1003A0
00000020 00000F9B 0006A7B8 0D0003C0 00000018 00000536 0006A7C8 0D2003A0

Handler Stack Dump (at 0023:0006A4F4):
0000C00E 00000000 00000000 00000000 00000000 00000038 00000023 00000023
00430000 00000028 0000D640 00005320 00090D60 00000400 000003F4 00548F2B
0000001B 00010246 0006A744 00000023 0000027F 00350000 00000000 00000000
00000000 00000000 00001F80 00000000 D2C00000 E9E857EA 00003FFB 00000000

Patch flags:
80000001 00000000 00000000 00000000 00000000 00000000 00000000 A0000000
00000073 00000000 00001000 00000001 00003E80 009607D0 01900096 0000005A
76260280 13B14EC4 01E00280 13880258 05145555 0A28370A 140A1928 1E145014
141E1450 3C1E1E14 1400003F F0000001 01F0F0F0

Posted: 05 Jun 2006 19:14
by Patchman
Please try beta 5 and see if the crash still happens.

If it does happen, attach your ttdpatch.cfg and newgrfw.cfg here.

Posted: 05 Jun 2006 19:42
by nikolaci
Same thing with beta 5
Here are newgrf and ttdpatch

Posted: 05 Jun 2006 19:50
by Patchman
Sorry I forgot to mention, since it happens for certain savegames please also attach one of those savegames.

Posted: 05 Jun 2006 19:58
by nikolaci
Saved game

Posted: 06 Jun 2006 12:29
by nikolaci
I solved the problem. It was in ttdpatch.cfg. Ttdxc.exe from some reason saved ttdpatch.cfg with win2k=off, which in old setting was 1. And the reason why it couldn't load the saved game was probable also in ttdpatch.cfg (the old one) which was 600bytes, it didn't have almost any of the settings that the one i saved the game had.

Posted: 06 Jun 2006 16:48
by nikolaci
I've got new problem. The game works fine but there's some problem between these three towns: ponnwood, sadinghead and plafinburg. I saved game that way so that if you go west or south-west the game crashes.Attached with saved game is newgrfw.cfg, ttdpatch.cfg and Crash.txt.