problem with enhanced tunnels & others

Got a problem with TTDPatch? Get help here.

Moderator: TTDPatch Moderators

Post Reply
User avatar
acalex
Engineer
Engineer
Posts: 8
Joined: 09 Jun 2005 13:33

problem with enhanced tunnels & others

Post by acalex »

Hi guys,

this is my first post here in the forum and - well - it's just a problem ... :roll:
But a strange one: Since a few days my favourite savegame is freezing (date: 2008/12/14)!
After a lot of "trial and error", I think I figured out that this crash is caused by a conflict between the "enhanced tunnels"-switch and the "more vehicles"-switch (for me at value 20). I have to reduce it to 4 in order not to freeze my game. With "enhanced tunnels" off - no problem. Switching back to an older nighly doesn't help.

A few weeks ago I had a similar problem - again with "enhanced tunnels", that - switched it on - caused a freeze with the "curves 3333"-switch. I had to chance it for road vehicles to 0 (curves 3330) to work.

Now I'm a little confused! Unfortunately, I have no old savegame to switch back to a another status and check for errors.
I tried to reproduce a log-file with ollidebug (attached).

I hope, somebody can help!! ?(
Attachments
crash001.png
crash log (screenshot of ollidebug)
(61.97 KiB) Downloaded 56 times
TRP08.SV1
savegame
(863.96 KiB) Downloaded 70 times
ttdpatch.cfg
ttdpatch.cfg
(34.84 KiB) Downloaded 100 times
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: problem with enhanced tunnels & others

Post by DaleStan »

acalex wrote:"more vehicles"-switch (for me at value 20).
Which is absurdly huge. No sane person needs that switch set above 7 or 8, and the only benefit you get from any higher value is increased processor usage.
acalex wrote:I tried to reproduce a log-file with ollidebug (attached).
Can you copy American.exe to TTDLOADW.OVL (or GameGFX.exe) and then regenerate that screenshot, please?
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
User avatar
Rob
Tycoon
Tycoon
Posts: 4355
Joined: 31 Dec 2002 16:52
Location: Ven-Zelderheide, The Netherlands

Re: problem with enhanced tunnels & others

Post by Rob »

DaleStan wrote: No sane person needs that switch set above 7 or 8
:cry:

I need it at 20, which would make me very insane apparently.
Wie zich gelukkig voelt met het geluk van anderen, bezit een rijkdom zonder grenzen. (F.Daels)
Image
Still the best OS around
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: problem with enhanced tunnels & others

Post by DaleStan »

I thought that was already very well established, Rob. :p
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
User avatar
Rob
Tycoon
Tycoon
Posts: 4355
Joined: 31 Dec 2002 16:52
Location: Ven-Zelderheide, The Netherlands

Re: problem with enhanced tunnels & others

Post by Rob »

Well I guess this means I have been found out once more. :D
Wie zich gelukkig voelt met het geluk van anderen, bezit een rijkdom zonder grenzen. (F.Daels)
Image
Still the best OS around
User avatar
acalex
Engineer
Engineer
Posts: 8
Joined: 09 Jun 2005 13:33

Re: problem with enhanced tunnels & others

Post by acalex »

DaleStan wrote:Which is absurdly huge. No sane person needs that switch set above 7 or 8, and the only benefit you get from any higher value is increased processor usage.
DaleStan wrote:I thought that was already very well established, Rob.
Sure, for some reasons it was set to this high value some time ago. However, I can't reduce this switch without loosing most of my vehicles.
DaleStan wrote:Can you copy American.exe to TTDLOADW.OVL (or GameGFX.exe) and then regenerate that screenshot, please?
Sorry for confusion, but how do I "copy GameGFX.exe to TTDLOADW.OVL"?
Ther are no hints in the manual for something like that ...
http://wiki.ttdpatch.net/tiki-index.php

I just opened GameGFX.exe in Ollydbg. If that's what you want, see the screenshot attached
Attachments
crash001.png
(66.41 KiB) Downloaded 22 times
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: problem with enhanced tunnels & others

Post by DaleStan »

No. The source is always American.exe. The target may be either GameGFX.exe or TTDLOADW.OVL. (You'll find American.exe on your install media.)

If you copy to GameGFX.exe, you'll have to delete TTDLOADW.OVL too.
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
User avatar
acalex
Engineer
Engineer
Posts: 8
Joined: 09 Jun 2005 13:33

Re: problem with enhanced tunnels & others

Post by acalex »

DaleStan wrote:No. The source is always American.exe. The target may be either GameGFX.exe or TTDLOADW.OVL. (You'll find American.exe on your install media.)
Ok, Dale that's clear. But how do I "copy American.exe [or German.exe cause I play in german??] to Ttdloadw.ovl" with ollydbg?
Could you please explain a little more or give some hints? I'm not very good in this whole debugging stuff ... :?
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: problem with enhanced tunnels & others

Post by DaleStan »

acalex wrote:[or German.exe cause I play in german??]
NoNoNo. That's the problem. You are using German.exe, and we don't have debugging information for German.exe, only for American.exe.

However, I did eventually manage to fake it. Still no idea why it's hanging, but at least I know where.
acalex wrote:with ollydbg?
You don't. OllyDBG has nothing to do with copying files. You copy the way you'd copy any other file -- with Explorer, Total Commander, the command line, whatever you use to copy files.

EDIT: OK. Found the bug. Watch road vehicle 57 and see what it does. Then just make sure it doesn't do *that*. It's probably a bug somewhere in enhancetunnels. The best way to prevent that problem is probably to remove that piece of road.

JGR: Can I blame this bug on you?
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
User avatar
JGR
Tycoon
Tycoon
Posts: 2604
Joined: 08 Aug 2005 13:46
Location: Ipswich

Re: problem with enhanced tunnels & others

Post by JGR »

DaleStan wrote:JGR: Can I blame this bug on you?
Yes. See r1840.
Ex TTDPatch Coder
Patch Pack, Github
User avatar
acalex
Engineer
Engineer
Posts: 8
Joined: 09 Jun 2005 13:33

Re: problem with enhanced tunnels & others

Post by acalex »

Thanx Dale, exactly that was the problem! :P I have removed this piece of road now.
Additionally, I have reproduced the freeze with American.exe as you told (see screenshot 1).
Maybe it is useful for you to fix the problem for another nightly ...

BTW: Got another problem with a strange road vehicle (same savegame, screenshot 2). It seems to have gone nowhere ... ?(
Although it caused no crash, is there a way to delete it? The cheat "deleteveh" doesn't work because I can't pick it.
Thank you again!
Attachments
image1.png
crashlog (American.exe)
(63.25 KiB) Downloaded 18 times
another strange road vehicle
another strange road vehicle
image2.png (145.52 KiB) Viewed 3328 times
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: problem with enhanced tunnels & others

Post by DaleStan »

JGR wrote:
DaleStan wrote:JGR: Can I blame this bug on you?
Yes. See r1840.
Always nice to see a prompt fix like that, especially when I really don't have an idea where to looking. And more so when I use a word like "blame" when I could be much more polite about it.
acalex wrote:BTW: Got another problem with a strange road vehicle (same savegame, screenshot 2). It seems to have gone nowhere ... ?(
Although it caused no crash, is there a way to delete it?
Yes. Quick savegame hack, but not an easy one to describe. The vehicle is gone now, but figuring out how it got there is hopeless; a save from before it teleports to nowhereville is required.
I may have messed up your newgrfs in the process, as I didn't have your newgrfw.cfg. If so, just re-enable them.
Attachments
TRP07.SV1
(859.92 KiB) Downloaded 83 times
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
User avatar
acalex
Engineer
Engineer
Posts: 8
Joined: 09 Jun 2005 13:33

Re: problem with enhanced tunnels & others

Post by acalex »

Thank you Dale, you are my personal God! :lol:
User avatar
athanasios
Tycoon
Tycoon
Posts: 3138
Joined: 23 Jun 2005 00:09
Contact:

Re: problem with enhanced tunnels & others

Post by athanasios »

Vehicle abducted! Better this, than the flying saucer! :lol:
http://members.fortunecity.com/gamesart
"If no one is a fool I am also a fool." -The TTD maniac.


I prefer to be contacted through PMs. Thanks.
Post Reply

Return to “Problems with TTDPatch”

Who is online

Users browsing this forum: Google [Bot], Semrush [Bot] and 19 guests