PvPGN install on windows using sourcecode

From PVPGN

Jump to: navigation, search

install on windows using sourcecode PVPGN-SVN-CVS-MYSQL-POSTRESQL-NEWEST-VERSION

Download the sourcecode via SVN:

We will be download the newest pvpgn-1.99. svn version. So first we need an svn downloader like tortoise-svn. You can download here the program : [1] Install the program. When you are ready you create a dir for pvpgn source files. Like C:\PVPGN\ and you click with your right mouse button to the directory. After this you select Tortoisesvn-> Export In the first line where you want to get the source code type this: http://svn.berlios.de/svnroot/repos/pvpgn/trunk/pvpgn And Press OK -> program now downloading the pvpgn source, this will be take 2 minutes maximum.

Download the sourcecode via CVS:

I think PVPGN-CVS doesn't work! I tried yesterday, but I'm not sure. We will be download the newest pvpgn-1.99. cvs version. So first we need an cvs downloader like tortoise-cvs. You can download here the program : [2] Install the program. When you are ready you create a dir for pvpgn source files. Like C:\PVPGN\ and you click with your right mouse button to the directory. After this you select TortoiseCVS-> Export type this: http://cvs.berlios.de/cgi-bin/viewcvs.cgi/pvpgn And Press OK -> program now downloading the pvpgn source, this will be take 2 minutes maximum.

Make dirs:

Make directories where you download sourcecode like this: C:\PVPGN\build\ and also C:\PVPGN\zlib\

Download Zlib:

[3] and also this [4] And extract in C:\PVPGN\zlib

Download and install MYSQL:

The newest version in mysql when I was write this article is 6.0 [5] I don't paste direct link becouse someone has 64bit processor. You can install everywhere just remember where you installed. And when you installing choose advanced installation and don't forget mark the developer files!!

Download and install PostreSQL:

You can download here: [6] Install them.

Download and install Cmake:

[7] after you finished the download install the program.

Download and install Visual Studio 8 2005 90 Day Trial version:

You can download VS2005 -> [8] you need only Visual C++ so you can unmarked Visual Basic, J#, C# Microsoft SQL 2005(MSQL) mobile development tools and etc.

Compiling....

Start Cmake -> Start->All Programs-> Cmake-> Cmake Where is the source code: -> in my computer C:\PVPGN\ Where want to make the binaries: C:\PVPGN\build\ After this click Configure and select Visual Studio 8 2005 cmake doesn't find zlib files and you get an error message. You browse the directory to cmake -> C:\PVPGN\zlib\ and dll file. Also you must mark ON or OFF MYSQL or PostreSQL and add developer files directory and dll file. If you want you can disable D2CS support or bnet just take it OFF. Or you can modify installation dir. Now you can click to OK button and cmake will be work on long time.

When cmake finished you can open C:\PVPGN\build\ directory and start pvpgn.sln file. Visual Studio 2005 will be load project files. After this click on build -> BUILD ALL or INSTALL VS2005 will be work on several minutes, and created files in C:\Program Files\pvpgn\ or what you option in cmake.

When VS2005 is ready you must copy mysql or postresql developer files in the same dir like bnetd.exe If you have MSQL -> \MySQL\MySQL Server 5.0\lib\opt\ from here. If you have PostreSQL -> \PostgreSQL\8.2\bin\ from here. To sbin folder like this: C:\Program Files\pvpgn\sbin\bnetd.exe here. And you must download support files [9] And extract in \files\ directory.

I think you are ready with the compiling, try to config your server you find here [wiki.pvpgn.org] tutorials If you have some question post in pvpgn forum [10]



Also you could to use PvPGN Magic Builder to automate all these steps/


Personal tools