You are viewing our Forum Archives. To view or take place in current topics click here.
[Tutorial] Farcry 2 Diamonds Hacking
Posted:

[Tutorial] Farcry 2 Diamonds HackingPosted:

C4NC3L
  • TTG Senior
Status: Offline
Joined: May 21, 201013Year Member
Posts: 1,588
Reputation Power: 62
Status: Offline
Joined: May 21, 201013Year Member
Posts: 1,588
Reputation Power: 62
:Farcry 2 Diamond Hacking By C4NC3L:




About:
This Hack has become alot easier now with an improved method of finding the right value.
This guide instructs you what to do after you have the 6MB save on your computer.
Color coded the guide to make it prettier. Red is required and lime/green is optional. Read the whole guide fully before trying since the optional steps are really optional and only there for knowledge and are not requried.




File Extension:

If you save uses a .sav file extension you only have to do steps 3, 5 and 8 essentially. .savtu file extensions require all steps and all the programs below. So .sav you can essentially open the save up in a hex editor search for the value given in step 5. Change your diamonds and than rehash with a resigner program. (Thanks to Spetafranks and bearded.dragon for supplying saves and also for letting me know that .sav doesn't require decompression with offzip/packzip). If you remove all updates from a game your saves will be .sav. Any .savtu saves you have will remain .savtu and will be unrecognizable unless you reupdate.




Knowledge needed:
Know how to work the programs listed below and a general knowledge of how to hack.




Programs needed:
Le Fluffie
Offzip/Packzip UI
Hex Editor(I use HxD)
Scientific Caclulator(tool that coverts from Decimal to Hex)

Also Note:
Also you will need patience since the offsets do change so it's not like you go to this location and change this to that. Nope you gotta do your own bit of searching but trust me I found a sure way to find the value.


Directions:
1.Start out by opening your save with Le Fluffie and going extracting the FC2GameSaves. Now you will than run Offzip/Packzip like shown and extract all the files. Do not skip the extracting of the FC2GameSaves file from the gamesave since doing so makes it so you extract a TON of files when using Offzip/Packzip

[ Register or Signin to view external links. ]

[ Register or Signin to view external links. ]

2. Now you will have a random amount of files extracted. One of my saves had 32, another had 34 and later another had 39. I hacked a save for someone else and he had only 10. So make sure you extract it into an area that is a seperate folder with nothing else in it.(except maybe your original save and your split file from the save like I did)

3. Make sure you know the value of your diamonds in hex. Mine was 66 so it is 42 in hex. Now your diamonds will show up 04 XX XX XX XX where XX XX XX XX = your diamonds show in Little Endian Hex. Which means if it's anything 255 or lower than it's just 04 XX otherwise lets say your Hex in diamonds is 11 22 33 44 in little endian it'd be 04 44 33 22 11 is best way to put it. There should be a slim chance you have more than 255 diamonds though without hacking.


4. Now lets get down to business. Step 5 is the real instructions but to explain. You will search each .dat file and you should only come across 2 of these values in all the files. Now you will have to search each .dat file using step 5.

5. Now do a hex search for "78 BF 3D 33" or "78BF3D33". Without the quotations of course. You have to search each .dat file. Ignore the first save either named 000003f.dat or 000003e.dat. I have highlight the value which is directly after the searched value. Except there is a 04 seperating the 2. I imagine the value we are searching for is a locator value(always consistantly infront of the amount of diamonds) while the 04 is amount of bytes the value can be max. The value can be set to at least 65535(FF FF) but I did 1000(E8 03). NOTE: Normally it's 03 E8 but it is in little endian so the bytes are backwards.

[ Register or Signin to view external links. ]

6. Now go back to Offzip/Packzip UI. Now go to the Packzip tab. If you read how I recompressed it into the file it should make sense on how you do it. Be sure the offset matches the save file you edited. If you find the value is 0003e7bc.dat make sure the offset is 0x0003e7bc.
[ Register or Signin to view external links. ]

7. Now what you do is replace the FC2GameSaves in the save you started with. Hopefully you know how to do that. Be sure to replace. Do not insert or anything else. Replace the old with your new one.

8. Go over to the security tab and click the Fix button and than put your save back to your device(HDD or MU) than try it out.

Extensions Explained: Alright to better explain the extensions in how I think it works on what type of file extension you have. The extension .sav seems to be from a game that doesn't have the newest game update for Far Cry 2. While .savtu(.sav2 if you say it outloud) must be the new file extension so the game can tell the difference between which save is not compressed(.sav) to which one is compressed(.savtu). I have now confirmed the above is true.


Currently:
Currently attempt to hack ammo, grenades, molotovs and syringes and if possible Malaria Medicine. I am also looking for stats on weapon status since they do degrade so trying to find out if that can be edited at all.




Hope This Helped Feel To Add Rep Or Thank Topic

-C4NC3L 8)

The following 2 users thanked C4NC3L for this useful post:

Tooly_ (01-10-2011), V3RIFIED (11-27-2010)
#2. Posted:
C4NC3L
  • TTG Senior
Status: Offline
Joined: May 21, 201013Year Member
Posts: 1,588
Reputation Power: 62
Status: Offline
Joined: May 21, 201013Year Member
Posts: 1,588
Reputation Power: 62
This Help Anyone?

I Worked Hard On This Post
#3. Posted:
C4NC3L
  • TTG Senior
Status: Offline
Joined: May 21, 201013Year Member
Posts: 1,588
Reputation Power: 62
Status: Offline
Joined: May 21, 201013Year Member
Posts: 1,588
Reputation Power: 62
Wow I Can Believe Nobody has used This Yet
#4. Posted:
yoshi824
  • New Member
Status: Offline
Joined: Nov 22, 201013Year Member
Posts: 1
Reputation Power: 0
Status: Offline
Joined: Nov 22, 201013Year Member
Posts: 1
Reputation Power: 0
Hey I tried this out do you think you might be able to help me out? I keep ending up with a corrupt file when I put this on my xbox 360.
#5. Posted:
Flamegrilledsam
  • New Member
Status: Offline
Joined: Jan 02, 201113Year Member
Posts: 1
Reputation Power: 0
Status: Offline
Joined: Jan 02, 201113Year Member
Posts: 1
Reputation Power: 0
Ok, so I read your tutorial & all I really took from it was the hex code 78BF3D33 to locate the diamonds & then the "04XXXX" after it with XXXX being my current amount of diamonds.

I used Modio, opened my game save, searched "78BF3D33" & came up with 2 results. Started by changing the "04XXXX" value of the 1st instance, loaded the save to find no change. Decided to just change both instances & when I loaded it that time, I was welcomed with a nice big fat sack of diamonds =]

I'm going to explain exactly what I did, but 1st I'm going to lay down some basic rules for hex editing. Some of you may know, but other's who're new to this, this is gonna be REALLY helpful, & without any technical crap(hopefully).

1. Ok 1st off, everything in hex, as you may have noticed, is in a 2 character, alphanumeric code. So basically, all the code will be made up of 2 characters of either numbers (0123456789) &/or letters (ABCDEF). So they will look like any of these: A2 F4 1E 5C. So, in context of Farcry2, if you have 20 diamonds, the hex value of 20 is 14. You can find this number 2 ways, by just counting up from 00 (& when you get to 09, rather than going 10, 11, you go 0A, 0B, 0C, until 0F, THEN you go 10, 11, 12 - 1F, 20, & so on.) Or, the easy way, load up your computers calculator, change it to scientific view (view > scientific), select the Decimal or Dec option, type in the number you want, & then select Hex to view it in hex.


2. The hex id's for an item are usually in 8 bits (2 characters per byte of information, 4bytes per item). So, the diamonds in farcry2 are known in the game code as 33 3D BF 78.


3. Annoyingly, everything is reversed. So, say you're trying to swap out a shitty item for a better item (say, in fallout, swap a tin can for a rocket launcher) & have both the hex ID values for them, you'll need to reverse it 1st. So, if for example your id is "1A 2B 3C 4D", you will need to reverse the bytes. The confusing part of this is that rather than it just being "D4 C3 B2 A1" It will become "4D 3C 2B 1A". So the bytes stay in order with themselves, but reverse their order within the id...

Everything clear so far?

This basically means that ,while the id for diamonds in Farcry2 is 333DBF78, you need to reverse it so that it can be found, or put into the hex code.


If you're doing it my way, using either Modio (my pref' because you can hex edit AND rehash/resign without changing programs), or HxD or whatever it is you have, then here is what you should do.

WARNING
If you do not know how to rehash & resign your saves without the use of Modio, then please dont try this. I don't know how to, or any programs that do, other than Modio, so please don't complain to me if you end up not being able to play your saves because you haven't rehashed or resigned. Also, I will NOT be held responsible for anyone who looses save data due to corruption of their files. Make sure you back up your saves BEFORE you attempt anything in this guide. You have been warned...


1st off, make a note of how many diamonds you have. For the purposes of this...tutorial I guess... I'm going to say that I started off with 20 diamonds, in game.

Then, you need to make a new save onto a memory pen/usb flash drive/whatever you wanna call it & load it onto your computer. (I'm going to assume that you keep your xbox updated & CAN save to an external usb drive, otherwise, go update, its free.)

There're 2 options now..

1.Using USB XTAF, extract your save game, save it to a folder somewhere you'll remember where to find it later.
Open up your Hex Editor & load the save.

2. Load up Modio & open your usb device, find & load the game save.


3. With you save loaded, open up the search/find window & look for "78BF3D3304"
This should reveal 2 finds.

4. After "78BF3D3304" there should be 2 bytes which denote the amount of diamonds you have. In my case, with 20 diamonds, they should be "14 00", so the whole thing should look like this "78BF3D33041400". Essentially, all you need to do now is change the "14 00" to whatever you want. So if I wanted 255 diamonds, I'd change it to "FF 00". If I wanted 10,000 diamonds (10,000, being more than 255 would take up the 2 bytes), I would change it from "14 00" to "10 27". Remember that the bytes need to be reversed, so, in the calculator, 10,000 would convert to "27 10", but we need to put in "10 27" for it to work. Do this to BOTH the instances that it appears in the code.


5. Now that we're all edited, we have to put the save back into the Xbox. So, if you're in modio, just hit the "Rehash & Resign" button, then "Save to Device" & it should save it to where it all came from.

If you're not using Modio, then Rehash & Resign using whatever program(s) you have to do it & save the file. Now open up USB XTAF & delete the old save & replace it with the new, edited save.

6.Now all you should have to do is plug it into your Xbox 360,load the save & wake up to a fat sack of diamonds. Enough to plough through the gun store & buy everything you want!


AAAAAAAAAAND, if I have missed anything, you have any questions, or you noticed I got something wrong...then... just say. I'd hate to be wrong... But this worked for me, & I don't see why it wouldn't work for anyone else...

Hah, hows THAT for a 1st post...

#6. Posted:
-Geo
  • Wise One
Status: Offline
Joined: May 10, 201013Year Member
Posts: 561
Reputation Power: 21
Status: Offline
Joined: May 10, 201013Year Member
Posts: 561
Reputation Power: 21
Video Tutorial please it keeps giving me 10 files when using the offset thing..
#7. Posted:
NGG
  • V5 Launch
Status: Offline
Joined: Mar 29, 201113Year Member
Posts: 719
Reputation Power: 36
Status: Offline
Joined: Mar 29, 201113Year Member
Posts: 719
Reputation Power: 36
Can you get banned for this?
Since its cheating !
message me back thanks
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.