Advanced Usage
Running AltServer in terminal
You can run AltServer in a terminal with the following command:
Bash: ./AltTester\ Desktop.exe -batchmode -port 13000 -license YOUR_LICENSE -nographics -logfile LOGFILE.txt
CMD: "AltTester Desktop.exe" -batchmode -port 13000 -license YOUR_LICENSE -nographics -logfile LOGFILE.txt
AltTesterDesktop.app/Contents/MacOS/AltTester\ Desktop -batchmode -port 13000 -license YOUR_LICENSE -nographics -logfile LOGFILE.txt
This is useful when you want to run tests but don’t want to waste resources for the Desktop part. -batchmode
is a required argument, without it your build will start a normal instance of AltTester Desktop.
Command line arguments
-port
sets the port on which AltServer will start, this value must be between 1 and 65535. This is a mandatory argument for running AltServer.-license
if you never activated a license on the device and you try to run AltServer add this argument with a valid licenseKey. This argument is not necessary if you already activated the license on the device.-removeActivation
deactivates the active license key if there is one. If you add this argument AltServer will not start. AltTester Desktop will just try to deactivate the license key and quit after.
Other arguments that can be used are found in PlayerCommandLineArguments
Note
“-logFile -” will output logs in the bash terminal
Note
The run of the command may be stuck if the value for -port contains certain special characters.In this case is recommended to rerun the process using a valid port number.