You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-3Lines changed: 14 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,21 @@
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`
5
-
- Generate the solution with CMake.
6
-
- Start a match by executing `rlbot/run.bat`
7
-
- Build and run the CPPExampleBot executable.
8
+
- Ensure that rlbot is installed on python by running `rlbot/run.bat`. You can shut it down again if it works.
9
+
- Make sure you have CMake. If you don't have it, visit https://cmake.org/download/ and run the Windows win64-x64 Installer.
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.
8
19
9
20
## Auto-start
10
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