aboutsummaryrefslogtreecommitdiff
path: root/primedev/mods
AgeCommit message (Collapse)Author
2024-09-07Big rpak loading refactor (#766)v1.28.0-rc3v1.28.0-rc2Jack
This reworks how rpaks are loaded, unloaded and tracked. It allows for rpak reloading between map loads, meaning that skins and map overhauls could be enabled and disabled on the fly. Previous methods of loading rpaks still work.
2024-09-05core: Remove use of `SourceInterface` for `IFileSystem` (#805)F1F7Y
`SourceInteface` class goes back to icepick and is not good. We have a replacement, let's use it.
2024-09-02vscript: Move squirrel types to their respective files (#788)v1.27.6-rc4v1.27.6F1F7Y
Refactor logic to move Squirrel types to their own respective files and extend existing layouts in the process where applicable. Contains additional smaller fixes.
2024-08-09Fix postload crash from missing `rpak.json` (#762)v1.27.2-rc2v1.27.2FourthVolt
Missing `rpak.json` would previously crash the game due to faulty boolean logic in the `if` statement. This change ensures that a missing `rpak.json` is handled gracefully.
2024-07-30Only fetch MAD manifesto on server join (#751)Rémy Raes
Previously, the verified mods manifesto was fetched on game start without checking if the verified mod feature is enabled Squirrel-side; with this, the manifesto is only fetched when the user wants to download a mod (meaning they enabled the feature beforehand).
2024-07-10Define `fs` alias in source file where used (#747)v1.26.4-rc2v1.26.4-rc1v1.26.3-rc3v1.26.3-rc2v1.26.3GeckoEidechse
for filesystem namespace instead of relying on implicit include Co-authored-by: Jan <sentrycraft123@gmail.com>
2024-07-10fix: Do not crash on unknown MAD manifesto format (#749)Rémy Raes
Verify JSON has attributes before trying to access them
2024-07-06Fix multiple audio file overrides (#677)v1.26.3-rc1v1.26.2v1.26.1-rc5v1.26.1-rc4v1.26.1Rémy Raes
This basically prevents audio files from being loaded into memory if matching audio event has already been overriden by a previous mod, preventing a crash from occurring. This means that audio mods now respect the load priority, i.e. mods with higher priority (= lower int value) will have priority over other mods on audio overrides.
2024-06-24Add missing object check in mod manager (#731)v1.25.4-rc1Jan
`HasMember` asserts `IsObject()` internally. In release builds this is not an issue but this does not work on Debug builds.
2024-06-16Add default case for SquirrelContext switch (#716)v1.25.1-rc1v1.25.0-rc2v1.25.0Jan
Add default case for SquirrelContext switch and logs errors so we can catch them if they do ever happen.
2024-03-04Address C4100 compiler warnings (unused var) (#648)v1.24.4-rc1v1.24.3-rc3v1.24.3-rc2v1.24.3Jack
Adds and uses a macro to avoid the warning
2024-02-06Update default mods list URL (#662)v1.24.0-rc1v1.24.0GeckoEidechse
The default branch for the VerifiedMods repo was renamed from `master` to `main`.
2024-01-27Remove unused variable in mod concommands (#652)Jack
Remove unused variable that was also leaking memory
2024-01-21Address C4267 compiler warnings (#647)v1.22.2-rc1Jack
Implicit conversion from `size_t` to a smaller type
2024-01-21Add slow-speed timeout when downloading mod (#611)v1.22.1-rc4v1.22.1-rc3v1.22.1Rémy Raes
Abort request if network connection is dropped or too slow.
2024-01-20Add and use ScopeGuard (#643)v1.22.1-rc2Jack
Use a scope guard instead of `GOTO` statements for curl cleanup
2023-12-27Folder restructuring from primedev (#624)v1.21.2-rc3v1.21.2Jack
Copies of over the primedev folder structure for easier cherry-picking of further changes Co-authored-by: F1F7Y <filip.bartos07@proton.me>