Saturday, January 2, 2010

So this past week I have been enjoying myself with setting up a private Diablo 2 server. With the software PvPGN and D2GS (under WINE since I'm on a linux server).

The procedure has been rather painful I must say, since there's a know issue with D2GS running under WINE, but in the end I got it working.

Now as a Diablo 2 fan myself I was rather eager to get it up and running with latest 1.13 patch, yes it's only PTR at the moment so there were no binary patch files.

So here's my step by step for you on how to get it up and running!

Reminder: I am running it all under linux so this might be different for you!

Step one. Which was actually the most time craving was to find the D2XP patch file and get it down to my server. Many hours later I found that could be accomplished with bnftp with the following command:
bnftp --arch=IX86 --client=D2XP --file=D2XP_IX86_112a_113a.mpq classicbeta.battle.net
bnftp --arch=IX86 --client=D2XP --file=D2XP_IX86_1xx_113a.mpq classicbeta.battle.net
mv D2XP_IX86_*_113a.mpq /var/pvpgn/files


Now the location patch (/var/pvpgn/files) might vary from server to server, make sure this is your files folder.

Step two.
Add an update entry to you're autoupddate.conf file:
IX86 D2XP D2XP_112A D2XP_IX86_112a_113a.mpq
IX86 D2XP D2XP_1xx D2XP_IX86_1xx_113a.mpq


Also make sure that autoupdate is enabled in bnetd.conf

Step three.
Add this entry to your vesioncheck.conf:
# Diablo II - LoD (Expansion) 1.13a PTR #
"A=3845581634 B=880823580 C=1363937103 4 A=A-S B=B-C C=C-A A=A-B" \
IX86ver1.mpq \
IX86 \
D2XP \
"Game.exe 10/22/09 18:15:20 61440" \
0x0000000d \
1.0.13.0 \
0x9712ee34 \
D2XP_113A


Now restart and join your realm to update. Afterwards update your d2gs to 1.13 PTR and replace with your newly updated files!