Benefit of packing mod files?
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Benefit of packing mod files?
I've implemented a few mods where I didn't have to pack my XML files to make it work (mostly scripts and diffs). But I see that most released mods are packed (ext_01.cat). So I'm trying to understand what I might be missing.
What's the benefit of packing the files?
What's the benefit of packing the files?
Re: Benefit of packing mod files?
The only possible benefit I can think of is the files become case insensitive for Linux.
Other than that it's a waste of time and just makes it more difficult to look at the code
Other than that it's a waste of time and just makes it more difficult to look at the code
Re: Benefit of packing mod files?
Ok, thanks for confirming. That's also a big drawback for me, the fact that I have to unpack mods that I am trying to debug or draw inspiration from.
Re: Benefit of packing mod files?
Re: Benefit of packing mod files?
Packed mods seem to have a load priority advantage over unpacked:
I am using VRO.
I made a mod that modified existing ships in VRO.
Everything I tried to get my mod to have precedence over VRO failed, Rename my mods, making my mod dependent on VRO didn't work. Only when I packed my mod did my mod supersede VRO.
I am using VRO.
I made a mod that modified existing ships in VRO.
Everything I tried to get my mod to have precedence over VRO failed, Rename my mods, making my mod dependent on VRO didn't work. Only when I packed my mod did my mod supersede VRO.
-
- Moderator (English)
- Posts: 4750
- Joined: Fri, 21. Dec 18, 18:23
Re: Benefit of packing mod files?
In theory packed mods should load faster since loading them requires fewer file system calls (single archive file as opposed to many files) and the archive might compress them meaning less I/O bandwidth needed to read them (I/O is slow, decompression is fast).
Re: Benefit of packing mod files?
Seems like you had the compressed files in the same folderEukatae wrote: ↑Fri, 28. Jan 22, 18:27Packed mods seem to have a load priority advantage over unpacked:
I am using VRO.
I made a mod that modified existing ships in VRO.
Everything I tried to get my mod to have precedence over VRO failed, Rename my mods, making my mod dependent on VRO didn't work. Only when I packed my mod did my mod supersede VRO.