Mod file structure

Contents

What's an sd7/sdz file?

A mod is presented as an sd7 or sdz file. This is just a zip file of the individual files comprising the mod.

You can unzip the sd7 or sdz file by renaming it to .zip, and using a zip tool to unzip it.

sd7 / sdz files are created using 7zip.

.sdd directories

You can avoid using the archives altogether by storing the whole mod directory structure in an .sdd directory. This is useful for mod development because the changes you make are visible without any additional step.

On Linux one can also symlink the development directories from the Spring's mod directory:

 ln -s ~/projects/caspring/mods/ca ~/.spring/mods/ca.sdd

What is a FBI,BOS,3DO,S3O,GAF,TDF file?

(From http://taspring.clan-sy.com/phpbb/viewtopic.php?t=6015 )

  • FBI A text document storing units stats like, name, cost buildtime etc.
  • BOS An Uncompiled script written in Pseudo-C
  • COB A compiled .BOS file
  • 3DO A model format used by ota it is supported by spring
  • S3O Spring's own model format.
  • HPI A compressed format used by OTA and 3DO builder. GAF files need to be stored here for 3DO builder to read them.
  • GP3 Just a renamed .HPI
  • GAF 3DO textures are stored within these files
  • TDF Used as a generic information file, merely a text document. They can be opened in notepad.

How to create a COB file?

Compile a BOS file using scriptor: [http://files.tauniverse.com/library/ta/modding-utilities/scriptor/

Retrieved from "http://springrts.com/wiki/Mod_file_structure"

This page has been accessed 2,512 times. This page was last modified 20:08, 13 March 2010.


 
 

Page editing toolbox

Browse
Main Page
Community portal
Current events
Recent changes
Random page
Help
Donations
Edit
View source
Editing help
This page
Discuss this page
Post a comment
Printable version
Context
Page history
What links here
Related changes
My pages
Log in
Special pages
New pages
File list
Statistics
Bug reports
More...

Site layout created by Roflcopter.