Setup guide

From NetGore Wiki

Jump to: navigation, search
NetGore Tutorial
Difficulty 1/5
Topics Engine setup
(view all tutorials)


This is intended as a guide for getting NetGore set up for the first time and assumes that the system NetGore is being installed on has none of the needed third party components required to use NetGore.

Contents

Downloads

Required

The following programs are required:

Optional

The following programs are not required, but can help improve your experience with using NetGore:

Installing

Install Visual Studio and MySQL Community Server (if not already installed). The default settings will work fine.

Extract the NetGore project download to any directory. The rest of this guide will assume that you extracted the NetGore project to C:\NetGore\.

Running the InstallationValidator

The InstallationValidator can be found in the root NetGore directory. This program helps ensure that everything needed is installed, and will import the database dump automatically for you so you can run the demo game that comes with NetGore.

Run the InstallationValidator by double-clicking InstallationValidator.bat. If you extracted to C:\NetGore\, this will be located at C:\NetGore\InstallationValidator.bat. When the program opens, click Run to run the tests. If all goes well, all the tests will pass. If any of the tests fail, it will provide you with details on what is wrong and how to resolve it.

Running NetGore

Double-click the netgore.sln file located in \NetGore to open it with Visual Studio. Once open, build and run the solution by pressing F5 in Visual Studio, or by clicking the "Start" button in the toolbar. This will build the project and, if the build is successful, run it.

By default, only the client (DemoGame.Client) project will be run, which isn't very useful since you won't have a server to log in to. To change the startup project or run multiple projects at once, right click on Solution NetGore > Properties in the solution explorer on the left hand side of the screen. This should open a new window containing the start-up projects. Select "Multiple startup projects" and make sure all projects are set to None in the "Action" column, then set DemoGame.Client and DemoGame.Server to Start.

What next?

Now that you have NetGore all set up and running, it is time to start playing around with it and learning how things work. Check out the NetGore tutorials category for a listing of all tutorials.

Help with setup problems

If you encounter any problems while trying to set up NetGore, please first check the common setup issues page.

If you still have problems, feel free to ask for help on the NetGore forums.

See also

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox