Skip to content

Commit

Permalink
Updated for the latest version of AW
Browse files Browse the repository at this point in the history
  • Loading branch information
dest1yo committed Jul 23, 2024
1 parent 6dbe23e commit 539e7b0
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion src/Parasyte/CoDAWHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -650,11 +650,24 @@ const std::vector<std::string>& ps::CoDAWHandler::GetCommonFileNames() const
{
static std::vector<std::string> results
{
"code_post_gfx_mp",
"code_pre_gfx_mp",
"code_post_gfx_mp",
"ui_mp",
"common_mp",
"mp_vlobby_room",

"code_pre_gfx",
"code_post_gfx",
"code_post_gfx_zm_mp",
"ui",
"ui_zm_mp",
"common",
"common_zm_mp",
"common_zombie_mp",
"common_horde_mp",
"common_bots_mp",
"common_core_mp",
"common_core_zm_mp",
};

return results;
Expand Down Expand Up @@ -1025,6 +1038,13 @@ bool ps::CoDAWHandler::Initialize(const std::string& gameDirectory)
"MWR::Null32",
true,
true)) success = false;
pattern.Update("E8 ?? ?? ?? ?? 85 C0 75 08 38 05 ?? ?? ?? ?? 74 0A");
if (!Module.NullifyFunction(
pattern,
1,
"AW::Null",
true,
true)) success = false; // Func like BG_AISystemEnabled() in Load_XAssetHeader() type 27 (ASSET_TYPE_PATHDATA)

pattern.Update("48 83 C3 10 48 FF CF 75 E9 E8 ?? ?? ?? ?? 90 E9");
if (!Module.PatchBytes(
Expand Down

0 comments on commit 539e7b0

Please sign in to comment.