Skip to content

Commit

Permalink
Fix Bo4 Named Materials
Browse files Browse the repository at this point in the history
  • Loading branch information
Scobalula committed May 11, 2021
1 parent b17eca4 commit e4c2c4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/WraithXCOD/WraithXCOD/GameBlackOps4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,7 @@ const XMaterial_t GameBlackOps4::ReadXMaterial(uint64_t MaterialPointer)

// Check for an override in the name DB
if (AssetNameCache.NameDatabase.find(MaterialData.NamePtr) != AssetNameCache.NameDatabase.end())
Result.MaterialName = AssetNameCache.NameDatabase[MaterialData.NamePtr];
Result.MaterialName = FileSystems::GetFileNamePurgeExtensions(AssetNameCache.NameDatabase[MaterialData.NamePtr]);

// Iterate over material images, assign proper references if available
for (uint32_t m = 0; m < MaterialData.ImageCount; m++)
Expand Down
10 changes: 5 additions & 5 deletions src/WraithXCOD/WraithXCOD/WraithXCOD.rc
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,8 @@ IDI_CHECKMARK ICON "..\\..\\WraithX\\Resources\\Che
//

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

0 comments on commit e4c2c4b

Please sign in to comment.