Update README.md

This commit is contained in:
Nick Cano
2016-07-29 14:29:27 -07:00
committed by GitHub
parent b2b40229a3
commit 7bcd82cd41
+6 -1
View File
@@ -4,8 +4,13 @@ Example code for the book [Game Hacking: Developing Autonomous Bots for Online G
Each project in this repository corresponds to a chapter or section in the book. The projects are referenced in the relevant pages.
# Purpose
The exact purpose of each binary will be explained in the book. Some binaries are meant to be scanned and debugged, others simply exist as proof-of-concept for some lessons, and a few are actually made to illustrate how certain algorithms look with different inputs.
# Compiling
All of the example code should compile out-of-the-box on Visual Studio 2010, and any newer version. The exception is the two practice binaries for Chapter 1, which rely on the `Allegro 5.0.10` library to be installed with the `bin`, `lib`, and `include` directories properly set up in your Visual Studio paths for additional include directories and additional linker directories.
If you can't compile yourself, all of the binaries are in the `/bin/` directory. Debug binaries are in the `/bin/DEBUG_BUILDS/` directory with included debug databases. You may need to grab [this redistributable package from Microsoft](https://www.microsoft.com/en-us/download/details.aspx?id=5555) to run the binaries if you don't have Visual Studio.
If you can't compile yourself, all of the binaries are in the `/bin/` directory. Debug binaries are in the `/bin/DEBUG_BUILDS/` directory with included debug databases.
# Usage
You may need to grab [this redistributable package from Microsoft](https://www.microsoft.com/en-us/download/details.aspx?id=5555) to run the binaries if you don't have Visual Studio. If you get an error about loading fonts or map, move [arial.ttf](https://github.com/GameHackingBook/GameHackingExamples/blob/master/arial.ttf) and [game.map](https://github.com/GameHackingBook/GameHackingExamples/blob/master/game.map) into the same directory as the binary and try again.