Skip to content

ZeroPointEnergy/lokishim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loki games Shim

This is a shim that adds missing functions that some old Linux native games, released by Loki Software or Hyperion Entertainment in the late 90s and early 2000s, requires to run on modern systems.

Tested games

  • Sid Meier's Alpha Centauri
  • Civilization: Call to Power
  • Descent 3
  • Heroes of Might and Magic III
  • Kohan: Immortal Sovereigns
  • Shogo: Mobile Armor Division
  • SiN

Requirements

Make sure you have a 32-bit capable C compiler.

You are most likely running a Linux distribution on a shiny 64 bits CPU, but the binaries you are trying to run are build for the classic 32 bits PC architecture. In the Debian/Ubuntu world, you will need to install the gcc-multilib package.

Usage

Build the shim:

$ make

Run the game with the shim:

$ LD_PRELOAD=/path/to/lokishim.so ./smac.dynamic

Disclaimer

This isn't heavily tested. There may be other functions missing I have not yet stumbled up on.