Commit Graph

15 Commits

Author SHA1 Message Date
Niek Schoemaker
8c2e444049
Update to .NET 6
Added Span support in some places already, and changed Nullable to annotations to declare intent to enable nullable at some point in the future
2023-11-14 16:16:59 +01:00
Niek Schoemaker
ba72dadd16
Many optimizations and bug fixes 2023-11-11 18:59:17 +01:00
Niek Schoemaker
aed7a1e051
Performance optimalizations and refactoring 2023-10-27 21:31:09 +02:00
alexguirre
118305e481 Fix crashes due to malicious RPFs
RpfFile:
- Limit RPF entry names to 256 characters because long names can cause the RPFExplorer to freeze when opening its directory.
- Skip RPFs with paths longer that 5000 characters, which are probably an attempt to make CW run out-of-memory.

ExploreForm:
- Use `Path.GetExtension` directly instead of `FileInfo` to prevent `PathTooLongException`s.
- Check for invalid characters in file names to prevent `ArgumentException`s.
2023-08-12 10:03:28 +02:00
dexy
ba16eab570 Fixed memory leak in RPF Explorer 2022-07-30 21:54:21 +10:00
dexy
1ac95eebf6 Added RpfResourcePageFlags structure 2020-03-18 05:31:11 +11:00
dexy
6df258225e Stopped AWC files from being compressed on import 2020-02-10 22:24:51 +11:00
dexy
8b7474e1d0 Made progress action optional for RpfFile.Defragment 2020-01-28 01:21:53 +11:00
PNWParksFan
8c05eac5b5 Added method to copy RpfFile to Mods folder, and some helper functions 2019-06-03 00:12:52 -07:00
dexy
37afa2335c Moved entity sets checkboxlist to MLO Instance tab on entity panel. Added support for updating/saving MLO instance data. Added support for updating/saving TImeArchetype data. 2018-12-16 22:32:33 +11:00
dexyfex
945bf410cc Staging random bug fixes 2018-05-01 13:20:39 +10:00
dexyfex
68273e7dca Refactored loading resource files from raw byte array code 2018-03-08 12:15:28 +11:00
dexyfex
e58baa79f4 RPF Explorer drag & drop folders, delete folders with items, render bug fix 2018-02-28 03:46:06 +11:00
dexyfex
9a81c0ea63 RPF Explorer Drag&Drop. Fixed bug (typo) in defragment tool. 2018-02-26 23:49:06 +11:00
dexyfex
cbd242b8cc Moved all GameFiles to CodeWalker.Core 2018-02-25 00:59:00 +11:00