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

Some of the small programs I wrote on my spare time. They are Free Software, and written mostly in OCaml.
Post Reply
User avatar
Vincent
Posts: 3077
Joined: Fri Apr 07, 2006 12:10 pm
Location: Schtroumpf
Contact:

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

Post by Vincent » Fri Sep 05, 2008 4:48 pm

Download:
Tame_Performance_Hog.tar.gz
(132.94 KiB) Downloaded 794 times
Language: Objective Caml

License: GNU GPL

OS: Unixes

Description:
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
Purpose:
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)
chine.jpg
chine2.jpg
{ Vincent Hugot }

Maike

Re: Tame Performance Hog

Post by Maike » Sun Dec 21, 2008 11:24 pm

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.

User avatar
Vincent
Posts: 3077
Joined: Fri Apr 07, 2006 12:10 pm
Location: Schtroumpf
Contact:

Re: Tame Performance Hog

Post by Vincent » Mon Dec 22, 2008 1:12 am

Hello,

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 :)
{ Vincent Hugot }

Post Reply

Who is online

Users browsing this forum: No registered users and 145 guests