wicked-waifus-win-patch/archive.md

335 lines
12 KiB
Markdown

# CN LIVE 2.0.0
```rust
#[cfg(feature = "cn_live_2_0_2")]
pub(crate) const CONFIG: InjectConfiguration = InjectConfiguration {
f_pak_file_check: 0x4052560,
f_pak_file_check_preamble: 0x8D48574157565540,
resize_grow: 0x08C8E00,
f_print_f: 0x27440D0,
add_pak_folders_entry: 0x4059A40,
add_pak_folders_ret: 0x405C270,
#[cfg(all(not(feature = "only-sig-bypass"), feature = "regular"))]
ue_curl_config: CurlConfig {
handle_rcx_relative_offset: 0x110,
url_handle_relative_offset: 0x880,
curl_easy_setopt: 0x63EB660,
curl_easy_perform: 0x39F47C0,
},
#[cfg(all(not(feature = "only-sig-bypass"), feature = "regular"))]
replacement_config: ReplacementConfig {
config_server_regex: r#"^(https|http)://.*/([a-zA-Z0-9]{32}/index\.json)$"#,
// hotpatch_server_regex: "",
log_server_regex: r#"^(https|http)://.*\.cos\..*\.myqcloud\.com/(.*)$"#,
// sdk_server_regex: "",
},
#[cfg(all(not(feature = "enable-sdk"), not(feature = "only-sig-bypass"), feature = "regular"))]
disable_sdk: DisableSdkConfiguration {
sdk_dll: s!("KRSDKEx.dll"),
eula_accept: 0x4E710,
sdk_go_away: 0x91960,
},
};
```
# CN LIVE BILIBILI 2.0.0
```rust
#[cfg(feature = "cn_live_bilibili_2_0_2")]
pub(crate) const CONFIG: InjectConfiguration = InjectConfiguration {
f_pak_file_check: 0x4052560,
f_pak_file_check_preamble: 0x8D48574157565540,
resize_grow: 0x08C8E00,
f_print_f: 0x27440D0,
add_pak_folders_entry: 0x4059A40,
add_pak_folders_ret: 0x405C270,
#[cfg(all(not(feature = "only-sig-bypass"), feature = "regular"))]
ue_curl_config: CurlConfig {
handle_rcx_relative_offset: 0x110,
url_handle_relative_offset: 0x880,
curl_easy_setopt: 0x63EB660,
curl_easy_perform: 0x39F47C0,
},
#[cfg(all(not(feature = "only-sig-bypass"), feature = "regular"))]
replacement_config: ReplacementConfig {
config_server_regex: r#"^(https|http)://.*/([a-zA-Z0-9]{32}/index\.json)$"#,
// hotpatch_server_regex: "",
log_server_regex: r#"^(https|http)://.*\.cos\..*\.myqcloud\.com/(.*)$"#,
// sdk_server_regex: "",
},
#[cfg(all(not(feature = "enable-sdk"), not(feature = "only-sig-bypass"), feature = "regular"))]
disable_sdk: DisableSdkConfiguration {
sdk_dll: s!("KRSDKEx.dll"),
eula_accept: 0x53310,
sdk_go_away: 0x925F0,
},
};
```
# OS LIVE 2.0.0
```rust
#[cfg(feature = "os_live_2_0_2")]
pub(crate) const CONFIG: InjectConfiguration = InjectConfiguration {
f_pak_file_check: 0x3FF8E50,
f_pak_file_check_preamble: 0x8D48574157565540,
resize_grow: 0x08C61C0,
f_print_f: 0x26E96F0,
add_pak_folders_entry: 0x4000330,
add_pak_folders_ret: 0x4002B60,
#[cfg(all(not(feature = "only-sig-bypass"), feature = "regular"))]
ue_curl_config: CurlConfig {
handle_rcx_relative_offset: 0x110,
url_handle_relative_offset: 0x880,
curl_easy_setopt: 0x63598C0,
curl_easy_perform: 0x3997FA0,
},
#[cfg(all(not(feature = "only-sig-bypass"), feature = "regular"))]
replacement_config: ReplacementConfig {
config_server_regex: r#"^(https|http)://.*/([a-zA-Z0-9]{32}/index\.json)$"#,
// hotpatch_server_regex: "",
log_server_regex: r#"^(https|http)://.*\.cos\..*\.myqcloud\.com/(.*)$"#,
// sdk_server_regex: "",
},
#[cfg(all(not(feature = "enable-sdk"), not(feature = "only-sig-bypass"), feature = "regular"))]
disable_sdk: DisableSdkConfiguration {
sdk_dll: s!("KRSDK.dll"),
eula_accept: 0x96800,
sdk_go_away: 0xA2680,
},
};
```
# CN BETA 2.0.0
```rust
#[cfg(feature = "cn_beta_2_0_0")]
pub(crate) const CONFIG: InjectConfiguration = InjectConfiguration {
f_pak_file_check: 0x403AD00,
f_pak_file_check_preamble: 0x8D48574157565540,
#[cfg(all(not(feature = "only-sig-bypass"), feature = "regular"))]
ue_curl_config: CurlConfig {
handle_rcx_relative_offset: 0x110,
url_handle_relative_offset: 0x880,
curl_easy_setopt: 0x63D30C0,
curl_easy_perform: 0x39DD6E0,
},
#[cfg(all(not(feature = "only-sig-bypass"), feature = "regular"))]
replacement_config: ReplacementConfig {
config_server_regex: r#"^(https|http)://.*/([a-zA-Z0-9]{32}/index\.json)$"#,
// hotpatch_server_regex: "",
log_server_regex: r#"^(https|http)://.*\.cos\..*\.myqcloud\.com/(.*)$"#,
// sdk_server_regex: "",
},
#[cfg(all(not(feature = "enable-sdk"), not(feature = "only-sig-bypass"), feature = "regular"))]
disable_sdk: DisableSdkConfiguration {
sdk_dll: s!("KRSDKEx.dll"),
eula_accept: 0x4E580,
sdk_go_away: 0x90B90,
},
};
```
# OS BETA 2.0.0
```rust
#[cfg(feature = "os_beta_2_0_0")]
pub(crate) const CONFIG: InjectConfiguration = InjectConfiguration { // TODO
f_pak_file_check: 0x3E37D90,
f_pak_file_check_preamble: 0x8148574157565340,
#[cfg(all(not(feature = "only-sig-bypass"), feature = "regular"))]
ue_curl_config: CurlConfig {
handle_rcx_relative_offset: 0x110,
url_handle_relative_offset: 0x880,
curl_easy_setopt: 0x6187020,
curl_easy_perform: 0x37DDDD0,
},
#[cfg(all(not(feature = "only-sig-bypass"), feature = "regular"))]
replacement_config: ReplacementConfig {
config_server_regex: r#"^(https|http)://.*/([a-zA-Z0-9]{32}/index\.json)$"#,
// hotpatch_server_regex: "",
log_server_regex: r#"^(https|http)://.*\.cos\..*\.myqcloud\.com/(.*)$"#,
// sdk_server_regex: "",
},
#[cfg(all(not(feature = "enable-sdk"), not(feature = "only-sig-bypass"), feature = "regular"))]
disable_sdk: DisableSdkConfiguration {
sdk_dll: s!("KRSDKEx.dll"),
eula_accept: 0x4A6D0,
sdk_go_away: 0x8BB40,
},
};
```
# CN LIVE 1.4
```rust
#[cfg(feature = "cn_live_1_4_0")]
pub(crate) const CONFIG: InjectConfiguration = InjectConfiguration { // TODO
f_pak_file_check: 0x3E37D90,
f_pak_file_check_preamble: 0x8148574157565340,
#[cfg(all(not(feature = "only-sig-bypass"), feature = "regular"))]
ue_curl_config: CurlConfig {
handle_rcx_relative_offset: 0x110,
url_handle_relative_offset: 0x880,
curl_easy_setopt: 0x6187020,
curl_easy_perform: 0x37DDDD0,
},
#[cfg(all(not(feature = "only-sig-bypass"), feature = "regular"))]
replacement_config: ReplacementConfig {
config_server_regex: r#"^(https|http)://.*/([a-zA-Z0-9]{32}/index\.json)$"#,
// hotpatch_server_regex: "",
log_server_regex: r#"^(https|http)://.*\.cos\..*\.myqcloud\.com/(.*)$"#,
// sdk_server_regex: "",
},
#[cfg(all(not(feature = "enable-sdk"), not(feature = "only-sig-bypass"), feature = "regular"))]
disable_sdk: DisableSdkConfiguration {
sdk_dll: s!("KRSDKEx.dll"),
eula_accept: 0x4A6D0,
sdk_go_away: 0x8BB40,
},
};
```
# OS LIVE 1.4
```rust
#[cfg(feature = "os_live_1_4_0")]
pub(crate) const CONFIG: InjectConfiguration = InjectConfiguration { // TODO
f_pak_file_check: 0x3DE6650, // 0x3DE6650 // 0x8879a13
f_pak_file_check_preamble: 0x5741544156535540, // 0x5741544156535540 // 0x8D49575355e38949
#[cfg(all(not(feature = "only-sig-bypass"), feature = "regular"))]
ue_curl_config: CurlConfig {
handle_rcx_relative_offset: 0x110,
url_handle_relative_offset: 0x880,
curl_easy_setopt: 0x60FD460,
curl_easy_perform: 0x37894E0,
},
#[cfg(all(not(feature = "only-sig-bypass"), feature = "regular"))]
replacement_config: ReplacementConfig {
config_server_regex: r#"^(https|http)://.*/([a-zA-Z0-9]{32}/index\.json)$"#,
// hotpatch_server_regex: "",
log_server_regex: r#"^(https|http)://.*\.cos\..*\.myqcloud\.com/(.*)$"#,
// sdk_server_regex: "",
},
#[cfg(all(not(feature = "enable-sdk"), not(feature = "only-sig-bypass"), feature = "regular"))]
disable_sdk: DisableSdkConfiguration {
sdk_dll: s!("KRSDKEx.dll"),
eula_accept: 0x959D0,
sdk_go_away: 0xA1810,
},
};
```
# CN BETA 1.4
```rust
#[cfg(feature = "cn_beta_1_4_0")]
pub(crate) const CONFIG: InjectConfiguration = InjectConfiguration {
f_pak_file_check: 0x3E37D90,
f_pak_file_check_preamble: 0x8148574157565340,
#[cfg(all(not(feature = "only-sig-bypass"), feature = "regular"))]
ue_curl_config: CurlConfig {
handle_rcx_relative_offset: 0x110,
url_handle_relative_offset: 0x880,
curl_easy_setopt: 0x6187020,
curl_easy_perform: 0x37DDDD0,
},
#[cfg(all(not(feature = "only-sig-bypass"), feature = "regular"))]
replacement_config: ReplacementConfig {
config_server_regex: r#"^(https|http)://.*/([a-zA-Z0-9]{32}/index\.json)$"#,
// hotpatch_server_regex: "",
log_server_regex: r#"^(https|http)://.*\.cos\..*\.myqcloud\.com/(.*)$"#,
// sdk_server_regex: "",
},
#[cfg(all(not(feature = "enable-sdk"), not(feature = "only-sig-bypass"), feature = "regular"))]
disable_sdk: DisableSdkConfiguration {
sdk_dll: s!("KRSDKEx.dll"),
eula_accept: 0x4A6D0,
sdk_go_away: 0x8BB40,
},
};
```
# OS BETA 1.4
```rust
#[cfg(feature = "os_beta_1_4_0")]
pub(crate) const CONFIG: InjectConfiguration = InjectConfiguration {
f_pak_file_check: 0x3E37D90,
f_pak_file_check_preamble: 0x8148574157565340,
#[cfg(all(not(feature = "only-sig-bypass"), feature = "regular"))]
ue_curl_config: CurlConfig {
handle_rcx_relative_offset: 0x110,
url_handle_relative_offset: 0x880,
curl_easy_setopt: 0x6187020,
curl_easy_perform: 0x37DDDD0,
},
#[cfg(all(not(feature = "only-sig-bypass"), feature = "regular"))]
replacement_config: ReplacementConfig {
config_server_regex: r#"^(https|http)://.*/([a-zA-Z0-9]{32}/index\.json)$"#,
// hotpatch_server_regex: "",
log_server_regex: r#"^(https|http)://.*\.cos\..*\.myqcloud\.com/(.*)$"#,
// sdk_server_regex: "",
},
#[cfg(all(not(feature = "enable-sdk"), not(feature = "only-sig-bypass"), feature = "regular"))]
disable_sdk: DisableSdkConfiguration {
sdk_dll: s!("KRSDKEx.dll"),
eula_accept: 0x4A6D0,
sdk_go_away: 0x8BB40,
},
};
```
# CN LIVE 1.3
```rust
#[cfg(feature = "cn_live_1_3_0")]
pub(crate) const CONFIG: InjectConfiguration = InjectConfiguration {
f_pak_file_check: 0x3D35DF0,
f_pak_file_check_preamble: 0x8148574157565340,
#[cfg(all(not(feature = "only-sig-bypass"), feature = "regular"))]
kuro_http_get: 0xFC9900,
#[cfg(all(not(feature = "enable-sdk"), not(feature = "only-sig-bypass"), feature = "regular"))]
disable_sdk: DisableSdkConfiguration {
sdk_dll: s!("KRSDKEx.dll"),
eula_accept: 0x4A690,
sdk_go_away: 0x8B9F0,
},
};
```
# OS LIVE 1.3
```rust
#[cfg(feature = "os_live_1_3_0")]
pub(crate) const CONFIG: InjectConfiguration = InjectConfiguration {
f_pak_file_check: 0x3CDC430,
f_pak_file_check_preamble: 0x8148574157565340,
#[cfg(all(not(feature = "only-sig-bypass"), feature = "regular"))]
kuro_http_get: 0xFC6C20,
#[cfg(all(not(feature = "enable-sdk"), not(feature = "only-sig-bypass"), feature = "regular"))]
disable_sdk: DisableSdkConfiguration {
sdk_dll: s!("KRSDK.dll"),
eula_accept: 0x95440,
sdk_go_away: 0xA1280,
},
};
```
# CN BETA 1.3
```rust
#[cfg(feature = "cn_beta_1_3_0")]
pub(crate) const CONFIG: InjectConfiguration = InjectConfiguration {
f_pak_file_check: 0x3D2F460,
f_pak_file_check_preamble: 0x8148574157565340,
#[cfg(all(not(feature = "only-sig-bypass"), feature = "regular"))]
kuro_http_get: 0xFC8CF0,
#[cfg(all(not(feature = "enable-sdk"), not(feature = "only-sig-bypass"), feature = "regular"))]
disable_sdk: DisableSdkConfiguration {
sdk_dll: s!("KRSDKEx.dll"),
eula_accept: 0x4A690,
sdk_go_away: 0x8BB80,
},
};
```