Hard Light Productions Forums
Community Projects => The FreeSpace Wiki Project => Topic started by: ARSPR on May 27, 2007, 06:27:02 am
-
Because my doubts in this thread (http://www.hard-light.net/forums/index.php/topic,47235.0.html) I think we need to post in Wiki how data structure works and which files each subfolder should have.
I think the best place to do this is removing Modding > File Types (http://www.hard-light.net/wiki/index.php/File_Types) by a more comprehensive FS2 Data Structure or something like that.
I don't mind doing it with my little knowledge so more expert people will have a scratch to easily fix or update. As said I would start from my knowledge and from this info (a bit antiquated), Taylor posted somewhere sometime ago:
Files are found in the following order and file type/extension filter per root (same basic rule applies to directories and files inside of VPs):
/ (mve, avi, mpg)
/data (cfg, log, txt)
/data/maps (pcx, ani, eff, tga, jpg, dds)
/data/text (txt, net)
/data/missions (fs2, fc2, ntl, ssv)
/data/models (pof)
/data/tables (tbl, tbm)
/data/sounds (wav, ogg)
/data/sounds/8b22k (wav, ogg)
/data/sounds/16b11k (wav, ogg)
/data/voice ()
/data/voice/briefing (wav, ogg)
/data/voice/command_briefings (wav, ogg)
/data/voice/debriefing (wav, ogg)
/data/voice/personas (wav, ogg)
/data/voice/special (wav, ogg)
/data/voice/training (wav, ogg)
/data/music (wav, ogg)
/data/movies (mve, msb, avi, mpg)
/data/interface (pcx, ani, tga)
/data/fonts (vf)
/data/effects (ani, eff, pcx, neb, tga, jpg, dds)
/data/hud (ani, pcx, tga)
/data/players ()
/data/players/images (pcx)
/data/cache (clr, tmp, ibx)
/data/players (hcf)
/data/players/single (pl2, cs2, plr, csg, css)
/data/players/multi (plr)
/data/multidata (pcx, fs2)
/data/config (cfg)
/data/players/squads (pcx)
/data/demos (fsd)
/data/cbanims (ani)
/data/intelanims (ani)
/data/scripts (lua, lc)
My suggestion is having a screen like flags screen with the next sections:
- Introduction and data priority Brief explanation of data (and therefore vp) structure and a link to -MOD flag or something like that to explain data priority
- List of data subdirs. In a similar way to the list of flags it will list all the data structure. I'd fill the subdirs I know (or I think I know) specifiying which kind of files they support and what are they suppose to have.
- Exact loading order. More or less it would be Taylor's info. Some data could go (although it is a wrong mod design) in several folders (ie, ship textures are also read from effects). So this (updated) list could be useful.
If you agree with this, please change File Types or create a new page for me (with a link) because I don't know how to do that. ;)
-
Log in to the wiki, then open this link:
http://www.hard-light.net/wiki/index.php?title=FS2%20Data%20Structure&action=edit
EDIT: Oh, and put this line of text at the bottom of your page (I think):
[[Category:Modding]]
EDIT: To view his page (now in progress), click:
http://www.hard-light.net/wiki/index.php/FS2_Data_Structure
-
Thanks.
WIP!!! :pimp:
-
Very nice start on the page
-
What the hell are ntl and ssv files?
-
What the hell are ntl and ssv files?
You aren't asking me, are you? :p
Well, more or less 75% done...
-
More of a general :wtf: than anything.
-
Well I'm more or less finished. Please check it:
http://www.hard-light.net/wiki/index.php/FS2_Data_Structure
-
Thanks for that work. :yes: A lot of people will find the Data Structure entry helpful.