[ 16.12.2016 - Update #10 ]
Made it so there's no need to be outside of your base(s) to enable the Inventory Editor. It now works anywhere. Adjusted instructions below as well.
[ 06.12.2016 - Update #9 ]
Added the oh-so-wanted Inventory Editor Smile
How to use it:
1) Activate [Inventory Editor] script.
2̶)̶ ̶I̶n̶-̶g̶a̶m̶e̶,̶ ̶m̶a̶k̶e̶ ̶s̶u̶r̶e̶ ̶y̶o̶u̶'̶r̶e̶ ̶n̶o̶t̶ ̶i̶n̶ ̶a̶n̶y̶ ̶o̶f̶ ̶y̶o̶u̶r̶ ̶b̶a̶s̶e̶s̶ ̶a̶n̶d̶ ̶a̶t̶ ̶l̶e̶a̶s̶t̶ ̶o̶n̶e̶ ̶w̶e̶a̶p̶o̶n̶ ̶i̶s̶ ̶e̶q̶u̶i̶p̶p̶e̶d̶.̶ ̶O̶t̶h̶e̶r̶w̶i̶s̶e̶ ̶t̶h̶e̶ ̶n̶e̶e̶d̶e̶d̶ ̶p̶o̶i̶n̶t̶e̶r̶s̶ ̶w̶o̶n̶'̶t̶ ̶g̶e̶t̶ ̶p̶o̶p̶u̶l̶a̶t̶e̶d̶.̶ ̶V̶e̶r̶i̶f̶y̶ ̶t̶h̶a̶t̶ ̶C̶P̶a̶w̶n̶ ̶a̶n̶d̶ ̶C̶I̶n̶v̶e̶n̶t̶o̶r̶y̶ ̶a̶r̶e̶ ̶v̶a̶l̶i̶d̶ ̶(̶n̶o̶t̶ ̶0̶ ̶o̶r̶ ̶'̶?̶?̶'̶)̶ ̶i̶n̶ ̶t̶h̶e̶ ̶o̶r̶a̶n̶g̶e̶ ̶e̶x̶p̶a̶n̶d̶a̶b̶l̶e̶ ̶D̶e̶b̶u̶g̶ ̶s̶e̶c̶t̶i̶o̶n̶.̶
2) Enable Edit Resources script.
Once done, you then have 2 or 3 scenarios available:
a. Double-click the value of the Item and choose from the drop-down list the one you want to refill (leave Amount set to 100, it won't affect the function). In-game, press Numpad 7 to get max amount of that resource.
b. Press Numpad 9 if you want everything refilled to max Smile
c. Edit Edit Resources script to filter only the resources you want (putting a // in front of the ones don't need, starting with line 27 in the script and ending with 87), then enable the script and use Numpad 9 to get them.
See the video below Smile
[ 06.12.2016 - Update #8 ]
Updated table to CE 6.6 and removed symbols stored in CT's properties causing various conflicts. Table works fine on version 1.3.3 (just tested).
[ 17.03.2016 - Update #7 ]
Below, some descriptions. Added a few more features Wink
You won't die from any type of attack. However, falling from great heights will still kill you.
Get Skill Points
Once activated, hit K key to bring up the Skills menu,then check the table, as the 'Skill Points' entry right below this script should now show how many points you got. Edit at will Smile
Infinite Ammo (Clip)
Script will disallow decrease of ammo for main weapons. Note that throwables will still deplete.
Bow Always Tensioned
Script will power up the bow, firing the arrows as if it were tensioned. You won't see the tensioned effect though, unless you keep Left Mouse Button pressed (as you normally would). Extra to that, you'll fire arrows fast, as I've altered some parameters Smile
Script tampers the recoil parameters, disabling bow or any weapon's vertical movement upon firing.
Script tampers spread parameters, making it so every shot you fire lands always in the exact spot. You can view it as improved accuracy.
Disables bow (or any other weapon) movement while aiming, improving accuracy.
No Fall Damage
I'm guessing this is self-explanatory. You won't die from high falls.
Once enabled, script hooks location where player walking and running speed parameters are stored. Once enabled, you can use Ctrl+1 to increase speed with 1 step, Ctrl+2 to decrease speed with 1 step and Ctrl+3 key to restore to default values. Values can be adjusted in the script itself and hotkeys reassigned. Once script is enabled, you'll find the default values listed under Debug sub-section.
Similar to the above, hooks player jump parameter. Once enabled, use Ctrl+4 to increase height with 25.0 value, Ctrl+5 to decrease it with 25.0 and Ctrl+6 to restore to default value. Once script is enabled, you'll find the default value listed under Debug sub-section.
Will render you invisible to everything (animals, allies, enemies). Disable if certain scripted events have to happen, and they don't.
Script hooks boost timer location and returns the current values under Debug sub-section. I've assigned the altered default value to 60 (you may change it under Boost Value). If you want the boost to last longer, give it a high value - 6000. That's in seconds. If you want the effect to wear off, expand/enable Debug sub-section and change Boost Timer to 0 (if you have multiple active boosts, you'll have to repeat this step for all boosts).
Get Game Speed
Once activated, you'll get in the sub-section the current game speed. Default value is 1.875 on float. Change to lower values (like 1.75 or 1.7) for slow motion effect Wink For example, when pressing Q or TAB keys, game speed is set to 1.625.
[ 12.03.2016 - Update #6 ]
- Fixed SuperJump script (some of the jumps led to msvcrt.exit, due to existence of 'exit' label)
+ Optimized all scripts
[ 10.03.2016 - Update #5 ]
- Fixed God Mode script (should not crash now)
+ Added No Sway
Re-download from below.
[ 07.03.2016 - Update #4 ]
Updated table today, making it stable. Options are listed below:
- God Mode
- Get Skill Points - does as it says, once enabled you'll see your current skill points (you can edit them)
- Infinite Ammo (Clip)
- Bow Always Tensioned - this one has been revamped a bit; enables fast shooting
- No Recoil
- No Spread
- No Fall Damage
- Super Speed (hotkeys: Ctrl+1/2 - increase/decrease speed with 1.0; Ctrl+3 - reset)
- Super Jump (hotkeys: Ctrl+4/5 - increase/decrease jump height with 25.0; Ctrl+6 - reset)
- Unlimited Boost - once enabled, set value for timer and drink a potion; you'll see what happens; if you want to reset it, put 1 as value in Debug subsection, Boost Timer
All scripts above are player-sided. Enemy doesn't benefit from the alterations Smile
Adding more soon.
[ 04.03.2016 - Update #3 ]
Fixed iNFiNiTE AMMO (CLiP). I had to remove CPawn + IsPlayer retrieval, since after 4-5 minutes in game play, Primal crashed. Luckily, at hook location, R12 contains the CPawn address.
Fixed version's attached below.
And with this setup, check the video Very Happy
[ 04.03.2016 - Update #2 ]
Fixed NO FALL DAMAGE - now it works Smile Wrong offset.
[ 04.03.2016 - Update #1 ]
First update. So far:
For hotkeys and all other stuff, check Far Cry 4 thread. Will add later Oxygen, Health and whatever else is missing, related to this title.
Note that iNFiNiTE STAMiNA doesn't work properly in FC4, as l0wb1t decided not to update xmm1 register Smile Fixed in Primal Razz
[ 02.03.2016 - First Post ]
Having worked with and gotten bored of Ubisoft's Anvil/NEXT engine, decided I'd take a break and start analysis on this engine. It's been out for a while (I think since Far Cry 3).
Posting the Infinite Ammo script to begin with, alongside the corresponding explanations. The effect can also be obtained via changing either of the two BOOLs depicted below (of course, player filtering is still needed):
And a quick run-down of the infinite ammo script in the table:
In short, whenever you fire, the subtraction function fast-exits via the RET. When anyone else fires, the normal function executes Smile
I believe FallToDeath (dying when falling from great heights) can easily be disabled (with filter via GetCPawn + IsPlayer) here:
00000001446F1940 | 48 89 5C 24 10 | MOV QWORD PTR SS:[RSP+10],RBX |
00000001446F1945 | 48 89 74 24 18 | MOV QWORD PTR SS:[RSP+18],RSI |
00000001446F194A | 57 | PUSH RDI |
00000001446F194B | 48 81 EC 80 01 00 00 | SUB RSP,180 |
00000001446F1952 | 48 8B 39 | MOV RDI,QWORD PTR DS:[RCX] |
00000001446F1955 | 0F 29 B4 24 70 01 00 00 | MOVAPS DQWORD PTR SS:[RSP+170],XMM6 |
00000001446F195D | 0F B6 F2 | MOVZX ESI,DL |
00000001446F1960 | 48 8B 47 10 | MOV RAX,QWORD PTR DS:[RDI+10] |
00000001446F1964 | 0F 28 F2 | MOVAPS XMM6,XMM2 |
00000001446F1967 | 48 83 78 10 00 | CMP QWORD PTR DS:[RAX+10],0 |
00000001446F196C | 0F 84 BF 01 00 00 | JE fcprimal_dumped.1446F1B31 | <--- forcing this to always jump will prevent your death from falling
00000001446F1AA0 | FF 90 08 01 00 00 | CALL QWORD PTR DS:[RAX+108] |
00000001446F1AA6 | 84 C0 | TEST AL,AL |
00000001446F1AA8 | 75 7D | JNZ fcprimal_dumped.1446F1B27 |
00000001446F1AAA | 48 8D 05 DF F6 32 FE | LEA RAX,QWORD PTR DS:[142A21190] |
00000001446F1AB1 | 48 8D 15 50 73 41 FE | LEA RDX,QWORD PTR DS:[142B08E08] | "FallToDeath"
00000001446F1AB8 | 48 8D 4C 24 30 | LEA RCX,QWORD PTR SS:[RSP+30] |
00000001446F1ABD | 48 89 44 24 30 | MOV QWORD PTR SS:[RSP+30],RAX |
00000001446F1B22 | B0 01 | MOV AL,1 |
00000001446F1B24 | EB 0D | JMP fcprimal_dumped.1446F1B33 |
00000001446F1B26 | 5A | POP RDX |
00000001446F1B27 | 48 8D 4C 24 60 | LEA RCX,QWORD PTR SS:[RSP+60] |
00000001446F1B2C | E8 3F 36 A5 FF | CALL fcprimal_dumped.144145170 |
00000001446F1B31 | 30 C0 | XOR AL,AL |
00000001446F1B33 | 4C 8D 9C 24 80 01 00 00 | LEA R11,QWORD PTR SS:[RSP+180] |
00000001446F1B3B | 49 8B 5B 18 | MOV RBX,QWORD PTR DS:[R11+18] |
00000001446F1B3F | 49 8B 73 20 | MOV RSI,QWORD PTR DS:[R11+20] |
00000001446F1B43 | 41 0F 28 73 F0 | MOVAPS XMM6,DQWORD PTR DS:[R11-10] |
00000001446F1B48 | 4C 89 DC | MOV RSP,R11 |
00000001446F1B4B | 5F | POP RDI |
00000001446F1B4C | C3 | RET |
Will post a script sometime today.
How to use this cheat table?
- Install Cheat Engine
- Double-click the .CT file in order to open it.
- Click the PC icon in Cheat Engine in order to select the game process.
- Keep the list.
- Activate the trainer options by checking boxes or setting values from 0 to 1