-
Notifications
You must be signed in to change notification settings - Fork 0
Setting up
You need to download the following:
- Honkai : Star Rail (Get this yourself)
- CrepeSR Resources (https://github.com/memetrollsXD/CrepeSR-Resources)
- Node.js (https://nodejs.org/en/download/current/) and select Windows Installer (.msi)
- Python (https://www.python.org/downloads/) click on the yellow button , it will download the latest version of Python.
- Visual Studio (https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&channel=Release&version=VS2022&source=VSLandingPage&cid=2030&passive=false) you will also need to install the Desktop development with C++ plugin for it.
- Fiddler Classic (https://telerik-fiddler.s3.amazonaws.com/fiddler/FiddlerSetup.exe)
- MongoDB Compass (https://www.mongodb.com/try/download/compass)
- MongoDB (https://www.mongodb.com/try/download/community)
Step 1: Download MongoDB Compass from the link above. Afterwards start the app and click on the "Connect" button. You can minimized the app afterwards.
Step 2: Download CrepeSR from the link above and press on the green button called "Code" then press "Download ZIP" do the same for the CrepeSR-Resources link.
Step 3: Extract the "CrepeSR-main" folder and head into the src folder and create a new folder called "data"
Step 4: Then extract the "CrepeSR-Resources-main" folder and click on it and copy everything (except the README.md) into "CrepeSR-main\src\data"
Step 5: After you've done that go to Fiddler Classic link and install it then run it then go to Tools > Options > Connections > Fiddler Classic listens on port and set the port to 8080
Step 6: Afterwards go to the right of the screen and press on FiddlerScript and paste this script this:
import System;
import System.Windows.Forms;
import Fiddler;
import System.Text.RegularExpressions;
var list = [
"https://api-os-takumi.mihoyo.com/", //1
"https://hk4e-api-os-static.mihoyo.com/", //2
"https://hk4e-sdk-os.mihoyo.com/",
"https://dispatchosglobal.yuanshen.com/",
"https://osusadispatch.yuanshen.com/", // 5
"https://account.mihoyo.com/",
"https://log-upload-os.mihoyo.com/",
"https://dispatchcntest.yuanshen.com/",
"https://devlog-upload.mihoyo.com/",
"https://webstatic.mihoyo.com/", // 10
"https://log-upload.mihoyo.com/",
"https://hk4e-sdk.mihoyo.com/",
"https://api-beta-sdk.mihoyo.com/",
"https://api-beta-sdk-os.mihoyo.com/",
"https://cnbeta01dispatch.yuanshen.com/", // 15
"https://dispatchcnglobal.yuanshen.com/",
"https://cnbeta02dispatch.yuanshen.com/",
"https://sdk-os-static.mihoyo.com/",
"https://webstatic-sea.mihoyo.com/",
"https://webstatic-sea.hoyoverse.com/", // 20
"https://hk4e-sdk-os-static.hoyoverse.com/",
"https://sdk-os-static.hoyoverse.com/",
"https://api-account-os.hoyoverse.com/",
"https://hk4e-sdk-os.hoyoverse.com/",
"http://overseauspider.yuanshen.com",
"https://abtest-api-data-sg.hoyoverse.com/",
"https://account.hoyoverse.com",
"https://log-upload-os.hoyoverse.com",
"https://webapi-os.account.hoyoverse.com",
"http://log-upload-os.hoyoverse.com", // 30
"https://hkrpg-sdk-os-static.hoyoverse.com",
"https://hkrpg-sdk-os.hoyoverse.com",
"https://globaldp-prod-os01.starrails.com"
];
class Handlers
{
static function OnBeforeRequest(oS: Session) {
var active = true;
if(active) {
for(var i = 0; i < 33; i++) {
if(oS.uriContains(list[i])) {
oS.host = "localhost"; // This can also be replaced with another IP address.
break;
}
}
}
}
};
Step 7: Click on "Save Script"
Step 1: Install NodeJS from the link above
Step 2: Then go to your private server folder and hold shift and press right click and click on "Open PowerShell window here" (Or on Windows 11 "Open in Terminal")
Step 3: in the terminal window type "npm install" (You need to make sure you ABSOLUTELY HAVE Visual Code Studio with the Desktop development with C++ plugin installed it will be one of the options after you install it)
Step 4: After the "npm install" command has finished type "npm run start" and crepeSR should start.
Step 1: Within the CrepeSR command prompt, create an account with the command:
account create [username] [uid]
e.g. account create GigaChad 420
Step 2: Open StarRail.exe and have fun!