Philosopher
06-23-2008, 05:53 PM
[UPDATED 9/04/2008 (see my post in this thread at that date): These instructions have now been followed with success in OpenSUSE 11.0 as well as Ubuntu.]
I've seen others request guides like this without receiving much help, so I figured that I'd offer what worked for me. Performing the following (simple) steps, I was able to get PsiNet + the Wizard Front End running flawlessly (so far as I can tell) on Linux.
[NOTE: I performed these steps on a completely up-to-date (as of 06/23/08) 32-bit Ubuntu Linux system, running Ubuntu 8.04 (Hardy Heron). The steps are fairly generic, though, so it should (hopefully) work on all Linux systems capable of running the necessary programs and capable of connecting to the internet. Also, please note that you will get a few error/warning messages along the way, but they can (usually) safely be ignored. Finally, for those of you who don't know, the '$' symbols in the code blocks are symbols for the prompt, so you should not actually type the '$' when entering commands.]
Step 1: Install and configure Wine on your system.
Hopefully you've done this already, but if not, read on. (If you have done this, you can skip this step.)
How you should perform this step will depend upon the brand of Linux you are using, so I will have to leave it mostly up to you; if you don't know how to install/configure Wine, you should be able to find instructions via Google. If you are using Ubuntu 8.04, Wine should (I think) be pre-installed on your system, but if it's not, you can get it from the repositories by typing:
$ sudo aptitude update
$ sudo aptitude install wine
You should configure Wine using
$ winecfg Typically, you won't actually need to make any changes here. All that you need to do in winecfg is make sure that you have a directory set for the Windows drive C: (under the "Drives" tab, it will likely say "../drive_c" under "Drive Mapping"; that's perfect). If you've got that, you're pretty much good to go. (If it ends up making a difference, I have Wine set to run applications under "Windows XP" mode.)
Step 2: Download and install the Simutronics Game Launcher.
The Launcher is available at: https://www.play.net/software/lnchInst.exe. Download the file, and then, in a terminal, type (assuming that you are in the same directory as the file):
$ wine lnchInst.exe The Launcher installation should begin; just install it as usual.
Step 3: Download and install the Wizard Front End.
Some people run into problems installing the Wizard Front End via Wine on Linux. I am one of those people. What happens for me, and apparently for others, is that the Wizard installation hangs indefinitely as it searches for previous versions. So, in order to avoid this problem, the Wizard FE has to be installed in a somewhat roundabout (though still very easy) way. If you can install the Wizard FE on your system the usual way (i.e., via Simu's website), go ahead and do that and ignore the rest of this step; if not, read on.
Here's what you should do to install the Wizard FE. I've got a version of an installer from the Role-Players Gaming Network, Inc. (the makers of Haelrahv and Eaxia) that works under Wine without the above problems. You can find it somewhere on their websites, so look there first if you'd like; currently, however, their sites are down, so I've uploaded it here: http://www.filedropper.com/goplaysetup121. [EDIT: This file appears to have disappeared. You can also find it here, however: http://downloads.eaxia.com/GoPlaySetup121.exe.] Just go there, download that file, and then go to wherever it is located on your hard drive via a terminal. At the terminal, type:
$ wine GoPlaySetup121.exe Just accept the defaults and proceed through the installation; it'll install a bit more crap than you need, but at least it will get the Wizard quickly installed on your system without the above problems.
Step 4: Download and install Mono for Windows.
This is a crucial step. Mono for Windows is a program that will, among other things, allow you to run .NET applications under Wine. PsiNet makes use of parts of the .NET framework, so Mono is what will allow you to get it running.
The Mono download page is here: http://www.go-mono.com/mono-downloads/download.html. You should select "Windows" and then download the file listed under "Mono for Windows, Gtk#, and XSP." A direct link to the currently available file is here: http://ftp.novell.com/pub/mono/archive/1.9.1/windows-installer/2/mono-1.9.1-gtksharp-2.10.4-win32-2.exe.
Once you've downloaded that file, run it from the terminal under Wine by typing:
$ wine mono-1.9.1-gtksharp-2.10.4-win32-2.exe Proceed through the installation as usual. All you really need are the Mono files, so feel free to uncheck the other boxes if you'd like to save space.
Step 5: Download PsiNet.
The current version is available at: http://psinet.dynalias.net/download.html. Do not attempt to run this program with Wine; PsiNet will not install correctly. Instead, proceed to the next step.
Step 6: Decompress the PsiNet installation file.
Open a terminal and go to the directory where you have downloaded the aforementioned PsiNet installation file. If you've downloaded the current version of PsiNet (as of this writing), the file name will be PsiNet2-Setup-2.1.2.1873.exe. Go ahead and copy (or move) that file to your Wine "drive_c" directory (on a default installation of Wine, this will be /home/username/.wine/drive_c/, where "username" should be your actual username), and then navigate (via the Terminal) to that directory (i.e., if you're using the default Wine installation, type "cd /home/username/.wine/drive_c/"). Now type:
$ unzip PsiNet2-Setup-2.1.2.1873.exe The installation file should decompress into five separate files, the most important one being PsiNet2.exe.
Step 7: Download winetricks.
winetricks is a script to download and install runtime libraries sometimes needed to run programs in Wine. For whatever reason, I found that my installation of PsiNet required the runtime library "gdiplus.dll". I used winetricks to get it quickly and easily.
To download winetricks, type (at a terminal):
$ wget http://kegel.com/wine/winetricks The script will begin downloading; wait until it finishes, and then type:
$ sh winetricks gdiplus This just runs winetricks and tells it to get gdiplus.dll. You should receive a Windows-style popup that asks if you want to install MicroSoft's PowerPoint Viewer or something like that; say yes, and proceed through that installation. This will get gdiplus.dll on your system for use in Wine.
We're almost there now. Apparently this post is too long for one entry, though, so proceed to the next post in this thread.
I've seen others request guides like this without receiving much help, so I figured that I'd offer what worked for me. Performing the following (simple) steps, I was able to get PsiNet + the Wizard Front End running flawlessly (so far as I can tell) on Linux.
[NOTE: I performed these steps on a completely up-to-date (as of 06/23/08) 32-bit Ubuntu Linux system, running Ubuntu 8.04 (Hardy Heron). The steps are fairly generic, though, so it should (hopefully) work on all Linux systems capable of running the necessary programs and capable of connecting to the internet. Also, please note that you will get a few error/warning messages along the way, but they can (usually) safely be ignored. Finally, for those of you who don't know, the '$' symbols in the code blocks are symbols for the prompt, so you should not actually type the '$' when entering commands.]
Step 1: Install and configure Wine on your system.
Hopefully you've done this already, but if not, read on. (If you have done this, you can skip this step.)
How you should perform this step will depend upon the brand of Linux you are using, so I will have to leave it mostly up to you; if you don't know how to install/configure Wine, you should be able to find instructions via Google. If you are using Ubuntu 8.04, Wine should (I think) be pre-installed on your system, but if it's not, you can get it from the repositories by typing:
$ sudo aptitude update
$ sudo aptitude install wine
You should configure Wine using
$ winecfg Typically, you won't actually need to make any changes here. All that you need to do in winecfg is make sure that you have a directory set for the Windows drive C: (under the "Drives" tab, it will likely say "../drive_c" under "Drive Mapping"; that's perfect). If you've got that, you're pretty much good to go. (If it ends up making a difference, I have Wine set to run applications under "Windows XP" mode.)
Step 2: Download and install the Simutronics Game Launcher.
The Launcher is available at: https://www.play.net/software/lnchInst.exe. Download the file, and then, in a terminal, type (assuming that you are in the same directory as the file):
$ wine lnchInst.exe The Launcher installation should begin; just install it as usual.
Step 3: Download and install the Wizard Front End.
Some people run into problems installing the Wizard Front End via Wine on Linux. I am one of those people. What happens for me, and apparently for others, is that the Wizard installation hangs indefinitely as it searches for previous versions. So, in order to avoid this problem, the Wizard FE has to be installed in a somewhat roundabout (though still very easy) way. If you can install the Wizard FE on your system the usual way (i.e., via Simu's website), go ahead and do that and ignore the rest of this step; if not, read on.
Here's what you should do to install the Wizard FE. I've got a version of an installer from the Role-Players Gaming Network, Inc. (the makers of Haelrahv and Eaxia) that works under Wine without the above problems. You can find it somewhere on their websites, so look there first if you'd like; currently, however, their sites are down, so I've uploaded it here: http://www.filedropper.com/goplaysetup121. [EDIT: This file appears to have disappeared. You can also find it here, however: http://downloads.eaxia.com/GoPlaySetup121.exe.] Just go there, download that file, and then go to wherever it is located on your hard drive via a terminal. At the terminal, type:
$ wine GoPlaySetup121.exe Just accept the defaults and proceed through the installation; it'll install a bit more crap than you need, but at least it will get the Wizard quickly installed on your system without the above problems.
Step 4: Download and install Mono for Windows.
This is a crucial step. Mono for Windows is a program that will, among other things, allow you to run .NET applications under Wine. PsiNet makes use of parts of the .NET framework, so Mono is what will allow you to get it running.
The Mono download page is here: http://www.go-mono.com/mono-downloads/download.html. You should select "Windows" and then download the file listed under "Mono for Windows, Gtk#, and XSP." A direct link to the currently available file is here: http://ftp.novell.com/pub/mono/archive/1.9.1/windows-installer/2/mono-1.9.1-gtksharp-2.10.4-win32-2.exe.
Once you've downloaded that file, run it from the terminal under Wine by typing:
$ wine mono-1.9.1-gtksharp-2.10.4-win32-2.exe Proceed through the installation as usual. All you really need are the Mono files, so feel free to uncheck the other boxes if you'd like to save space.
Step 5: Download PsiNet.
The current version is available at: http://psinet.dynalias.net/download.html. Do not attempt to run this program with Wine; PsiNet will not install correctly. Instead, proceed to the next step.
Step 6: Decompress the PsiNet installation file.
Open a terminal and go to the directory where you have downloaded the aforementioned PsiNet installation file. If you've downloaded the current version of PsiNet (as of this writing), the file name will be PsiNet2-Setup-2.1.2.1873.exe. Go ahead and copy (or move) that file to your Wine "drive_c" directory (on a default installation of Wine, this will be /home/username/.wine/drive_c/, where "username" should be your actual username), and then navigate (via the Terminal) to that directory (i.e., if you're using the default Wine installation, type "cd /home/username/.wine/drive_c/"). Now type:
$ unzip PsiNet2-Setup-2.1.2.1873.exe The installation file should decompress into five separate files, the most important one being PsiNet2.exe.
Step 7: Download winetricks.
winetricks is a script to download and install runtime libraries sometimes needed to run programs in Wine. For whatever reason, I found that my installation of PsiNet required the runtime library "gdiplus.dll". I used winetricks to get it quickly and easily.
To download winetricks, type (at a terminal):
$ wget http://kegel.com/wine/winetricks The script will begin downloading; wait until it finishes, and then type:
$ sh winetricks gdiplus This just runs winetricks and tells it to get gdiplus.dll. You should receive a Windows-style popup that asks if you want to install MicroSoft's PowerPoint Viewer or something like that; say yes, and proceed through that installation. This will get gdiplus.dll on your system for use in Wine.
We're almost there now. Apparently this post is too long for one entry, though, so proceed to the next post in this thread.