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: 12,497
MrJelly Offline
Veteran
MrJelly  Offline
Veteran

Joined: Apr 2002
Posts: 12,497
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

FaceBook Pages
UAW 160 downloads
EAW Club

Mark Twain: I am quite sure now that often, very often, in matters concerning religion and politics a man's reasoning powers are not above the monkey's.

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,859
Rotton50 Offline
3DZ / campaign designer
Rotton50  Offline
3DZ / campaign designer
Senior Member

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


Heck, even paranoids have enemies.
#4461182 - 02/13/19 04:42 PM Re: The strangest CTD [Re: MrJelly]  
Joined: Aug 2000
Posts: 7,428
Moggy Offline
EAW Old Timer and Bodger
Moggy  Offline
EAW Old Timer and Bodger
Hotshot

Joined: Aug 2000
Posts: 7,428
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?

#4461204 - 02/13/19 06:38 PM Re: The strangest CTD [Re: MrJelly]  
Joined: Apr 2002
Posts: 12,497
MrJelly Offline
Veteran
MrJelly  Offline
Veteran

Joined: Apr 2002
Posts: 12,497
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

FaceBook Pages
UAW 160 downloads
EAW Club

Mark Twain: I am quite sure now that often, very often, in matters concerning religion and politics a man's reasoning powers are not above the monkey's.

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,859
Rotton50 Offline
3DZ / campaign designer
Rotton50  Offline
3DZ / campaign designer
Senior Member

Joined: Feb 2006
Posts: 4,859
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?


Heck, even paranoids have enemies.

Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

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


Recent Topics
Dickey Betts was 80
by Rick_Rawlings. 04/19/24 01:11 AM
Exodus
by RedOneAlpha. 04/18/24 05:46 PM
Grumman Wildcat unique landing gear
by Coot. 04/17/24 03:54 PM
Peter Higgs was 94
by Rick_Rawlings. 04/17/24 12:28 AM
Whitey Herzog was 92
by F4UDash4. 04/16/24 04:41 PM
Anyone can tell me what this is?
by NoFlyBoy. 04/16/24 04:10 PM
10 Years ago MV Sewol
by wormfood. 04/15/24 08:25 PM
Pride Of Jenni race win
by NoFlyBoy. 04/15/24 12:22 AM
It's Friday: grown up humor for the weekend.
by NoFlyBoy. 04/12/24 01:41 PM
OJ Simpson Dead at 76
by bones. 04/11/24 03:02 PM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0