Because my doubts in
this thread 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 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.