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?
Overriding mod files
Moderator: Moderators
Re: Overriding mod files
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.
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
Ah, thanks. What exactly is "modname" here? The name of the archive? Or doesn't it matter?smoth wrote:Extract the mod to a folder named modname.sdd
that will allow spring to load it without the repeat compression.
No, I just want to mess around with some stuff.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
what is the name of the mod?eriatarka wrote:Ah, thanks. What exactly is "modname" here? The name of the archive? Or doesn't it matter?smoth wrote:Extract the mod to a folder named modname.sdd
that will allow spring to load it without the repeat compression.
Re: Overriding mod files
It doesn't matter. Just extract the game to a folder, name the folder "something.sdd".What exactly is "modname" here? The name of the archive? Or doesn't it matter?
Re: Overriding mod files
Great, thanks.Argh wrote:It doesn't matter. Just extract the game to a folder, name the folder "something.sdd".What exactly is "modname" here? The name of the archive? Or doesn't it matter?
Re: Overriding mod files
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.
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
That's neat too, could set myself up a debugging mod...