otavepto
e213a44c55
fix linux compilation
2024-06-08 02:56:58 +03:00
otavepto
627e9df708
fix the linux condition
2024-06-08 02:19:34 +03:00
otavepto
35f4b9c6d7
proper helper function to get utc time
2024-06-07 19:49:57 +03:00
otavepto
e57daf02d0
helper function to generate rand num
2024-06-06 23:19:13 +03:00
otavepto
f81ba95732
* common helper for killable threads + remove dedicated class for background thread
...
* avoid overriding SteamPath env var in `SteamAPI_GetSteamInstallPath()`
2024-06-04 21:58:04 +03:00
otavepto
452b781fc0
fix some compiler warnings for dos_stub
2024-06-02 05:15:45 +03:00
otavepto
e2980d100e
* use std::filesystem::u8path to support utf-8
...
* don't sanitize paths in settings_parser since it removes the colon ':', preventing the usage of absolute paths on Windows like 'C:\aa\bb'
2024-04-28 19:44:56 +03:00
otavepto
aa53202022
some refactoring
2024-04-20 01:09:55 +02:00
otavepto
c9f6bc8487
fix overload ambiguity
2024-04-14 18:47:12 +02:00
otavepto
9221465e57
use string_view in common helpers
2024-04-14 14:40:49 +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
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
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
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