Search found 8 matches

by Dej
Sun May 06, 2012 4:39 pm
Forum: Modding
Topic: Save editor
Replies: 74
Views: 120169

Re: Save editor

glyn_ie wrote:if you wanna get serious, you should move to something like Java, C# or C++
or Python! :)
by Dej
Sun May 06, 2012 4:24 pm
Forum: Modding
Topic: Save editor
Replies: 74
Views: 120169

Re: Save editor

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...
by Dej
Fri May 04, 2012 9:36 pm
Forum: Modding
Topic: Save editor
Replies: 74
Views: 120169

Re: Save editor

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...
by Dej
Mon Apr 30, 2012 8:56 pm
Forum: Modding
Topic: It's not a DM game without people attacking the save files
Replies: 12
Views: 16875

Re: It's not a DM game without people attacking the save fil

Hi,

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. :)

Pierre
by Dej
Mon Apr 30, 2012 12:25 pm
Forum: Support and Tech Discussion
Topic: Rename characters?
Replies: 11
Views: 17713

Re: Rename characters?

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...
by Dej
Mon Apr 30, 2012 2:50 am
Forum: Modding
Topic: It's not a DM game without people attacking the save files
Replies: 12
Views: 16875

Re: It's not a DM game without people attacking the save fil

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...
by Dej
Mon Apr 30, 2012 2:27 am
Forum: Modding
Topic: Custom portraits in old (pre-patch) saved games
Replies: 5
Views: 10241

Custom portraits in old (pre-patch) saved games

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...