Far Cry 2

Far Cry 2

Sheepdog Nov 11, 2017 @ 4:20pm
Is there a cheat to either have all the weapons or get more diamonds
I've only beaten FC2 once. Seeing how the game takes like 50 hours or so to beat (guesstimating), I really don't want to go through the process of buying and unlocking weapons, just so I can get a new computer and start it all over again.

Is there some way I can just get all the diamonds right away?

I've done -GameProfile_AllWeaponsUnlock 1 in the console, but that only unlocks the weapons. I also want to own them. I'm willing to screw around with my game files to get it. The only thing is that I don't want to install some mod or other 3rd party tool.

Thoughts?
< >
Showing 1-8 of 8 comments
Sheepdog Nov 11, 2017 @ 7:20pm 
Well, I figured something out. Basically, you can modify the save file of your game. Obviously you should back up your files before you do anything. You are modifying bytecode.

Anyways, I changed my Diamond count to 1000 in my savefile. It worked.

This is archived and so I think I will repost it here on the offchance the link becomes dead.

https://www.thetechgame.com/Archives/t=318967.html
Last edited by Sheepdog; Nov 11, 2017 @ 7:35pm
Sheepdog Nov 11, 2017 @ 7:36pm 
Originally posted 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

http://i48.tinypic.com/11uj5ol.jpg

http://i49.tinypic.com/dgksuf.jpg

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.

http://i48.tinypic.com/2z891si.jpg

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.
http://i46.tinypic.com/anj8sz.jpg

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.



This was a reply to above post. Also really helpful

Originally posted by Flamegrilledsam:
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 ♥♥♥♥♥♥ 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...
Last edited by Sheepdog; Nov 11, 2017 @ 8:17pm
Elbmek Nov 13, 2017 @ 12:08pm 
you dont need the diamonds, you can have all you need just walknig around picking them up. I end up with over 400 diamonds surplus. In the latest steam version, the ocst of items has fallen, eg: cam suit was 45 now on special offer at only 20. Get yours whilst stocks last!!!
Sheepdog Nov 14, 2017 @ 4:44pm 
If I really want all the weapons, that takes a long time to do. This way took me a while to figure out but I could easily do again in 2 minutes if I needed to.
Elbmek Nov 15, 2017 @ 9:56am 
the methods whilst cleverly worked out, full credits there, make it far too easy. I use no mods and have finished FC2 FE dozens of times, maybe hundreds!!!
Speedbump Nov 15, 2017 @ 10:31pm 
Originally posted by elbmek:
the methods whilst cleverly worked out, full credits there, make it far too easy. I use no mods and have finished FC2 FE dozens of times, maybe hundreds!!!
Not the point. Once I've finished a game once, if I lose my save of course I'll probably want to unlock everything straight away. I earned it. Even if I hadn't, nothing wrong with starting with everything.
Elbmek Nov 16, 2017 @ 7:38am 
Wha I do is to save each character when trg section is finished. That way I dont have to go through that movie length intro - now THAT really annoys me!
BigTinz Nov 15, 2023 @ 6:24pm 
Someone was asking about this on reddit, and I noticed there doesn't seem to be much documentation about adding diamonds.

1. Open the console and type devmodeon
2. Type Cheat_AddDiamonds #

https://i.imgur.com/p7ZNmGU.jpg
Last edited by BigTinz; Nov 15, 2023 @ 6:24pm
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Nov 11, 2017 @ 4:20pm
Posts: 8