XeNTaX
http://forum.xentax.com/

Half-Life 2 .sav file
http://forum.xentax.com/viewtopic.php?f=30&t=13961
Page 1 of 1

Author:  traderain [ Sat Feb 13, 2016 10:15 am ]
Post subject:  Half-Life 2 .sav file

Hi,
I have been struggling with this for quite a while. I figured out the .dem format for HL2 but I can't seem to get anywhere with this.
If anyone would help it would be greatly appriciated.
So far I know:

Code:
char {4}     - Header (JSAV)

byte {X}     - File Data

// Directory
// for each file
while (variableID != 12) {
uint16 {2}   - Variable ID
if (variableID == 1){
byte {3}     - Unknown
}

if (variableID == 2){
uint32 {4}   - Unknown
}

if (variableID == 12){
uint32 {4}   - Unknown (3375)
}
}

uint32 {4}   - Unknown (16256)
byte {6}     - null
uint16 {2}   - Unknown (4)
uint16 {2}   - Unknown (72)
uint16 {2}   - Unknown (3)
uint16 {2}   - null
uint16 {2}   - Unknown (12)
byte {X}     - Unknown
byte {1}     - null Unknown Field Terminator
uint16 {2}   - Unknown (3866)
char {128}   - filename (null)

Sav files: https://drive.google.com/folderview?id=0B3mjSUI16K7cX0RQc3dSVk80STg&usp=sharing
Thanks in advance.

Author:  traderain [ Thu Mar 10, 2016 5:29 pm ]
Post subject:  Re: Half-Life 2 .sav file

A little progress report:
Image

Author:  traderain [ Fri Sep 30, 2016 12:18 pm ]
Post subject:  Re: Half-Life 2 .sav file

If anyone is willing to help me with reversing the file completely I am willing to pay them because I desperately need this to be reversed for my university project. I started reversing it by looking at the sdk but I couldn't get anything other than the header of the file which I posted earlier. Sadly the wiki page(http://wiki.xentax.com/index.php/Half_Life_2_SAV) doesn't contain everything so its not a huge help. Thanks to anyone who took the time to read my post.
Regards,
Ben

Author:  traderain [ Sat Jan 14, 2017 7:58 pm ]
Post subject:  Re: Half-Life 2 .sav file

Now parsing the basic file archive is done I can export the .hl? files:
Image
Image

Author:  dmtaukhua123 [ Thu Aug 24, 2017 2:09 am ]
Post subject:  Re: Half-Life 2 .sav file

good job!

Author:  Udogol2017 [ Mon Oct 09, 2017 8:46 am ]
Post subject:  Re: Half-Life 2 .sav file

Thanks, nice help.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/