Commit Graph

45 Commits

Author SHA1 Message Date
otavepto
fd0126ee25 change Steam_Apps::SetDlcContext() according to review notes by universal963 2024-07-07 02:39:21 +03:00
otavepto
61d519bf0e fix the condition of Steam_Apps::SetActiveBeta() as noted by universal963 + remove deprecated build_id from gen_emu_config 2024-07-07 02:39:21 +03:00
otavepto
3f7ec00719 * parse and use branches data from branches.json
* deprecate build_id in the .ini file
* change Steam_Apps::SetDlcContext() to mimic Steam_Apps::BIsDlcInstalled(), not sure if that's correct
2024-07-07 02:39:21 +03:00
otavepto
89842a3f76 sanity check the arguments + print debug args + todo notes + add missing semicolon 2024-07-07 02:39:21 +03:00
Detanup01
a78a27f21f steam api 1.60 2024-07-07 02:39:21 +03:00
otavepto
6840b20bcb fix conditions for:
* Steam_Apps::BIsSubscribedApp
* Steam_Apps::BIsDlcInstalled
* Steam_Apps::BIsAppInstalled
2024-06-30 05:46:47 +03:00
otavepto
c28a1f1f52 fix more VS2022 warnings 2024-06-04 21:58:04 +03:00
Detanup01
7c5b4e5325 Its done
(only left like the >or < comparision with unsigned/signed)
steam_matchmaking.cpp(241,40) has C4244 issue, look into it!
2024-05-27 23:24:38 +03:00
otavepto
6c1ea7edd5 solve compile error due to usage of microsoft-specific constructor when building on win with msys2 2024-05-22 05:29:20 +03:00
otavepto
27a8bba702 * corrected callbacks vs call results + a missing callback in UGC
* another missed spam in overlay
2024-05-07 06:22:34 +03:00
otavepto
303cdd2878 * don't merge steam preowned ids with user dlc list or installed apps list
* disable steam preowned ids by default and make it an opt-in option
* deprecate `disable_steam_preowned_ids` in favor of `enable_steam_preowned_ids`
2024-04-28 19:44:10 +03:00
otavepto
d8f9741459 revert the changes to Steam_Apps::BIsAppInstalled(), not it will return true for owned DLCs 2024-04-20 19:30:29 +02:00
otavepto
4d895b63b0 more accurate implementation for callbacks and call results in UserStats and GameServerStats interfaces 2024-04-11 06:40:29 +02:00
otavepto
0b5d38ae7e * properly implement Steam_Apps::GetAvailableGameLanguages()
* ensure current emu language is inside supported_languages list
2024-04-06 08:30:08 +02:00
otavepto
5417e0e4c2 Steam_Apps::GetCurrentBetaName() make sure the out buffer is null terminated 2024-03-17 01:58:57 +02:00
otavepto
f00fdac3ac update comment + changelog 2024-03-17 01:22:18 +02:00
bitsynth
5a7fa86310 fix Age of Empires 2: Definitive Edition
this game expects the current app to exist as a owned DLC. if not true, the game will only load the "Return of Rome" game mode, if that DLC is owned, or load the base game with most options disabled if it is not
2024-03-17 01:15:08 +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
otavepto
45d76fbc31 bunch of scoped debug messages 2024-01-20 18:46:43 +02:00
otavepto
dfc55067e2 static early purchase time 2023-12-28 02:15:09 +02:00
otavepto
440d8335e2 fixed a bunch of includes 2023-12-28 01:30:46 +02:00
otavepto
4fb6dcb3fa + learned the lesson, lock the global mutex in different other places just to be on the safe side, after lego 2k I am hesitent about all APIs, will this slow things down?
+ refactor some debug messages
2023-12-20 05:32:17 +02:00
otavepto
1333168d4a basic implementation for RequestAppProofOfPurchaseKey() and RequestAllProofOfPurchaseKeys() 2023-12-20 05:30:21 +02:00
otavepto
30c5b4eaa0 a simple implementation for GetEarliestPurchaseUnixTime() 2023-12-20 05:30:21 +02:00
otavepto
7bf9564005 current app shouldn't be a DLC right? 2023-12-20 05:30:21 +02:00
otavepto
9393518dfa check for invalid app ID uint32_max in different other places 2023-12-20 05:30:21 +02:00
otavepto
8289ec81a7 + fixed the implementation of BIsAppInstalled(), it must lock the global mutex since it is thread-safe, otherwise it will cause starvation and the current thread wion't yield, which triggers some games
+ even more accurate behavior for BIsAppInstalled(), reject app ID if it was in the DLC list and isUnlockAllDlc was false

+ citing the source for app id 0
2023-12-20 05:30:21 +02:00
otavepto
6ed6a0a04b + changed the behavior of GetCurrentBetaName() to comply with the docs, might break stuff
+ allow customizing the behavior via is_beta_branch.txt + force_branch_name.txt config files
2023-12-18 05:45:21 +02:00
otavepto
fa8f594207 + more accurate implementation for BIsAppInstalled, it now rejects uint32_max
+ allow behavior customizization via installed_app_ids.txt config file

+ limit/lock list of installed apps on an empty file (similar to dlc.txt)
2023-12-18 05:45:21 +02:00
Mr_Goldberg
c22b3cd3d3
Fix crash. 2022-08-10 03:24:53 -04:00
Mr_Goldberg
ba877b6e78
sdk 1.55 2022-08-05 01:32:20 -04:00
Mr_Goldberg
d3e8a701dd
All interface versions from sdk 1.0 and up are now supported. 2022-07-31 15:49:45 -04:00
Mr_Goldberg
c8092f9f45
Implement GetFileDetails. 2021-09-19 01:07:19 -04:00
Mr_Goldberg
69188b8d3e
GetAvailableGameLanguages should at least return the language set in the emu. 2021-09-10 14:18:00 -04:00
Mr_Goldberg
f041b95c86
Add a way to config the build id in the emu. Fix crash due to empty lines
in some files

Add a way to disable lobby creation in the emu (lobby creation will return
an error when enabled)
2021-08-07 01:46:10 -04:00
Mr_Goldberg
66e596ea29
Update to sdk 1.49 2020-06-14 16:04:43 -04:00
Mr_Goldberg
05e6c103f8
Fix compile error. 2020-01-31 15:47:56 -05:00
Mr_Goldberg
6ccb8f6c0b
ISteamApps 002-007 implemented. 2020-01-31 14:32:28 -05:00
Mr_Goldberg
9deef8c6f3
Add a depots.txt to configure values returned by the getinstalleddepots function. 2020-01-31 14:31:29 -05:00
Mr_Goldberg
b8aa74af0e
GetAppInstallDir accuracy improvements. 2019-12-12 14:11:05 -05:00
Mr_Goldberg
1d19d49419
Increase return value of GetAppBuildId. 2019-08-12 10:40:16 -04:00
Mr_Goldberg
55835de708
Untested version of GetInstalledDepots. 2019-07-20 14:45:37 -04:00
Mr_Goldberg
a36f6e8e68
Add support for setting app/DLC paths. 2019-05-09 08:10:03 -04:00
Mr_Goldberg
d968c3e1b5
Initial commit. 2019-04-13 12:21:56 -04:00