Skip to content

Commit

Permalink
Fixed MWR joint names, again
Browse files Browse the repository at this point in the history
  • Loading branch information
Black Death committed Jul 28, 2021
1 parent d863070 commit 6411021
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/WraithXCOD/WraithXCOD/GameBlackOpsCW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1136,6 +1136,7 @@ std::string GameBlackOpsCW::LoadStringEntry(uint64_t Index)
auto Offset = CoDAssets::GameOffsetInfos[5] + (Index * 16);
// Read Info
auto StringHash = CoDAssets::GameInstance->Read<uint64_t>(Offset + 16) & 0xFFFFFFFFFFFFFFF;

// Attempt to locate string
auto StringEntry = StringCache.NameDatabase.find(StringHash);

Expand Down
2 changes: 1 addition & 1 deletion src/WraithXCOD/WraithXCOD/GameModernWarfareRM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -882,5 +882,5 @@ std::unique_ptr<XImageDDS> GameModernWarfareRM::LoadXImage(const XImage_t& Image
std::string GameModernWarfareRM::LoadStringEntry(uint64_t Index)
{
// Read and return (Offsets[4] = StringTable)
return CoDAssets::GameInstance->ReadNullTerminatedString((16 * Index) + CoDAssets::GameOffsetInfos[4] + 8);
return CoDAssets::GameInstance->ReadNullTerminatedString((16 * Index) + CoDAssets::GameOffsetInfos[5] + 8);
}
8 changes: 4 additions & 4 deletions src/WraithXCOD/WraithXCOD/WraithXCOD.rc
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,8 @@ IDI_CHECKMARK ICON "..\\..\\WraithX\\Resources\\Che
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,7,9,4
PRODUCTVERSION 1,7,9,4
FILEVERSION 1,7,9,5
PRODUCTVERSION 1,7,9,5
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -386,12 +386,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "DTZxPorter / Scobalula"
VALUE "FileDescription", "Greyhound"
VALUE "FileVersion", "1.7.9.4"
VALUE "FileVersion", "1.7.9.5"
VALUE "InternalName", "Greyhound"
VALUE "LegalCopyright", "Copyright (C) 2021 DTZxPorter / Scobalula"
VALUE "OriginalFilename", "Greyhound.exe"
VALUE "ProductName", "Greyhound"
VALUE "ProductVersion", "1.7.9.4"
VALUE "ProductVersion", "1.7.9.5"
END
END
BLOCK "VarFileInfo"
Expand Down

0 comments on commit 6411021

Please sign in to comment.