3. Setup guides - EytanMorg/sw-exporter GitHub Wiki

Installing Mumu app player for macOS (Intel CPU only),

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

  1. Check the box in the lower left.
  2. Click the Blue box in the middle.
  3. When at 100% you should get a popup, click the left blue button (don't reboot yet).
  4. Allow new file format in privacy settings. Sometimes this menu pops up, sometimes it doesn't
  5. Reboot the computer.
  6. Open Mumu, wait for the install to complete.
  7. In the app go into settings (in the folder, 2nd from right on the home screen), scroll down to the icon of a globe.
  8. Top menu option to change language.

Most guides below assume you have already obtained the HTTPS certificate

Setup guides

Mumu app player 6 Setup

  1. Open mumu shared folder
  2. Copy cert from your SWEX files folder into the MuMuSharedFolder.
  3. Navigate to: Settings → Security → Install from SD card → $MuMuSharedFolder
  4. 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
  5. Start the proxy in SWEX
  6. Navigate to: Settings → WiFi
  7. Long press listed network → modify network
  8. Change "Proxy" to "Manual"
  9. 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
  10. Press Save
  11. In SWEX: confirm HTTPS is turned on
  12. In SWEX: Start proxy

Mumu app player 12 Setup

Thanks to u/dzungitx

  1. Open mumu shared folder
  2. Copy cert from your SWEX files folder into the MuMuSharedFolder.
  3. Navigate to: System Application folder → Settings → Network & Internet → Internet → Network preferences → Install certificates → $MuMuSharedFolder
  4. 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
  5. Back to Internet Menu
  6. Click the active connection → pen icon in the top right
  7. Start the proxy in SWEX (if not already done)
  8. Change "Proxy" to "Manual"
  9. 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
  10. Fill out the port. Otherwise this change is not saved.
  11. Press Save
  12. In SWEX: confirm HTTPS is turned on
  13. In SWEX: Start proxy

MacOS M1

Before Installing SWEX on M1 silicon, Rosetta installation is required (link with how-to)

  1. Open the certificate, install it for both system and Local items
  2. Open the application "keychain access"
  3. On the left side go to Local items
  4. On the top search for: "NodeMITMProxyCA"
  5. Open it with double clicking then go to > Trust
  6. Change the value after When using this certificate to Always trust
  7. Repeat this for Local items
  8. Go to System Preferences → Network → Select current network connection → Advanced
  9. 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
  10. Start the game.
  11. Leave the application "mounted" to prevent it from crashing.
  12. If you have Antivirus or a Firewall on your MacOS, disable it
  13. If you have a Firewall on your PC, disable it. Or allow SWEX trough by port.
  14. 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

Nox player Setup

  1. Open Nox
    1. Open the Multi-Instance Manager (icon on the right toolbar of nox)
    2. Create a new Android 5 Instance (Name this so you remember)
    3. Close existing instance and open Android 5 Instance
    4. Install Summoners War: Open once for downloading and to sign, in then close Summoners War
    5. Open Settings (top right) and enable root (restart nox)
  2. Open SWEX
    1. Press the "Get Cert" button (top right)
    2. Copy file path for certificate (don't include filename)
    3. Navigate to folder with certificate
    4. Drag certificate to Nox home screen
  3. In Nox
    1. Tools → Settings → Security → Screen lock: Create a pin
    2. Tools → Settings → Security → Install from SD Card
    3. Navigate to: Internal storage → Pictures
    4. Click on ca.pem and name it ca.pem
    5. Return to home screen
    6. Tools → Open file manager and navigate to: /data/misc/keystore/user0 and select certificate (checkbox to the left)
    7. With file selected navigate to: /system/etc/security/cacerts
    8. Press triple dots in top right (sometimes its bottom left) and select "move selection here"
    9. Remove pin (Tools - Tools → Settings → Security → Screen lock)
    10. Disable Root (restart Nox)
  4. In Nox
    1. Tools → Settings → Wi-Fi then long press on network, select "modify network" and then open Advanced options.
    2. Change Proxy to Manual and enter proxy hostname (ip address) and proxy port from SWEX.
    3. Open Summoners War and pray you didn't fuck anything up!

iOS setup

  1. Obtain the certificate (see the steps in chapter 2)
  2. Send cert to yourself in a way where you can open it on your device. (Mail, drive, Discord).
  3. Open/download the certificate in Safari, Allow it.
  4. Open settings → General → VPN & Device Management → Certname → install.
  5. Open settings → General → About → Certificate Trust Settings → Toggle on.
  6. Open Settings and select Wi-Fi
  7. Tap the Wi-Fi network you are currently connected to.
  8. Scroll down to HTTP Proxy and click Manual.
  9. Enter your computer's IP address in the Server field.
  10. Enter the port number in the Port field.
  11. Leave Authentication OFF
  12. Save changes and exit settings
  13. If you have Antivirus or a Firewall on your iOS, disable it
  14. If you have a Firewall on your PC, disable it. Or allow SWEX trough by port.
  15. Only if you use a VPN on your PC: Disable it.

(Arch) Linux with Waydroid [Only do this if you know what you are doing]

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

  1. Install the Waydroid AUR package (ofcourse depends on distro)

  2. In terminal: sudo waydroid init

  3. Install dependencies: sudo pacman -S lzip python3 ufw android-tools cage

  4. In terminal: git clone https://github.com/casualsnek/waydroid_script

  5. 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
    
  6. Start the script again sudo venv/bin/python3 main.py: Select "Get Google Device ID to Get Certified"

  7. Copy the 19 character number and paste it on Google Device Registration (activation may take up to 30 minutes)

  8. Download the latest version of SWEX

  9. Allow SWEX to run: chmod +x Summoners-War-Exporter-<version_nr>-linux.AppImage and start SWEX in remote mode

  10. Regenerate the certificate from SWEX settings then press get cert

  11. Start the Waydroid script again to install the cert from SWEX

    1. sudo venv/bin/python3 main.py install mitm --ca-cert ~/Desktop/Summoners\ War\ Exporter\ Files/cert/ca.pem
  12. 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 
    
  13. Waydroid via ADB

    1. Find the waydroid IP: open settings > About phone > IP should be along the lines of 192.168.240.xxx
    2. In terminal: sudo adb connect DeviceIP:5555
    3. 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
    4. 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

⚠️ **GitHub.com Fallback** ⚠️