From 9abd836b32a2de7b6f075ae50c253340782c4b89 Mon Sep 17 00:00:00 2001 From: Tyler Date: Wed, 14 Aug 2019 06:53:12 -0700 Subject: [PATCH 1/2] Adding more detail to setup instructions --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 644b8fa..870a97f 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,15 @@ ## How to use: - Clone this repository by running: `git clone https://github.com/kipje13/CPPExampleBot.git --recursive` - - Generate the solution with CMake. + - 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` - - Build and run the CPPExampleBot executable. + - 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. From 24adadb12b1928576201c19cbd3ef9950a91f9f7 Mon Sep 17 00:00:00 2001 From: Tyler Date: Mon, 19 Aug 2019 16:58:38 -0700 Subject: [PATCH 2/2] Update README.md --- README.md | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 870a97f..63736d2 100644 --- a/README.md +++ b/README.md @@ -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.