Skip to content

Commit 95cfca1

Browse files
committed
build(big): wrap INIZH.big skip in RTS_ZEROHOUR preprocessor guard
1 parent 272ead9 commit 95cfca1

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Core/GameEngineDevice/Source/StdDevice/Common/StdBIGFileSystem.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,13 +215,15 @@ Bool StdBIGFileSystem::loadBigFilesFromDirectory(AsciiString dir, AsciiString fi
215215
Bool actuallyAdded = FALSE;
216216
FilenameListIter it = filenameList.begin();
217217
while (it != filenameList.end()) {
218+
#if RTS_ZEROHOUR
218219
AsciiString filePath = (*it);
219220
filePath.toLower();
220221
// TheSuperHackers @fix bobtista 18/11/2025 Skip duplicate INIZH.big in Data\INI to prevent CRC mismatches on EA App/Origin installs
221222
if (strstr(filePath.str(), "data\\ini\\inizh.big") != NULL || strstr(filePath.str(), "data/ini/inizh.big") != NULL) {
222223
it++;
223224
continue;
224225
}
226+
#endif
225227

226228
ArchiveFile *archiveFile = openArchiveFile((*it).str());
227229

Core/GameEngineDevice/Source/Win32Device/Common/Win32BIGFileSystem.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,13 +216,15 @@ Bool Win32BIGFileSystem::loadBigFilesFromDirectory(AsciiString dir, AsciiString
216216
Bool actuallyAdded = FALSE;
217217
FilenameListIter it = filenameList.begin();
218218
while (it != filenameList.end()) {
219+
#if RTS_ZEROHOUR
219220
AsciiString filePath = (*it);
220221
filePath.toLower();
221222
// TheSuperHackers @fix bobtista 18/11/2025 Skip duplicate INIZH.big in Data\INI to prevent CRC mismatches on EA App/Origin installs
222223
if (strstr(filePath.str(), "data\\ini\\inizh.big") != NULL || strstr(filePath.str(), "data/ini/inizh.big") != NULL) {
223224
it++;
224225
continue;
225226
}
227+
#endif
226228

227229
ArchiveFile *archiveFile = openArchiveFile((*it).str());
228230

0 commit comments

Comments
 (0)