ERF: MOD files have incorrect prefix
lachjames opened this issue · 4 comments
lachjames commented
Hi :)
The first eight bytes of a mod file saved with ERF v1.0 should read "MOD V1.0", but they read "ERF V1.0" instead. This apparently causes TSL to be unable to open the archive, where manually hex-editing the first eight bytes to the correct value allows the archive to be opened.
DrMcCoy commented
ERF files come in several flavours: ERF (used by the NWN toolset as general resources archives), MOD (modules), HAK (used by NWN as additional resource archives loaded by a modules) and SAV (save files).
With our erf
archive packer, you can select those with the command line flag --erf
(default), --mod
, --hak
or --sav
, respectively.
DrMcCoy commented
Ah, well, and this is currently broken. Damn.