Skip to content

Commit 1bd6d05

Browse files
committed
Update stub files list
* Also fix crash if one doesn't have VehInfo.cache
1 parent dc117dd commit 1bd6d05

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

src/common/PatchFilterDLC2612.cc

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,28 @@ static std::unordered_set<std::string> g_badFiles{
8080
"dlc_mp2023_02_G9EC:/x64/levels/gta5/interiors/int_placement_m23_2_g9ec.rpf",
8181
"dlc_mp2023_02_G9EC:/x64/levels/gta5/interiors/mp2023_02_dlc_int_3.rpf",
8282
"dlc_mp2023_02_G9EC:/x64/levels/mp2023_02_G9EC/vehiclemods/vivanitehsw_mods.rpf",
83+
84+
"dlc_mp2024_01_G9EC:/common/data/overlayinfo.xml",
85+
"dlc_mp2024_01_G9EC:/common/data/interiorProxies.xml",
86+
"dlc_mp2024_01_G9EC:/x64/levels/gta5/interiors/int_placement_m24_1_g9ec.rpf",
87+
"dlc_mp2024_01_G9EC:/x64/levels/gta5/interiors/m24_1_dlc_int_02.rpf",
88+
"dlc_mp2024_01_G9EC:/x64/levels/mp2024_01_g9ec/vehiclemods/eurosx32hsw_mods.rpf",
89+
"dlc_mp2024_01_G9EC:/x64/levels/mp2024_01_g9ec/vehiclemods/niobehsw_mods.rpf",
90+
91+
"dlc_mp2024_02_G9EC:/x64/levels/mp2024_02_G9EC/vehiclemods/banshee3hsw_mods.rpf",
92+
"dlc_mp2024_02_G9EC:/x64/levels/mp2024_02_G9EC/vehiclemods/firebolthsw_mods.rpf",
93+
"dlc_mp2024_02_G9EC:/common/data/weaponArchetypes.meta",
94+
"dlc_mp2024_02_G9EC:/x64/models/cdimages/weapons.rpf",
95+
"dlc_mp2024_02_G9EC:/common/data/shop_weapon.meta",
96+
"dlc_mp2024_02_G9ECCRC:/common/data/ai/loadouts.meta",
97+
"dlc_mp2024_02_G9ECCRC:/common/data/pedpersonality.meta",
98+
"dlc_mp2024_02_G9ECCRC:/common/data/pickups.meta",
99+
"dlc_mp2024_02_G9ECCRC:/common/data/ai/weapon_strickler.meta",
100+
"dlc_mp2024_02_G9ECCRC:/common/data/ai/weaponanimations.meta",
101+
"dlc_mp2024_02_G9ECCRC:/common/data/ai/weaponcomponents.meta",
102+
103+
"dlc_mp2025_01_G9EC:/x64/levels/mp2025_01_G9EC/vehiclemods/tampa4hsw_mods.rpf",
104+
"dlc_mp2025_01_G9EC:/x64/levels/mp2025_01_G9EC/vehiclemods/woodlanderhsw_mods.rpf"
83105
};
84106

85107
static void (*_applyChangeSetEntry)(ChangeSetEntry* entry);

src/vehicles/vehicle_cacheMgr.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ VehicleModelInfoCacheMgr::InitCache ()
112112
if (!cacheFile || !ReadCacheFile (cacheFile))
113113
GenerateCache ();
114114

115-
fclose (cacheFile);
115+
if (cacheFile)
116+
fclose (cacheFile);
116117
}
117118

118119
/*******************************************************/

0 commit comments

Comments
 (0)