The following is a general guide for connecting the Android game client to Starpoint.
-
On your keyboard press the Windows key + X.
-
Select
Terminal
. -
In the window that just opened, type the following:
ipconfig
-
Locate your WiFi adapter's "IPv4 Address" under the "Wireless LAN adapter Wi-Fi:" section (e.g.,
10.0.0.167
).-
The section will typically look like the following. Notice the "IPv4 Address. . ." entry.
Wireless LAN adapter Wi-Fi: Connection-specific DNS Suffix . : <Excluded> IPv6 Address. . . . . . . . . . . : <Excluded> IPv6 Address. . . . . . . . . . . : <Excluded> Temporary IPv6 Address. . . . . . : <Excluded> Link-local IPv6 Address . . . . . : <Excluded> IPv4 Address. . . . . . . . . . . : 10.0.0.167 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : <Excluded> 10.0.0.1
-
- In the following step, you may receive a Windows firewall popup. Hit "Allow".
- This step is crucial. If you do not hit allow you will encounter connection problems.
- If the popup does not appear, you can continue.
- In the directory where you installed Starpoint, locate and run the
start.bat
file.- If you receive a Windows firewall popup, hit "Allow".
- For non-Windows users or manual setup, see the "Manual Server Start Method" section below.
- Two windows should open.
- One of the windows should eventually show
StarPoint is listening on http://localhost:8000
. This may take a minute or two, give it some time. - The other window should show
Loading script mitm-redirect-traffic.py
at the top.
- One of the windows should eventually show
- A new tab will open in your web browser. Keep this open for later.
- Install the WireGuard app from the Google Play Store or build from Github
- Ensure your Android device is on the same network as your computer.
- Open the WireGuard app.
- If you do not have access to a camera, like if you are using an emulator. Continue to the "(Optional) Manual WG Tunnel setup" section below.
- Tap the "+" button in the bottom right corner of the screen.
- Tap "Scan from QR code"
- Scan the QR code that is visible in the tab that opened up in your browser.
- On your Android device, an "Import Tunnel from QR Code" popup appears.
- In the "Tunnel Name" field, type "Starpoint".
- Tap "Create Tunnel".
- At the top of the screen you should see "Starpoint".
- Tap the round button to the right of these numbers.
- Accept the VPN popup or connection request.
If you have already enabled the WireGuard connection, you may skip the following steps and jump to "Pinball App Setup" below.
-
Go to the tab that opened up in your browser.
-
Make note of the values to the left of the QR code. They will look like the below.
[Interface] PrivateKey = <value> Address = 10.0.0.1/32 DNS = 10.0.0.53 [Peer] PublicKey = <value> AllowedIPs = 0.0.0.0/0 Endpoint = 10.0.0.167:51820
-
In the WireGuard app, tap the "+" button in the bottom right corner of the screen.
-
Tap "Create from scratch".
-
In the "Interface" field type
Starpoint
. -
In the next field, "Private key", put the
PrivateKey
value you noted earlier. -
In the "Addresses" field, put the
Address
value you noted earlier. -
In the "DNS servers" field, put
10.0.0.53
. -
Towards the bottom the screen, there should text that says
Add peer
. -
Tap the
Add peer
text. -
In the "Public key" field, put the
PublicKey
value you noted earlier. -
In the "Endpoint" field, put the
Endpoint
value you noted earlier. -
In the "Allowed IPs" field, put the
AllowedIPs
value you noted earlier. -
At the very top of the screen next to the text "Create WireGuard Tunnel", there should be a save/floppy disk icon.
-
Tap the icon.
-
At the top of the screen you should see "Starpoint".
-
Tap the round button to the right of these numbers.
-
Accept the VPN popup or connection request.
- Clear all data for the pinball game via your device's settings.
- You only have to do this once, do not clear your data every time you connect to Starpoint.
- Open the pinball game, and sign in as a Guest.
- If prompted, click "Trust for this session" for the mitmproxy certificate.
- You will now be connected to Starpoint.
-
Navigate to the .mitmproxy folder in the Starpoint install directory.
-
Open a command prompt in this folder and run the following line:
.\mitmweb.exe --mode wireguard --set connection_strategy=lazy -s ..\scripts\mitm-redirect-traffic.py
- Note: The
path/to/starpoint/directory
portion of the below command should be replaced with the path to the directory where you installed Starpoint, keep the/scripts/mitm-redirect-traffic.py
portion.
- Note: The
-
Go to the directory where you have Starpoint installed; open a new terminal, and start the server.
npm install npx tsc npm run dev