Page 28 of 43

Re: Far Cry 5 Megathread - EAC Bypass & Table Compilation

Posted: Sun Apr 01, 2018 11:52 pm
by SunBeam
Draxhax wrote:
Sun Apr 01, 2018 9:29 pm
@SunBeam - thanks for that info. I've almost got something together for Vehicle Health because of you. I just need to find a consistent pointer that I can use and it'll be ready... But my eyes feel like they're bleeding and need a break.
Here's a script that gets CPawn and CPlayer for you. Use them in deterministics (can make the other scripts player-sided as well, if it matters):

Code: Select all

[ENABLE]

aobscanmodule( _MainHook, FC_m64.dll, 488BC4488958104889701855488D68A1 )
registersymbol( _MainHook )
alloc( MainHook, 64, FC_m64.dll )
registersymbol( MainHook )
label( CPawn )
registersymbol( CPawn )
label( CPlayer )
registersymbol( CPlayer )
label( MainHook_orig )
registersymbol( MainHook_orig )

MainHook:
push rcx
mov [CPawn],r8
mov rcx,[r8+2A68]
mov [CPlayer],rcx
pop rcx
@@:
MainHook_orig:
readmem( _MainHook, 7 )
jmp _MainHook+7

CPawn:
dq 0
CPlayer:
dq 0

_MainHook:
jmp MainHook
db 90 90

[DISABLE]

_MainHook:
readmem( MainHook_orig, 7 )

unregistersymbol( MainHook_orig )
unregistersymbol( CPlayer )
unregistersymbol( CPawn )
unregistersymbol( MainHook )
dealloc( MainHook )
unregistersymbol( _MainHook )

/*
FC_m64.dll+1A5D390 - 48 8B C4              - mov rax,rsp
FC_m64.dll+1A5D393 - 48 89 58 10           - mov [rax+10],rbx
FC_m64.dll+1A5D397 - 48 89 70 18           - mov [rax+18],rsi
FC_m64.dll+1A5D39B - 55                    - push rbp
FC_m64.dll+1A5D39C - 48 8D 68 A1           - lea rbp,[rax-5F]
FC_m64.dll+1A5D3A0 - 48 81 EC B0000000     - sub rsp,000000B0
FC_m64.dll+1A5D3A7 - 48 8B F1              - mov rsi,rcx
FC_m64.dll+1A5D3AA - 0F29 70 E8            - movaps [rax-18],xmm6
FC_m64.dll+1A5D3AE - 49 8B C8              - mov rcx,r8
FC_m64.dll+1A5D3B1 - 49 8B D8              - mov rbx,r8
FC_m64.dll+1A5D3B4 - 0F28 F1               - movaps xmm6,xmm1
FC_m64.dll+1A5D3B7 - E8 A4F90800           - call FC_m64.dll+1AECD60
FC_m64.dll+1A5D3BC - 84 C0                 - test al,al
FC_m64.dll+1A5D3BE - 0F85 4A010000         - jne FC_m64.dll+1A5D50E
FC_m64.dll+1A5D3C4 - 48 8B 43 08           - mov rax,[rbx+08]
FC_m64.dll+1A5D3C8 - 48 8D 0D A1AA0803     - lea rcx,[FC_m64.dll+4AE7E70]
FC_m64.dll+1A5D3CF - 48 89 BC 24 C0000000  - mov [rsp+000000C0],rdi
FC_m64.dll+1A5D3D7 - 48 89 45 7F           - mov [rbp+7F],rax
FC_m64.dll+1A5D3DB - 48 3B C1              - cmp rax,rcx
FC_m64.dll+1A5D3DE - 74 04                 - je FC_m64.dll+1A5D3E4
FC_m64.dll+1A5D3E0 - F0 FF 40 08           - lock inc [rax+08]
*/
Image

Re: Far Cry 5 Megathread - EAC Bypass & Table Compilation

Posted: Mon Apr 02, 2018 1:09 am
by Beo76
Hi everyone. I just registered here. I wanted to say thank you for all the great work you're doing on this.

I was wondering if it would be possible to create a script that would freeze the resistance points, preventing them from advancing?

I'd really like to restart the game, but I'm not that interested in doing the story missions again. I just want to play in the chaotic world.

Re: Far Cry 5 Megathread - EAC Bypass & Table Compilation

Posted: Mon Apr 02, 2018 2:01 am
by SunBeam
Here you go, my current table:

Image

BR,
Sun

P.S.: Given you now have God, Infinite Clip Ammo, Stamina, Speed, Jump - - I'd say it's pointless working out a Give Money script.

Re: Far Cry 5 Megathread - EAC Bypass & Table Compilation

Posted: Mon Apr 02, 2018 2:12 am
by Draxhax
SunBeam wrote:
Sun Apr 01, 2018 11:52 pm
Draxhax wrote:
Sun Apr 01, 2018 9:29 pm
@SunBeam - thanks for that info. I've almost got something together for Vehicle Health because of you. I just need to find a consistent pointer that I can use and it'll be ready... But my eyes feel like they're bleeding and need a break.
Here's a script that gets CPawn and CPlayer for you. Use them in deterministics (can make the other scripts player-sided as well, if it matters):

Code: Select all

[ENABLE]

aobscanmodule( _MainHook, FC_m64.dll, 488BC4488958104889701855488D68A1 )
registersymbol( _MainHook )
alloc( MainHook, 64, FC_m64.dll )
registersymbol( MainHook )
label( CPawn )
registersymbol( CPawn )
label( CPlayer )
registersymbol( CPlayer )
label( MainHook_orig )
registersymbol( MainHook_orig )

MainHook:
push rcx
mov [CPawn],r8
mov rcx,[r8+2A68]
mov [CPlayer],rcx
pop rcx
@@:
MainHook_orig:
readmem( _MainHook, 7 )
jmp _MainHook+7

CPawn:
dq 0
CPlayer:
dq 0

_MainHook:
jmp MainHook
db 90 90

[DISABLE]

_MainHook:
readmem( MainHook_orig, 7 )

unregistersymbol( MainHook_orig )
unregistersymbol( CPlayer )
unregistersymbol( CPawn )
unregistersymbol( MainHook )
dealloc( MainHook )
unregistersymbol( _MainHook )

/*
FC_m64.dll+1A5D390 - 48 8B C4              - mov rax,rsp
FC_m64.dll+1A5D393 - 48 89 58 10           - mov [rax+10],rbx
FC_m64.dll+1A5D397 - 48 89 70 18           - mov [rax+18],rsi
FC_m64.dll+1A5D39B - 55                    - push rbp
FC_m64.dll+1A5D39C - 48 8D 68 A1           - lea rbp,[rax-5F]
FC_m64.dll+1A5D3A0 - 48 81 EC B0000000     - sub rsp,000000B0
FC_m64.dll+1A5D3A7 - 48 8B F1              - mov rsi,rcx
FC_m64.dll+1A5D3AA - 0F29 70 E8            - movaps [rax-18],xmm6
FC_m64.dll+1A5D3AE - 49 8B C8              - mov rcx,r8
FC_m64.dll+1A5D3B1 - 49 8B D8              - mov rbx,r8
FC_m64.dll+1A5D3B4 - 0F28 F1               - movaps xmm6,xmm1
FC_m64.dll+1A5D3B7 - E8 A4F90800           - call FC_m64.dll+1AECD60
FC_m64.dll+1A5D3BC - 84 C0                 - test al,al
FC_m64.dll+1A5D3BE - 0F85 4A010000         - jne FC_m64.dll+1A5D50E
FC_m64.dll+1A5D3C4 - 48 8B 43 08           - mov rax,[rbx+08]
FC_m64.dll+1A5D3C8 - 48 8D 0D A1AA0803     - lea rcx,[FC_m64.dll+4AE7E70]
FC_m64.dll+1A5D3CF - 48 89 BC 24 C0000000  - mov [rsp+000000C0],rdi
FC_m64.dll+1A5D3D7 - 48 89 45 7F           - mov [rbp+7F],rax
FC_m64.dll+1A5D3DB - 48 3B C1              - cmp rax,rcx
FC_m64.dll+1A5D3DE - 74 04                 - je FC_m64.dll+1A5D3E4
FC_m64.dll+1A5D3E0 - F0 FF 40 08           - lock inc [rax+08]
*/
Image
This is quite awesome. This will help be get my addresses much faster when I crash my game. haha

When I began this endeavor, I found that when I'm in a helicopter, it seems to write a pointer I can use to get to the CPawnEntity and it changes when I get out of the helicopter. Trouble is, that same spot doesn't seem to exist in say, a truck. My inexperience here is getting the better of me as I'm seem to be failing to determine when I am in a vehicle that's receiving damage. I thought I had it with that address, but the game threw a wrench into that idea as it only seemed to work in my helicopter.

Re: Far Cry 5 Megathread - EAC Bypass & Table Compilation

Posted: Mon Apr 02, 2018 2:32 am
by Draxhax
Also, your table seems to have the No Helicopter Machine Gun Overheat under gir489 instead of me. ;)

Re: Far Cry 5 Megathread - EAC Bypass & Table Compilation

Posted: Mon Apr 02, 2018 2:48 am
by acecel
I am using the last table on the first page, but the "one hit kill" doesn't work/enable, any woking one ?

Re: Far Cry 5 Megathread - EAC Bypass & Table Compilation

Posted: Mon Apr 02, 2018 3:38 am
by gir489
Optimized Infinite Stamina.

Code: Select all

{ Game   : FarCry5.exe
  Version: 1.2.0
  Date   : 2018-04-01
  Author : gir489

  Infinite Stamina}

[ENABLE]
aobscanmodule(Stamina,FC_m64.dll,74 32 48 8B 8B 10 04 00 00) // should be unique
registersymbol(Stamina)

Stamina:
db EB

[DISABLE]
unregistersymbol(Stamina)

Stamina:
db 74
EDIT: I ran in to a problem last night where blowing up the statue didn't start the mission. Don't know if this is caused by this specific feature, but yet again, it's another thing I need to work out... Fucking hate this engine...

EDIT2: This appears to be caused from the fact I shot it up with a chopper then didn't leave the area first. I could've sworn the first time I did, it gave me the quest immediately, but who knows. I debugged it, and only saw calls coming from the patch address for stamina when in use. So I think the patch should be fine. I also noticed with the old method, some bodies were being frozen in place... Might want to use this version instead to fix that.

Re: Far Cry 5 Megathread - EAC Bypass & Table Compilation

Posted: Mon Apr 02, 2018 11:36 am
by bonzay0
vrork wrote:
Sun Apr 01, 2018 10:41 pm
bonzay0 wrote:
Sun Apr 01, 2018 10:05 pm
vrork wrote:
Sun Apr 01, 2018 8:40 pm
Can we please get a max money cheat that only changes the money, not everything else too?
Doesn't the current table has one? doesn't work?

Edit: Just to make it clear: There is an option called: "Infinite Money" in the table.
It maxes your money and stop it there. Nothing else.
Nope. it doesnt. I maxes out and them some (aka, 1000+ of everything) money, "loot", special ammo, granades, and soo on
acecel wrote:
Mon Apr 02, 2018 2:48 am
I am using the last table on the first page, but the "one hit kill" doesn't work/enable, any woking one ?


SunBeam posted a script to determine the player. I'll update some of the scripts later today.

Re: Far Cry 5 Megathread - EAC Bypass & Table Compilation

Posted: Mon Apr 02, 2018 12:26 pm
by SunBeam
Make sure the comparison is direct, through a single register, else you might have the same problem I had with Unlimited Clip Ammo. I used to get the CPlayer pointer from [R14+offset], but then I learned the function is used by multiple other systems, so R14 could be either NULL or not a pointer, not to mention the offset in R14 could've been NULL or not a pointer :) So I said "fuck it" and studied one or two member-functions in CWeapon (RCX at the clip ammo subtraction location) and figured out how to get CPawn from CWeapon :) You have the script here :P

Re: Far Cry 5 Megathread - EAC Bypass & Table Compilation

Posted: Mon Apr 02, 2018 1:31 pm
by Tantrum
Hi guys!

I just registered first to say thanks to Sunbeam for the bypass and allowing us to play FC5 as we see fit.

Also thank you to everyone pitching in with tables and scripts.

Which brings me to my second reason for posting. I have two requests for scripts and hope someone will answer the challenge.

1- Any way to lock the clock to daytime? This game does not really offer strategic reasons to play during nighttime but, mainly, it looks so good that I want to play during daytime only.

2- Any way to reduce the amount of XP received? I find that progress is way too fast since every activity (even Clutch Nixon challenges!) award Resistance Points. Something like 0.85 the original values? Or an on/off toggle?

Thanks!

Re: Far Cry 5 Megathread - EAC Bypass & Table Compilation

Posted: Mon Apr 02, 2018 4:54 pm
by jehodonjohn
Is it possible to bypass that encrypted save thing and use ANY save on the internet? I finished the game and don't want to spend my time collecting everything for %100. I know i can cheat everything but i'm completionist and want to use another save. If you use another save you'll be greeted with the Granite error -200000. Hopefully there's a way to bypass this with a Cheat Engine table. It was done on Shadow of War. So why not in this game? :D

Re: Far Cry 5 Megathread - EAC Bypass & Table Compilation

Posted: Mon Apr 02, 2018 6:37 pm
by SunBeam
Because that game belongs to another vendor. Ubisoft savegames are encrypted with account_id; no way to decrypt and re-encrypt with another's id. You want to take some random save and make it work on a legit id, which will never happen. For Ubi, that's cheating.

Re: Far Cry 5 Megathread - EAC Bypass & Table Compilation

Posted: Mon Apr 02, 2018 6:50 pm
by jehodonjohn
SunBeam wrote:
Mon Apr 02, 2018 6:37 pm
Because that game belongs to another vendor. Ubisoft savegames are encrypted with account_id; no way to decrypt and re-encrypt with another's id. You want to take some random save and make it work on a legit id, which will never happen. For Ubi, that's cheating.
What a bummer. PC really used to be an open platform where everything could be possible. After all these years it's going downwards. PC is being locked off like consoles. There are even platform exclusive titles on PC! Wow. This is the exact reason i'm looking out for a crack for this game so i can use any save like with AC:O which is not cracked on the latest update with DLC. I own all these games and i don't care about moral. I want to have this cracked wide open so i can do with it whatever i please. I bought the Gold Edition. It's mine! My own! My precious!

Re: Far Cry 5 Megathread - EAC Bypass & Table Compilation

Posted: Mon Apr 02, 2018 8:01 pm
by IcyPurpose99
Here is the player pointers for Health, Armor, Stamina I found, I hope these pointers are the right ones for all systems/hardware. Let me know if they work under [Pointers].
jehodonjohn wrote:
Mon Apr 02, 2018 6:50 pm
SunBeam wrote:
Mon Apr 02, 2018 6:37 pm
Because that game belongs to another vendor. Ubisoft savegames are encrypted with account_id; no way to decrypt and re-encrypt with another's id. You want to take some random save and make it work on a legit id, which will never happen. For Ubi, that's cheating.
What a bummer. PC really used to be an open platform where everything could be possible. After all these years it's going downwards. PC is being locked off like consoles. There are even platform exclusive titles on PC! Wow. This is the exact reason i'm looking out for a crack for this game so i can use any save like with AC:O which is not cracked on the latest update with DLC. I own all these games and i don't care about moral. I want to have this cracked wide open so i can do with it whatever i please. I bought the Gold Edition. It's mine! My own! My precious!
The people will argue differently, as well as the law. You do not own the game, you have a `license` to use it. But I feel you, I say the same thing, its mine once I buy it with my hard earned, sweaty and bloody cash dollars.

Re: Far Cry 5 Megathread - EAC Bypass & Table Compilation

Posted: Mon Apr 02, 2018 8:38 pm
by gir489
Marcus101RR wrote:
Mon Apr 02, 2018 8:01 pm
[table posted]
Update your Infinite Stamina script you have of mine with the one I posted that's more efficient. I found that while testing the one you have again, bodies would get stuck in mid-air... The new version doesn't have that problem.

I also noticed with the old method, that when jumping, Stamina would decrease. New version fixed this.