From dd15dc60e3adfdbca6934f9b95a7077601113362 Mon Sep 17 00:00:00 2001 From: mkrsym1 Date: Sun, 30 Jul 2023 00:50:04 +0300 Subject: [PATCH] Remove I_WANT_A_BAN requirement --- README.md | 3 +-- game_payload/src/hsr.c | 6 ------ 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/README.md b/README.md index 1c2ef3a..1331284 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ### Games and regions - **3rd**: glb v6.7.0 -- **SR**: os/cn v1.2.0 (unsafe, refer to [configuration](#configuration)) +- **SR**: os/cn v1.2.0 (potentially unsafe, but no bans were reported since v1.1.0) It may be possilbe to completely remove the region and version-specific data in the future. Refer to the source code in `game_payload/src` for details. @@ -37,7 +37,6 @@ These environment variables can be used to configure the behaviour of the tool. - `WAIT_BEFORE_RESUME=1` - show a messagebox and wait for user input before resuming the game process. Useful on my side for debugging **SR-exclusive**: -- `I_WANT_A_BAN=1` - allows to launch SR. Please only use testing accounts, as there is an extremely high risk of getting banned - `SRFIX_DISABLE=1` - disable shared resources fix. Not recommended. Doing so will most likely cause the game to not run at all ### Internals diff --git a/game_payload/src/hsr.c b/game_payload/src/hsr.c index b7f81b1..89f3aac 100644 --- a/game_payload/src/hsr.c +++ b/game_payload/src/hsr.c @@ -71,12 +71,6 @@ static void _unityplayer_callback(HMODULE unityModule) { } void hsr_fill_data(struct game_data *buf) { - if (!utils_env_enabled("I_WANT_A_BAN")) { - msg_err_a("Using this tool with HSR is unsafe. Refer to the readme for more details: https://codeberg.org/mkrsym1/jadeite"); - } else { - msg_warn_a("Using this tool with HSR will most likely result in a ban. Please only use testing accounts"); - } - uint32_t crc = utils_file_crc32c("UnityPlayer.dll"); enum game_id id = GAME_INVALID;