GameHackingBook / GameHackingCode

Example code for the book http://www.nostarch.com/gamehacking . PLEASE READ THE README
GNU General Public License v2.0
671 stars 234 forks source link

Trouble Getting Binaries to Run #8

Open angrygoats opened 6 years ago

angrygoats commented 6 years ago

After cloning I figured I'd skip trying to get dependencies straight and try to launch the precompiled binaries.

I am running Windows 10 Professional. At the moment I am continually getting "failed to initialized map" for Chapter1_BasicMemory.exe. Am I missing a dependency here?

Additionally building them has proved difficult. I'm not familiar with Allegro, and using Visual Studio 2017 and the nuget version of Allegro to build it just results in even more errors. If I can figure it out I'll try to put up a PR, but it's really getting in the way of reading the book 😢.

lucsgtv commented 6 years ago

You must have game.map file in same folder of the executable.

KulaGGin commented 6 years ago

@angrygoats You probably already fixed it. For everyone in the future: copy game.map and arial.ttf from from the solution(master) folder into a bin folder.

The real question is why @nickcano didn't make examples that would run and compile on any machine without cringing. 399972538324615178 1