Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dakar Desert Rally Startup Crash #693

Open
timothycolangelo opened this issue Oct 23, 2024 · 7 comments
Open

Dakar Desert Rally Startup Crash #693

timothycolangelo opened this issue Oct 23, 2024 · 7 comments
Labels
game specific This issue is not a UE4SS core problem, but related to a specific game

Comments

@timothycolangelo
Copy link

Branch or Release
v.3.0.1

Game and Engine Version
Dakar Desert Rally, UE 4.27.2.0
Describe the bug
The game crashes at start-up. I tried to use U4ESS to mod the game, I have not made any modifications to it for the time being.

Mods directory
N/A

To Reproduce
Steps to reproduce the behavior:

  1. Enable console
  2. Launch game
  3. Fatal error pop-up

Expected behavior
I expected the game to run normally.

Screenshots, UE4SS Log, and .dmp file
image

UE4SS.log
UE4SS_ObjectDump.txt

Desktop (please complete the following information):
-OS: Win11

Additional context
No further context. The game has never been datamined and/or modded.

@timothycolangelo
Copy link
Author

I re-added the Mods folder, same result.

@Arturo83
Copy link

Same issue here. UE4SS was already working with older Dakar versions last year but not with the latest Dakar update 2.2 and 2.3.
Fatat error appears even you set all MODS to 0 and console to 0.
I tried today the latest experimental version UE4SS_v3.0.1-201-g7cd4e3f.

@Arturo83
Copy link

Arturo83 commented Nov 27, 2024

I found a workaround to bypass UE4SS crashing the game (fatal error):

Open UE4SS-settings.ini and change the following Hooks paramaters to 0

[Hooks]
HookInitGameState = 0
HookLoadMap = 0

All the other hooks = 1

Now start the game.
You can use at least UE Console for console commands, Live View and Dumpings.
Unfortunately, the deactivated Hooks are required to spawn ModActor.
I have no idea how to make these Hooks working.
I think an expert has to create signatures for InitGameState and LoadMap based on their memory locations and patterns.

Dumper-7 is a tool used for reverse engineering Unreal Engine games, primarily focused on dumping game assets, memory structures, and function signatures. It helps to extract useful information for modding or debugging games built on Unreal Engine.

AOB Scanning in Cheat Engine can identify patterns for function calls or memory locations related to InitGameState and LoadMap, which Dumper-7 might not provide out-of-the-box (output file attached).
Cheat Engine or tools like IDA Pro help find exact memory patterns (AOBs) that UE4SS can use to hook functions reliably.

Dumper-7-GObjects-Output.txt
Dumper-7-GObjects-Output.txt

DUMPER-7_OUTPUT_for_Dakar2Game.zip
DUMPER-7_OUTPUT_for_Dakar2Game.zip

@UE4SS UE4SS added the game specific This issue is not a UE4SS core problem, but related to a specific game label Dec 12, 2024
@UE4SS
Copy link
Collaborator

UE4SS commented Dec 12, 2024

This is likely a VTable problem.

@Arturo83
Copy link

I tested the latest UE4SS experimental version 3.0.1-228
The game crashes always the the same point "DKCheatManager", which is visible in LiveView
Screenshot
image

@narknon
Copy link
Collaborator

narknon commented Dec 12, 2024

Online PVP?

@UE4SS
Copy link
Collaborator

UE4SS commented Dec 13, 2024

Online PVP?

It appears to be a racing game with both singleplayer and multiplayer components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
game specific This issue is not a UE4SS core problem, but related to a specific game
Projects
None yet
Development

No branches or pull requests

4 participants