Commit Graph

9 Commits

Author SHA1 Message Date
Skyth (Asilkan)
7866765ab0 Fix mod include directories with backward slashes not working on Linux. (#1444) 2025-03-23 17:16:54 +03:00
Skyth (Asilkan)
df8234ab3b Fix append archives sometimes failing to replace files. (#420) 2025-02-17 00:00:49 +03:00
Hyper
7a5cfe55f5 mod_loader: implemented file logging (#392) 2025-02-13 19:07:19 +03:00
Hyper
54aacf9a1f Implemented codes list reading for mod loader (#315) 2025-02-08 17:12:53 +00:00
Skyth (Asilkan)
9fea5f9e4c Hide console on Release configuration. (#244) 2025-01-30 19:16:21 +03:00
Skyth (Asilkan)
4691fe2e5a Treat save file paths in mod loader INIs as save folders. (#230) 2025-01-28 20:02:25 +03:00
Skyth (Asilkan)
fbc4bfa4d6 Fix save files not getting redirected without include directories. (#146) 2025-01-22 17:01:37 +03:00
Skyth
d6c2884f2e Look for mod loader .ini file in config folder. 2025-01-01 11:49:20 +03:00
Skyth (Asilkan)
a397a90551 Mod loader implementation. (#66)
* Initial mod loader implementation.

* Allow iterating in mod directories.

* Initial append archive implementation.

* Avoid calling function wrappers when loading append ARs.

For some reason they cause issues. Should investigate later.

* UMM merge archive support.

* Load merge archives without archive lists.

* Less thread locals.

I shouldn't worry about string allocations this much when the game itself spams them...

* Check for read-only UMM archives.

TODO: Skip merging as it's currently just doing duplicate loads.

* Skip loading merge archives if they are read-only.

* Merge only archives.

* Implement decompression.

* Fix append ARLs not loading.

* Initial save file redirection implementation.

* Slightly refactor resolved path usage.

* Implement save file redirection fallback.

* Set a default save file path if none is provided.

* Check for enabled option & replace backward slashes with forward ones in mod save file paths.

* Convert back slashes to forward ones when iterating directories.

* Make CSB limit dynamic.

* Cache append/merge archive lookups.

* Close stream after reading compressed ARL.

* Fix UMM/HMM ARL file path inconsistency.
2024-12-31 20:20:07 +03:00