Parse ingredient count from save files

Discussions and questions about the CK and mods for Skyrim
Locked
grundy923
Initiate
Initiate
Posts: 32
Joined: Sat Dec 17, 2011 1:48 am
ES Games: Skyrim
Platform: PC

Parse ingredient count from save files

Post by grundy923 »

Ok so I did find this link http://uesp.net/wiki/Tes5Mod:Save_File_Format and played around with the save file a little bit and I was able to at least pull out the magic, header size, header, and all that, but I need to get the item count for all achemy ingredients in my inventory and I cannot figure out how to do that. How do I use this save file to find the item count?
User avatar
Archea47
Journeyman
Journeyman
Posts: 301
Joined: Fri Jul 08, 2011 9:28 pm
ES Games: Daggerfall, Morrowind, Oblivion GOTY, Skyrim
Platform: PC
Status: Skyrim

Re: Parse ingredient count from save files

Post by Archea47 »

I'll look into it for ya grundy923, get back to you tomorrow on if some easy techniques work out

EDIT: Well I did some thinking. I used the console to give myself 20,000,001 lockpicks. This should mean that the savegame requires 4 bytes to save the value. Well ... I searched the save for it as a 4 byte word and 4 and 8 byte floaters, both signed and unsigned, and didn't find the value (in rev hex obviously). Hmm...
Let's play some APB Reloaded Mount & Blade: Warband APB Reloaded Mech Warrior Online APB Reloaded Battlefield 4 SKYRIM!
jjaquinta
Associate
Associate
Posts: 16
Joined: Mon May 22, 2006 12:35 pm
ES Games: Morrowind, Oblivion, Skyrim
Platform: PC
Location: Winchester, MA
Contact:

Re: Parse ingredient count from save files

Post by jjaquinta »

Some of the entries contain compressed data. You might have to uncompress the data before seeing the specific byte sequence.
Any idea what algorithm the data is compressed with?
laarnilaird
Layman
Layman
Posts: 1
Joined: Thu Dec 29, 2011 12:36 am

Re: Parse ingredient count from save files

Post by laarnilaird »

How to uncompress data?
Locked