Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
Imported Missions that Won't Run. (Read 604 times)
Sep 15th, 2003 at 9:19am

section31001   Offline
Colonel
Member of the FW-190A
fan club.
Cornwall. UK.

Gender: male
Posts: 35
*****
 
Hi folks,
Just an appeal for help with a problem that everyone knows the answer to!

Over the past few months I've imported quite a few missions (most from simivation!)  But a fair few won't run - they give the bad format report.

On Friday, I came across a set of instructions on how to sort this out, but the machine I was did not have a printer. (I think it was hidden in the depths of sim-outhouse!)

The article said that most format errors are generated by a plane being missing from the aircraft folder!

Can any good person please tell me either:-

(a)  Where to  find the article (I've been searching, but I can't find it again).

or

(b)  How to check a mission for the exact aircraft that it needs.

Thanks in anticipation...
Ken Attwood (Section 31001)
Cornwall UK, (Not part of England)

 
IP Logged
 
Reply #1 - Sep 15th, 2003 at 12:00pm

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
Ken.
You're quite right about that error message. The most common cause is missing, incorrectly installed or incorrectly named  aircraft.

I don't know the tute you mean. Here's how I do it. Open the main CFS folder & find a file named Error.log. Open this in Notepad. Here's an example of an error from a CFS2 campaign I've been testing.

[Mission file error]
error=Unable to init unit 9204
title=KWP06 The Bridges At Wonson-ri
filename=C:\PROGRAM FILES\MICROSOFT GAMES\COMBAT FLIGHT SIMULATOR 2\MISSIONS\TRS_KWP6

In this case you need to find unit 9204 in TRS_KWP6. Find the mission in the Missions or Campaigns folder & open it in Notepad. Type 9204 in the Search/Find feature. It should find an entry like this,

[unit.0]
id=9204
type_id=3902
name=%name_string.0%
allegiance=1
skill=2
aggression=1
payload=2

Now type the type_id= number in the Find box. 3902
You might need to hit F3 a few times to find the entry you need. Here's the problem aircraft.

[unit_type.2]
type_id=3902
unit_family=1
name=KWCFS2_SEA_FuryAI

The name= line usually (but not always) indicates the exact folder name of the aircraft. You might need to repeat this procedure more than once if there's more missing aircraft in the mission. I find using Keith Bedford's Cfsme makes this even easier. http://www.simviation.com/cfs1utilitites2.htm

A common problem with AI Only drones included with some 3rd party missions is missing Panel and/or Sound folders. All aircraft must have these folders to work, even if they're empty folders. This bug is caused by using an early version of WinZip to extract the zipfiles.
 

...

Founder & Sole Member - Grumpy's Over the Hill Club for Veteran Virtual Aviators
Member of the Fox Four Group

Need help? Try Grumpy's Lair

My photo gallery
IP Logged
 
Reply #2 - Sep 16th, 2003 at 3:31am

section31001   Offline
Colonel
Member of the FW-190A
fan club.
Cornwall. UK.

Gender: male
Posts: 35
*****
 
Thanks, Hagar, I'll give it a try!
Ken.
Smiley
 
IP Logged
 
Reply #3 - Sep 22nd, 2003 at 8:59am

section31001   Offline
Colonel
Member of the FW-190A
fan club.
Cornwall. UK.

Gender: male
Posts: 35
*****
 
Errr,

I must be thick but I can't find error.log... Sad

I've been in cfs main folder, but can't find it.  Any suggestions?  Please?

All the best,
Ken Attwood
(Terminally Confused ??? ??? ???)
 
IP Logged
 
Reply #4 - Sep 22nd, 2003 at 6:29pm

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
OK. try this. Open Combatfs.cfg in Notepad. Look for this entry under [PREFS]

LOG_FILE=ERROR.LOG

If it's not there, paste it in & exit Notepad saving changes. Then try the suspect mission again. If there's an error the new Error.log should be created.
 

...

Founder & Sole Member - Grumpy's Over the Hill Club for Veteran Virtual Aviators
Member of the Fox Four Group

Need help? Try Grumpy's Lair

My photo gallery
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print