Skip to content

Commit

Permalink
Fix DLC unzip filter #3
Browse files Browse the repository at this point in the history
  • Loading branch information
rquinio committed Feb 12, 2018
1 parent 5afdf27 commit 03e1ee1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
By Romulien:

Version 3.0.0 - 2018-xx-xx
Version 3.0.0 - 2018-02-xx

- Add support for Mono runtime (in addition to .NET runtime)
- Switch from CSharpImageLibrary (incompatible with Mono) to dds-reader (a C# rewrite of DevIL)
Expand Down
2 changes: 1 addition & 1 deletion PortraitBuilder/Engine/Loader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ private void UnzipDLCs(List<DLC> dlcs) {
if (!Directory.Exists(newDlcAbsolutePath)) {
logger.Info(string.Format("Extracting {0} to {1}", dlc.Name, newDlcAbsolutePath));
// Filter only portraits files, to gain speed/space
string fileFilter = @"interface;gfx"+Path.DirectorySeparatorChar+"characters";
string fileFilter = @"interface;gfx/characters";
fastZip.ExtractZip(dlc.AbsolutePath, newDlcAbsolutePath, fileFilter);

// In any case, create the directory, so that it is ignored for next load.
Expand Down

0 comments on commit 03e1ee1

Please sign in to comment.