Sign in to follow this  
aCesSpRo

Cod4 maps formats

Recommended Posts

Posted (edited)

Hi, I was looking at cod4 maps formats and found out that there is:

 - FastFile format (.ff);

- iwd files that are zips to my tknowledge 

 

But looking at the source code of cod4x server there are references to bsp maps and d3dbsp.

 

Can someone explain to me what bsp and d3dbsp files are used for?

Thanks in advance!

Edited by aCesSpRo
typo

Share this post


Link to post
Share on other sites

You create maps in radiant (*.map).

During the compiling the Compiler creates the *.bsp and *.d3bsp files.

I am not 100 percent sure but i think one of them contains the geometry and the other the light informations.

In the final step they are compressed into the *.ff

You can easily follow the procedure when you keep an eye on the cmd window during the compile process.

 

when you take a look into cod2 mapping you will notice that there was no *.ff, the game used the *.d3bsp to load the map.

 

(please correct me when i am wrong, it's quite a while that i mapped and took a look into the single steps, eapecially cod2)

  • Like 1

Share this post


Link to post
Share on other sites
33 minutes ago, Viking said:

In the final step they are compressed into the *.ff

That is not that correct. The d3dbsp file is loaded into CoD4-Tool (same as cod2 would load a d3dbsp file) then the structures are dumped from memory that describe the map (Clipmap, vertex, brushes, etc.)

At this point the d3dbsp format is lost and from my investigations also an important information is lost needed to rebuild the valid d3dbsp file again.

The final memory dump is packed in a Bytestream and compressed with deflate algorithm.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this