Difference between revisions of "Admins:Windows Server"

(How to compile a windows server)
Line 1: Line 1:
 
== How to compile a windows server ==
 
== How to compile a windows server ==
  
* Download zlib code and extract it to C:\zlib.
 
** [http://www.zlib.net/zlib125-dll.zip  zlib download]
 
  
* Download and install MySql
+
* Download latest source from the SVN
** [http://downloads.mysql.com/archives/mysql-5.0/mysql-5.0.45-win32.zip mysql-5.0.45]
+
** [http://www.eq2emulator.net/phpBB3/index.php?i=pages&mode=svn SVN Page]
** [http://mirror.gnudownload.org/MySQL Alternate Mirror]
 
  
* Download latest source release
+
* Open EQ2WorldVC10.sln in the win folder and run through the conversion wizard.
** [http://sourceforge.net/project/platformdownload.php?group_id=140686 EQ2Emu0.4.0]
 
  
* Open World.sln and run through the conversion wizard.
+
* In Visual Studio 2010 or 2012, right click the project and select properties
  
* In Visual Studio 2005 or 2008(will probably work the same with 2003), click Tools-> Options-> Projects and Solutions then choose VC++ Directories.
+
* 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
  
* Under the Show Directories For: click on the drop down box and choose Include Files
+
* Compile and enjoy. (if you experience issues compiling the x64 you may need the Windows 7.1 SDK)
 
 
* Click the new line button (Ctrl+Insert) and find C:\zlib\include
 
 
 
* Repeat the previous step and add C:\Program Files\MySql\MySql Server 5.0\Include
 
 
 
* Now click on the Show Directories For: drop down box again and choose reference files and add C:\Program Files\MySql\MySql Server 5.0\lib\opt.
 
 
 
* Then click on the Show Directories For: drop down box again and choose library files and add C:\Program Files\MySql\MySql Server 5.0\lib\opt.
 
 
 
* Rename zlib1.dll (found in C:\zlib) to zlib.dll and copy it into your EQ2Emu folder
 
 
 
* Be sure to check you are using the correct update server for your schema (see forums) Latest as of 22/10/09: updates.eq2emulator.net 9103
 
  
 
<br />
 
<br />
Line 34: Line 24:
  
 
======
 
======
Guide taken from EQ2Emu Forums posted by Razmalone
+
Original guide taken from EQ2Emu Forums posted by Razmalone
 
[http://www.eq2emulator.net/phpBB3/viewtopic.php?t=131 Origional Post Here]
 
[http://www.eq2emulator.net/phpBB3/viewtopic.php?t=131 Origional Post Here]
 
+
<br /> Updated here by theFoof 3/10/13
 
======
 
======
 
</center>
 
</center>

Revision as of 15:38, 10 March 2013

How to compile a windows server

  • Download latest source from the SVN
  • Open EQ2WorldVC10.sln in the win folder and run through the conversion wizard.
  • In Visual Studio 2010 or 2012, 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
  • Compile and enjoy. (if you experience issues compiling the x64 you may need the Windows 7.1 SDK)



==

Original guide taken from EQ2Emu Forums posted by Razmalone Origional Post Here
Updated here by theFoof 3/10/13

==