You are not logged in.
I used to have Sid Meier's Alpha Centauri (SMAC) working fine under a
32 bit system (I have all Loki compability libraries, and patches), but I
just switched to 64 bit arch linux.
Following the instructions here:
http://ubuntuforums.org/showthread.php?t=1206578
one should be able to play SMAC under 64 bit as well.
when I launch my bash script:
#!/bin/sh
LD_PRELOAD=~/usr/lib/Loki_Compat/libstdc++-3-libc6.2-2-2.10.0.so:/usr/lib32/libX11.so ~/usr/games/smac/smac.dynamicIt complaines about not finding libSDL_mixer-1.2.so.0:
/home/penguin/usr/games/smac/smac.dynamic: error while loading shared libraries: libSDL_mixer-1.2.so.0: cannot open shared object file: No such file or directoryI have installed a bunch of lib32s:
[penguin@x201][~/usr]% pacman -Qs lib32 | grep lib32
local/lib32-bzip2 1.0.6-1
local/lib32-freetype2 2.4.9-1
local/lib32-glibc 2.15-10
local/lib32-libjpeg-turbo 1.2.0-1
local/lib32-libpng 1.5.10-2
local/lib32-libtiff 4.0.1-1
local/lib32-libx11 1.4.99.901-2
local/lib32-libxau 1.0.7-1
local/lib32-libxcb 1.8.1-2
local/lib32-libxdmcp 1.1.1-1
local/lib32-libxext 1.3.1-1
local/lib32-libxrender 0.9.7-1
local/lib32-sdl 1.2.15-2
local/lib32-sdl_image 1.2.12-2
local/lib32-sdl_ttf 2.0.11-1
local/lib32-zlib 1.2.7-1and the file that it can't find is obviously here:
[penguin@x201][~/usr]% pacman -Ql lib32-sdl
lib32-sdl /usr/
lib32-sdl /usr/bin/
lib32-sdl /usr/bin/sdl-config-32
lib32-sdl /usr/lib32/
lib32-sdl /usr/lib32/libSDL-1.2.so.0
lib32-sdl /usr/lib32/libSDL-1.2.so.0.11.4
lib32-sdl /usr/lib32/libSDL.so
lib32-sdl /usr/lib32/libSDLmain.a
lib32-sdl /usr/lib32/pkgconfig/
lib32-sdl /usr/lib32/pkgconfig/sdl.pcSeems like I need to tell something somewhere where to look for this file.
Offline
You'll be needing lib32-sdl_mixer from the AUR I think ![]()
Offline
Ah, Yes, I must have been tired when I read the error messages.
Thanks, trying it now.
Wow, a lot of dependencies, binutils and gcc have to be replaced by some multilib-version. Don't know if that's good or bad.
Hm, Tried it now, it started, then crashed:
[penguin@x201][~/usr/bin]% smac.sh
Creating smac preferences directory: /home/penguin/.loki/smac
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 129 (XFree86-VidModeExtension)
Minor opcode of failed request: 10 (XF86VidModeSwitchToMode)
Value in failed request: 0xad
Serial number of failed request: 234
Current serial number in output stream: 236Last edited by penguin (2012-05-10 15:56:53)
Offline
SMAC on Linux's code is just so old - major changes in the ABI's (application binary interface) of so many pieces that it would literally be a "world wonder" if you got it to work.
Edit: See, what is needed is a new standard. SDL is great and all but it too will eventually change enough that proprietary software - read: you just can't recompile it against a new ABI - just will eventually stop working. With SDL as the prime place, a "thunk" layer would be awesome for proprietary software. What would this "thunk" layer be? An ABI that never changes and the layer is open-source. Then proprietary software could use that thunk layer for all it's IO/graphics/ and sound needs. Eventually the thunk layer is out-of-date? New thunk layer time. With an epoch bump. So, thunk layer 1:1.0 with an ABI that'll never change. Five years from now? Thunk layer 2:1.0 with an ABI that will never change. All thunk layers carry forward and the way they touch systems is fully open and able to keep up with changes while the ABI they provide to proprietary software never changes.
Last edited by headkase (2012-05-10 16:51:07)
Offline
Actually, the SMAC installation works when I boot in to Debian 6.0 Squeeze 32 bit installation (I have a dual linux boot). But yes, that is pretty amazing since the game is 11 years old, and still runs nativley under linux, no wine, no virtualbox.
Offline
I own SM/Alpha Centauri/Alien Crossfire for Windows. I tried them in WINE but late-game: when there's lots of units on the screen its performance slows to such a crawl that they're unplayable. That is too darn bad because both games are awesome. You can buy Alpha Centauri - not Alien Crossfire unfortunately - still today, on GoG.com. Someday WINE will improve and then I hope the Windows binaries are playable with it!
The thing about the Linux binaries: even when you get them to work their screen resolution is locked at 1024x768 maximum - well, I've never found a way to increase that. The Windows version you can edit an .ini file and say "DirectDraw=0" or very similar and it will use your desktop resolution. That is much better!
Offline
There was a project to make an open source version of SMAC built on FreeCiv.
http://freecivac.sourceforge.net/
I haven't tested playing my SMAC-Linux version for any longer time, since I'm affraid of getting addicted, so I don't know if the Debian 32-bit install of SMAC is fully working.
But I hope.
I Hope.
Offline
Too bad that project is dead. It's something I would have been interested in! By the way, it occurred to me: Debian 6.0 Squeeze? Isn't that Linux 2.6.32 kernel? Because if it is that would explain why it's easier to get Linux SMAC going on it? It would also have an older X Server which would also help.. Arch being "bleeding-edge," yeah, not so good for older proprietary software..
Offline