FoT in Linux! I got it working (runs fast!)

Dukester

First time out of the vault
I managed to get Fallout: Tactics working in Linux with great performance! Here's my install notes.

- Machine: I'm using an Athlon-XP 2400+ with 1G of RAM.

- Kernel: Linux 2.6.8 built with ALSA sound

- OS: Gentoo Linux compiled with the following settings:
CFLAGS="-march=athlon-xp -mfpmath=387,sse -O2 -pipe
-fno-align-labels -falign-functions=16 -falign-loops=4
-falign-jumps=4 -fomit-frame-pointer"

- Wine: Use regular wine from CVS (not cedega/winex) and compile it with the same CFLAGS as above.

It is important to use regular wine from CVS. It runs FoT about 1000 times faster than Cedega 4.2 (I tried Cedega first).

Make a custom xorg.x11 configuration file called xorg.conf.bos and specify 16 bit color depth, make the resolutions "1024x768", "800x600", and "640x480"

Take your windows dir of FoT, and apply the no-cd patch if you want to make your life a lot easier. Copy the folder into your fake windows drive in Linux and do a "chmod -R 755 Fallout\ Tactics". Then take the Ereg subfolder and rename it or delete it.

When you run FoT as the window manager, it doesn't remove the X-Window system default cursor (wine bug) so you need to replace the big X with a one pixel cursor. Fire up bitmap and make a 1 pixel black bitmap and set the hotspot. Save it as 1x1.xpm, and then uncheck the hotspot and save it again as 1x1.mask. Copy these into the FoT root directory.

Now we use 2 scripts to run this game from the console in a new X-Session on VT8, this is so it can run at 16bpp and you don't have to mess with your default X desktop settings.

First file, lets call it "bos.run"
Code:
#!/bin/bash
cd ~/c_drive/Program\ Files/Fallout\ Tactics
xsetroot -cursor 1x1.xpm 1x1.mask
/usr/local/bin/wine -- BOS.exe

Then the second file, this is what you run from the console, call this one "tactics"
Code:
#!/bin/bash
xinit ~/bin/bos.run -- :1 vt8 -xf86config xorg.x11.bos

Copy both of those into ~/bin and set them executable. Run "tactics" from a linux console, i.e. *not* from inside x-windows.

And thats all there is to it. Fullscreen Fallout: Tactics running at about 95% to 150% of its native windows speed under Gentoo Linux.The above demonstrates my approach, and most importantly, I have proved that it is possible and have gotten really good performance. It could be my imagination, but to me it seems to be running a *lot* faster in Gentoo than it does in Win2k. Go figure.

Later days!

[edit] Fixed a typo in the "tactics" script
 
Wow, that's amazing.

I definately envy those who can effectively use Linux; as I had KDE installed and it took me about 30 minutes to get ANYTHING to run in WINE.

With that stated, Linux itself is 150 - 200% faster than Windows :lol:

Could you recommend a good Linux spin-off? (Mandrake, Gentoo, Gnome)

Regards,
DarkLegacy
 
Wow! Have you tried to get FO2 running in Wine? I've been wondering about that for some time.
 
Answers to your Linux questions

Hey, just checking in. I see I have a couple questions to answer.

DarkLegacy writes:
Could you recommend a good Linux spin-off? (Mandrake, Gentoo, Gnome)
Sure. Here's my list.

1. Gentoo - The Best, but also the hardest to install and learn. Awesome performance and fantastic compiler system. Made for Linux experts by Linux experts.

2. Debian Unstable - You get recent packages, great package management, nice compiler system, and good performance. Not as hard to install as Gentoo.

3. Mandrake - I've never run it, but if the above two frighten you then this might be the one to start with. Supposedly easy to install and graphically refined.

dude_obj writes:
Wow! Have you tried to get FO2 running in Wine? I've been wondering about that for some time.

Yes, Fallout 1 and 2 have worked in wine very well for several years. Use the CVS version (not Cedega/winex) and run them just like FoT in my post above. They will run faster than FoT does and you can even install these ones from the cdrom in Linux/wine. Its kind of important to run them as a independant X session because that fixes some weird glitches and makes them run better.
 
Back
Top