-
Notifications
You must be signed in to change notification settings - Fork 25
Setup
Since theses scripts include RLBot. will not work on Mac or Linux (RLBot only run on Windows)
For this project you will need python3
Next commands will be executed in cmd (you might need to execute as administrator)
to use pip in cmd, you could add the python dir to your PATH.
install Tensorflow (CPU minimum, GPU recommended)
page ; CPU => pip install tensorflow
GPU => pip install tensorflow-gpu
for GPU make sure you have an NVIDIA Card and CUDA Driver up to date before
- If you have Tensorflow = 1.5, use : CuDNN 7 ; CUDA 9
- If you have Tensorflow < 1.5, use : CUDNN 6 ; CUDA 8
While Running the scripts, you will save game data that could be used for offline learning
As you want your Chat to enjoy your stream, you might want to have cool graphs displaying statistics about the bot performances. for this you would need to :
Run the fancy graph in a separate window by running python live_graph.py
from the livedata directory. This can be run before or after runner.py.
If you would like to train your own bot you will need to install tqdm for timing info
You will also need tensorflow version 1.5
Should be self-explanatory, if not, just click here, press the green button over there, download the zip and extract it.
Most of us are using an IDE and starting the project at root level. The trainers are not at root level so an IDE is suggested to make it easier to run the trainers. If you run them and get an import error saying 'bot_code' does not exist an alternative option is to add the entire saltie directory to the python path.
To get this bot better we need your help! You can collect data yourself by following the steps down below, and with doing so you will help us out a lot! IF you encouter any errors or such, please have a look at the error solving page, or join the discord if it didnt help you out!
As you run the RLBot runner.py, you will be recording data. We have a leaderboard exposing who exported the most replays, to have your name displayed on it, change in rlbot.cfg
, [User Info] username = unknown
to your username.
check out your position on the Saltie Stats.
This is optional but it will your username instead of unknown on the leaderboard.
From here, you can refer to RLBot for Debuging and Running it
- Start Rocket League.
- Execute in the repo,
RLBot_Injector.exe
as admin, and wait for activation confirmation. - Then you can either start an exibition match with defined parameters or not (the next command will start one with default parameters).
- Execute from the repo
python runner.py
. - Enjoy.