Skip to content

Commit 272ead9

Browse files
committed
bugfix(big): skip duplicate INIZH.big in Data\INI to prevent CRC mismatches on EA App/Origin installs
1 parent 5de3d63 commit 272ead9

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,14 @@ Bool StdBIGFileSystem::loadBigFilesFromDirectory(AsciiString dir, AsciiString fi
215215
Bool actuallyAdded = FALSE;
216216
FilenameListIter it = filenameList.begin();
217217
while (it != filenameList.end()) {
218+
AsciiString filePath = (*it);
219+
filePath.toLower();
220+
// TheSuperHackers @fix bobtista 18/11/2025 Skip duplicate INIZH.big in Data\INI to prevent CRC mismatches on EA App/Origin installs
221+
if (strstr(filePath.str(), "data\\ini\\inizh.big") != NULL || strstr(filePath.str(), "data/ini/inizh.big") != NULL) {
222+
it++;
223+
continue;
224+
}
225+
218226
ArchiveFile *archiveFile = openArchiveFile((*it).str());
219227

220228
if (archiveFile != NULL) {

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,14 @@ Bool Win32BIGFileSystem::loadBigFilesFromDirectory(AsciiString dir, AsciiString
216216
Bool actuallyAdded = FALSE;
217217
FilenameListIter it = filenameList.begin();
218218
while (it != filenameList.end()) {
219+
AsciiString filePath = (*it);
220+
filePath.toLower();
221+
// TheSuperHackers @fix bobtista 18/11/2025 Skip duplicate INIZH.big in Data\INI to prevent CRC mismatches on EA App/Origin installs
222+
if (strstr(filePath.str(), "data\\ini\\inizh.big") != NULL || strstr(filePath.str(), "data/ini/inizh.big") != NULL) {
223+
it++;
224+
continue;
225+
}
226+
219227
ArchiveFile *archiveFile = openArchiveFile((*it).str());
220228

221229
if (archiveFile != NULL) {

0 commit comments

Comments
 (0)