Post: Decoded GPAD0.PRF Files!
06-25-2014, 10:02 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hey NGU,

So I had some free time and I was also bored so I started looking at how the MW2 save was structured. With a bit of reversing and analyzing the save files I have decoded parts of the save. Keep in mind how back then on COD4 the .PRF files had .cfg in it.

Here's the original compiled code:
    
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

00000000 53 45 4D 56 00 00 00 01 00 00 00 01 00 02 00 01 SEMV............
00000010 02 01 02 05 40 80 00 00 03 05 3F 80 00 00 04 05 ....@€....?€....
00000020 3F 80 00 00 05 05 BC 75 C2 8F 06 05 3F 4C CC CD ?€....¼uÂ...?LÌÍ
00000030 07 05 3F 73 85 1F 08 05 3F 72 8F 5C 09 04 00 00 ..?s…...?r.\....
00000040 02 D8 0A 04 00 00 33 8E 0B 04 00 00 03 AE 0C 04 .Ø....3Ž.....®..
00000050 00 00 00 00 0D 04 00 00 04 4C 0E 04 00 00 00 00 .........L......
00000060 0F 02 01 10 02 01 11 02 00 12 02 00 13 02 00 14 ................
00000070 02 01 16 06 00 00 00 20 62 75 74 74 6F 6E 73 5F ....... buttons_
00000080 64 65 66 61 75 6C 74 00 17 06 00 20 00 20 74 68 default.... . th
00000090 75 6D 62 73 74 69 63 6B 5F 64 65 66 61 75 6C 74 umbstick_default
000000A0 00 .


Like you can see from the spoiler the code is unreadable and don't know what dvar is which, now I'm about to show you the decompiled code which is .cfg:

This is the decoded code from GPAD0_CM.PRF
    [FONT=Courier New]
set input_invertPitch "0"
set input_autoAim "1"
set input_viewSensitivity "10"
set r_brightness "-0.115"
set snd_volume "0.8"
seta safeArea_horizontal "0.95875"
seta safeArea_vertical "0.94375"
set timePlayed "1548"
set percentCompleteSP "0"
set percentCompleteMP "1100"
set percentCompleteSO "2"
set gpad_rumble "1"
set gpad_buttonsConfig "buttons_default"
set gpad_sticksConfig "thumbstick_default"
[/FONT]

This also applies to the other CODs from Infinity Ward and maybe Sledgehammer Games. It's all the same structure and it's going to be a copy + paste from MW2 :P

There is a lot of unknown dvars, but it's at least readable. Maybe this could lead to something in the future, who knows. Smile

Picture:
You must login or register to view this content.
Last edited by Red-EyeX32 ; 06-17-2015 at 05:16 PM.

The following 17 users say thank you to Red-EyeX32 for this useful post:

HackersForHire, ImPiffHD, Kush Friendly, LittleEvo, Luxify, M0T1VAT10N, Mythusala, Notorious, QuantumDev, Rebuged, Script Kiddie, Taylor, Turk_Warrior, WeJailbreakYou
10-28-2014, 10:13 PM #29
Default Avatar
Oneup
Guest
Originally posted by Scifen View Post
I am a little experience on decrypting shit but not much of encryptin it back


If you could decrypt something you would know how to encrypt it.

The following user thanked Oneup for this useful post:

Red-EyeX32
11-05-2014, 04:32 AM #30
You must login or register to view this content.ATCHES WHY CANT PEOPLE STOP HATN ON CFG FUCK. And Yes I am Mad lol wat
04-04-2015, 05:37 PM #31
Added picture Smile
No this won't be released...

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo