Sunday, July 25, 2010

Making a Windows 7 installation USB stick.

diskpart
list disk
select disk [USBDeviceNr_From_ListDisk]
remove
clean
create partition primary
active
format fs=ntfs quick
assign
exit
[CDDrive]:\boot\bootsect.exe /nt60 [USBDrive]
robocopy [CDDrive]: [USBDrive]: /MIR

Sunday, June 20, 2010

This is merely a note to myself, the Win32 SVN CLI client is at http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100

Sunday, April 25, 2010

Uninstallation problem with older InstallShield installers.

I've had some programs lying around on my computer for quite some time now, uninstaller has failed each time with not so much as a dialog box telling me it failed.
So, yesterday I decided to see if a 3rd party uninstaller could do the trick, my first and successfull attempt was with Revo Uninstaller.
Although it wasn't the success that interested me, but the registry keys that it found.
Apperantly, the objects available in Program and Features, or for the XP / 2003 / 2000 user; Add or remove programs are stored in hive HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\, there you'll find everysingle one of 'em.

By looking at the value of DisplayName key by key you will find the one you're looking for. Now beneth DisplayName you'll find UninstallString as well, like shown below.
The last part ("C:\Program Files (x86)\InstallShield Installation Information\...") is where you want to go, in that folder there will be a setup.exe file, run that and uninstall. Success!

Friday, April 9, 2010

You better think twice.

If you're going to do something wierd like incest, it should atleast be enjoyable.
Otherwise it's pointless!
And pointless incest makes baby Chtulhu cry.

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!