VOGONS


Winevdm

Topic actions

Reply 80 of 95, by collector

User metadata
Rank l33t
Rank
l33t

Just tried some Win16 SCI games. They are mostly working, but KQ6 Win does not properly display the cursor, but otherwise seems to run OK. Shivers runs, but MMG Deluxe errors out.

The Sierra Help Pages -- New Sierra Game Installers -- Sierra Game Patches -- New Non-Sierra Game Installers

Reply 83 of 95, by filipetolhuizen

User metadata
Rank Oldbie
Rank
Oldbie

Right now, only Battle Chess runs without sound due to the VM being run in Enhanced mode (this message is shown on start and when trying to enable sounds) and Darkseed II crashes upon start, just like in wowexec on 32-bits Windows.

Reply 84 of 95, by crazyc

User metadata
Rank Member
Rank
Member
filipetolhuizen wrote on 2020-05-18, 02:06:

Right now, only Battle Chess runs without sound due to the VM being run in Enhanced mode (this message is shown on start and when trying to enable sounds)

This requires highly accurate 8254 emulation, this probably won't be fixed anytime soon if at all.

filipetolhuizen wrote on 2020-05-18, 02:06:

and Darkseed II crashes upon start, just like in wowexec on 32-bits Windows.

For me it crashes if run from the cd but a minimum install and run from the hdd it works. I put a PR, https://github.com/otya128/winevdm/pull/684, to fix the opening credits movie. The other movies require indeo 5 to be enabled, https://github.com/juanitogan/rbxit/wiki/Inde … o-codec-install

Reply 85 of 95, by filipetolhuizen

User metadata
Rank Oldbie
Rank
Oldbie
crazyc wrote on 2020-05-18, 02:46:
This requires highly accurate 8254 emulation, this probably won't be fixed anytime soon if at all. […]
Show full quote
filipetolhuizen wrote on 2020-05-18, 02:06:

Right now, only Battle Chess runs without sound due to the VM being run in Enhanced mode (this message is shown on start and when trying to enable sounds)

This requires highly accurate 8254 emulation, this probably won't be fixed anytime soon if at all.

filipetolhuizen wrote on 2020-05-18, 02:06:

and Darkseed II crashes upon start, just like in wowexec on 32-bits Windows.

For me it crashes if run from the cd but a minimum install and run from the hdd it works. I put a PR, https://github.com/otya128/winevdm/pull/684, to fix the opening credits movie. The other movies require indeo 5 to be enabled, https://github.com/juanitogan/rbxit/wiki/Inde … o-codec-install

If I run from the CD, it just plays a MIDI with a hand cursor and a black screen (I can also hear a critical warning sound from Windows itself). Minimum install still crashes for me even after enabling Indeo 5.0

Reply 89 of 95, by filipetolhuizen

User metadata
Rank Oldbie
Rank
Oldbie
crazyc wrote on 2020-05-19, 13:46:

There's not enough information there to understand what's happening. If you can get a trace, that would be better.

This is the register I got from x32dbg (I tried to run otvdmw again a few times after it crashed).

Attachments

  • Filename
    register(1).txt
    File size
    30.09 KiB
    Downloads
    10 downloads
    File license
    Public domain

Reply 91 of 95, by filipetolhuizen

User metadata
Rank Oldbie
Rank
Oldbie
crazyc wrote on 2020-05-20, 01:42:

Definitely need a WINEDEBUG=+relay,+int21 trace too.

trace.txt attached.

Attachments

  • Filename
    trace.txt
    File size
    20.34 KiB
    Downloads
    5 downloads
    File license
    Public domain

Reply 92 of 95, by crazyc

User metadata
Rank Member
Rank
Member

I think the cd files need to be in the root directory. Use subst, a full install or something.

Yours:

2594:Call KERNEL.128: GETPRIVATEPROFILESTRING(12ef12ef "DIRECTORY",12ef12ec "CD",12ef12e9 ".\\",12ef:c80e,0080,12ef13dc ".\\DARKSEED.INI") ret=1237:00c0 ds=12ef
1228:2594:trace:file:GetPrivateProfileString16 1407: .\DARKSEED.INI DIRECTORY CD
1228:2594:trace:file:GetPrivateProfileString16 1466: ("DIRECTORY", "CD", ".\\", 02CDA4AE, 128, ".\\DARKSEED.INI")
2594:Ret KERNEL.128: GETPRIVATEPROFILESTRING() retval=00000027 ret=1237:00c0 ds=12ef
2594:Call KERNEL.88: LSTRCPY(12e73c88,12efc80e "E:\\BITTOR~1\\DARK-S~1\\DARKSE~1\\DARKSEED\\") ret=122f:07aa ds=12ef
2594:Ret KERNEL.88: LSTRCPY() retval=12e73c88 ret=122f:07aa ds=12ef
2594:Call KERNEL.88: LSTRCPY(12e7273e,12e73c88 "E:\\BITTOR~1\\DARK-S~1\\DARKSE~1\\DARKSEED\\") ret=122f:07bb ds=12ef
2594:Ret KERNEL.88: LSTRCPY() retval=12e7273e ret=122f:07bb ds=12ef
2594:Call KERNEL.88: LSTRCPY(12e73c68,12ef12f9 "sndtrack\\") ret=122f:07ca ds=12ef
2594:Ret KERNEL.88: LSTRCPY() retval=12e73c68 ret=122f:07ca ds=12ef
2594:Call KERNEL.88: LSTRCPY(12e73ca8,12e73c88 "E:\\BITTOR~1\\DARK-S~1\\DARKSE~1\\DARKSEED\\") ret=122f:07db ds=12ef
2594:Ret KERNEL.88: LSTRCPY() retval=00000000 ret=3a45:4144 ds=425c --!stack trashed!
RETF (0266460d): Return segment RPL is less than CPL.

Mine:

271c:Call KERNEL.128: GETPRIVATEPROFILESTRING(12ef12ef "DIRECTORY",12ef12ec "CD",12ef12e9 ".\\",12ef:c80e,0080,12ef13dc ".\\DARKSEED.INI") ret=1237:00c0 ds=12ef
271c:Ret KERNEL.128: GETPRIVATEPROFILESTRING() retval=0000000c ret=1237:00c0 ds=12ef
271c:Call KERNEL.88: LSTRCPY(12e73c88,12efc80e "G:\\DARKSEED\\") ret=122f:07aa ds=12ef
271c:Ret KERNEL.88: LSTRCPY() retval=12e73c88 ret=122f:07aa ds=12ef
271c:Call KERNEL.88: LSTRCPY(12e7273e,12e73c88 "G:\\DARKSEED\\") ret=122f:07bb ds=12ef
271c:Ret KERNEL.88: LSTRCPY() retval=12e7273e ret=122f:07bb ds=12ef
271c:Call KERNEL.88: LSTRCPY(12e73c68,12ef12f9 "sndtrack\\") ret=122f:07ca ds=12ef
271c:Ret KERNEL.88: LSTRCPY() retval=12e73c68 ret=122f:07ca ds=12ef
271c:Call KERNEL.88: LSTRCPY(12e73ca8,12e73c88 "G:\\DARKSEED\\") ret=122f:07db ds=12ef
271c:Ret KERNEL.88: LSTRCPY() retval=12e73ca8 ret=122f:07db ds=12ef
271c:Call KERNEL.85: _LOPEN(12ef13cd "gfile.hdr",0020) ret=122f:0a14 ds=12ef

The long path is overwriting the stack.

Reply 93 of 95, by filipetolhuizen

User metadata
Rank Oldbie
Rank
Oldbie

Makes total sense conidering it's a 16-bit game. I'll try that.
EDIT: I shortened the path and did a full install, now it got stuck on the black screen with a hand cursor playing a MIDI and I could hear the Windows critical stop sound right before that. Made a trace.txt from this run.

Attachments

  • Filename
    trace.txt
    File size
    2.2 MiB
    Downloads
    7 downloads
    File license
    Public domain

Reply 95 of 95, by filipetolhuizen

User metadata
Rank Oldbie
Rank
Oldbie
crazyc wrote on 2020-05-23, 22:00:

This is the same crash as if it's run from the cdrom. Turns out it's intentionally dereferencing a null pointer. Try https://ci.appveyor.com/project/otya128/winev … 705sc/artifacts .

Thanks! It's working 100% now. Mike Dawson's animation is a bit jerky, but I guess this is a side effect of the game running on a faster system than it was meant to be played, not from winevdm.