Split asset name map into separate 32-bit and 64-bit files (necessary to avoid name conflict errors)

This commit is contained in:
Aruki
2017-05-04 01:14:51 -06:00
parent 9d6798b7ae
commit 336744ed49
8 changed files with 224595 additions and 27 deletions

View File

@@ -66,7 +66,7 @@ void CExportGameDialog::InitUI(QString ExportDir)
ExportDir.replace('/', '\\');
TWideString DefaultNameMapPath = CAssetNameMap::DefaultNameMapPath();
TWideString DefaultNameMapPath = CAssetNameMap::DefaultNameMapPath(mGame);
if (!FileUtil::Exists(DefaultNameMapPath)) DefaultNameMapPath = L"";
TWideString DefaultGameInfoPath = CGameInfo::GetDefaultGameInfoPath(mGame);
@@ -339,7 +339,7 @@ void CExportGameDialog::Export()
return;
}
CAssetNameMap NameMap;
CAssetNameMap NameMap(mGame);
if (!NameMapPath.isEmpty())
{