Commit Graph

963 Commits

Author SHA1 Message Date
otavepto
e4af4f2b00 allow setting the ip country reported to the game via a file 2024-02-07 04:22:33 +02:00
otavepto
0237152b82 fixed some mistakes + missing reg patch 2024-02-07 03:43:20 +02:00
otavepto
7feca7f173 update notes 2024-02-07 03:43:20 +02:00
otavepto
3482c6fae3 added persistent modes to cold client loader + refactored ini sections 2024-02-07 03:43:20 +02:00
otavepto
7c1f7dc4ab updated updated translations for Czech by Olivander 2024-02-04 22:26:46 +02:00
otavepto
e3b80fe072 updated translations for Brazilian Portuguese by Vlxst 2024-02-04 22:23:53 +02:00
otavepto
1a5998d13b * initial wiki
* reduce code in linux build script

* make steamnetworkingsockets.cpp compile (Win + Linux)
2024-01-26 21:31:26 +02:00
otavepto
8e5c752183 updated changelog 2024-01-26 14:39:31 +02:00
otavepto
1bba2c09b0 * allow setting the achievements notifications via config file
* fixed a mistake when discarding ut8 bom marker
2024-01-26 14:37:17 +02:00
otavepto
7e595ce1d9 updated changelog 2024-01-25 23:32:54 +02:00
otavepto
b016f3dafa refactor user_stats
* use const str as a param for defined_achievements_find

* GetStat()/SetStat(): return false if given name is not defined by stats.txt

* according to docs:
GetAchievement()/SetAchievement()/ClearAchievement()/GetAchievementAndUnlockTime()/IndicateAchievementProgress()
will always return true if the name was not null and exists in Admin page (achievements.json)

* ClearAchievement(): don't write user data unless json object doesn't exist, or key "earned" is true

* reduce the code in GetAchievementDisplayAttribute()

* according to docs IndicateAchievementProgress() returns false if the achievement is already unlocked

* many logging
2024-01-25 23:24:16 +02:00
otavepto
374b9a8029 forgot that! 2024-01-25 23:24:16 +02:00
otavepto
a09bc24437 refactor steam_apps 2024-01-25 23:24:16 +02:00
otavepto
8c012f7101 lots of todo notes 2024-01-25 23:24:16 +02:00
Detanup01
16e49d9bcb Added option to not generate disable_*.txt"s 2024-01-25 23:14:46 +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
0e4b6e85e0 fixed a pattern 2024-01-25 03:13:19 +02:00
otavepto
e993b51340 credits 2024-01-25 02:43:02 +02:00
otavepto
5db4636cf1 updated changelog 2024-01-24 23:11:11 +02:00
otavepto
5ec61403f5 don't spam loading achievements forever on failure 2024-01-24 22:57:32 +02:00
otavepto
b8e305bc41 allow copying own id and a friend's ID 2024-01-24 22:57:32 +02:00
otavepto
9eee49d6af add a button to invite all friends playing same game 2024-01-24 22:57:32 +02:00
otavepto
d73faeff38 use the new functions to check for friend ID in the auto accept list 2024-01-24 22:57:32 +02:00
otavepto
a98baef856 fixed a casting mistake when displaying friend ID 2024-01-24 22:57:32 +02:00
otavepto
245e1414fc allow accepting any invitation by using an empty file 2024-01-24 22:57:32 +02:00
otavepto
6864aafc12 restored missing files! why! 2024-01-24 22:57:32 +02:00
otavepto
628d5001a6 don't open the overlay when auto accept is used 2024-01-24 22:57:32 +02:00
otavepto
21545509fd new type of notification when the auto accept config file is used 2024-01-24 22:57:32 +02:00
otavepto
9d533cd945 new string to translate! 2024-01-24 22:57:32 +02:00
otavepto
c3d0f716b2 writing mistake! 2024-01-24 22:57:32 +02:00
otavepto
81bcc48c3b updated changelog 2024-01-24 22:57:32 +02:00
otavepto
0b8e5cb283 use the new flags in the overlay 2024-01-24 22:57:32 +02:00
otavepto
2fa2a9229c parse the new disable_overlay_warning_*.txt settings + fixed or condition of warn_forced_setting 2024-01-24 22:57:32 +02:00
otavepto
5dd51bd7b3 new disable_overlay_warning_*.txt settings to disable certain or all warnings in the overlay 2024-01-24 22:57:32 +02:00
otavepto
3d306dc136 deprecated disable_overlay_warning.txt 2024-01-24 22:57:32 +02:00
otavepto
ad14e7f14e more stub variants 2024-01-24 22:18:07 +02:00
otavepto
3a64b604a0 debug message 2024-01-22 19:43:56 +02:00
otavepto
9e84f4abec forgot that while debugging! 2024-01-22 19:26:51 +02:00
otavepto
371d50b62e make sure buffer is nulled in ugc::GetItemInstallInfo() + a bunch of params check & stub code 2024-01-20 23:01:29 +02:00
otavepto
2800264040 make sure mod path is absolute and normalized for current OS 2024-01-20 22:51:40 +02:00
otavepto
44f4e400de updated changelog + some readmes 2024-01-20 22:49:50 +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
45d76fbc31 bunch of scoped debug messages 2024-01-20 18:46:43 +02:00
otavepto
43debcbaf8 * local storage: allow files in root of user data
* common mods subscription state between ugc and remote storage

* ugc: implement SetUserItemVote(), GetUserItemVote(), AddItemToFavorites(), RemoveItemFromFavorites(), favorite mods list is now save in `favorites.txt` in the user data folder

* ugc: make sure returned mod folder from GetItemInstallInfo() is null terminated & validate arg
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
Detanup01
4afd10219d Update settings_parser.cpp
hopefully works
2024-01-20 18:46:43 +02:00
Detanup01
7f099ed0ad Update settings_parser.cpp
Fixed issue
2024-01-20 18:46:43 +02:00
Detanup01
146c01a9c3 Update settings_parser.cpp
adding code from recommended PR
2024-01-20 18:46:43 +02:00
Detanup01
0f002f7ef9 Update steam_ugc.h
forgot this one
2024-01-20 18:46:43 +02:00
Detanup01
96005c48ea Update settings.cpp 2024-01-20 18:46:43 +02:00