4.3 KiB
This section discuss some easy way to setup the game and play, as well as some common way to set things up.
Servers
- elichika original server.
- elichika fork recommended server.
Clients
Android
- Download one of the elichika compatible clients and install it.
- Modify that or make your own if necessary.
iOS setup
- You can download the
ipa
files from here (or from here if you need http enabled) - Enable developer mode under settings -> privacy & security - very bottom. Older iOS versions may not have this option and do not need to worry about it.
- Use sideloadly to install the
ipa
. - Open settings and navigate to the settings for the installed app. You can configure the server url there.
- Note that at the moment it appears the global
ipa
files do not work. The reason is unknown.
Setups
These are types of setup, choose one that suit you, or adapt one to your usage.
(Forked) Elichika - Android with Termux
The server can run inside Termux, on the same phone or emulator that you want to play SIFAS on. After downloading all of the game files, you can play anywhere anytime even without internet.
- Download one of these clients and install it.
- Then follow this guide.
If that doesn't work, you might have one of the following problems:
- If you can't install the
.apk
then you're out of luck, you will need to find a device (emulator) that is compatible, or make one yourself from a compatible stock client. - If anything happen before you run the server binary, your Termux has problem. Make sure you followed Install the guide and installed the correct Termux.
- If you are sure you have done things correctly, it might be the case that your device is too new or just have some weird restriction. If this happens, it's probably easier to just use another device that works.
If you are not using elichika
, you can still use this setup as long as your code can run inside Termux.
External server (Internet or LAN), play on phone
The server run on your PC (Windows / Linux / MacOS), or some external machine.
You play on your phone or emulator. The clients need to be able to reach the server, either through LAN or the Internet.
- If you are using Android clients, patch them to point to the correct address.
- If you are using IOS clients, change set settings to point to the correct address.
Generally, if you are using someone else's server then they should provide you with a client that you just need to install, or walk you through how to do this in details.
Server on PC, play on android phone, through adb
In the case that you want to run server on PC but play on android phone (for development), and you can't get static IP/port, you can rely on adb.
- Download a client and install it.
- Enable developer options, and turn on
adb
. - Connect your phone to your pc, accept the USB debugging and run:
adb reverse tcp:8080 tcp:8080
- This map http://127.0.0.1:8080 in your phone to http://127.0.0.1:8080 in your PC, allow the app to connect to the server. Change the port if necessary.
- If you don't want to have your phone plugged in to your computer, debug the phone through
tcpip
mode. If you are going to do this, it's good to have a static IP for your phone, then you can make a script that connect to your phone and run the server, for convinience.
Server on PC, play on android emulator
If you want to play on an emulator and don't want to use Termux, you can use either adb
, or you can bridge the network so your emulator get treated as a device in your LAN. The details on how to do this depend on the emulator, so you should look it up yourself.