Jump to content
XCOMUFO & Xenocide

UFO1 Windows Geoscape Speed Fix


niklata

Recommended Posts

The stock UFO1 Gold/CE executable has a bug on the Geoscape display causing single ticks to increment by more than one unit of time, as it did on the original DOS version running on hardware contemporary to its time or on DOSBox with appropriate cycle settings. This bug can be overlooked if you've not played the game on any other platform, but it's very noticeable for those that have played at its release.

 

Mok's latest executable fixes this problem, but also extends the size of the executable by a page (as it adds 2xSai and several other nice features) and thus breaks compatibility with the latest ufoloader, precluding its use along with the nice user modifications that now exist.

 

With a bit of work, I've ported the Geoscape tick fix to the stock UFO1 Gold/CE executable and the result is compatible with the latest ufoloader. It's been tested to work properly on Win7 x64 as well.

 

It has not been tested with the Steam release of the game, but it may work (feedback is of course welcome!).

 

Update:

 

After playtesting the game myself, I've found the original fix to slow the game a bit too much. The second version feels just right.

 

The SHA1 of the base executable that was patched is:

53B90015503C1828AF7C77443E91C9C16595F8E8

 

And the patched executable is:

F491342A55192AD228EA9D67E74B0E5E54F3CFFD

UFO_Defense_geotickfix_v2.zip

Edited by niklata
Link to comment
Share on other sites

I begged niklata to work on this earlier tonight when I found time passing at hyperspeed on the 5 seconds Geoscape setting on my Windows 7 x64 quad. Using the turbo program referenced in the Vista sticky thread to tax the core I run X-Com on wasn't helping at all, but that solution seems obsolete now. The only fix seemed to be in Mok's 2xSAI .exe, but I couldn't get it to launch when using UFOLoader (which has HQ4x scaling instead). Niklata was able to quickly borrow Mok's hack and insert it in a way that shouldn't break compatibility with other mods :)

 

Note that this .exe isn't remapped for the old DOS sounds, nor does it have direct MP3 support. As you know, you can get the latter from UFOLoader.

 

Virus Total Scan

Edited by galneon
Link to comment
Share on other sites

  • 1 year later...
socialism is a system in which you heroically fight the problems

that are not existant in any other system

-stefan kisielewski-

 

please do not misunderstand me, you did a very good job =b

 

it is not my intention to insult anybody, but to show you something

that 'solves' the same problem, in a more efficient way

( actually it only alleviates it, but to the point, when this bug is irrelevant ),

 

try 'cpugrab', and you will find for yourself ( as I did ^_^ )

that you actually don't need that patch at all!

 

yarrow

Edited by yarrow
Link to comment
Share on other sites

Slowing down your CPU does not work for all people, and it sort of cramps your PC in general.

 

I don't know about you, but I'm always running several things and switching around while playing/surfing and whatever.

 

A solution that solves the problem at the source is much appreciated... and IMO very efficient compared to crippling the PC.

 

YMMW of course.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...