Search:  
Gentoo Wiki

Continuum


This article is part of the HOWTO series.
Installation Kernel & Hardware Networks Portage Software System X Server Gaming Non-x86 Emulators Misc

Continuum (aka Subspace) is a top-down Windows Multiple-Player-Online-Game space shooter. Continuum/Subspace offers many different game types/arenas.

Screenshot Continuum
Screenshot Continuum

Description from Subspace.net:

Ever imagine what it'd be like to play Asteroids against your friends? Want to savor the satisfaction of blasting people out of space in some addictive side-scrolling 2D spaceship shooter action? Slap on some snazzy graphics, guns, bombs & big explosions and the beautiful revelry of flying past your enemy's debris as they cuss at you, and you have Continuum, the longest running massively multiplayer spaceship shooter game running today.

Warning: Because of it's extensive ability to be configured, bots that run most of the arenas, can be used to change settings per individual and dynamically.


Contents

Using an Overlay

Continuum requires a patched Wine (Windows API) to play in Linux. To do this one can modify a portage ebuild to add the patch before compiling but when portage is synced the modified ebuild and patch will be lost, using an overlay will avoid this.

To learn more about using and overlay read this.

Add a local overlay to your make.conf. Then create the overlay tree to correspond to the portage one:

mkdir /usr/local/portage/app-emulation/

Copy the portage wine directory to the overlay

cp -R /usr/local/portage/app-emulation/wine /usr/local/portage/app-emulation

I prefer to freeze the ebuild so a newer version (an unpatched portage version) doesn't replace it on an update.

nano /etc/portage/package.mask

and add

app-emulation/wine

and unmask the version you want to freeze.

nano /etc/portage/package.unmask
# Wine version I patched for Continuum
=app-emulation/wine-<version>

Patching Wine

Create the file with nano (or favorite text editor) and add the patch information.

nano /usr/local/portage/app-emulation/wine/files/continuum.patch

For builds > or = wine-0.9.38

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 ? */

For builds < wine-0.9.37 and before:

inherit eutils

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 ? */

The ebuild will need the new patch information, choose which version of wine to use, usually the latest stable is best.

nano /usr/portage/app-emulation/wine/wine-<version>.ebuild 

At the end of

"src_unpack() {" in:

Add the patch info.

epatch "${FILESDIR}"/continuum.patch

The "Manifest" in the directory keeps track of ebuild integrity. Since the ebuild is now a different size we'll have to update the "Manifest"

ebuild /usr/portage/app-emulation/wine/wine-<version>.ebuild digest

Now the overlay for wine is set and you can emerge.

emerge wine

Dont' forget to setup your wine-config.

winecfg

Download Continuum from the site listed above.

Place in the Gnome Menu

This is a basic script that starts Continuum to the gnome-menu.

nano /usr/bin/continuum

Add this:

#bin/sh
cd ~/Games/Continuum
wine Continuum.exe

Then make it executable.

chmod +x continuum

Having created the file in /usr/bin/ the file will be recognized just like any other program typed into the command line. To add Continuum to the Gnome-menu a .desktop file is needed in /usr/share/applications/ you can use something like this:

[Desktop Entry]
Encoding=UTF-8
Name=Continuum
Type=Application
Comment=A Top Down Shooter Online
Exec=continuum
#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.

Enjoy thats it! Have Fun!

Tips

  • It can help to set Continuum's graphics to 16bit to improve performance or make it necessary to run.
  • If you use 16 or 24bit depth graphics on your desktop, Continuum may crash if it is set to the default 32bit.
  • If you have erratic or delayed sound, use winecfg and check Alsa in the Audio Tab. Then in the drop-down window select emulated.. If that doesn't work un-select Alsa and select OSS.
  • If you want to use Continuum chat, and you use gnome, switch the desktops: alt + ctrl + rt. arrow.

Sources


Last modified: Fri, 05 Sep 2008 02:06:00 +0000 Hits: 4,457