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
06-26-2014, 06:51 PM #20
SC58
Former Staff
Originally posted by EyeX32 View Post
Lol nah MW2 is my favorite game.


Sell the tool :derpina:

The following user thanked SC58 for this useful post:

Kush Friendly
06-26-2014, 07:29 PM #21
A Friend
League Champion
Originally posted by SC58 View Post
Sell the tool :derpina:

If someone would buy the tool, I think they can pay someone to infect them instead
07-12-2014, 05:45 AM #22
I want to use this tool seems like it'd be fun, but at the same time I dont want to see it released, any fucking 12 year old would use it. So If you release only release to trustable select few.
Last edited by Modder1488 ; 07-12-2014 at 05:46 AM. Reason: Typo's NIGGA
10-22-2014, 05:57 AM #23
Originally posted by iBRCKsHD View Post
Nah fuck off. Why should everyone be allowed to mod? are you retarded?.. Thats just stupid and pointless.


Everybody does deserved to mod, to a specified limit.

The following user thanked Red-EyeX32 for this useful post:

Kush Friendly
10-23-2014, 08:25 PM #24
haha mw2 needs to shut down the servers, or sell it to people who could make new patches for the game and patch cfg would be nice
10-28-2014, 07:24 AM #25
not sure if i should teach my self to decomplie it then make the prog and release it .-.
10-28-2014, 01:01 PM #26
Originally posted by Scifen View Post
not sure if i should teach my self to decomplie it then make the prog and release it .-.


You wouldn't know how to start. :lol:
I haven't released because MW2 would be taken over my CFG modders.
10-28-2014, 01:38 PM #27
Taylor
Former Black Knight.
Originally posted by EyeX32 View Post
You wouldn't know how to start. :lol:
I haven't released because MW2 would be taken over my CFG modders.


In all honesty, it already is. :p
10-28-2014, 05:07 PM #28
I am a little experience on decrypting shit but not much of encryptin it back

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo