subdirectories in mod files

subdirectories in mod files

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

subdirectories in mod files

Post by Caydr »

Would it be possible to make multiple mods be within a single SDZ archive?

For instance, a file structure like this:

AbsoluteAnnihilation.sdz
|-AASpring20\
|-|-bitmaps\
|-|-docs\
|-|-features\
|-|-gamedata\
|-|-objects3d\
|-|-scripts\
|-|-sounds\
|-|-unitpics\
|-|-units\
|-|-unittexures\
|-|-weapons\
|-|-modinfo.tdf

|-AASpring20A
|-|-gamedata\
|-|-modinfo.tdf

|-AASpring20B
|-|-gamedata\
|-|-modinfo.tdf

|-AASpring20F
|-|-gamedata\
|-|-modinfo.tdf

|-AASpring20H
|-|-gamedata\
|-|-modinfo.tdf


(ph33r the bbcode skillz)

It would just be a lot tidier. You'd appreciate how MUCH tidier if you could see what I'm messing around with on this end right now...
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Currently it's not possible and it would be quite some modifications to support it I think.

I'm pretty sure you can put all AA *.sdz files in a special AA subdirectory in mods though (I didn't test that tho).
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Post by Caydr »

Yeah that works, though you have to clean out archivecache in some circumstances.
Post Reply

Return to “Engine”