3. Setup guides - EytanMorg/sw-exporter GitHub Wiki
To check if you need this manual: Apple logo in the top left → Click on "About This Mac" → Line "Chip" says either "M1" or "Intel".
This guide includes changing app player language to English
- Check the box in the lower left.
- Click the Blue box in the middle.
- When at 100% you should get a popup, click the left blue button (don't reboot yet).
- Allow new file format in privacy settings. Sometimes this menu pops up, sometimes it doesn't
- Reboot the computer.
- Open Mumu, wait for the install to complete.
- In the app go into settings (in the folder, 2nd from right on the home screen), scroll down to the icon of a globe.
- Top menu option to change language.
- Open mumu shared folder
- Copy cert from your SWEX files folder into the MuMuSharedFolder.
- Navigate to: Settings → Security → Install from SD card → $MuMuSharedFolder
- Select the generated cert (ca.pem), name it whatever you like and set Credential use to VPN & apps. Tap okay.
- If the cert file is greyed out for some reason try to rename the extension from .pem to .cer
- Start the proxy in SWEX
- Navigate to: Settings → WiFi
- Long press listed network → modify network
- Change "Proxy" to "Manual"
- Server: ip listed in the top left of SWEX, usually one of 192.168.x.x / 172.16.x.x / 10.x.x.x; Port: Port listed in SWEX, default = 8080
- Press Save
- In SWEX: confirm HTTPS is turned on
- In SWEX: Start proxy
Thanks to u/dzungitx
- Open mumu shared folder
- Copy cert from your SWEX files folder into the MuMuSharedFolder.
- Navigate to: System Application folder → Settings → Network & Internet → Internet → Network preferences → Install certificates → $MuMuSharedFolder
- Select the generated cert (ca.pem), name it whatever you like. Tap okay.
- If the cert file is greyed out for some reason try to rename the extension from .pem to .cer
- Back to Internet Menu
- Click the active connection → pen icon in the top right
- Start the proxy in SWEX (if not already done)
- Change "Proxy" to "Manual"
- Server: ip listed in the top left of SWEX, usually one of 192.168.x.x / 172.16.x.x / 10.x.x.x; Port: Port listed in SWEX, default = 8080
- Fill out the port. Otherwise this change is not saved.
- Press Save
- In SWEX: confirm HTTPS is turned on
- In SWEX: Start proxy
Before Installing SWEX on M1 silicon, Rosetta installation is required (link with how-to)
- Open the certificate, install it for both system and Local items
- Open the application "keychain access"
- On the left side go to Local items
- On the top search for: "NodeMITMProxyCA"
- Open it with double clicking then go to > Trust
- Change the value after When using this certificate to Always trust
- Repeat this for Local items
- Go to System Preferences → Network → Select current network connection → Advanced
- In here go to Proxies → check Secure Web Proxy (HTTPS) → fill out the IP and Port as listed in the top SWEX → press OK and Apply in the bottom of the screen
- Start the game.
- Leave the application "mounted" to prevent it from crashing.
- If you have Antivirus or a Firewall on your MacOS, disable it
- If you have a Firewall on your PC, disable it. Or allow SWEX trough by port.
- Only if you use a VPN on your PC: Disable it.
Note: This setup might also work for M2 devices but is not yet confirmed, if it works or requires extra steps please tag me in #swex-help in Xzandro's discord
- Open Nox
- Open the Multi-Instance Manager (icon on the right toolbar of nox)
- Create a new Android 5 Instance (Name this so you remember)
- Close existing instance and open Android 5 Instance
- Install Summoners War: Open once for downloading and to sign, in then close Summoners War
- Open Settings (top right) and enable root (restart nox)
- Open SWEX
- Press the "Get Cert" button (top right)
- Copy file path for certificate (don't include filename)
- Navigate to folder with certificate
- Drag certificate to Nox home screen
- In Nox
- Tools → Settings → Security → Screen lock: Create a pin
- Tools → Settings → Security → Install from SD Card
- Navigate to: Internal storage → Pictures
- Click on ca.pem and name it ca.pem
- Return to home screen
- Tools → Open file manager and navigate to: /data/misc/keystore/user0 and select certificate (checkbox to the left)
- With file selected navigate to: /system/etc/security/cacerts
- Press triple dots in top right (sometimes its bottom left) and select "move selection here"
- Remove pin (Tools - Tools → Settings → Security → Screen lock)
- Disable Root (restart Nox)
- In Nox
- Tools → Settings → Wi-Fi then long press on network, select "modify network" and then open Advanced options.
- Change Proxy to Manual and enter proxy hostname (ip address) and proxy port from SWEX.
- Open Summoners War and pray you didn't fuck anything up!
- Obtain the certificate (see the steps in chapter 2)
- Send cert to yourself in a way where you can open it on your device. (Mail, drive, Discord).
- Open/download the certificate in Safari, Allow it.
- Open settings → General → VPN & Device Management → Certname → install.
- Open settings → General → About → Certificate Trust Settings → Toggle on.
- Open Settings and select Wi-Fi
- Tap the Wi-Fi network you are currently connected to.
- Scroll down to HTTP Proxy and click Manual.
- Enter your computer's IP address in the Server field.
- Enter the port number in the Port field.
- Leave Authentication OFF
- Save changes and exit settings
- If you have Antivirus or a Firewall on your iOS, disable it
- If you have a Firewall on your PC, disable it. Or allow SWEX trough by port.
- Only if you use a VPN on your PC: Disable it.
This guide is for now only written for Arch based linux distros with the software manager installed. Tested on a MSI gf62vr 7rf, i7-7700HQ/16GB/GTX 1060 Very special thanks from @ahitsdavid on Discord
-
Install the Waydroid AUR package (ofcourse depends on distro)
-
In terminal:
sudo waydroid init
-
Install dependencies:
sudo pacman -S lzip python3 ufw android-tools cage
-
In terminal:
git clone https://github.com/casualsnek/waydroid_script
-
Setup and start the Waydroid script
cd waydroid_script python3 -m venv venv venv/bin/pip install -r requirements.txt sudo venv/bin/python3 main.py Select Android 11, install: gapps smardock and libhoudini (intel opengl traslator) or libndk(amd opengl translator) then press enter
-
Start the script again
sudo venv/bin/python3 main.py
: Select "Get Google Device ID to Get Certified" -
Copy the 19 character number and paste it on Google Device Registration (activation may take up to 30 minutes)
-
Download the latest version of SWEX
-
Allow SWEX to run:
chmod +x Summoners-War-Exporter-<version_nr>-linux.AppImage
and start SWEX in remote mode -
Regenerate the certificate from SWEX settings then press get cert
-
Start the Waydroid script again to install the cert from SWEX
sudo venv/bin/python3 main.py install mitm --ca-cert ~/Desktop/Summoners\ War\ Exporter\ Files/cert/ca.pem
-
Firewall setup:
IP Tables / Port forwarding sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080 sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8080 sudo ip6tables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080 sudo ip6tables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8080 sudo ufw allow 67 sudo ufw allow 53 sudo ufw allow 8080 sudo ufw default allow FORWARD
-
Waydroid via ADB
- Find the waydroid IP: open settings > About phone > IP should be along the lines of 192.168.240.xxx
- In terminal:
sudo adb connect DeviceIP:5555
- SWEX will list multiple IPs, (for me it was the IP 192.168.240.1) this gives us: In terminal:
adb shell settings put global http_proxy SWEX_IP:8080
- With SWEX running and the proxy started, start the game with Cage:
cage waydroid -- show-gfull-ui
If you want to use another appstore (or sideload apps), for example Huawei Appgallery, you can do this by downloading the .APK file and running sudo waydroid app install <packagename>.apk