Commit Graph

21 Commits

Author SHA1 Message Date
Timothy Baldridge
51764ae619 Rework texture matching again, support for _n and _d files, and fixing a but that created null ImageStates 2021-07-16 23:32:37 -06:00
Timothy Baldridge
58da89e16c Fix for issue #1486 2021-06-12 14:31:35 -06:00
erri120
e79fd480d8
Fix missing KnownFolders 2021-06-12 11:39:17 +02:00
Unnoen
8e39f9f4eb
IsChildOf function for AbsolutePath
Iterates up the parent directories to find if this path is a child of the given path.
2021-05-20 21:10:29 +10:00
Timothy Baldridge
8fdc9624e3 Fixes for root path WJ downloads 2021-04-01 14:52:23 -06:00
Timothy Baldridge
22b7782578 Move logs/downloaded modlists into the launcher folder 2021-03-18 23:04:27 -06:00
Timothy Baldridge
53a1e7af74
Merge pull request #1273 from LostDragonist/less_ram
Reduce memory used by open file streams
2021-01-29 07:59:09 -07:00
Timothy Baldridge
835d56bf68 Upgrade deps, fix several warnings 2021-01-28 21:02:26 -07:00
Chris Bessent
e2d5a42254 Reduce memory used by open file streams
Allocating 1 MB for each file stream was causing memory usage
during the install of certain lists to exceed 60 GB.  This is
primarily due to BSA/BA2 creation where tens of thousands of files
are open at the same time.  Additionally, there appears to be a
couple file stream leaks where file streams are not closed until
the entire program is closed.

There appears to still be some discussion on how this affects
performance and a proper fix.  This is more of a dirty "make it work
for more users" fix so people can stop messing with their page files.
2021-01-18 06:13:14 -07:00
Timothy Baldridge
c8abca742a HOTFIX: Fix game file sources that don't have MO2 specific names 2021-01-13 18:53:08 -07:00
Timothy Baldridge
b79830ad54 Added purge-archive verb 2020-12-09 14:46:08 -07:00
Chris Bessent
35b910be98 Make more path comparisons ignore case
Paths for Windows should be case-agnostic.  The primary impetus for
this change is to prevent WJ from deleting downloads if the case of
the folder name doesn't match the case of the install setting.
Normally this would be caught by the GUI validation but several users
have managed to get around that.
2020-11-18 20:04:43 -07:00
Timothy Baldridge
e557e46556 Rework file extraction to combine the old and new methods 2020-10-09 21:02:58 -06:00
Unnoen
7b1812af87
Use .Where for filtering 2020-09-18 00:08:30 +10:00
Unnoen
4b837d83bb
Don't attempt to compress files smaller than the cluster size. 2020-09-17 22:49:41 +10:00
Timothy Baldridge
16041170d2 Fix strange edge-case with BSA extraction 2020-09-09 14:40:28 -06:00
Timothy Baldridge
548a0553d2 Re-add OMOD support 2020-09-08 16:15:33 -06:00
Justin Swanson
e1f0f4f0cf Refactor BSAReader to a lazier overlay style 2020-08-11 09:23:55 -05:00
Justin Swanson
2e3b25ee69 File open/write async flag enabled. 1MB buffer 2020-08-11 07:13:33 -05:00
Timothy Baldridge
e62c6406a7 Commit missing files 2020-08-05 16:04:04 -06:00
Timothy Baldridge
86107ec8ec Enable optional disk compression 2020-08-05 16:01:45 -06:00