Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
#4460849 - 02/11/19 08:19 AM The strangest CTD  
Joined: Apr 2002
Posts: 10,646
MrJelly Online content
Veteran
MrJelly  Online Content
Veteran

Joined: Apr 2002
Posts: 10,646
Montagnac, L'Herault, France
In the last couple of weeks Ray and I have been trying to get his SPAW installations to work. They used to, and they have not been modified. The installations on my PCs all work, but every time he tried to fly he got a CTD with a "cannot find TMod204.TPC" error.
The installations on my PCs all work. None of the 3dz files on my entire PC reference TMod204.TPC, and there is no texture mapping involving that file.
He found a TMod204h.TPC copied it and re-named it as TMod204.TPC. This time he got a "cannot find TMod205.TPC" error.
He decided that this would go on forever, 206, 207, 207, 208........ and did no more.
I sent him a standalone working folder with just the SPAW installations. He did not get the error. He put the folders in his 160 installation, ran SPAW and got the error.
In the standalone folder I had included my "eaw.ini" file, and that was the only file not being used in his SPAW installation.
He compared it and found that I had "3dCityTargets=2" where in his case he had "3dCityTargets=0".
He changed his to "3dCityTargets=2" and the problem was gone.
When I changed mine to "3dCityTargets=0" I got the "cannot find TMod204.TPC" error too, and got it again if "3dCityTargets=1"

This value comes from the Config/graphics "GROUND OBJECT DETAIL" setting, so the problem occurred in low or medium resolution.
I went back and made a TMod204.TPC from TMod204h.TPC, and a TMod205.TPC file from TMod205h.TPC. Running SPAW I got a "cannot find TMod206.TPC" error just as Ray had expected.
However, I made a TMod206.TPC file from TMod206h.TPC, and this time it worked.

The three TMod 3dzs (204, 205 and 206) are for the RN, USN and Japanese aircraft carriers. I flew ground started missions from the Enterprise, the Victorious and the Shokaku. The graphics were as normal.
I wondered if the TMod204/5/6.TPC files were being read, so I made three text files and re-named them. This time I got a CTD with no error message, so they were being read. However, were they being used?
My final test was to copy TMod204.TPC and make TMod205.TPC and TMod205.TPC files that were identical. Re-flying the missions from the three carriers gave the correct graphics at each one, so the data in TPCs referenced in the 3dz files was used and not the data in the TMod204/5/6.TPC files.

With the large number of TMods in SPAW ranging from TMOD01 to TMOD255 why is there just a problem that seems to be related to the three carriers 204, 205 and 206?

As I wrote, this is the strangest CTD I have ever encountered. I cannot find anything in the source code that makes the exe look for TMod204.TPC, so it remains a mystery.
However, at least we know what causes the error, and how to fix it. I have the TMod204.TPC, TMod205.TPC and TMod206.TPC files in my GameData folder, and I do not get the CTD smile

wink Jel


Fly EAW online at GameRanger: GameRanger Site

I am now of an age at which I no longer need to suffer fools gladly








Inline advert (2nd and 3rd post)

#4460858 - 02/11/19 11:06 AM Re: The strangest CTD [Re: MrJelly]  
Joined: Feb 2006
Posts: 4,423
Rotton50 Offline
Senior Member
Rotton50  Offline
Senior Member

Joined: Feb 2006
Posts: 4,423
Cape Charles, Virginia, USA
All well and good but the emotional toll on this old brain will NEVER be forgotten. biggrin


Ray Otton - Those who do not learn from history are doomed to repeat it.
#4461182 - 02/13/19 04:42 PM Re: The strangest CTD [Re: MrJelly]  
Joined: Aug 2000
Posts: 6,963
Moggy Offline
EAW Old Timer and Bodger
Moggy  Offline
EAW Old Timer and Bodger
Hotshot

Joined: Aug 2000
Posts: 6,963
A slit trench at RAF Gravesend
I seem to remember that I have had odd problems like this in the past, and I have similarly just put copied tpc files in and moved on quickly smile

Which carrier models are these giving the problem, and were they anything I worked on?


RAF Chattenden
The Gen Home of the EAW Code Group
#4461204 - 02/13/19 06:38 PM Re: The strangest CTD [Re: MrJelly]  
Joined: Apr 2002
Posts: 10,646
MrJelly Online content
Veteran
MrJelly  Online Content
Veteran

Joined: Apr 2002
Posts: 10,646
Montagnac, L'Herault, France
I have narrowed it down to the damage model 3dzs for Ray's three Japanese carriers in SPAW wink


Fly EAW online at GameRanger: GameRanger Site

I am now of an age at which I no longer need to suffer fools gladly








#4461211 - 02/13/19 06:54 PM Re: The strangest CTD [Re: MrJelly]  
Joined: Feb 2006
Posts: 4,423
Rotton50 Offline
Senior Member
Rotton50  Offline
Senior Member

Joined: Feb 2006
Posts: 4,423
Cape Charles, Virginia, USA
12 years after the release of SPAW! Odd that we haven't run across it before this.

What are the particulars and how do we fix it?


Ray Otton - Those who do not learn from history are doomed to repeat it.

Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
Great Whites fear Orcas
by KraziKanuK. 04/19/19 05:28 AM
Where retirees are going to and fleeing from
by PanzerMeyer. 04/18/19 11:56 AM
Signs Found Only in Texas
by Haggart. 04/17/19 12:58 PM
First console with no disc drive
by PanzerMeyer. 04/16/19 10:26 PM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0