otya128 / winevdm

16-bit Windows (Windows 1.x, 2.x, 3.0, 3.1, etc.) on 64-bit Windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mordor 1.1 overflow error

correospambasurilla opened this issue · comments

Edition Windows 11 Pro
Version 23H2
OS build 22631.3235
Windows Feature Experience Pack 1000.22687.1000.0

Installation ok.
Error starting the game and then crashes

image image

Trace: trace.txt

You can download a zip file with the limited version of this game here

Before installation, you must download and copy this two files.
OTVDM-~1.0\WINDOWS\SYSTEM\VBRUN300.DLL (download)
OTVDM-~1.0\WINDOWS\SYSTEM\WAVMIX16.DLL (download)

Also I remember that on Windows 10 it worked fine

This is caused by a display width calculation overflowing a 16bit value. It probably didn't happen before because either you got a larger display or you were using a build that didn't have fpu exceptions enabled. I'm not sure if it can be worked around in winevdm since it's a bug in the program itself and 640x480 compat mode isn't enough.

I found a workaround. Get https://ci.appveyor.com/project/otya128/winevdm/builds/49318069/job/pq1al752l8f224yh/artifacts and uncomment AdjustDPI in otvdm.ini and that will prevent the overflow error.

That was fast!!
That works perfectly!.
image

Thanks a lot 👍