is it possible to repack .arz file via CLI

I’ve been messing around with the idea of having like 20-30 different build options and scripting the building and having much simpler methods of configuration / mod merging.

So far, this is fine if i’m fiddling with .arc assets but it seems we cannot repack the .arz file using Archivetool.exe

I explored asset manager.exe and I didn’t see any undocumented features of archivetool.exe other than -totalstats which i think is actually wrongly refernced and should be -stats because that is what archivetool is looking for.

Also in asset manager the stats.txt is always blank (think thats a big hint the asset manager.exe has the CLI command wrong for stats).

anyways… is there a CLI way to repack the arz files???

Have you tried -compact?

not sure of that. i think that just cleans up existing .arz files??? can you give me a syntax example?

No idea if this is actually the case because I haven’t tested it yet, but I imagine you’d just call

archivetool.exe <path> -add <file>
archivetool.exe <path> -add <file>
...
archivetool.exe <path> -compact

To assemble an archive and then pack it up.

please try it and get back to me … i can’t make those commands work the way you think they work.

so far i’ve been able to add remove replace and pretty much fully manipulate .arc files with archivetool.exe

.arz files are a mystery. can only successfully manipulate them in asset manager

-database extracts a directory tree of where the DBR files go but it doesn’t extract the dbr files themselves (wtf?)

-compact seems to work on .arc and .arz files to clean them up but not sure how that is determined since it seems to do nothing at all.

im gonna search through some TQ tools maybe someone fixed this before…? is the same structure for TQ? or different etc.

ok found this

http://www.grimdawn.com/forums/showthread.php?t=39952&highlight=archivetool.exe

it works to decompile the .arz if i use the full path (sigh) which is weird but ok ill play along.

as for repacking… i can’t find a way to do it. i dont think its a feature of the CLI tools.

archivetool cannot build database files.

can you give us a CLI way eventually please? :smiley:

Bump because I REALLY REALLY want this as I’m having 7 Asset Manager windows compile 7 different mods at once…