New stations crashing a40

Got a problem with TTDPatch? Get help here.

Moderator: TTDPatch Moderators

User avatar
cornelius
Director
Director
Posts: 519
Joined: 04 Jan 2004 22:11

New stations crashing a40

Post by cornelius »

I've just created a 'clean' copy of TTD with alpha 40 to catch up on all the new stuff that's been released recently, but if I load some of the new stations (either MB's waypoints or the US set stations) the game crashes instantly when I click on the new 'station type' drop down selector.

I'm using the config generated by default by the patch, and it happens when either of these are the only new graphics files loaded. I've got v0.2 of newstatsw.grf and v0.83 of usstatsw.grf. Here's a crash log:
Attachments
CRASH000.TXT
(1.56 KiB) Downloaded 86 times
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Is that with a new game or an existing game? Are the station graphics active in your grf status window?
User avatar
cornelius
Director
Director
Posts: 519
Joined: 04 Jan 2004 22:11

Post by cornelius »

Patchman wrote:Is that with a new game or an existing game? Are the station graphics active in your grf status window?
Totally fresh game and the graphics are listed in the status window before it crashes.
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Listed with what flag colour? Red or green?
User avatar
cornelius
Director
Director
Posts: 519
Joined: 04 Jan 2004 22:11

Post by cornelius »

Patchman wrote:Listed with what flag colour? Red or green?
Sorry, green - should have thought to put that down in the last post.
User avatar
cornelius
Director
Director
Posts: 519
Joined: 04 Jan 2004 22:11

Post by cornelius »

This is still happening with a41. I'm beginning to think it might be something more fundamental to do with the version of TTD I've got.
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

I'm afraid it's very hard to try and help... if I can't make it crash on my computer too.

I wonder if there's possibly some other .grf file that's interfering? For a test, you could take out everything but one station .grf file and see if that helps.
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
User avatar
cornelius
Director
Director
Posts: 519
Joined: 04 Jan 2004 22:11

Post by cornelius »

Patchman wrote:I'm afraid it's very hard to try and help... if I can't make it crash on my computer too.

I wonder if there's possibly some other .grf file that's interfering? For a test, you could take out everything but one station .grf file and see if that helps.
Yeah, I appreciate that it's nigh on impossible to sort out if you can't replicate it. Turning off everything except for the offending grf(s) was one of the first things I tried.

Ah well, I'll just have to stick to a37 if I want to play with new stations I guess.
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

I meant not just turning them off, but taking them out of the newgrfw.cfg entirely...
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
User avatar
cornelius
Director
Director
Posts: 519
Joined: 04 Jan 2004 22:11

Post by cornelius »

Patchman wrote:I meant not just turning them off, but taking them out of the newgrfw.cfg entirely...
The same thing happens. Interestingly the preview version of the Shinkansen stations (sksstats.grf) seems to work fine - it's MB's waypoints and the US set stations that break it :?:
User avatar
cornelius
Director
Director
Posts: 519
Joined: 04 Jan 2004 22:11

Post by cornelius »

Quick update here: I think this one was actually mostly my fault. I installed the game on Mrs. Cornelius' PC with the latest patch and grf versions and all works fine. I reinstalled on my (virtual) PC and it was still crashing, but when I turned off the new sprite sorter it was all right. The station type text doesn't display though - it's either blank or random sprite garbage.
User avatar
cornelius
Director
Director
Posts: 519
Joined: 04 Jan 2004 22:11

Post by cornelius »

I still get this problem. Most times I can play with new stations - the game seems to stabilise after a few crashes, but with MB's new stations 0.3 and alpha 46 it's just not having it. Perhaps I need to get hold of an old PC to play on instead of persisting with the Virtual one on my Mac :(
Attachments
CRASH000.TXT
(1.6 KiB) Downloaded 65 times
Image
Cornelius Foundry ~ Bespoke Isometric Narrow Gauge Engineering ~ Est. 1921
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

Have you tried most-current-Patch? 40 is a little old now you know.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

The crashlog was made by a46. This one is a bit more enlightening, it shows that this happens when trying to display the name of some station. I'm still not sure how it can crash, since the name appears to have been set properly (or else ESI would be zero).

What operating system do you have? I'm asking since it seems to assign memory that later become unassigned again, or the crash would've happened when the name was set instead of read.
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
User avatar
cornelius
Director
Director
Posts: 519
Joined: 04 Jan 2004 22:11

Post by cornelius »

Patchman wrote:What operating system do you have? I'm asking since it seems to assign memory that later become unassigned again, or the crash would've happened when the name was set instead of read.
Windows 2000 running on Virtual PC on Mac OS X :?

When stations occasionally work their names are corrupted (random garbage strings or nothing at all get displayed in the drop-downs) so yeah that seems to be the crux of the problem.
Image
Cornelius Foundry ~ Bespoke Isometric Narrow Gauge Engineering ~ Est. 1921
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Well, I'm afraid I can't help you unless you use some debugger and debug the name assignment and subsequent access to see what's going wrong.
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
User avatar
cornelius
Director
Director
Posts: 519
Joined: 04 Jan 2004 22:11

Post by cornelius »

Patchman wrote:Well, I'm afraid I can't help you unless you use some debugger and debug the name assignment and subsequent access to see what's going wrong.
If you can explain how I do that I'll try it. Otherwise Mrs. Cornelius says I can use her PC to play the game... which is probably a decision she'll come to regret ;)
Image
Cornelius Foundry ~ Bespoke Isometric Narrow Gauge Engineering ~ Est. 1921
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Well, I'd say if I have to explain it, you probably can't do it. You'd need to know i386 assembly language for one thing.
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

But it used to work, right? What changed?
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
cornelius
Director
Director
Posts: 519
Joined: 04 Jan 2004 22:11

Post by cornelius »

krtaylor wrote:But it used to work, right? What changed?
The way you selected station types (the original method with the little left/right arrows was fine). Anyway, it works fine on a real PC, so it doesn't really matter.
Image
Cornelius Foundry ~ Bespoke Isometric Narrow Gauge Engineering ~ Est. 1921
Post Reply

Return to “Problems with TTDPatch”

Who is online

Users browsing this forum: No registered users and 17 guests