Post edited 06:56 – 6. May 2011 by xposure
I suggest having something like TortoiseSVN installed to checkout code easily.
1. Pick a working folder on your hard drive, here-out known as WORKING_FOLDER. Its crucial to use the correct folder names or you'll have to edit the *.sln files and update the project references to the correct names. They also use relative paths so the checkouts must be in the same folder.
2. Open WORKING_FOLDER and right click and then click SVN Checkout. Choose "https://borgserver.svn.sourceforge.net/svnroot/borgserver" (without the quotes) as your repo url. It should put the checkout directory to "WORKING_FOLDER\borgserver" for you, if not please update it.
3. Right click again and then click SVN Checkout. Choose "https://txnagameengine.svn.sourceforge.net/svnroot/txnagameengine" (without the quotes) as your repo url. It should put the checkout directory to "WORKING_FOLDER\txnagameengine" for you, if not please update it.
4. Open the following folder up "WORKING_FOLDER\borgserver\trunk\Source\Servers\WorldServer", currently the app.config is missing from the project. Make a copy of app.config.default and rename it to app.config.
5. Edit the newly created app.config and tweak the SQL settings, you'll either need to choose MSSQL or MySql and I believe it supports SQLite. I would suggest MSSQL as it seems to be the most complete.
6. Build the SQL Database from the following script "WORKING_FOLDER\borgserver\trunk\Source\MS SQL Setup\MS SQL Database Setup (world server).sql". This creates a database named World0, so make sure you match this to the app.config above. You don't need to worry about the login server right now, there appears to be a back door in the world server that is used for dev.
EDIT 6.a. You need to edit the "world_settings" table and change the setting for "game" to "BorgServerExtension.dll". All you're doing here is removing the full incorrect path to a relative path. Without this, the server can not start.
7. Ensure XNA 3.1 is installed from http://www.microsoft.com/downl…..3fcd9d3e82
8. Finally open the solution in "WORKING_FOLDER\borgserver\trunk\BorgGameEngine.2008.sln". Ensure all projects loaded successfully, if not repeat steps 1-7.
9. In the solution explorer window in VS2008, scroll clear to the top and right click the first item (should say "Solution 'BorgGameEngine.2008' …") and choose "Set Startup Projects". Select "Multiple startup projects:" and set the following items "GameClient_XNA" and "Server_World" to action "Start".
10. Press F5/start and you should see the game and console window launch. The console window is the server running and writes vital debug information. You can type "stop" in the console window at any time to gracefully shutdown the server.
It took me an hour to figure this all out and I thought it could surely help someone else. Between not getting the correct TXnaGE source 3 times and then trying to figure out what to replace the missing app.config file with.
Also I know that it has been said a few times that its believed to be stable enough to use but I beg to differ. In the short time I had it up I could only get one client to connect, the others would sit at entering world and then it would crash if the original character tried to move. I eventually tried closing and opening clients fast and was able to get 2 clients to enter the world but then even after seeing the old clients in the server log out, there were still old character models just sitting on the map.
I'm going to try to look in to this project some more and see if it can be brought up to speed as I want to attempt to make a small MORPG 2d style (think FF3+Zelda). It should also be noted that TXnaGE should only be used to see how the demo game works and allow you to tweak things as a base to learn the code. The TXnaGE project hasn't been updated in like 2 years and shouldn't be relied on. If you don't care about the demo game, you can skip steps 7-10.
If I run in to anymore problems and find solutions, I'll attempt to post them here.
EDIT: Had to fix html backslash for paths.
-Xposure