SR 2.0.0: update checksums
This commit is contained in:
parent
8520356083
commit
b36d217284
@ -9,7 +9,7 @@ const char *HSR_ASSEMBLY_PATH = "GameAssembly.dll";
|
|||||||
const char *HSR_TXS_SECTION_NAME = ".ace";
|
const char *HSR_TXS_SECTION_NAME = ".ace";
|
||||||
const char *HSR_TVM_SECTION_NAME = ".tvm0";
|
const char *HSR_TVM_SECTION_NAME = ".tvm0";
|
||||||
|
|
||||||
#define HSR_VERSION "1.6.0"
|
#define HSR_VERSION "2.0.0"
|
||||||
|
|
||||||
enum hsr_region {
|
enum hsr_region {
|
||||||
HSR_INVALID,
|
HSR_INVALID,
|
||||||
@ -23,14 +23,14 @@ struct crc_region_pair {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const struct crc_region_pair HSR_REGIONS[] = {
|
const struct crc_region_pair HSR_REGIONS[] = {
|
||||||
{ 0x5741ce50, HSR_OS }, // os v1.6.0
|
{ 0x5be3a560, HSR_OS }, // os v2.0.0
|
||||||
{ 0xce891f97, HSR_CN } // cn v1.6.0
|
{ 0x974e826f, HSR_CN } // cn v2.0.0
|
||||||
};
|
};
|
||||||
|
|
||||||
#define JUMP_SIZE (6 + sizeof(void*))
|
#define JUMP_SIZE (6 + sizeof(void*))
|
||||||
|
|
||||||
// Temporarily hardcoded offset
|
// Temporarily hardcoded offset
|
||||||
// v1.6.0, same for os and cn
|
// v2.0.0, same for os and cn
|
||||||
#define WTSUD_PATCH_OFFSET 0x16510
|
#define WTSUD_PATCH_OFFSET 0x16510
|
||||||
|
|
||||||
char wtsud_original_bytes[JUMP_SIZE];
|
char wtsud_original_bytes[JUMP_SIZE];
|
||||||
|
Loading…
Reference in New Issue
Block a user