Howto Install Continuum
IMHO Subspace, a.k.a Continuum, is one of the best MMOPG's in... well, ever. Yes, I'm biased, but this isn't a wiki . Continuum/Subspace is a Windows game, so you will need Wine installed to play it. For anyone who hasn't played Continuum, it is a online ship battle (hundreds of ships are possible) with a number of different game types.
Warning: Because Subspace is a highly mod-able game be sure you trust the administrators on the server. Admins have been known to change settings on a ship by ship basis, on the fly.
Notes:
- There are two ways to do this: Either download a patched wine kernel and place it by hand (the easy way), or patching the wine source and compiling yourself (the other way ).
- If you perused my previous HowTo on this before, you may want to do this again. It eventually ended up breaking my wine installation.
Download Patched Wine
1) Install Wine as normal.
2) Rename the wine kernel:
Code:
sudo mv /usr/lib/wine/kernel32.dll.so{,.bak}
3) Get the patched wine kernel:
Code:
sudo wget http://subspace2.net/kernel32.dll.so -O /usr/lib/wine/kernel32.dll.so
4) Install Continuum (see step 15 in the next section).
5) Play... Woohooo!
Compiling Wine
- If you have wine already installed, make sure you remove it! Synaptic Package Manager is probably the best way to do this. I marked Wine for Complete Removal.
Installation is pretty simple. We'll need patch Wine for Continuum to work and then compile it. If you haven't tried compiling anything before this, don't worry, its not that big a deal.
Ok, lets do it.
1) This will need to be done as root.
2) These are the tools we'll needed compile Wine.
Code:
apt-get install build-essential flex bison xlibs-dev x11proto-gl-dev libgl1-mesa-dev fontconfig libfreetype6-dev fontforge checkinstall
3) I like to compile in the source directory. So much cleaner.
4) Download wine source ( this command will get the source and uncompress it. )
Code:
apt-get source wine
5) Change to the uncompressed Wine directory
6) Open the text editor with new filename cont.diff so that we can create the patch.
Code:
sudo gedit cont.diff
7) The text below is the patch. Choose the right version for the build of Wine you are using.
With versions Wine-0.9.3.38 and above. Copy the text below and paste it in the new text file.
Code:
diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
index 33f9ee1..d50cb7d 100644
--- a/dlls/kernel32/process.c
+++ b/dlls/kernel32/process.c
@@ -2460,6 +2464,7 @@ HANDLE WINAPI OpenProcess( DWORD access,
OBJECT_ATTRIBUTES attr;
CLIENT_ID cid;
+if (access & PROCESS_VM_WRITE) return NULL;
cid.UniqueProcess = ULongToHandle(id);
cid.UniqueThread = 0; /* FIXME ? */
With versions prior to Wine-0.9.3.38. Copy the text below and paste it in the new text file.
Code:
diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
index 33f9ee1..d50cb7d 100644
--- a/dlls/kernel32/process.c
+++ b/dlls/kernel32/process.c
@@ -2460,6 +2464,7 @@ HANDLE WINAPI OpenProcess( DWORD access,
OBJECT_ATTRIBUTES attr;
CLIENT_ID cid;
+if (access & PROCESS_VM_WRITE) return NULL;
cid.UniqueProcess = (HANDLE)id;
cid.UniqueThread = 0; /* FIXME ? */
8 ) Save the text file. And apply the patch.
Code:
cat cont.diff | patch -p1
9) Configure so that your computer is ready to build wine - the CFLAGS varible is needed due to an Ubuntu Bug.
Code:
./configure CFLAGS=-fno-stack-protector
10) Build wine
Code:
make depend && make
This will take awhile depending on the computer, anywhere from 15 minutes to an hour.
11) Now the source code has been made into binaries and all the binary support files. Make it a Debian Package if you wish so it's all nice and easy to install / uninstall. Note, this also installs it.
12) Ok, done with the root stuff.
14) Now we need to configure wine.
It is important to run winecfg, select the Drives tab, click C:, Show Advanced, and set the Serial: value to a random number higher than 2000. If you do not, you cannot connect to catid billers, i.e the name you like may not be registered, or may cause other issues on the SSC biller.
15) Download Continuum
You can get Continuum here.
Now install it like any other program, click installer icon after you uncompress it.
Tip: Wine uses drive Z: for often than not for your root-partition. Navigate from there to where you want to Install Continuum.
16) Start Continuum
Change into the directory the Continuum is installed with the command-line.
Code:
cd ~/Games/Continuum
And start it:
That's it!
Troubleshooting
Graphics
Continuum's graphic setting are best if they match your current desktop settings. i.e. 16 bit color, etc. But many find this isn't necessary.
Sound
If you experience snapping or crackly sound, or not sound at all!, try setting audio to emulation in the drop-down menu using winecfg. If this doesn't work, try using OSS instead of Alsa.
Add Continuum to the Gnome-menu
To add Continuum to the Gnome-menu you can use a similar entry as the one below, substituting the location where you have Continuum installed.
Code:
[Desktop Entry]
Encoding=UTF-8
Name=Continuum
Type=Application
Comment=A Top Down Shooter Online
Exec=wine /home/USER/Applications/Continuum/Continuum.exe
Icon=continuum.png
Categories=Application;Game;ActionGame;
I nice icon can be found here. Place it in "/usr/share/pixmaps/continuum.png" to easily find it.
Resources:
- Linux / Continuum specific details here
- Learned what I needed to compile Wine for Ubuntu here.
Bookmarks