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"
Then the second file, this is what you run from the console, call this one "tactics"
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
- 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