Age | Commit message (Collapse) | Author |
|
Remove unused AUTOHOOK_INIT
|
|
Updates the launcher code to deal with adjusted verified mods JSON structure from the default manifest source
The idea here is to allow installing mods from other sources than Thunderstore.
|
|
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.
|
|
`SourceInteface` class goes back to icepick and is not good. We have a replacement, let's use it.
|
|
Refactor logic to move Squirrel types to their own respective files and extend existing layouts in the process where applicable.
Contains additional smaller fixes.
|
|
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.
|
|
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).
|
|
for filesystem namespace instead of relying on implicit include
Co-authored-by: Jan <sentrycraft123@gmail.com>
|
|
Verify JSON has attributes before trying to access them
|
|
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.
|
|
`HasMember` asserts `IsObject()` internally.
In release builds this is not an issue but this does not work on Debug builds.
|
|
Add default case for SquirrelContext switch and logs errors so we can catch them if they do ever happen.
|
|
Adds and uses a macro to avoid the warning
|
|
The default branch for the VerifiedMods repo was renamed from `master` to `main`.
|
|
Remove unused variable that was also leaking memory
|
|
Implicit conversion from `size_t` to a smaller type
|
|
Abort request if network connection is dropped or too slow.
|
|
Use a scope guard instead of `GOTO` statements for curl cleanup
|
|
Copies of over the primedev folder structure for easier cherry-picking of further changes
Co-authored-by: F1F7Y <filip.bartos07@proton.me>
|