So thanks hugely for that. You've just made my job a lot easier. :) No problem! Glad I could help! I was actually writing a function to manipulate the individual bytes! I did a similar thing, and lost quite some time writing useless code! I noticed that those numbers were used as indexes in the inv...
I'm in the middle of tackling a bizarre number system employed by the save files If talking about the 0x3FF0, 0x4000, 0x4008, 0x4010, etc. numbers used to identify the characters, to index the items in the inventory and in fact for most of numerical values in the game (such as strength, vitality, d...
That pattern (TAG word on 4 Bytes + SIZE as a 32-bit integer, little-endian) is typical in the uncompressed data. That's how I deduced that the 04 00 00 00 must also be a size.
I created a python script to rename characters in an existing savefile. It is an adaptation of the one to put custom portraits in old (pre-patch) saved games . The script renamecharacters.py is available here: http://pastebin.com/pQHt3Dhf It goes like this: find the LoG savegame folder in your insta...
x000000 47 52 49 4d 04 00 00 00 81 c2 0e 00 78 9c ec 7d 'GRIM........x...' I'm assuming that the 04 is a version tag or something similar. The 04 after the "GRIM" keyword is in fact the size of the segment data. That size is encoded as a 32-bit word in little-endian and will be the same o...
Hi everyone! I love the game and I was thrilled to see the custom portrait feature was added in the latest patch (1.1.4)! However this option is only available for a new game and being in level 11 now, I lack the courage to start all over again just to enjoy it! ;) So I wrote a script to patch my ol...