DUPLICATING AN AIRCRAFT
Due to a bug in CFS1 & CFS2, texture conflicts can occur when swapping between different repainted versions of the same aircraft.
This can be fixed once & for all by duplicating the original & configuring each repaint as a separate aircraft.

TOOLS

You will need FRHED.ZIP here.

Step 1. Create the duplicate aircraft

I'll use the CFS2 default Corsair in this example as it only needs one texture to be changed.

  • In Windows Explorer browse to the CFS2\AIRCRAFT folder
  • Right-click on the F4U1A_CORSAIR folder & select Copy.
  • Right-click in a clear space & select Paste.
  • You should now have a duplicate copy of the Corsair folder named Copy of F4U1A_CORSAIR
  • This is the folder you will be working with from now on

Step 2. Replace the textures

  • Paste the repainted texture(s) into the Texture folder of your new duplicate Corsair.
  • The main texture is named f4u1a_corsair_t.bmp
  • Choose a new name for the texture. It must have exactly the same number of digits as the original.
  • I'll use f4u1b_corsair_t.bmp for this example. Rename the texture with this name.

Step 3. Hex Edit the MDL file

You now need to edit the MDL file to recognise the renamed main texture.

  • Run Frhed & open f4u1a_corsair.mdl in the duplicate Corsair Model folder.
  • Click Edit/Find & type (or paste) f4u1a_corsair_t.bmp in the box. Click OK.
  • Carefully change the texture name to the new name of your texture. f4u1b_corsair_t.bmp
  • Hit F3 to find the next entry. Rename each one in the same way until it can find no more.
  • Click File/Save As & save the MDL under a different file name.
  • For convenience I've used the same file prefix as the texture. f4u1b_corsair.mdl Exit Frhed.
  • Find & open Model.cfg in Notepad. Change the normal= entry to the name of your new MDL file.
  • Exit Notepad saving changes.

Step 4. Final step

  • To finish the job, rename the AIR file & DP with the same file prefix as the new MDL file.
  • Delete the CDP file.
  • Open Aircraft CFG in Notepad.
  • Change the title= name to the one you wish to display on the CFS2 menu.
  • It must be different to the original.
  • Change the sim= name to the the file prefix of the new AIR file. sim=f4u1b_corsair
  • Exit Notepad saving changes.
  • Finally - rename the Copy of F4U1A_CORSAIR folder to any appropriate name.
OK, that should do it. Go & check out your new repaint.
Home

© Grumpy's Lair 2002