15 Commits

Author SHA1 Message Date
otavepto
9221465e57 use string_view in common helpers 2024-04-14 14:40:49 +02:00
otavepto
484fc2a982 * set these env vars for a more accurate emulation:
- `SteamAppUser`
  - `SteamUser`
  - `SteamClientLaunch`
  - `SteamEnv`
  - `SteamPath`
2024-04-13 17:35:10 +02:00
otavepto
f423b07eef * common function to do case insensitive compare
* some const + ref in different places
* some logs, comments & refactoring
2024-04-01 19:23:55 +02:00
otavepto
16a241599f updated stub drm patterns (for v2) and added a workaround for older variants 2024-03-18 03:32:37 +02:00
otavepto
b440b578ad fix linux build 2024-03-08 18:13:29 +02:00
otavepto
88203b5c6f * fixed a bug in settings parser where lines with single characters would be completely removed when stripped of spaces
* refactored and moved all helper functions into the relevant helpers source file
2024-03-08 18:13:29 +02:00
otavepto
018d4aa2c1 sloppy code is problematic! (at least verify PE signature) 2024-02-13 02:27:09 +02:00
otavepto
2c428e071a make sure mod path, if relative, would be relative to the lib itself + return utf8 string 2024-01-25 17:06:45 +02:00
otavepto
5db4636cf1 updated changelog 2024-01-24 23:11:11 +02:00
otavepto
6249d7ca4d * attempt to auto detect mods with the same behavior as if they were defined in mods.json, for an easier config
* new function in local storage to get list of folders at root level, given some path

* use last week epoch as the default time for mods dates (created, added, etc...)

* UGC: some params checks according to SDK docs for CreateQueryXXX() functions

* fixed some mistakes
2024-01-20 18:46:43 +02:00
otavepto
0d1e54e9a2 * a working impl to bridge ugc/remote_storage as suggested by Detanup01
* edits by Kola124 + other changes in the settings parser

* random ugc mod handle at object creation

* file size using std::filesystem + fix warnings + some print + arg validation
2024-01-20 18:46:43 +02:00
otavepto
e2cb2e0f38 allow specifying a load order via a file called load_order.txt inside the root of the dlls to inject folder + updated readmes 2024-01-19 04:28:03 +02:00
otavepto
91aac61e23 a working stub patcher + lots of changes to cold client loader 2024-01-19 04:28:03 +02:00
otavepto
0590f6d2f6 more helpers 2024-01-19 04:28:03 +02:00
otavepto
705a1b925a added helper functions + restructure folders 2024-01-19 04:28:03 +02:00