|
1 | 1 | # CPPExampleBot
|
2 | 2 |
|
3 | 3 | ## How to use:
|
| 4 | + - Make sure you've installed [Python 3.7 64 bit](https://www.python.org/downloads/). During installation: |
| 5 | + - Select "Add Python to PATH" |
| 6 | + - Make sure pip is included in the installation |
4 | 7 | - Clone this repository by running: `git clone https://github.com/kipje13/CPPExampleBot.git --recursive`
|
| 8 | + - Ensure that rlbot is installed on python by running `rlbot/run.bat`. You can shut it down again if it works. |
5 | 9 | - Make sure you have CMake. If you don't have it, visit https://cmake.org/download/ and run the Windows win64-x64 Installer.
|
6 |
| - - Make sure you have Visual Studio 2017. You can get it from https://visualstudio.microsoft.com/vs/older-downloads/. |
7 |
| - - In a command prompt (use a fresh one if you just installed cmake), navigate to the folder and run `cmake .` |
8 |
| - - Open Visual Studio 2017 and open the .sln file which now exists in the folder. |
9 |
| - - Confirm that Build->Build Solution works. |
10 |
| - - Right click on CPPExampleBot in the solution explorer and choose 'Set as StartUp Project' |
11 |
| - - Start a match by executing `rlbot/run.bat` |
12 |
| - - Choose Debug->Start Debugging (or F5), or press the green play button in Visual Studio. |
13 |
| - - Open up examplebot.cc and start changing stuff! Visual Studio has a restart button you can press (or Ctrl+Shift+F5) when you want to recompile and try your new changes. |
| 10 | + - If you'd like to use Visual Studio for development: |
| 11 | + - Download Visual Studio from https://visualstudio.microsoft.com/. |
| 12 | + - In a command prompt (use a fresh one if you just installed cmake), navigate to the folder and run `cmake .` |
| 13 | + - Open Visual Studio and open the .sln file which now exists in the folder. |
| 14 | + - Confirm that Build->Build Solution works. |
| 15 | + - Right click on CPPExampleBot in the solution explorer and choose 'Set as StartUp Project' |
| 16 | + - Start a match by executing `rlbot/run.bat` |
| 17 | + - Choose Debug->Start Debugging (or F5), or press the green play button in Visual Studio. |
| 18 | + - Open up examplebot.cc and start changing stuff! Visual Studio has a restart button you can press (or Ctrl+Shift+F5) when you want to recompile and try your new changes. |
14 | 19 |
|
15 | 20 | ## Auto-start
|
16 | 21 | The rlbot framework has the ability to launch the bot executable automatically. This is usefull when sharing your bot and usually required when you enter a tournament.
|
|
0 commit comments