Thursday, July 13, 2006

Sacrifice RAM Problem (Or: Fixing An Old Game)

Update: check out new post with updated instructions over here.

Recently I found back my copy of Sacrifice (Gamespot link). I really like this game because it reminds me of Jullian Gollop's Chaos. (Has anyone ever played this game on the Spectrum?) It's a bunch of wizards fighting it out.
The graphics are not that amazing anymore as they used to be.
But who cares about that if you get a great gameplay experience (running at 120fps)?

So I decided to install this game... on Windows XP... with more that 4Ghz processing power... and 4GB RAM... You could say this meets the minimum requirements.

Install went fine, I start the game and... I get an error thrown into my face. "Not enough Virtual Memory" or something like that (I should actually write the exact error message down so people googling for a fix will find the following solution).

After reading on various message boards I found that the best solution someone could come up with was: "completely disable all virtual memory". So I did, and now the game worked. But I did not want to sacrifice (pun intended if you will) my virtual memory. And thus I did not play the game for another week or so.

I was just about to uninstall it when a friend of mine tried to install another old game on a fairly new machine: Championship Manager 01-02, which also gave an "hey you do not have enough RAM"-error.

So back to the message boards, where I now found that people had been using an advanced compatibility tool from Microsoft. Which gave a lot more options than those you get when doing "Properties -> Compatibility". It's called QFixApp. And it lives in your Windows XP CD under \Support\Tools\act20.exe. After running it you had to follow the following steps:
  1. Open QFixApp.
  2. On Layers select ProfilesSetup.
  3. On Fixes select GlobalMemoryStatusLie (check it).
  4. Now from the browse button select cm0102.exe.
  5. Click on Run.
  6. Play the game.
And:

After you have checked the box click the advanced button and then click the create fix support button it will then ask if you want to install the fix click yes compatibilitye permanently implemented into a fixes database so cm will run every time, the compatability in the properties of an application are only basic the appwizard gives more detailed options.
This situation, of course, reminded me of my own Sacrifice-experience, so I tried to hunt down the program. ("Where's that damned XP CD!") Only to download it a few minutes later of eMule (just search for "QFixApp" or drop me an e-mail).

After setting up the options and checking "GlobalMemoryStatusLie" and "GlobalMemoryStatusTrim" too (!), Sacrifice worked and now runs like a dream.

There are a lot of other fixes too (who knew Microsoft had released such a helpful tool) so why not try it on some older programs which refuse to run on XP.

The "not enough RAM while I do have enough" is quite old. In fact, I remember trying to install Duke Nukem 3D Plutonium Pack on my new Pentium machine back in the day. (Which had, what: 133 Mhz and 32 MB RAM?) The installer threw a nice error out saying "You need at least XX or more memory!" while I had plenty... A pity that Internet wasn't that common in those days.

Tags: , , .

7 comments :

  1. hi,
    have the same problem, thanks for the solution :), however it doesn't seem to work for me. Why? I think it's becouse I don't have the GlobalMemoryStatusTrim option avaliable ! just the GlobalMemoryStatusLie ... could you send me your qfixapp.exe to kalihh@o2.pl ?

    ReplyDelete
  2. anonymous : you need
    Application Compatibility version 2.6

    which can be found here : http://www.fileplanet.com/113623/110000/fileinfo/Windows-Application-Compatibility-Toolkit-2.6


    Also on my computer I got a problem with keyboard settings not being saved
    To Solve this you need to check "HandleRegExpandSzRegistryKeys" along with other fixes

    have a nice sacrifice experience ;)

    here's a forum where you can meet sacrifice players : http://www.gamespot.com/pages/unions/forums/show_topics.php?union_id=SacrificeShiny

    ReplyDelete
  3. i have the same problem, i dont have globalmemorystatustrim .... oh fuck i am trying to fix this shit for hours

    ReplyDelete
  4. New post :) with updated instructions using lpatch to fix the problem. GlobalMemoryStatusTrim has gone in recent XP versions.

    ReplyDelete
  5. Where i can find cm0102.exe???

    ReplyDelete
  6. Great update article you made, and thanks for that. One small problem: The hosting for the lpatch file is already gone. I have done some looking around, but can't find another mirror for that file. Does anyone else have that file and maybe be willing to host it somewhere? (With the creators permission, of course) My computer is acting crazy and won't save the VM settings on reboot, so I can't fix it that way.

    ReplyDelete
  7. I've just checked the site, and the file is (back). The direct link doesn't work though (anti-hotlinking), I should've checked for that.

    ReplyDelete