otya128 / winevdm

16-bit Windows (Windows 1.x, 2.x, 3.0, 3.1, etc.) on 64-bit Windows
GNU General Public License v2.0
2.64k stars 150 forks source link

Unsupported program WinWelt. Works fine on Win98, but not on OTVDM. #1400

Closed dreimer1986 closed 5 months ago

dreimer1986 commented 5 months ago

Try the latest version first. Go here and click Environment: THIS_BUILD_IS_RECOMMENDED__VCXPROJ_BUILD=1-> Artifacts 1-> zip to download the latest version.

Describe the bug The program should start by starting WinWelt.exe as it does on W98, but instead it takes a while and responds the way seen below.

Expected behavior The geography learning game should open in fullscreen and show a worldmap with all countries highligted in different colors.

Screenshots image

Environment (please complete the following information):

Additional context This game for some time was just sitting on my HDD after I got it from school about 20 years ago. I verified the game works fine with a Windows 98 SE setup inside 86Box and it works perfect. I will add a trace.txt, but the software is mixed 16 Bit and 32 Bit apps, so likely it won't be of much use... I created your WINEDEBUG as systemwide env var to get more output off the console window though. This one is waaaaay longer. The game can be found in here, too: https://starfox-page.de/reactos/ek.zip

It is very helpful to provide a trace file if possible. Please note that this file contains detailed information about the program. Procedure

  1. Run the command prompt.
  2. Set the environment variable:
    set WINEDEBUG=+all,-snoop,-ldt,-fixup,-module,-global,-local,-disasm,-syslevel,-thunk
  3. *old-executable-file* 2> trace.txt
  4. Upload trace.txt here. trace.txt trace2.txt
cracyc commented 5 months ago

Winevdm mangles window class names which breaks this. To work around it you can run tb60_16r.exe and put winwelt.exe into the open file dialog. A real fix will be difficult.

dreimer1986 commented 5 months ago

Well, that's way more than I expected :D This way it works quite nicely. Should I add a lil graphical nitpick in here, or make a new report? It's more just a picture showing the problem: image These and a few more graphics are rendered incorrectly. Looks a bit like only the transparency mask is shown?

On exit looks a bit too dotted, too. image

This is all I found after a few playthroughs, rest works PERFECT!

trace.txt

cracyc commented 5 months ago

You should make a new report but I can't repo it so it'll be hard to fix (for me). Screenshot 2024-05-04 092854

dreimer1986 commented 5 months ago

Interesting... OK, in that case I will try around a bit more and on other hardware, too. If I still can reproduce this on some other device, I will open a report. Until then.... Thanks for the trick to successfully open it :D