This page contains notes for the game Proto:Genshin Impact.
Tools#
|
|
To do: |
- Modified Unity Asset Studio that can directly open the game's blk files from almost any version, including betas.
- Genshin Audio Extractor
- Isolator by hotaru.ys can be used to create sandboxed registry keys for any version. Rename to included .dll file to version.dll and copy it to the game's root directory. Mainly useful for running older versions of the game since most of them share the same registry key with the current release. (source code)
This proxy script can be used with Fiddler Classic to block miHoYo's servers and redirect traffic to server emulators.
import System;
import System.Windows.Forms;
import Fiddler;
import System.Text.RegularExpressions;
class Handlers{
static function OnBeforeRequest(oS: Session){
//ONLY CHANGE THE NUMBER BELLOW:
var method = 5
//AND SAVE ON FIDDLER
//method 0 = Disable Script
//method 1 = Yuuki
//method 2 = Soggy
//method 3 = GrassCutter
//method 4 = GIO 1,2,3
//method 5 = GIO braindead Dockers
//method 6 = GIO best server
if (method == 0) {
return;
}
else{
var blocks =
[
":8888/log",
"/sdk/dataUpload",
"/common/h5log/log/batch",
"/crash/dataUpload"
];
for (var i = 0; i < blocks.length; i++) {
if (oS.uriContains(blocks[i])) {
oS.oRequest.FailSession(404, "Blocked", "Oh no!!!");
return;
}
}
var redirects =
[
".yuanshen.com",
".hoyoverse.com",
".mihoyo.com",
".yuanshen.com:12401",
".zenlesszonezero.com",
".honkaiimpact3.com",
".bhsr.com",
".starrails.com",
];
for (var i = 0; i < redirects.length; i++) {
if (oS.host.EndsWith(redirects[i])) {
// For all GIO methods + Soggy (CBT1) except GrassCutter
oS.oRequest.headers.UriScheme = "http";
// For Yuuki servers
if (method == 1){
//oS.host = "de.game.yuuki.me";
//oS.host = "sg.game.yuuki.me";
oS.host = "ps.yuuki.me";
}
if (method == 3 || method==5 || method == 6){
// For GIO method 5 + Grasscutter
oS.host = "127.0.0.1";
}
if (method == 4){
// For GIO method 1,2,3
oS.host = "192.168.200.130";
// For GIO method 1,2,3
oS.port = 2888;
}
if (method == 1 || method == 6){
// For other servers like Yuuki
oS.port = 8080;
}
if (method == 2){
// Only for Soggy (CBT1)
oS.port = 8099;
}
if (method == 3){
// For GrassCutter
oS.port = 443;
}
if (method == 5){
// For GIO method 5
oS.port = 21000;
}
break;
}
}
}
}
}