Page 1 of 1

Tame Performance Hog [run old games on Linux with wine]

Posted: Fri Sep 05, 2008 4:48 pm
by Vincent
(132.94 KiB) Downloaded 968 times
Language: Objective Caml

License: GNU GPL

OS: Unixes

This very simple program reduces the performances of the computer: it creates (through Unix.fork() ) a number of processes which continuously perform useless floating point computations.

Code: Select all

Tame Performance Hog

usage: hog [options]

-n <int>         number of hog processes to create [def=13]
--help | -h      display this help page
In a fit of nostalgia, I tried to make some very old (10+ years) games run on my Linux system, using Wine. But those games were written in days when nearly all personal computers (capable of running those games) had 75 MHz to 166 MHz cpus; so they did not bother to cap the speed at which the animations (ingame spin and lipsynch) were played. So when those games are run on a modern computer, they become absolutely unplayable since everything tends to happen 20 times too fast. And running just one infinite loop in the background is useless now that processors have several cores; you need to run a fair number of them. Hence this small program.

I found that, on a "Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz", using hog -n 10 to hog -n 15 made the games I tried perfectly playable.

Tested with games:
Versailles: Complot à la Cour du Roi Soleil (1996)
Egypt 1156 B.C.: Tomb of the Pharaoh (1997)
Atlantis: Tales of a Lost World (1997)
Chine: Intrigue dans la Cité Interdite (1998) (screenshots)

Re: Tame Performance Hog

Posted: Sun Dec 21, 2008 11:24 pm
by Maike
Hello, I'm trying to get Egypt 1156 bc working under wine 1.1.10, but I can't.

In your post, you seemed to get it working, may I ask you under which version ?

Thanks a lot.

Re: Tame Performance Hog

Posted: Mon Dec 22, 2008 1:12 am
by Vincent

I simply used the version of wine shipped by default with a fresh Kubuntu 8.04, which is 1.0 if I recall correctly. It ran without any tweaks at all.

Hope that helps :)