Added basic DLC subpacks support

This commit is contained in:
dexy
2018-12-20 22:35:19 +11:00
Unverified
parent f2c2bba99d
commit 6e2c81675e
4 changed files with 62 additions and 24 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ namespace CodeWalker.GameFiles
private void AddRpfFile(RpfFile file, bool isdlc, bool ismod)
{
isdlc = isdlc || (file.NameLower == "dlc.rpf") || (file.NameLower == "update.rpf");
isdlc = isdlc || (file.NameLower == "update.rpf") || (file.NameLower.StartsWith("dlc") && file.NameLower.EndsWith(".rpf"));
ismod = ismod || (file.Path.StartsWith("mods\\"));
if (file.AllEntries != null)