aboutsummaryrefslogtreecommitdiff
path: root/primedev
AgeCommit message (Collapse)Author
2024-12-06Rework MAD `cleanup` handles (#817)v1.29.1-rc4v1.29.1Rémy Raes
Mods are no longer marked as successfully installed when the process failed. When mod downloading/extraction fails, the mod directory is removed again.
2024-12-01mods: Move collecting mods to own function (#830)v1.29.1-rc3v1.29.1-rc2Rémy Raes
Moves the logic that goes through all the paths where mods can be installed to its own function as part of improving code maintainability and future refactoring.
2024-11-27mods: Move mod content related logic to dedicated package (#829)v1.29.1-rc1Rémy Raes
Moves the `Mod` class and related logic to its own source files
2024-11-22Send all mods to Atlas that are enabled (#536)v1.29.0-rc1v1.29.0Jack
Instead of just RequiredOnClient mods and mods that have pdiff The idea here is that it gives clients a better overview of what mods are enabled on the server they are joining.
2024-11-22mods(Safe I/O): Only allow creating files with whitelisted filetypes (#682)GeckoEidechse
Restricts file types that can be created via Safe I/O to a list of whitelisted file types
2024-11-22mods(MAD): Make MAD process cancellable (#815)Rémy Raes
Adds logic to make an active mod download via MAD cancellable.
2024-11-21script: Refactor mod information (#826)Rémy Raes
Adds struct containing mod information instead of getting every info with its dedicated function
2024-11-20Remove uses of Autohook from `loghooks.cpp` (#812)v1.28.6Jack
* Manually hook TextMsg * Manually hook fprintf * Manually hook ConCommand_echo * Manually hook EngineSpewFunc * Manually hook Status_ConMsg * Manually hook CClientState_ProcessPrint * Remove AUTOHOOK_INIT and AUTOHOOK_DISPATCH_MODULE
2024-11-15engine: Remove uses of Autohook from `runframe.cpp` (#810)v1.28.6-rc2v1.28.6-rc1v1.28.5-rc2v1.28.5Jack
* Manually hook CEngine__Frame * Remove AUTOHOOK_INIT and AUTOHOOK_DISPATCH
2024-11-12server: Remove uses of Autohook from `buildainfile.cpp` (#824)Jack
* Manually hook CAI_NetworkBuilder__Build * Manually hook LoadAINFile * Remove AUTOHOOK_INIT and AUTOHOOK_DISPATCH
2024-11-11Remove uses of Autohook from `clientchathooks.cpp` (#819)v1.28.5-rc1Jack
* Manually hook CHudChat__AddGameLine * Remove AUTOHOOK_INIT and AUTOHOOK_DISPATCH
2024-10-30mods: Remove uses of Autohook from `modkeyvalues.cpp` (#818)v1.28.4-rc3v1.28.4-rc2v1.28.4Jack
Remove unused AUTOHOOK_INIT
2024-10-30server: Remove uses of Autohook from `serverauthentication.cpp` (#820)Jack
Manually hook - `CBaseServer__ConnectClient` - `CBaseClient__Connect` - `CBaseClient__ActivatePlayer` - `CBaseClient__Disconnect` Remove `AUTOHOOK_INIT` and `AUTOHOOK_DISPATCH`
2024-10-14plugins: Allow plugins to customize their log colors (#823)uniboi
Allows plugins to specify a custom colour for their indicator in the logs
2024-10-06Fix rpak aliasing not working when trying to alias towards a vanilla rpak (#825)v1.28.4-rc1v1.28.3-rc2v1.28.3Jack
Replace incorrect variable with hardcoded `-1` Don't account for the modded path in pak aliases
2024-10-06core: Remove unused SourceInterface class (#816)F1F7Y
Removes unused `SourceInterface` class, moves `InterfaceStatus` enum to `tier1.h`.
2024-09-17engine: Remove uses of Autohook from `hoststate.cpp` (#806)v1.28.2-rc3v1.28.2Jack
Removes use of AUTOHOOK macro from hoststate.cpp.
2024-09-17dedicated: Remove uses of Autohook from `dedicatedmaterialsystem.cpp` (#800)Jack
Removes AUTOHOOK macro from dedicatedmaterialsystem.cpp
2024-09-16dedicated: Remove uses of Autohook from `dedicated.cpp` (#799)v1.28.2-rc2Jack
Removes use of AUTOHOOK macro from dedicated.cpp
2024-09-12plugins: Remove duplicate sqvm destroy log (#822)v1.28.2-rc1uniboi
2024-09-08Set thread names for game threads (#666)v1.28.1-rc1v1.28.1v1.28.0-rc5v1.28.0-rc4v1.28.0p0358
Adds nice thread names that can be visible in crash dumps, non-attachable debuggers and generally in all places where old method of throwing exceptions to attached debugger on game start wouldn't work
2024-09-08Adjust for restructured `verified-mods.json` (#748)Rémy Raes
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.
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-07Remove uses of Autohook from `logging.cpp` (#811)v1.28.0-rc1Jack
Remove AUTOHOOK_INIT
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-05game: Add more ways to crash to the `crash_test` concommand (#807)F1F7Y
Adds more types of crashes to the `crash_test` concommand
2024-09-02engine: Remove uses of Autohook from `host.cpp` (#802)v1.27.7-rc1Jack
Removes the AUTOHOOK macro from `host.cpp` and replaces it with HookAttach.
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-09-02logging: Remove use of `SourceInterface` for `CGameConsole` (#803)v1.27.6-rc3F1F7Y
`SourceInteface` class goes back to icepick and is not good. We have a replacement, let's use it.
2024-09-02core: Remove use of `SourceInterface` for `CCvar` (#804)F1F7Y
`SourceInteface` class goes back to icepick and is not good. We have a replacement, let's use it.
2024-09-01Remove uses of Autohook from `gl_matsysiface.cpp` (#801)Jack
Removes AUTOHOOK macro from gl_matsysiface.cpp and replaces it with HookAttach
2024-08-31core: Remove uses of Autohook from `sourceinterface.cpp` (#798)Jack
Replaces the AUTOHOOK macro in `sourceinterface.cpp` with HookAttach.
2024-08-31client: Remove uses of Autohook from `languagehooks.cpp` (#787)v1.27.6-rc2Jack
Removes AUTOHOOK macro from `languagehooks.cpp`.
2024-08-31client: Remove uses of Autohook from `latencyflex.cpp` (#789)Jack
Removes AUTOHOOK macro from `latencyflex.cpp`.
2024-08-31core: Remove uses of Autohook from `hooks.cpp` (#796)Jack
Removes AUTOHOOK macro from `hooks.cpp`.
2024-08-31core: Remove uses of Autohook from `filesystem.cpp` (#795)Jack
Replace cases of autohook macro with manual hook calls
2024-08-30client: Remove uses of Autohook from `modlocalisation.cpp` (#792)v1.27.6-rc1v1.27.5-rc2v1.27.5Jack
Remove use of AUTOHOOK macro from `modlocalisation.cpp`
2024-08-30client: Remove uses of Autohook from `rejectconnectionfixes.cpp` (#793)Jack
Removes AUTOHOOK macro from `rejectconnectionfixes.cpp`.
2024-08-29Fix module callbacks related crash (#790)v1.27.5-rc1Jack
Check optional headers size Check size and address of the image directory
2024-08-28Remove uses of Autohook from `debugoverlay.cpp` (#786)v1.27.4-rc3v1.27.4Jack
Removes AUTOHOOK macros from `debugoverlay.cpp` and replaces them with `HookAttach`.
2024-08-28client: Remove uses of Autohook from `audio.cpp` (#777)Jack
Removes AUTOHOOK macros from `audio.cpp` and replaces them with `HookAttach`.
2024-08-27Remove uses of Autohook from `clientruihooks.cpp` (#783)v1.27.4-rc2Jack
Manually hook DrawRUIFunc Remove AUTOHOOK_INIT and AUTOHOOK_DISPATCH
2024-08-27Remove uses of Autohook from `clientvideooverrides.cpp` (#784)Jack
Run callbacks for nested modules, and prevent running callbacks multiple times for the same module. Manually hook BinkOpen Remove AUTOHOOK_INIT and AUTOHOOK_DISPATCH
2024-08-27Remove uses of Autohook from `clientauthhooks.cpp` (#782)Jack
Manually hook AuthWithStryder Manually hook Auth3PToken Remove AUTOHOOK_INIT and AUTOHOOK_DISPATCH
2024-08-27core: Remove unused `CModule` variable (#785)v1.27.4-rc1F1F7Y
Removes unused `CModule` var. CModule crashes when you give it a dll tha's been loaded as one of these: `LOAD_LIBRARY_AS_DATAFILE`, `LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE`, `LOAD_LIBRARY_AS_IMAGE_RESOURCE`. We have guards for this in libsys but not here.
2024-08-27hooking: run callbacks for imported modules (#780)v1.27.3-rc6v1.27.3Jack
Previously we only ran callbacks for modules loaded using WinAPI. This now also runs callbacks for modules imported by those loaded by WinAPI. This fixes callbacks for miles and bink dlls.
2024-08-26Format projectNorthstar
2024-08-25Fix manual hooks storing their name badly (#774)v1.27.3-rc4v1.27.3-rc3Jack
Fix manual hooks storing their name wrong and move to just using std::string since it's much more convenient and this isn't C
2024-08-25engine: restore `mat_crosshair_printmaterial` concommand (#763)F1F7Y
Restores the `mat_crosshair_printmaterial` concommand by reimplementing it's callback. Adds `CMaterialGlue` and `CShaderGlue` classes.
2024-08-23Format projectNorthstar