Trainz crashing on boot-up....

Bad news I'm afraid mate, I did the update per the letter and DX installed no problem but I'm still getting the exact same crash with both sims.
 
OK - something more serious is going on.

Can you run DXDIAG using the Run box in the start menu and tell me what DirectX version it's reporting?

Shane
 
DirectX 9.0c (4.09.0000.0904)

But here's something.... when I run the test I get a message saying that a problem was detected with 'directinput' and would I like to bypass it?
 
It may be worth doing so. Issues with DirectInput will affect Trainz though, and I'm going to have a look to see if I can find a solution for that.

Shane

EDIT: Did you make sure you followed all steps for installing the redistributable, including running dxsetup?
 
Last edited:
From what I've read so far, this issue can be caused by certain game input controllers (joysticks etc).

Can I double-check that you did run dxsetup when you did the redistributable version?

Shane
 
Brilliant! You've hit the nail right on the head Shane.... I've unplugged the game pad and both sims are now working perfectly.

Well done mate and thank you very much.
 
Well done Shane, your knowledge of DirectX worked again. I will always remember the help you gave me a while ago when my D1rectX would not update because of spurious Windows file security.

Scottish
 
Thankyou for your comment - DirectX seems to be one of my strong areas, even if I have to occasionally verify information elsewhere.

Shane
 
Shane,

I would like to ask you to take a moment to see if something in here that tells why running Trainz in directx causes game shutdown after roughly 5 minutes of running. I know this error log is a bit old but it is the same crash report every time. I have recorded 5 of the logs and compared them side by side. They are all the same report. This error started when I did your redistributable update to directx, and even the rollback does not fix this error. Hopefully there is a way to correct this as opengl makes my graphics slightly jittery and tears a bit. Directx was the smooth way for me to run the sim and would love to have it back.

trainz caused an Access Violation (0xc0000005)
in module RenderDirectX9_7c.dll at 0023:01a08c5f.
Exception handler called in main thread.
Error occurred at 3/26/2012 20:45:52.
C:\Program Files\TS12\bin\trainz.exe, run by MaruffiJD.
Operating system: unknown Windows version (6.0.6002).
4 processor(s), type 586.
31% memory in use.
0 MBytes physical memory.
0 MBytes physical memory free.
0 MBytes paging file.
0 MBytes paging file free.
0 MBytes user address space.
2683 MBytes user address space free.
Read from location 000000cc caused an access violation.
Context:
EDI: 0x034a8810 ESI: 0x0017f918 EAX: 0x3ecccccd
EBX: 0x034a4afc ECX: 0x00000000 EDX: 0x00000008
EIP: 0x01a08c5f EBP: 0x0017f91c SegCs: 0x00000023
EFlags: 0x00210202 ESP: 0x0017f894 SegSs: 0x0000002b
Bytes at CS:EIP:
8b 81 cc 00 00 00 ff d0 5f 5e 5b 8b e5 5d c3 cc
 
Not much different to me then. Mine's a 4200 (without crossfire).

Have you tried it without the crossfire?

If it still fails, I think I'm going to have to contact AMD/ATI about it.

Shane
 
How strange. I disabled crossfire and the sim ran for over four hours before crashing. This time the crash was due to the multiple programs fighting for CPU space (antivirus started monthly full scan during test run and system couldn't take the cpu load.) Later ran it with crossfire enabled again just to see, and no crash. Started a large map session on full AI control and let it run for about 4 hours then went to bed. When I woke up the session was still running. All this was using DirectX settings. Seems it fixed itself somehow.
 
How strange. I disabled crossfire and the sim ran for over four hours before crashing. This time the crash was due to the multiple programs fighting for CPU space (antivirus started monthly full scan during test run and system couldn't take the cpu load.) Later ran it with crossfire enabled again just to see, and no crash. Started a large map session on full AI control and let it run for about 4 hours then went to bed. When I woke up the session was still running. All this was using DirectX settings. Seems it fixed itself somehow.

Your antivirus program may also have stepped on files that were in use while Trainz was running. This coupled with the additional load on the CPU didn't help much.

John
 
Back
Top