UE4SS-RE / RE-UE4SS

Injectable LUA scripting system, SDK generator, live property editor and other dumping utilities for UE4/5 games
http://docs.ue4ss.com/
MIT License
1.27k stars 166 forks source link

[BUG - Release] The Outer Worlds: Spacers Choice Edition FName::FName issue #303

Open jfmherokiller opened 8 months ago

jfmherokiller commented 8 months ago

Branch or Release The Tag for the Release you are using, or the commit you used if you built from source yourself: Release UE4SS - v2.5.1 Beta #0 - Git SHA #1481302

Game and Engine Version Game where the bug occurred, and the UE engine version of the game: The Outer Worlds: Spacers Choice Edition Engine version: 4.27.2

Describe the bug A clear and concise description of what the bug is: The current release version is unable to locate the function FName::FName using its default aob.

To Reproduce Steps to reproduce the behavior:

  1. Install release XInput version
  2. start up the game via the steam client.
  3. See error in log

Expected behavior A clear and concise description of what you expected to happen.

Screenshots and UE4SS Log If applicable, add screenshots to help explain your problem, and upload the log:

applicable log slice.

[2024-01-21 05:36:41] Scan attempt 1/60
[2024-01-21 05:36:41] Engine Version: 4.27 <- Built-in
[2024-01-21 05:36:41] StaticConstructObject_Internal address: 0x7ff7b9521b60 <- Built-in
[2024-01-21 05:36:41] FName::ToString address: 0x7ff7b9327630 <- Built-in
[2024-01-21 05:36:41] Info: Found FName::ToString in both Engine & CoreUObject modules, using the first match
[2024-01-21 05:36:41] AOB scans could not be completed because of the following reasons:
Was unable to find AOB for 'FName::FName'
You can supply your own in 'UE4SS_Signatures/FName_Constructor.lua'

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

Im not sure if it can help but this tool seems to work with the game atleast partially https://github.com/RussellJerome/UnrealModLoader/blob/main/Profiles/Indiana-Win64-Shipping.profile

jfmherokiller commented 8 months ago

Just tested the config from the wiki and it fails as well.

UE4SS commented 8 months ago

Try the latest experimental build. Here's a link to it: https://github.com/UE4SS-RE/RE-UE4SS/releases/download/experimental/UE4SS_v2.5.2-570-g37e727b.zip With this build you'll need both dwmapi.dll and UE4SS.dll from the zip file, and you should remove xinput1_3.dll that came from any other version of UE4SS as well as the UE4SS_Signatures directory.

jfmherokiller commented 5 months ago

sorry for taking a bit but i jumped to version UE4SS - v3.0.1 Beta #0 - Git SHA #d935b5b since thats the latest version as of today.

and it does seem to provide a much clearer response

[2024-04-17 10:29:28] PS Scan attempt 1
[2024-04-17 10:29:28] [PS] Reading image
[2024-04-17 10:29:28] [PS] Starting scan
[2024-04-17 10:29:28] [PS] Scan finished in 459.7368ms
[2024-04-17 10:29:28] [PS] Found EngineVersion: 4.27
[2024-04-17 10:29:28] [PS] Found GUObjectArray: 0x7ff64a99a150
[2024-04-17 10:29:28] [PS] Found GMalloc: 0x7ff64a915990
[2024-04-17 10:29:28] [PS] Found FName::ToString: 0x7ff6461172c0
[2024-04-17 10:29:28] [PS] Failed to find FName::FName(wchar_t*): iter returned multiple unique values
[2024-04-17 10:29:28] [PS] You can supply your own AOB in 'UE4SS_Signatures/FName_Constructor.lua'
[2024-04-17 10:29:28] [PS] Found StaticConstructObject_Internal: 0x7ff646311b60
[2024-04-17 10:29:28] [PS] Found FText::FText(FString&&): 0x7ff64602c7c0
[2024-04-17 10:29:28] [PS] Scan failed

if i remember correctly I think they possibly optimized way the fname constructor and you more or less need to "reconstruct it".