Open juj opened 2 years ago
There are some tools to manage PAK archives. I know I've used them in the past and even have a vague recollection of compiling one of them myself (C#, IIRC—downloading and the idea of running random EXEs from forum posts has always made me wary). But I can't recall what the thing was called. OTOH, those PAK files are really simple and the tree's existing PAK code can obviously read them and should still be able to write them.
I found the tool I'd compiled and used a while back for extracting from the PAK files, and could (of course), not leave well-enough alone. Here's a .NET 6 version of Nyerguds' Librarian: https://github.com/henricj/Librarian
Not sure if this would be something to land in the tree, though wanted to post this somewhere, in case it is useful.
In order to see what the definition of a campaign mission level was, I use the following code:
This results in the whole INI block getting printed to log when a mission is started, e.g. Harkonnen level 5:
I wonder if there might be an easier/more straightforward way to do this? Or whether this would be a good thing to land? (the runtime does already have some other debug log prints at runtime, so seems friendly to print dev aids to console, which makes it easier to approach development)