Skip to content

Commit 0e38f5d

Browse files
authored
Merge pull request #1 from tarehart/patch-1
Adding more detail to setup instructions
2 parents 67f4312 + 24adadb commit 0e38f5d

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,21 @@
11
# CPPExampleBot
22

33
## 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
47
- 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.
819

920
## Auto-start
1021
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

Comments
 (0)