Page 1 of 1
Overriding mod files
Posted: 11 Feb 2008, 04:45
by eriatarka
I'm not sure, but I hope this is the best place to ask this question.
Anyway, is there a way to override specific contents of a mod? I have extracted the mod archive into its own directory and want to modify some of its script files. Is there a way of doing this without having to zip the whole folder up again every time I change something?
Re: Overriding mod files
Posted: 11 Feb 2008, 04:59
by smoth
Extract the mod to a folder named modname.sdd
that will allow spring to load it without the repeat compression.
now if you want to make a mod that changes one or two files for another mod and overrides them, you make what we call a mutator.
Re: Overriding mod files
Posted: 11 Feb 2008, 05:46
by eriatarka
smoth wrote:Extract the mod to a folder named modname.sdd
that will allow spring to load it without the repeat compression.
Ah, thanks. What exactly is "modname" here? The name of the archive? Or doesn't it matter?
now if you want to make a mod that changes one or two files for another mod and overrides them, you make what we call a mutator.
No, I just want to mess around with some stuff.
Re: Overriding mod files
Posted: 11 Feb 2008, 06:18
by smoth
eriatarka wrote:smoth wrote:Extract the mod to a folder named modname.sdd
that will allow spring to load it without the repeat compression.
Ah, thanks. What exactly is "modname" here? The name of the archive? Or doesn't it matter?
what is the name of the mod?
Re: Overriding mod files
Posted: 11 Feb 2008, 17:30
by Argh
What exactly is "modname" here? The name of the archive? Or doesn't it matter?
It doesn't matter. Just extract the game to a folder, name the folder "something.sdd".
Re: Overriding mod files
Posted: 11 Feb 2008, 17:51
by eriatarka
Argh wrote:What exactly is "modname" here? The name of the archive? Or doesn't it matter?
It doesn't matter. Just extract the game to a folder, name the folder "something.sdd".
Great, thanks.
Re: Overriding mod files
Posted: 11 Feb 2008, 21:18
by zwzsg
Edit the modinfo.tdf of the unpacked mod you're modifying so it bears another name.
Delete ArchiveCacheV6.txt so Spring reload the new modinfos.
You may want to use the tags
NumDependencies=1;
Depend0=some_other_mod.sd7;
in the modinfo.tdf so your mod contains only the changes, and load the rest from some other mod.
Re: Overriding mod files
Posted: 11 Feb 2008, 21:51
by eriatarka
That's neat too, could set myself up a debugging mod...