Rename config file (config_mp.cfg -> iw4x_config.cfg)
This commit is contained in:
parent
e69ea8d68e
commit
0b44821d81
@ -212,13 +212,20 @@ namespace Components
|
|||||||
Utils::Hook::Set<char*>(0x60A90C, "logs/console_mp.log");
|
Utils::Hook::Set<char*>(0x60A90C, "logs/console_mp.log");
|
||||||
Utils::Hook::Set<char*>(0x60A918, "logs/console_mp.log");
|
Utils::Hook::Set<char*>(0x60A918, "logs/console_mp.log");
|
||||||
|
|
||||||
|
// Rename config
|
||||||
|
Utils::Hook::Set<char*>(0x461B4B, "iw4x_config.cfg");
|
||||||
|
Utils::Hook::Set<char*>(0x47DCBB, "iw4x_config.cfg");
|
||||||
|
Utils::Hook::Set<char*>(0x6098F8, "iw4x_config.cfg");
|
||||||
|
Utils::Hook::Set<char*>(0x60B279, "iw4x_config.cfg");
|
||||||
|
Utils::Hook::Set<char*>(0x60BBD4, "iw4x_config.cfg");
|
||||||
|
|
||||||
#ifndef DEBUG
|
#ifndef DEBUG
|
||||||
Utils::Hook::Nop(0x60BEF6, 5); // Don't reset intro dvar
|
Utils::Hook::Nop(0x60BEF6, 5); // Don't reset intro dvar
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Utils::Hook(0x4D4007, QuickPatch::ShutdownStub, HOOK_CALL).Install()->Quick();
|
Utils::Hook(0x4D4007, QuickPatch::ShutdownStub, HOOK_CALL).Install()->Quick();
|
||||||
|
|
||||||
// Rename stat file - TODO: beautify
|
// Rename stat file
|
||||||
Utils::Hook::SetString(0x71C048, "iw4x.stat");
|
Utils::Hook::SetString(0x71C048, "iw4x.stat");
|
||||||
|
|
||||||
// Patch stats steamid
|
// Patch stats steamid
|
||||||
|
Loading…
x
Reference in New Issue
Block a user