Skip to content

Updated for Mafia III Definitive edition.#11

Open
Evasion3356 wants to merge 2 commits intoMartinJK:masterfrom
Evasion3356:master
Open

Updated for Mafia III Definitive edition.#11
Evasion3356 wants to merge 2 commits intoMartinJK:masterfrom
Evasion3356:master

Conversation

@Evasion3356
Copy link

@Evasion3356 Evasion3356 commented May 9, 2025

Redesigned M3ScriptHook project to compile as a DXGI hijacked DLL instead of an injected binary.
Removed M3ScriptHookLauncher since it's no longer needed.
Updated logger to include timestamps.
Updated CreateKeyBind and DestroyKeyBind to include useful information in the log other than the function was called.
Removed main_menu_dev replacement as it doesn't work in the definitive edition.
Updated logPointer to use a relative offset rather than the absolute ASLR address which is worthless for debugging.

Closes #7
Closes #9
Closes #10

Evasion3356 added 2 commits May 9, 2025 12:15
Redesigned M3ScriptHook project to compile as a DXGI hijacked DLL instead of an injected binary.
Removed M3ScriptHookLauncher since it's no longer needed.
Updated logger to include timestamps.
Updated CreateKeyBind and DestroyKeyBind to include useful information in the log other than the function was called.
Removed main_menu_dev replacement as it doesn't work in the definitive edition.
Fixed logPointer not returning after failure scenario leading to a crash.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scripthook does not work in the new version of the game Mafia 3 Scripthook Broken? Scripthook crash on latest game version steam

1 participant