Jump to content

Recommended Posts

  • 4 weeks later...
  • 2 weeks later...

I noticed that you've set aside some memory address variables into the INI file. If you can teach me how to locate what the new addresses are and if they are customizable enough I can help update the plugin - it's such a nice plugin and Fallout 4 feels so much clunkier without it. It's hard to play the game when you die and don't know where the enemies were for the next run.

Thanks again for all of the hard work you put into this!

Link to comment

I have uploaded the new version. I didn't know there are new requests until someone sent me a message. As Contagious Waffles said, all you need to do to adapt to a new version is to change those relative virtual addresses. Here is how you do it:

Delete the dll file.

Open the ini file.

Set PlayerOffset=g_player in src\f4se\f4se\GameReferences.cpp

Set CameraOffset=g_playerCamera in src\f4se\f4se\GameCamera.cpp

Open Fallout 4 and Cheat Engine.

Attach to fallout4.exe, Hex=Yes, Scan Type=Search for this array, Value Type=array of byte, Writable=No, Executable=Yes, CopyOnWrite=No

Search for 83 BB E0 01 00 00 00 4C 8B E9, right click the result, select disassemble the result mem region

Find the instruction cmp dword ptr [rbx+000001E0],00, right click, select Find out what address this shit accesses, return to the game after a new window shows up.

Switch back to Cheat Engine after a few seconds, right click the result, select Copy address to clipboard.

Right click the lower part of Cheat Engine's Memory Viewer window, select Goto Address, Ctrl+V, then type in -fallout4.exe, click ok. Set MenuModeOffset to the resulted value(this is the difference between the copypasted address and the base address of fallout4.exe's image in its virtual memory space, hence called offset or relative virtual address).

Click New Scan in Cheat Engine, search and disasm 48 89 78 18 8B 86 F0 0E 00 00 48 89 BE E8 0E 00 00 89 47 20 FF 86 F0 0E 00 00 48 C7 47 18 00 00. The highlighted instruction will be mov [rax+18],rdi. Find the instruction mov rcx,[Fallout4.exe+Something] somewhere below it. The 'Something' is the value needed for InputManagerOffset.

Search and disasm F3 0F 59 C8 F3 0F 59 D0 F3 41 0F 10 98 A0 00 00 00 F3 0F 58 94 24 90 00 00 00 F3 0F 58 8C 24 98 00. The RVA of the call instruction you see is the value for SetCamRotOffset.

Search and disasm F3 0F 10 44 24 44 F3 0F 11 40 04 F3 0F 10 4C 24 48 48. The RVA of the call instruction you see is the value for SetCamPosOffset.

Search and disasm F3 0F 10 F0 44 0F 29 84 24 A0 02 00 00 44 0F 51 C0 F3 45 0F 5C CA 41. The RVA of movss [rdi+50],xmm10 is the value for SetCamZoomOffset1. This instruction is above the highlighted instruction, you need to scroll up to see it.

Search F3 0F 11 57 50 44 0F 28 84 24 A0 02 00 00 F3 0F 59 C8 F3 0F 11 4F 54 0F 28 5C 24 40 44 0F 28 94 24 80 02 00 00 44 0F 28. The RVA of the result is the value for SetCamZoomOffset2.

Search F7 81 30 01 00 00 00 00 1E 00 75 57 E8. The RVA of the jne instruction is the value for CheckDeadOffset.

Save the ini file and restore the dll.

Link to comment
On 7/17/2018 at 7:36 AM, gp160 said:

I have uploaded the new version. I didn't know there are new requests until someone sent me a message. As Contagious Waffles said, all you need to do to adapt to a new version is to change those relative virtual addresses. Here is how you do it:

Delete the dll file.

Open the ini file.

Set PlayerOffset=g_player in src\f4se\f4se\GameReferences.cpp

Set CameraOffset=g_playerCamera in src\f4se\f4se\GameCamera.cpp

Open Fallout 4 and Cheat Engine.

Attach to fallout4.exe, Hex=Yes, Scan Type=Search for this array, Value Type=array of byte, Writable=No, Executable=Yes, CopyOnWrite=No

Search for 83 BB E0 01 00 00 00 4C 8B E9, right click the result, select disassemble the result mem region

Find the instruction cmp dword ptr [rbx+000001E0],00, right click, select Find out what address this shit accesses, return to the game after a new window shows up.

Switch back to Cheat Engine after a few seconds, right click the result, select Copy address to clipboard.

Right click the lower part of Cheat Engine's Memory Viewer window, select Goto Address, Ctrl+V, then type in -fallout4.exe, click ok. Set MenuModeOffset to the resulted value(this is the difference between the copypasted address and the base address of fallout4.exe's image in its virtual memory space, hence called offset or relative virtual address).

Click New Scan in Cheat Engine, search and disasm 48 89 78 18 8B 86 F0 0E 00 00 48 89 BE E8 0E 00 00 89 47 20 FF 86 F0 0E 00 00 48 C7 47 18 00 00. The highlighted instruction will be mov [rax+18],rdi. Find the instruction mov rcx,[Fallout4.exe+Something] somewhere below it. The 'Something' is the value needed for InputManagerOffset.

Search and disasm F3 0F 59 C8 F3 0F 59 D0 F3 41 0F 10 98 A0 00 00 00 F3 0F 58 94 24 90 00 00 00 F3 0F 58 8C 24 98 00. The RVA of the call instruction you see is the value for SetCamRotOffset.

Search and disasm F3 0F 10 44 24 44 F3 0F 11 40 04 F3 0F 10 4C 24 48 48. The RVA of the call instruction you see is the value for SetCamPosOffset.

Search and disasm F3 0F 10 F0 44 0F 29 84 24 A0 02 00 00 44 0F 51 C0 F3 45 0F 5C CA 41. The RVA of movss [rdi+50],xmm10 is the value for SetCamZoomOffset1. This instruction is above the highlighted instruction, you need to scroll up to see it.

Search F3 0F 11 57 50 44 0F 28 84 24 A0 02 00 00 F3 0F 59 C8 F3 0F 11 4F 54 0F 28 5C 24 40 44 0F 28 94 24 80 02 00 00 44 0F 28. The RVA of the result is the value for SetCamZoomOffset2.

Search F7 81 30 01 00 00 00 00 1E 00 75 57 E8. The RVA of the jne instruction is the value for CheckDeadOffset.

Save the ini file and restore the dll.

 

Thank you very much!

Link to comment
  • 4 weeks later...

Hi everytime i get to "find out what address this accesses" everytime i return to the game it keeps on crashing. i have followed all the steps as you have put down but like i said it crashing so i can't find the damn address. A little help sorting this issue would be great. Really want this mod to work! 

Link to comment
On 8/20/2018 at 6:21 AM, NepNep454 said:

Hi everytime i get to "find out what address this accesses" everytime i return to the game it keeps on crashing. i have followed all the steps as you have put down but like i said it crashing so i can't find the damn address. A little help sorting this issue would be great. Really want this mod to work! 

Goto Edit-Settings-Debugger Options. Set Debugger method to Use VEH Debugger.

Link to comment
  • 1 month later...
  • 4 weeks later...

If anyone here uses FO4 version 1.10.106.0 and F4SE version 0.0.6.11, here is the ini settings you should use

[Main]
PlayerOffset=0x05ADD3D8
CameraOffset=0x05907BA8
MenuModeOffset=0x5AA0000
InputManagerOffset=0x5A13260
SetCamRotOffset=0x4A531B
SetCamPosOffset=0x4A4AC5
SetCamZoomOffset1=0x1256929
SetCamZoomOffset2=0x12569A3
CheckDeadOffset=0xF4452D
3rdPersonZAdjust=-100
KeyAccel=18;alt
KeySpeed=40
MouseSpeed=75
WheelSpeed=80
 

Link to comment

@sexyasshorse24 One of the more recent comments by gp160, 

On 7/17/2018 at 4:36 AM, gp160 said:

I have uploaded the new version. I didn't know there are new requests until someone sent me a message. As Contagious Waffles said, all you need to do to adapt to a new version is to change those relative virtual addresses. Here is how you do it:

Delete the dll file.

Open the ini file.

Set PlayerOffset=g_player in src\f4se\f4se\GameReferences.cpp

Set CameraOffset=g_playerCamera in src\f4se\f4se\GameCamera.cpp

Open Fallout 4 and Cheat Engine.

Attach to fallout4.exe, Hex=Yes, Scan Type=Search for this array, Value Type=array of byte, Writable=No, Executable=Yes, CopyOnWrite=No

Search for 83 BB E0 01 00 00 00 4C 8B E9, right click the result, select disassemble the result mem region

Find the instruction cmp dword ptr [rbx+000001E0],00, right click, select Find out what address this shit accesses, return to the game after a new window shows up.

Switch back to Cheat Engine after a few seconds, right click the result, select Copy address to clipboard.

Right click the lower part of Cheat Engine's Memory Viewer window, select Goto Address, Ctrl+V, then type in -fallout4.exe, click ok. Set MenuModeOffset to the resulted value(this is the difference between the copypasted address and the base address of fallout4.exe's image in its virtual memory space, hence called offset or relative virtual address).

Click New Scan in Cheat Engine, search and disasm 48 89 78 18 8B 86 F0 0E 00 00 48 89 BE E8 0E 00 00 89 47 20 FF 86 F0 0E 00 00 48 C7 47 18 00 00. The highlighted instruction will be mov [rax+18],rdi. Find the instruction mov rcx,[Fallout4.exe+Something] somewhere below it. The 'Something' is the value needed for InputManagerOffset.

Search and disasm F3 0F 59 C8 F3 0F 59 D0 F3 41 0F 10 98 A0 00 00 00 F3 0F 58 94 24 90 00 00 00 F3 0F 58 8C 24 98 00. The RVA of the call instruction you see is the value for SetCamRotOffset.

Search and disasm F3 0F 10 44 24 44 F3 0F 11 40 04 F3 0F 10 4C 24 48 48. The RVA of the call instruction you see is the value for SetCamPosOffset.

Search and disasm F3 0F 10 F0 44 0F 29 84 24 A0 02 00 00 44 0F 51 C0 F3 45 0F 5C CA 41. The RVA of movss [rdi+50],xmm10 is the value for SetCamZoomOffset1. This instruction is above the highlighted instruction, you need to scroll up to see it.

Search F3 0F 11 57 50 44 0F 28 84 24 A0 02 00 00 F3 0F 59 C8 F3 0F 11 4F 54 0F 28 5C 24 40 44 0F 28 94 24 80 02 00 00 44 0F 28. The RVA of the result is the value for SetCamZoomOffset2.

Search F7 81 30 01 00 00 00 00 1E 00 75 57 E8. The RVA of the jne instruction is the value for CheckDeadOffset.

Save the ini file and restore the dll.

It took me a little while to do, but it ended up working.

Link to comment
  • 3 weeks later...

Hello, great mod by the way! I'm having issues after trying to reinstall FO4 and this mod. When I start F4SE I get this error:

 

---------------------------
RunDLL
---------------------------
There was a problem starting D:0\SteamLibrary\steamapps\common\Fallout 4\Data\F4SE\Plugins\PostmortemTFC.dll

The specified module could not be found.


---------------------------
OK   
---------------------------

 

This is similar to what was posted by someone else before however my main issue is that the location for the .dll is actually

F:\SteamLibrary\steamapps\common\Fallout 4\Data\F4SE\Plugins\PostmortemTFC.dll

and not D:0\ (for some reason).

 

It was working fine until I tried to do a relocation of where my FO4 is to be installed.

Link to comment
  • 3 months later...
On 11/13/2018 at 7:58 PM, thornedshoe1123 said:

@sexyasshorse24 One of the more recent comments by gp160, 

It took me a little while to do, but it ended up working.

 

On 7/17/2018 at 1:36 PM, gp160 said:

I have uploaded the new version. I didn't know there are new requests until someone sent me a message. As Contagious Waffles said, all you need to do to adapt to a new version is to change those relative virtual addresses. Here is how you do it:

Delete the dll file.

Open the ini file.

Set PlayerOffset=g_player in src\f4se\f4se\GameReferences.cpp

Set CameraOffset=g_playerCamera in src\f4se\f4se\GameCamera.cpp

Open Fallout 4 and Cheat Engine.

Attach to fallout4.exe, Hex=Yes, Scan Type=Search for this array, Value Type=array of byte, Writable=No, Executable=Yes, CopyOnWrite=No

Search for 83 BB E0 01 00 00 00 4C 8B E9, right click the result, select disassemble the result mem region

Find the instruction cmp dword ptr [rbx+000001E0],00, right click, select Find out what address this shit accesses, return to the game after a new window shows up.

Switch back to Cheat Engine after a few seconds, right click the result, select Copy address to clipboard.

Right click the lower part of Cheat Engine's Memory Viewer window, select Goto Address, Ctrl+V, then type in -fallout4.exe, click ok. Set MenuModeOffset to the resulted value(this is the difference between the copypasted address and the base address of fallout4.exe's image in its virtual memory space, hence called offset or relative virtual address).

Click New Scan in Cheat Engine, search and disasm 48 89 78 18 8B 86 F0 0E 00 00 48 89 BE E8 0E 00 00 89 47 20 FF 86 F0 0E 00 00 48 C7 47 18 00 00. The highlighted instruction will be mov [rax+18],rdi. Find the instruction mov rcx,[Fallout4.exe+Something] somewhere below it. The 'Something' is the value needed for InputManagerOffset.

Search and disasm F3 0F 59 C8 F3 0F 59 D0 F3 41 0F 10 98 A0 00 00 00 F3 0F 58 94 24 90 00 00 00 F3 0F 58 8C 24 98 00. The RVA of the call instruction you see is the value for SetCamRotOffset.

Search and disasm F3 0F 10 44 24 44 F3 0F 11 40 04 F3 0F 10 4C 24 48 48. The RVA of the call instruction you see is the value for SetCamPosOffset.

Search and disasm F3 0F 10 F0 44 0F 29 84 24 A0 02 00 00 44 0F 51 C0 F3 45 0F 5C CA 41. The RVA of movss [rdi+50],xmm10 is the value for SetCamZoomOffset1. This instruction is above the highlighted instruction, you need to scroll up to see it.

Search F3 0F 11 57 50 44 0F 28 84 24 A0 02 00 00 F3 0F 59 C8 F3 0F 11 4F 54 0F 28 5C 24 40 44 0F 28 94 24 80 02 00 00 44 0F 28. The RVA of the result is the value for SetCamZoomOffset2.

Search F7 81 30 01 00 00 00 00 1E 00 75 57 E8. The RVA of the jne instruction is the value for CheckDeadOffset.

Save the ini file and restore the dll.

My Fallout 4 crashes everytime I get to the Find out what address this instruction accesses part. Can someone post the ini settings for FO4 version 1.10.130 please?

Link to comment
23 hours ago, VG65 said:

 

My Fallout 4 crashes everytime I get to the Find out what address this instruction accesses part. Can someone post the ini settings for FO4 version 1.10.130 please?

The reason it is crashing is because when you open cheat engine, you have to go to edit > settings > go down to debugger options, change the debugger method from Windows to VEH Debugger, then hit OK.

Link to comment
14 hours ago, Lukum said:

Would be lovely to have an update, I realise there are instructions to do it ourselves but many people, myself included, are not skilled enough to do it so I would appreciate it a lot if this was updated

I went through and found the new values for you, find the file called PostmortemTFC.ini, the file is located inside the location SteamLibrary\steamapps\common\Fallout 4\Data\F4SE\Plugins

Right click the file, click open, if it asks what to open it with, open with notepad, if it asks, unckeck the box that says "always open this app with" Delete everything on the ini file and replace it with this.

[Main]
PlayerOffset=0x05AA4358
CameraOffset=0x058CEB28
MenuModeOffset=0x05A66F80
InputManagerOffset=0x59DA1E0
SetCamRotOffset=0x4A531B
SetCamPosOffset=0x4A4AC5
SetCamZoomOffset1=0x1256929
SetCamZoomOffset2=0x12569A3
CheckDeadOffset=0xF4452D
3rdPersonZAdjust=-100
KeyAccel=18;alt
KeySpeed=40
MouseSpeed=75
WheelSpeed=80

Click file, save as, then when the box opens where it says "File name" and "Save as type", click the line next to "Save as type" and select "all files", then hit save, overwrite the file, and done.

Link to comment
7 hours ago, Systematik said:

I went through and found the new values for you, find the file called PostmortemTFC.ini, the file is located inside the location SteamLibrary\steamapps\common\Fallout 4\Data\F4SE\Plugins

Right click the file, click open, if it asks what to open it with, open with notepad, if it asks, unckeck the box that says "always open this app with" Delete everything on the ini file and replace it with this.

[Main]
PlayerOffset=0x05AA4358
CameraOffset=0x058CEB28
MenuModeOffset=0x05A66F80
InputManagerOffset=0x59DA1E0
SetCamRotOffset=0x4A531B
SetCamPosOffset=0x4A4AC5
SetCamZoomOffset1=0x1256929
SetCamZoomOffset2=0x12569A3
CheckDeadOffset=0xF4452D
3rdPersonZAdjust=-100
KeyAccel=18;alt
KeySpeed=40
MouseSpeed=75
WheelSpeed=80

Click file, save as, then when the box opens where it says "File name" and "Save as type", click the line next to "Save as type" and select "all files", then hit save, overwrite the file, and done.

Thank you!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use