after installing (running through the audio decompression phase) the 8gb vpk holds the sounds as raw big endian riff data. that's as much as I can figure out.
I did some digging and found that the compression it uses is lzham Alpha 8 (you need to get it from svn). Set the dictionary size to 20. Some files aren't compressed (e.g. audio tracks).
And I said, "The well has finally run dry." So then that will be my battle cry.
So nice that op and other ones are lookin into this game ! I tried your program just to look around, if we are lucky depinding on your extract/pack/unpack additions we can change scripts, modify models, change the ai, many other things
Its built on the source engine, heavly modified but that means models, and script will work
Zench wrote:I did some digging and found that the compression it uses is lzham Alpha 8 (you need to get it from svn). Set the dictionary size to 20. Some files aren't compressed (e.g. audio tracks).
I actually just modified lzhamtest as a quick hack to make sure it was working. The function you're using should work just fine. Error code 4 means it failed to initialize the decompressor state, and it looks like the only way this can happen is if the params struct (called options in your screenshot) is wrong. I would check that.
And I said, "The well has finally run dry." So then that will be my battle cry.
Zench wrote:I actually just modified lzhamtest as a quick hack to make sure it was working. The function you're using should work just fine. Error code 4 means it failed to initialize the decompressor state, and it looks like the only way this can happen is if the params struct (called options in your screenshot) is wrong. I would check that.
Zench do you mean you are able to extract files from the packages with that hack ? :
kalleoskar wrote:Zench do you mean you are able to extract files from the packages with that hack ? :
Yes, I tested it out on a couple files. It's not really automated; instead of making it myself I figured cra0 could add it to his nice looking tool. Repacking is technically possible but probably wouldn't let you play online.
And I said, "The well has finally run dry." So then that will be my battle cry.
Unexpected good newsa I was thinking about porting the mechs cockpits to kerbal space program haha, been modding that game for a while, i think they would fit, esp with an robot parts mod that exits.
Cheers for trying things out =)