Commit Graph

  • a57d9d5db7 terminate the process before displaying the error message otavepto 2023-12-24 06:42:25 +02:00
  • 31d12fb0f9 reset these initially otavepto 2023-12-24 06:42:02 +02:00
  • 29ce0ae93d return exit code 1 or any error otavepto 2023-12-24 06:41:34 +02:00
  • 21ac6c7a17 use the recommended securezeromemory otavepto 2023-12-24 06:40:33 +02:00
  • 0b8eb76bdd use the suggested way in the docs to zero-out these structs otavepto 2023-12-24 06:39:42 +02:00
  • 71b5c5eaed pass loader arguments to target exe, allowing it to be used from external callers otavepto 2023-12-24 06:39:00 +02:00
  • dd40cfac70 updated mods.EXAMPLE.json otavepto 2023-12-23 18:43:01 +02:00
  • 4121101400 also allow setting the mod "score" in the mods.json otavepto 2023-12-23 18:29:36 +02:00
  • 9822f4d766 allow overriding mod path & mod preview_url in the mods.json file, suggested by remelt from: viewtopic.php?p=2964432#p2964432 otavepto 2023-12-23 18:28:54 +02:00
  • 555bafae0b use the index argument to grab the preview URL from UGC query result, thanks to remelt from: viewtopic.php?p=2964432#p2964432 otavepto 2023-12-23 19:08:16 +02:00
  • 1c84f2c324 use a global ticket counter for GC struct otavepto 2023-12-24 01:27:05 +02:00
  • b5923696cd wrong buffer! otavepto 2023-12-23 17:02:06 +02:00
  • 83621b58e8 updated json library otavepto 2023-12-23 16:09:58 +02:00
  • 95fe01ef9f updated Auth_Data serializtion method to add a signature to the data otavepto 2023-12-23 16:09:45 +02:00
  • c190c6ff93 updated the Windows build script to include the source files of the Mbed TLS library + refactored to be similar to the Linux script & use a common variable for source files otavepto 2023-12-23 16:48:49 +02:00
  • 7a3d31cabe updated the Linux build script to include the source files of the Mbed TLS library otavepto 2023-12-23 16:47:28 +02:00
  • bdd0bf3bda updated Windows + Linux build scripts to add the includes folder for the new Mbed TLS library otavepto 2023-12-23 16:06:39 +02:00
  • 92c77cee31 added a new cryptography library Mbed TLS otavepto 2023-12-23 16:05:24 +02:00
  • a1c41db373 updated Windows + Linux build scripts to include the new folder for fifo_map library otavepto 2023-12-23 16:03:50 +02:00
  • e5cd2d957d separate the fifo_map library into separate folder otavepto 2023-12-23 16:00:47 +02:00
  • c81e26c94f added licenses & sources of all extrnal libraries otavepto 2023-12-23 15:43:23 +02:00
  • a626470846 refactored the serializatio of Auth_Data otavepto 2023-12-22 20:51:25 +02:00
  • 48a8ada43f very minor refactoring to Auth_Data a 2023-12-22 09:36:53 +02:00
  • c5ce7ad44b completely refactor the serialization of AppTicket a 2023-12-22 09:35:56 +02:00
  • e379220e16 completely refactor the serialization of AppTicketGC a 2023-12-22 09:33:37 +02:00
  • 342d0a27b5 fixed is a sneaky instatnt memory deallocation, check this for details: viewtopic.php?p=2962649#p2962649 a 2023-12-22 09:28:43 +02:00
  • 0e584aa09c hide these fields since they're constant for now, to make it clear for external callers that these are not meant to change a 2023-12-22 09:21:56 +02:00
  • 8b4914a684 use standard fixed-size types instead of SDK types since the size of the data is important, to avoid any magic compiler definitions (love C++) a 2023-12-22 09:19:53 +02:00
  • e8f64faf17 add a new serialization method to DLC struct a 2023-12-22 09:16:42 +02:00
  • af86d6efc2 TODO notes for later, if needed a 2023-12-22 09:15:46 +02:00
  • 355537bb19 cache the usage of user ID, for clarity a 2023-12-22 09:15:22 +02:00
  • 85c98a5933 avoid incrementing the counter beyond the DLC count a 2023-12-22 09:14:03 +02:00
  • 205d88b204 + used std::chrono to set the expiration time of the ticket instead of hardcoded numbers, for clarity. isn't 24 hours a very long time? a 2023-12-22 09:12:52 +02:00
  • 7b4d447553 use a helper macro to set IP4, for clarity a 2023-12-22 09:08:29 +02:00
  • 20d5252e9c additional sanity check in InitiateGameConnection() + print input data address a 2023-12-22 09:06:20 +02:00
  • adeb14f364 check for invalid data pointer in GetAuthSessionTicket() a 2023-12-22 09:05:19 +02:00
  • 23c435bfea moved functions around for a clearer context a 2023-12-22 09:04:25 +02:00
  • 681fbc4ecb deprecate the old auth implementation in base.cpp/.h a 2023-12-22 09:01:28 +02:00
  • b697c8bd2d All Auth token support Detanup01 2023-12-21 20:25:37 +01:00
  • 7e189c3ee5 update + cleanup changelog otavepto 2023-12-21 20:06:05 +02:00
  • c9e653fee7 use an obnoxious name for the file handle variable used in the PRINT_DEBUG macro to avoid collisions, in the caller has a variable with same name otavepto 2023-12-21 05:33:12 +02:00
  • 6374c9e7f3 + in Linux build scripts don't use -d flag with rm otavepto 2023-12-20 23:59:35 +02:00
  • e28752420a cleanup the settings parser code, split into functions otavepto 2023-12-20 17:30:06 +02:00
  • cf41523751 refactor includes order + add new helper function to keep yielding the thread for a given amount of time otavepto 2023-12-20 17:10:25 +02:00
  • 0a50c37584 don't cache deps build when pushing tag or opening pull requests otavepto 2023-12-20 15:37:05 +02:00
  • 62afce33ca remove hardcoded repo path + remove Git LFS flag since it's no longer needed otavepto 2023-12-20 15:07:01 +02:00
  • 098a490d3a Update README.md otavepto 2023-12-20 07:56:18 +02:00
  • 22470b5ab9 fixed printf specifier to avoid the warnings spam otavepto 2023-12-20 06:14:23 +02:00
  • 00e3132814 update changelog otavepto 2023-12-20 05:22:02 +02:00
  • 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? otavepto 2023-12-19 22:17:29 +02:00
  • 1333168d4a basic implementation for RequestAppProofOfPurchaseKey() and RequestAllProofOfPurchaseKeys() otavepto 2023-12-19 04:20:59 +02:00
  • 30c5b4eaa0 a simple implementation for GetEarliestPurchaseUnixTime() otavepto 2023-12-19 04:19:16 +02:00
  • 7bf9564005 current app shouldn't be a DLC right? otavepto 2023-12-19 04:14:55 +02:00
  • 9393518dfa check for invalid app ID uint32_max in different other places otavepto 2023-12-19 04:13:54 +02:00
  • 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 otavepto 2023-12-18 15:03:14 +02:00
  • 5c8a57e7af more accurate implementation for BGetSessionClientResolution otavepto 2023-12-19 16:39:51 +02:00
  • d02f32327e more accurate implementation for Steam_Client::BReleaseSteamPipe(), return true if the pipe was released successfully otavepto 2023-12-18 14:45:35 +02:00
  • f397f73644 add missing env var "SteamOverlayGameId" to steam_client and client_loader otavepto 2023-12-19 16:48:07 +02:00
  • f83d930e7b added a timer + counter for reference, currently used to print timestamp in debug log otavepto 2023-12-20 04:13:31 +02:00
  • ca043837d9 consistent debug log location, for games that change cwd multiple times while running otavepto 2023-12-19 22:32:29 +02:00
  • 0b49bd3338 + fixed error propagation in Windows build script, apparently set /a var+=another_var works only if another_var is a defined env var but NOT one of the "magic" builtins like errorlevel otavepto 2023-12-19 19:58:41 +02:00
  • 9050fbe9eb update changelog otavepto 2023-12-18 05:33:55 +02:00
  • 6ed6a0a04b + changed the behavior of GetCurrentBetaName() to comply with the docs, might break stuff otavepto 2023-12-18 05:21:31 +02:00
  • fa8f594207 + more accurate implementation for BIsAppInstalled, it now rejects uint32_max otavepto 2023-12-18 05:08:23 +02:00
  • 90b403fb3d + add package scripts ota 2023-12-17 01:58:52 +02:00
  • 8390e96972 + self reference the deps from the corresponding branches in this repo, this makes the repo self contained ota 2023-12-16 19:51:55 +02:00
  • 8fb7231a36 friendly workflows names ota 2023-12-16 17:50:30 +02:00
  • 21c21737e7 trigger on specific branches + on pull request to dev ota 2023-12-16 17:35:56 +02:00
  • f2d1f046e2 keep all workflow artifacts for 1 day only ota 2023-12-16 17:35:20 +02:00
  • 7ddae813f9 + use env vars for deps cache key & cache dir ota 2023-12-16 16:44:23 +02:00
  • 9530f4111e chmod 777 gen emu config in linux & use sudo ota 2023-12-16 09:59:59 +02:00
  • 6afb4560d0 + friendly name for linux gen emu config workflow ota 2023-12-16 09:56:33 +02:00
  • e19d2a423f add workflow scripts for Windows & Linux for generate_emu_config ota 2023-12-16 09:55:36 +02:00
  • f2b937c9b5 update gitignore to ignore folders generated by both Windows & Linux scripts in generate_emu_config ota 2023-12-16 09:54:53 +02:00
  • 01b8259200 update generate_emu_config scripts to support Linux, it worked! ota 2023-12-16 09:53:41 +02:00
  • 4a7fedecd0 check for cmake after installind packges, because CI doesn't care about cmake during build, only installing packages step ota 2023-12-16 08:41:01 +02:00
  • ef7801922a add a workaround for the separate VMs running the jobs on CI ota 2023-12-16 08:37:31 +02:00
  • 4c89a18dda + fix workspace variable usage in all workflow scripts ota 2023-12-16 07:25:21 +02:00
  • 62284e3427 + add Generate emu config workflow for win ota 2023-12-16 07:20:05 +02:00
  • ffa44914dd + specify certain OS version ota 2023-12-16 06:37:14 +02:00
  • 5e36cca71e rename Windows workflow script ota 2023-12-16 06:24:23 +02:00
  • 69b29efc26 + reorder steps to upload artifact after build ota 2023-12-16 06:22:06 +02:00
  • c408cc4808 + add artifact upload steps ota 2023-12-16 06:08:03 +02:00
  • 2e69c038cc + check for vswhere before attempting any detection ota 2023-12-15 20:01:14 +02:00
  • 6fa1ba1bec initial attempt at msbuild.yml workflow for win build otavepto 2023-12-15 15:12:26 +02:00
  • 1008c040cc + stop tracking third party deps in main repo ota 2023-12-15 21:00:31 +02:00
  • 9cfed39a21 remove gitlab CI script ota 2023-12-16 16:42:16 +02:00
  • 2807eea527 add files ota 2023-12-16 20:34:09 +02:00
  • b523ab22a1 add files ota 2023-12-16 20:31:59 +02:00
  • 488955b33c add files ota 2023-12-16 20:29:59 +02:00
  • 32c8c7e730 add files ota 2023-12-16 20:27:57 +02:00
  • 754742c6fc add files ota 2023-12-16 20:26:27 +02:00
  • f71e46fb25 added changelog a 2023-12-09 12:58:35 +02:00
  • 0ffc15352c SDK v1.58a + some fixes to the APIs a 2023-12-06 01:46:59 +02:00
  • 20105997de (RIN forum) added fix for glyphs icons for xbox 360 controller by 0x0315 from https://cs.rin.ru/forum/viewtopic.php?p=2949498#p2949498 a 2023-12-02 06:11:19 +02:00
  • 5f004ab471 (RIN forum) added updated translations for Russian to the overlay by GogoVan from https://cs.rin.ru/forum/viewtopic.php?p=2939565#p2939565 a 2023-11-18 18:10:23 +02:00
  • e7a277678b (RIN forum) added updated translations for Spanish + Latin American to the overlay by dragonslayer609 from https://cs.rin.ru/forum/viewtopic.php?p=2936892#p2936892 a 2023-11-13 01:02:28 +02:00
  • 439ffa5237 (RIN forum) added cvsR4U1 by ce20fdf2 from https://cs.rin.ru/forum/viewtopic.php?p=2936697#p2936697 a 2023-11-12 23:09:17 +02:00
  • 32983f861a updated Linux build script for the utf-8 lib a 2023-11-17 23:20:04 +02:00
  • ce0d862b67 updated Windows build script for the utf-8 lib a 2023-11-17 22:53:52 +02:00