Jamie F Jan 4 @ 6:20pm
Old Linux games (loki) Updated How to LInux. OpenSuse/Ubuntu Debain Verrants Wip .02
--------------------------Pre Req's:

Ubuntu 12.04 -13.10
ia32-libs
Fully updated

Open Suse 32 bit packages of SDL (in yast repo's)

-=Kernel patching sounds harder then it actually is=-

apt-get source linux-image-$(uname -r)
sudo apt-get build-dep linux-image-$(uname -r)
sudo apt-get install fakeroot
sudo apt-get install libncurses5-dev

Should be in your home folder ubuntu-percise or its raring depnding on distro from cmd line move to that directory.

chmod a+x debian/scripts/*
chmod a+x debian/scripts/misc/*
fakeroot debian/rules clean
fakeroot debian/rules editconfigs

it will ask you if you want to modify your config: Yes

from config menu scroll down to drivers > soundcards > alsa (Advanced Linux Sound Architecture) > moduels
snd_pcm_oss
snd_mixer_oss

just hit the space bar to enable them
tab to exit at bottom exit exit exit to the end then when it asks to save your config hit yes
do the same for i386

the last config it asks to modify hit yes then just save exit (no mods needed but dont skip it as it generates the needed files)

back to prompt
fakeroot debian/rules clean
fakeroot debian/rules binary-headers binary-generic

let it build this will take upwards of 30 mins to a a few hours depening on how fast your machine is.

If the build is successful, a set of three .deb binary package files will be produced in the directory above the build root directory. For example after building a kernel with version "3.8.0-35-generic_3.8.0-35.50" on an amd64 system, these three .deb packages would be produced (its in the root of your home folder :))
(this verries on whatever kernel you are running!)
sudo dpkg -i linux*3.8.0-35.50*.deb (or whatever version u are running)
sudo reboot -n

Congrats you just reconfigured your kernel :P

OpenSUSE
load yast
load /etc/sysconfig

navigate to hardware sound cards
enable
snd_pcm_oss
snd_mixer_oss
save and exit reboot system

now you have proper alsa oss moduels that will work :P

Time for the fun stuff..

Game : Rune + Vahalla

Insert loki cd
copy contents from cd to a folder in your home folder
From terminal change ownership from root to yourself
chown your user name directory of game
from terminal run installer as root with linux32 sh setup.sh
say read install notes or no
No to loki installer or yes doesnt matter it wont install
yes or no to uninstaller
yes to install game

no to running game as you dont wanna run it as root

now run rune from terminal so it can create config files for u and load game

Terminal
sudo gedit /usr/local/bin/rune or nano or vim

change

export RUNE_DATA_PATH
to
export RUNE_DATA_PATH=/usr/local/games/rune/System
{ubuntu users Opensuse doesn't need this edit}
in the off chance u need to u can edit it the same way in suse
save and exit

from terminal chown /your homefolder/.loki/ to yourself

that way u can navigate to the rune.ini file and make edits

Fullscreen from true to false (unless you want FS)
mouse capture True or false lets you move mouse outside window
start game with rune

you can also install the rune updates and expantion
Alpha centarui ubuntu / debian / opensuse

(Fixed audio completly)
http://www.twitch.tv/jamielinux/c/3533569
insert alpha centari cd

Download from http://liflg.org/?catid=7&gameid=90
smac_6.0a-english_x86.mojo.run
chmod +x the installer
Install game
cmd line
from installed directory gedit nano or vi smac.sh script
un comment SDL_AUDIODRIVER="ALSA"
change to SDL_AUDIODRIVER="DSP"
save and exit

The following arguments may be given to Alpha Centauri:

[-h | --help] Display this help message
[-v | --version] Display the game version
[-f | --fullscreen] Run the game fullscreen
[-w | --windowed] Run the game in a window
[-s | --nosound] Do not access the soundcard
[-c | --nocdrom] Do not access the CD-ROM

Id Software: Zerowing
http://zerowing.idsoftware.com/


Note to ubuntu users:
The reason why we pull source for the kernel from uname -r is to pull your already configured kernel down. Ubuntu repo kerenls are not configured and building off there repo is going to leave you with a highly un useable system.)
Last edited by Jamie F; Jan 19 @ 1:45pm
Showing 1-15 of 22 comments
< >
[Linux] Junior s2 Camila Jan 4 @ 8:50pm 
Is ia32-libs still needed? The damn thing is older than me! =P
Jamie F Jan 4 @ 8:53pm 
yes and no if u know what the game depends on you can make a folder with those libs and a sh script to call that directory with ld preloads its just easier.
Jamie F Jan 4 @ 9:02pm 
most of the ut based games wont need it as there not glibc spcific and will run on newer glibc so if u have ones that are x32-x64 compatable u dont need to modify much on there own sh scripts just point to the directory where the base game was installed.

games like sim city 3k and so forth need above modificaiton love.

you do how ever need the 32 bit aoss:386 or else your not going to hear ♥♥♥♥... debian can get around this with sudo modprobe snd_pcm_oss but not ubuntu being blacklisted do to bugs also steam os kernel should be re configerable with modprobe as its based on debian
Last edited by Jamie F; Jan 4 @ 9:16pm
[Linux] Junior s2 Camila Jan 4 @ 9:47pm 
Originally posted by Jamie:
yes and no if u know what the game depends on you can make a folder with those libs and a sh script to call that directory with ld preloads its just easier.
Hmmm, that changes a lot of things..

You're doing an amazing job Jamie.
Jamie F Jan 4 @ 10:22pm 
Originally posted by Arch Linux Junior s2 Camila:
Originally posted by Jamie:
yes and no if u know what the game depends on you can make a folder with those libs and a sh script to call that directory with ld preloads its just easier.
Hmmm, that changes a lot of things..

You're doing an amazing job Jamie.

eh naa just me i like games i like linux i like older games to work on modern distros lol...
Jamie F Jan 6 @ 11:55pm 
as much as i hate to say this most the game we can get to work ill remake the op with a few walkthoughs on how to get most the games working got a list going but as far as AC and Sim city your better off getting the gog version and playing though wine... To many years have past and getting the game to not seg fault is impossable at least on deb / ubuntu Arch still might have a chance or distros like crunchbag and LFS so on..
Last edited by Jamie F; Jan 6 @ 11:56pm
LOLCAT Jan 7 @ 2:04am 
If you need a challenge, try to get Serious Sam 2 to work. Close to impossible...
Jamie F Jan 9 @ 4:15pm 
working on a 2 part update to this if your on ubuntu and debian ill give you directions on how to reconfigure the kernel to add back in alsa oss emulation support to fix some audio issues.. (provide pre recompiled kernels with the changes to the config. ) Once steam os has source fully (unless someone can point me to there source.) Ill do a 32/64 bit steam os kernel with some compatability support..

I also made some newer loki compatability libraries that are chrooted and work on modern distros atm they will run the older games fine just need to fix issues with oss sound emulation hence the kernel reconfigure..

It fixes some abi errors and seg fault crashing..
Last edited by Jamie F; Jan 9 @ 4:17pm
Jamie F Jan 9 @ 4:19pm 
After that im also working on getting them rebuilt with the steam sdk to give more proper steam support. :P
Jamie F Jan 11 @ 4:39pm 
updated for alpha centarui.
http://www.twitch.tv/jamielinux/c/3533569
Last edited by Jamie F; Jan 11 @ 8:50pm
Jamie F Jan 11 @ 8:50pm 
link to video also in decription i know some people dont like to scroll up
aliceif Jan 12 @ 2:39am 
A quick shoutout to zerowing.idsoftware.com should be added, too.
Jamie F Jan 12 @ 1:47pm 
added
Kranky K. Krackpot Sr. Jan 12 @ 2:08pm 
Originally posted by Jamie:
link to video also in decription i know some people dont like to scroll up
BTW you make nice streams. How do you do them?
Jamie F Jan 12 @ 2:20pm 
Originally posted by Kranky K. Krackpot:
Originally posted by Jamie:
link to video also in decription i know some people dont like to scroll up
BTW you make nice streams. How do you do them?

thanks that was just ssr screen grab to twitch tv
Showing 1-15 of 22 comments
< >
Per page: 15 30 50
Date Posted: Jan 4 @ 6:20pm
Posts: 22