Commit Graph

1724 Commits

Author SHA1 Message Date
otavepto
6840b20bcb fix conditions for:
* Steam_Apps::BIsSubscribedApp
* Steam_Apps::BIsDlcInstalled
* Steam_Apps::BIsAppInstalled
2024-06-30 05:46:47 +03:00
otavepto
90dee82377 more utf-8 with std::filesystem 2024-06-30 03:18:39 +03:00
otavepto
21521ae72c extract common files, defines, and includes + fix all build problems 2024-06-30 03:18:39 +03:00
otavepto
2556db1f84 use keyword auto for simplicity and avoiding false positive results when searching via ctrl+f 2024-06-30 03:18:39 +03:00
otavepto
638eb78f0f use the new logger in all dll code base 2024-06-30 03:18:39 +03:00
otavepto
26b8baefa6 use utfcpp lib to convert utf8<->utf16 strings instead of Windows specific apis 2024-06-30 03:18:39 +03:00
otavepto
378555cfc7 networkingsocketslib: use new logger 2024-06-30 03:18:39 +03:00
otavepto
5cccad0e67 rewrite cold client loader to use simpleini lib + use multibyte std::string + new logger 2024-06-30 03:18:39 +03:00
otavepto
e03ed9e1cd separate header file for OS detection 2024-06-30 03:18:39 +03:00
otavepto
15bc66a1da object based logger 2024-06-30 03:18:39 +03:00
otavepto
dcd3713b3c pe_helpers: use multibyte std::string + write null terminator when injecting dll (not needed but to be safe) 2024-06-30 03:18:39 +03:00
otavepto
92a38b2f2f settings_parser: use multibyte std::string 2024-06-30 03:18:39 +03:00
otavepto
8208d1541d crash_printer: use multibyte std::string 2024-06-30 03:18:39 +03:00
otavepto
00f1268e31 helper function to convert between utf-8 and utf-16 2024-06-30 03:18:39 +03:00
otavepto
efc062f6be move remove_file() inside common helpers 2024-06-30 03:18:39 +03:00
otavepto
ef2f814765 fix that stupid mistake 2024-06-30 03:18:39 +03:00
otavepto
e35e2e5a4e compare language value of steam_settings/achievements.json case-insensitive 2024-06-30 03:18:39 +03:00
otavepto
21cab8b378 compare language case-insensitive in overlay 2024-06-30 03:18:39 +03:00
otavepto
433dc405bd gen_emu_config: make sure each line in supported languages is lowercase 2024-06-30 03:18:39 +03:00
otavepto
4b49edbf5e improve usage of std::string_view, passing them as const ref is useless since they don't allocated anything and cheap to copy (no allocations) 2024-06-30 03:18:39 +03:00
otavepto
4076a47d87 note on invalid usage 2024-06-25 02:05:45 +03:00
otavepto
caea115cf7 update readmes + changlog & credits 2024-06-24 22:27:31 +03:00
qingchun
a423c4519d Remove Chinese translation spaces 2024-06-24 17:39:28 +03:00
qingchun
f61a2a48fe Update Chinese steam overlay translations 2024-06-24 17:39:28 +03:00
otavepto
02432c7f8f fix that comment 2024-06-23 19:16:44 +03:00
otavepto
b97f6fe97d print debug overlay args of Steam_Overlay::AddAchievementNotification() 2024-06-23 19:16:44 +03:00
otavepto
6ee0628750 add a new option save_only_higher_stat_achievement_progress and enable it by default toa void progress spam from stats which are tied to an achievement 2024-06-23 19:16:44 +03:00
otavepto
ace1a591e5 in Steam_User_Stats::ResetAllStats() reset progress only if it was defined in the original schema 2024-06-23 19:16:44 +03:00
otavepto
6bf45a35e2 avoid a scenario where progress might exist but not max_progress is user data 2024-06-23 19:16:44 +03:00
otavepto
2bea12e199 display & save progress/max_progress as uint32 2024-06-23 19:16:44 +03:00
otavepto
de03379602 add an option to allow the game to change unknown stats 2024-06-23 19:16:44 +03:00
otavepto
b67cb48f38 change default notification duration 2024-06-21 21:53:53 +03:00
otavepto
bd5c9bae58 changelog + date 2024-06-21 20:00:32 +03:00
otavepto
bd92ee624b if load_order.txt is present then only load these .dll files in order, otherwise load all valid .dlls 2024-06-21 07:48:30 +03:00
otavepto
d30a5bf081 use the dynamic notifications timing 2024-06-20 21:49:22 +03:00
otavepto
fcb40ac86d allow specifying durations for each notification type 2024-06-20 21:49:22 +03:00
otavepto
6653f91e88 set window size/pos at the relevant place, each window sets its own 2024-06-20 21:49:22 +03:00
otavepto
f29bde9551 show warning once + remove useless flag 2024-06-20 21:49:22 +03:00
otavepto
369de6b01c replace this funny example font with proper one 2024-06-20 21:49:22 +03:00
otavepto
0f878aec4b MY EYES! 2024-06-20 02:57:39 +03:00
otavepto
00a9a34aab that was the reason for crashing on exit?! 2024-06-20 01:24:06 +03:00
otavepto
a48637dead just to be safe set overlay hook to empty func on exit 2024-06-20 00:36:04 +03:00
otavepto
d4deaef242 fix that mistake, we need the notification message/string to calc height dynamically 2024-06-19 15:09:19 +03:00
otavepto
0e47a2bd73 revert sharing progress with gameserver, pointless 2024-06-19 15:09:19 +03:00
otavepto
cd21b54e6b * always trigger UserStatsStored_t and UserAchievementStored_t callbacks in Steam_User_Stats::IndicateAchievementProgress() even if value wasn't updated, games my halt otherwise
* return false in Steam_User_Stats::GetAchievementProgressLimits() if the achievement has no progress
* share progress info with gameservers
2024-06-19 15:09:19 +03:00
otavepto
aa791b5256 * remove invalid condition when resetiing stats, only write to disk and share with gameserver if value isn't already the default
* try-catch access to progress and max_progress durong construction since they throw exception for achievements with no progress, making them standalone/safe
2024-06-19 15:09:19 +03:00
otavepto
9e15af4ec8 fix the conditions for progress indication + remove invalid code when resetting stats 2024-06-19 15:09:19 +03:00
otavepto
987d29084c update changelog/date + copy credits.md too 2024-06-17 11:09:08 +03:00
otavepto
77f71aab59 hopefully fixes packages paths 2024-06-17 10:50:18 +03:00
otavepto
aa96e8c623 fix release script (linux) 2024-06-17 10:50:18 +03:00