Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tarehart authored Aug 19, 2019
1 parent 9abd836 commit 24adadb
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
# CPPExampleBot

## How to use:
- Make sure you've installed [Python 3.7 64 bit](https://www.python.org/downloads/). During installation:
- Select "Add Python to PATH"
- Make sure pip is included in the installation
- Clone this repository by running: `git clone https://github.com/kipje13/CPPExampleBot.git --recursive`
- Ensure that rlbot is installed on python by running `rlbot/run.bat`. You can shut it down again if it works.
- Make sure you have CMake. If you don't have it, visit https://cmake.org/download/ and run the Windows win64-x64 Installer.
- Make sure you have Visual Studio 2017. You can get it from https://visualstudio.microsoft.com/vs/older-downloads/.
- In a command prompt (use a fresh one if you just installed cmake), navigate to the folder and run `cmake .`
- Open Visual Studio 2017 and open the .sln file which now exists in the folder.
- Confirm that Build->Build Solution works.
- Right click on CPPExampleBot in the solution explorer and choose 'Set as StartUp Project'
- Start a match by executing `rlbot/run.bat`
- Choose Debug->Start Debugging (or F5), or press the green play button in Visual Studio.
- 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.
- If you'd like to use Visual Studio for development:
- Download Visual Studio from https://visualstudio.microsoft.com/.
- In a command prompt (use a fresh one if you just installed cmake), navigate to the folder and run `cmake .`
- Open Visual Studio and open the .sln file which now exists in the folder.
- Confirm that Build->Build Solution works.
- Right click on CPPExampleBot in the solution explorer and choose 'Set as StartUp Project'
- Start a match by executing `rlbot/run.bat`
- Choose Debug->Start Debugging (or F5), or press the green play button in Visual Studio.
- 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.

## Auto-start
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.
Expand Down

0 comments on commit 24adadb

Please sign in to comment.