Ultima 7 Earthquake Fix

Produced by: ripsaw8080
Website: Ultima VII Earthquake effect (screen shaking) @ Vogons

[wpdm_file id=282]

Over at Vogons, the DOSBox forums, someone has devised a much-needed patch that drastically improves the earthquake effect in Ultima 7 when the game is run under DOSBox (it behaves very erratically otherwise). Here’s his explanation of the fix:

“Loading some VGA BIOS with a debug build improves the shaking effect, so I tried adding a fixed number of cycles to the scroll functions by waiting in a loop. It does improve the bouncing of the screen, but doesn’t work very well, and appears to depend on how many cycles DOSBox is running at compared to how many are consumed by the wait loop. What I usually see is random horizontal bands of the screen moving.

Another approach with vertical retrace turned out much better. The entire screen bounces up and down with little of the “tearing” seen in the other approach, and it’s independent of how many cycles DOSBox is running at. I don’t know if any video BIOS checks for retrace in its scroll functions, but it could improve the effect on real hardware as well.

I made a small loader program that waits for retrace before the scroll functions are called; and also patches INTRO.EXE in memory to use its code segment instead of the system BIOS segment for the white noise effect, which creates a more “snowy” result in DOSBox. Simply run the program in the folder where U7 is installed. Source code is included in the attached archive.”

Since the earthquake effect is first used, assuming Forge of Virtue is installed — which is the case with the GOG Ultima 7 bundle, mere moments into the game, this should be a welcome patch for pretty much anyone wanting to play Ultima 7 outside of Exult.

3 Responses

  1. Natreg says:

    This is great. Finally the 2 bugs I always wanted out of ultima 7 under dosbox are out.

    The computer screen in the intro and the tremmor.

    I think Wing Commander still suffers from the same problem as ultima 7 related to that noise effect.

  1. October 10, 2012

    […] added a new download and project entry to the Ultima 7 subdomain: ripsaw8080′s fix for the earthquake effect in Ultima 7, which goes […]

  2. May 14, 2013

    […] a comment on a not-exactly-recent news article, Dominus from the Exult team notes that the update for DOSBox that allows Ultima 7′s “earthquake” effect to work properly also corrects another […]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.