Advantage/Disadvantage of SDD. format for modding..

Advantage/Disadvantage of SDD. format for modding..

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

Moderator: Moderators

User avatar
Fanger
Expand & Exterminate Developer
Posts: 1509
Joined: 22 Nov 2005, 22:58

Advantage/Disadvantage of SDD. format for modding..

Post by Fanger »

I have seen in the changelog that a new archive format for mods/maps has been implemented/added .sdd format I believe it is..

What is the advantage/disadvantage of this format over the currently available .sdz/.sd7 formats...
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

Basically, it's great for when you're working with the mod. You just keep a directory in the mods folder, labeled, "yourmod.sdd" (yes, folders can have dots in their names). Then you just do whatever you'd normally do, but instead of having to zip the archive or whatever, you just start up Spring. I've been using it since the first 0.73 alpha was made available, and it's great- saves me a ton of time, since I'm very much a "do a little change, then test" kind've modder :-)

You wouldn't want to use this as the final distro, though- I've seen little, if any speed-up compared to SDZ. And users would be more likely to screw their installs up.
User avatar
mehere101
Posts: 293
Joined: 15 Mar 2006, 02:38

Post by mehere101 »

So if I understand this right it is pretty much just an ease of use feature for modders?
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

This is gunna help in a month or two when I am modifying weapons ^^
User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Post by Das Bruce »

Does this change load times?
esteroth12
Posts: 501
Joined: 18 May 2006, 21:19

Post by esteroth12 »

Argh wrote:You wouldn't want to use this as the final distro, though- I've seen little, if any speed-up compared to SDZ. And users would be more likely to screw their installs up.
read the thread :P
User avatar
Fanger
Expand & Exterminate Developer
Posts: 1509
Joined: 22 Nov 2005, 22:58

Post by Fanger »

from what argh says thats pretty nifty, though Id like an example of how to set this stuff up..
User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Post by Das Bruce »

Make a folder with .sdd on the end and use that instead of a zip/7z file.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

Yup, that's all there is to it. Very easy, and it saves a bunch of time.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

You do know that 7zip and WinRAR support drag and drop? Just keep a 7z window open and throw the files in there instead of an explorer window.
User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Post by Das Bruce »

KDR_11k wrote:You do know that 7zip and WinRAR support drag and drop? Just keep a 7z window open and throw the files in there instead of an explorer window.
Still not as easy as just saving the files and playing.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Unless you keep your work directory elsewhere. I might forget backing up the data if it's in the Spring directory.
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Post by Caydr »

Advantage: keeps me from having to replace .zip with .sdz every 3 seconds when I recompile AA and then send it to the mods directory.

Disadvantage: I can't make it work :(
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

It should look like this:

Code: Select all

mods/
|-- GINTA.sdz
|-- NanoBlobs054b.sdz
|-- NanoBlobs060.sdd
|   |-- Anims
|   |-- Armor.txt
|   |-- Bitmaps
|   |-- CC_PUBLIC_LICENSE.txt
|   |-- GNU_PUBLIC_LICENSE.txt
|   |-- Gamedata
|   |-- Icons
|   |-- License.txt
|   |-- Objects3d
|   |-- Scripts
|   |-- Sidepics
|   |-- Sounds
|   |-- UnitPics
|   |-- Units
|   |-- Unittextures
|   |-- Weapons
|   |-- modinfo.tdf
|   |-- script.txt
|   `-- spawn.txt
|-- Xect-vs-Mynn.sdd
|   |-- anims
|   |-- armor.txt
|   |-- bitmaps
|   |-- differences.txt
|   |-- features
|   |-- gamedata
|   |-- modinfo.tdf
|   |-- objects3d
|   |-- readme.txt
|   |-- scripts
|   |-- sidepics
|   |-- sounds
|   |-- unitpics
|   |-- units
|   |-- unittextures
|   `-- weapons
|-- gundam.sdz
|-- gundam1_1s.zip
|-- gundam_1.1s_epic.sdz
|-- gundam_1.1s_tinycom.sdz
`-- xtape.sd7
(left out third level subdirectories and below)

Also note that you need to use the right names in modinfo.tdf of dependants, ie. if you develop using .sdd you need to change modinfo.tdf of any mod depending on the .sdd to contain blah.sdd instead of blah.{sd7,sdz}.
User avatar
Fanger
Expand & Exterminate Developer
Posts: 1509
Joined: 22 Nov 2005, 22:58

Post by Fanger »

sweet.. sounds cool.. I will definately be utilizing that
User avatar
Relinquished
Posts: 126
Joined: 22 Jun 2006, 22:08

Post by Relinquished »

Okay, just one question, does it work with any version over 0.7, or just 0.73 alpha?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Just 0.73 iirc, I think I made it a few days after 0.72 :-)
User avatar
Fanger
Expand & Exterminate Developer
Posts: 1509
Joined: 22 Nov 2005, 22:58

Post by Fanger »

It is so For the WIN though.. thanks tobi...
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

Just remember to make backups every once in a while. I kinda forget about that and break things occasionally...
User avatar
Relinquished
Posts: 126
Joined: 22 Jun 2006, 22:08

Post by Relinquished »

Tobi wrote:Just 0.73 iirc, I think I made it a few days after 0.72 :-)
so where do you get these things exactly? :S
Post Reply

Return to “Engine”