Advanced Usage
Running AltServer in terminal
You can run AltServer in a terminal with the following command:
Bash: ./AltTesterDesktop.exe -batchmode -port 13000 -license YOUR_LICENSE -nographics -logfile LOGFILE.txt
CMD: "AltTesterDesktop.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.-termsAndConditionsAccepted
means that you have read our Terms and Conditions and you accept them. You only need to specify this argument the first time using AltServer or any time our Terms and Conditions are updated. Ex:
Bash: ./AltTesterDesktop.exe -batchmode -port 13000 -license YOUR_LICENSE -nographics -logfile LOGFILE.txt -termsAndConditionsAccepted
CMD: "AltTesterDesktop.exe" -batchmode -port 13000 -license YOUR_LICENSE -nographics -logfile LOGFILE.txt -termsAndConditionsAccepted
AltTesterDesktop.app/Contents/MacOS/AltTester\ Desktop -batchmode -port 13000 -license YOUR_LICENSE -nographics -logfile LOGFILE.txt -termsAndConditionsAccepted
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.