Difference between revisions of "Admins:Windows Server"
| Line 14: | Line 14: | ||
| − | Once TortoiseSVN is installed open up the newly created Source folder, right click | + | Once TortoiseSVN is installed open up the newly created Source folder, right click and choose SVN Checkout. In the window that popped up, enter the ''URL of repository''. |
| + | [https://svn.eq2emulator.net/svn/eq2server https://svn.eq2emulator.net/svn/eq2server] | ||
| + | |||
| + | Also make sure the ''Checkout Directory'' is the directory you want to download the source to (C:\EQ2\Source). It should look similar to this image. | ||
| Line 20: | Line 23: | ||
<br clear=all/> | <br clear=all/> | ||
| − | + | ||
| + | If this is your first visit to the SVN, you will be greeted by a Certificate validation failed error. You will have to validate the certificate before you can proceed. Choose either the ''Accept the certificate'' or the ''Accept the certificate permanently''. The latter option will not prompt you again to validate the certificate. | ||
| + | |||
| + | This is safe as long as the certificate is from MMO, MMOE, Phoenix, AZ, US. | ||
| + | |||
[[File:CertFailed.png|400px]] | [[File:CertFailed.png|400px]] | ||
<br clear=all/> | <br clear=all/> | ||
| + | |||
| + | Once you are past that. | ||
Click on the OK button and you will then have another window popup asking for authentication. The login credentials are '''SVN Username: anonymous (no password required)''' | Click on the OK button and you will then have another window popup asking for authentication. The login credentials are '''SVN Username: anonymous (no password required)''' | ||
| Line 46: | Line 55: | ||
<br /> | <br /> | ||
<center> | <center> | ||
| + | |||
| + | |||
| + | Check out the [http://www.eq2emulator.net/phpBB3/index.php?i=pages&mode=svn SVN Page] for tools. | ||
| + | |||
| + | |||
| + | |||
====== | ====== | ||
Revision as of 15:37, 10 January 2018
Admins - How to compile a windows server
Return to: Admins | Tutorials | Portal | Forum | Project Manager | Bug Tracker
This is a guide on getting the source code and compiling it using a windows environment.
Create a folder in the root of your drive c: named eq2. Inside the eq2 folder create a folder named EQ2Emu. Additionally you should create another folder called eq2client (where the backup copy of your client should go). Inside eq2emu (the working directory) create a folder "Source".
In order to download the source a GUI subversion client such as TortoiseSVN is recommended to retrieve the source code, and will be used in this guide.
Once TortoiseSVN is installed open up the newly created Source folder, right click and choose SVN Checkout. In the window that popped up, enter the URL of repository.
https://svn.eq2emulator.net/svn/eq2server
Also make sure the Checkout Directory is the directory you want to download the source to (C:\EQ2\Source). It should look similar to this image.
If this is your first visit to the SVN, you will be greeted by a Certificate validation failed error. You will have to validate the certificate before you can proceed. Choose either the Accept the certificate or the Accept the certificate permanently. The latter option will not prompt you again to validate the certificate.
This is safe as long as the certificate is from MMO, MMOE, Phoenix, AZ, US.
Once you are past that.
Click on the OK button and you will then have another window popup asking for authentication. The login credentials are SVN Username: anonymous (no password required)
Time to load the source into Visual Studios. This guide was done using Visual Studio 2013 Community Edition.
- Open EQ2WorldVC10.sln in the win folder and run through the conversion wizard.
- In Visual Studio 2010, 2012, or 2013 right click the project and select properties
- Under the VC++ Directories: ensure the following are included (should be configured already) (the same x64 equivalents if compiling x64)
- Include directories
- $(SolutionDir)..\source\depends\mysql-5.1.45-win32\include
- $(SolutionDir)..\source\depends\zlib\include
- Library directories
- $(SolutionDir)..\source\depends\mysql-5.1.45-win32\lib\opt
- $(SolutionDir)..\source\depends\zlib\lib
- Include directories
- Compile and enjoy. (if you experience issues compiling the x64 you may need the Windows 7.1 SDK)
Check out the SVN Page for tools.
==
Original guide taken from EQ2Emu Forums posted by Razmalone
Origional Post Here
Updated here by theFoof 3/10/13