For more images here
- You need Python 3.8 or 3.9 installed (don't use 3.10 it has problem installing some modules), preferrably anaconda or python
- Check the box ADD TO PATH while installing Python
- Download the zip file from the Releases page or use git:
git clone https://github.com/rrennoir/PyAccEngineer.git --recursive
- Install the required Python modules by running the
InstallModules.bat
orInstallModules.ps
script. However .bat is recommended since it doesn't have the limitation by default
For server host only, client doesn't need to open anything on their router.
- Open TCP and UDP port (4269 for TCP and UDP are the default) for incoming connections
- Use the StartApp.bat / StartApp.ps1 script
- If you get the error
python isn't recognized...
and python is installed, check here to add it to the path
- One user starts "As Server" and others connect to it
- [OPTIONAL] Choose the same username as in ACC ("name surname"), so that the user driving can be recognized and will be highlighted in green.
Update values
will refresh the information on the strategy page to the lastest value in game (mfd page)Set Strategy
will send a command to the user who is currently driving and set the strategy accordingly
Simply run the headless_server.py, default port is 4269 (TCP) and 4269 (UDP). Or use the command line switches -u or --udp_port to change the UDP port and -t or --tcp_port to change the TCP port. To change both port at the same time use -p or --port
# sets both UDP/TCP ports to 4275
python headless_server.py -p 4275
# sets ports for UDP to 4270 and TCP to 4269
python headless_server.py -u 4270 --tcp_port 4269
To stop the server simply press ctrl C in the cmd / powershell / windows terminal
- Tyre change must be on before the strategy setter is started
- At least one pit strategy must be set or different from the default
- When the strategy setter is started the driving user shouldn't alt tab (duh)
No and if you don't trust me just read the code ๐
If you have too much money you can donate here ๐ (and now gop will stop asking for a donate link ๐)