diff --git a/game_payload/src/hsr/hsr.c b/game_payload/src/hsr/hsr.c index 7744ff0..a669656 100644 --- a/game_payload/src/hsr/hsr.c +++ b/game_payload/src/hsr/hsr.c @@ -9,7 +9,7 @@ const char *HSR_ASSEMBLY_PATH = "GameAssembly.dll"; const char *HSR_TXS_SECTION_NAME = ".ace"; const char *HSR_TVM_SECTION_NAME = ".tvm0"; -#define HSR_VERSION "1.5.0" +#define HSR_VERSION "1.6.0" enum hsr_region { HSR_INVALID, @@ -23,15 +23,15 @@ struct crc_region_pair { }; const struct crc_region_pair HSR_REGIONS[] = { - { 0xb90cbc61, HSR_OS }, // os v1.5.0 - { 0xee3eebfb, HSR_CN } // cn v1.5.0 + { 0x5741ce50, HSR_OS }, // os v1.6.0 + { 0xce891f97, HSR_CN } // cn v1.6.0 }; #define JUMP_SIZE (6 + sizeof(void*)) // Temporarily hardcoded offset -// v1.5.0, same for os and cn -#define WTSUD_PATCH_OFFSET 0x1b800 // 0x16550 will also work +// v1.6.0, same for os and cn +#define WTSUD_PATCH_OFFSET 0x16510 char wtsud_original_bytes[JUMP_SIZE]; char *wtsud_patch_addr;