http://bugs.winehq.org/show_bug.cgi?id=58942
Bug ID: 58942 Summary: Stratego (1997) Installation: DirectX Media Runtime 5.1 fails to install Product: Wine Version: 10.18 Hardware: x86-64 URL: https://archive.org/details/STRATEGO OS: MacOS Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@list.winehq.org Reporter: tobbi.bugs@googlemail.com
% wine --version wine-10.18
% openssl sha256 STRATEGO.iso SHA2-256(STRATEGO.iso)= e82340b5e23554618dfe406c102ca2a793b34e49723e921e5cc6a5911a9867e1
% openssl sha256 ~/Downloads/DXMWRAP.EXE SHA2-256(DXMWRAP.EXE)= f67e728bbea69233bc935ac9780e7b40fd5aba06179869e60c9ecee59d1fef6e
I'm trying to install Stratego from here: https://archive.org/details/STRATEGO
During the installation of Stratego, the installer asks to install DirectShow 5.1, which fails to install with an unknown error.
Steps to reproduce: 1. Download the ISO and mount it on your system. 2. Change the configuration options of Wine to map E: to the path where the ISO image was mounted, as well as the Operating System to Windows XP (or Windows 98 - shouldn't matter) 3. Install Stratego by running the SETUP.EXE file with wine. 4. During the installation, it will ask you to install the DirectX Media Runtime 5.1. Click "Yes" to install it. 5. You get an error message saying that the "DirectX Media Runtime Setup has failed. You will need to reinstall the software in order for it to work."
In the console, it shows this:
01a8:err:setupapi:SetupDefaultQueueCallbackW copy error 5 L"C:\users\tobiasmarkus\AppData\Local\Temp\IXP001.TMP\olepro32.dll" -> L"C:\windows\system32\olepro32.dll" 01a8:err:setupapi:SetupDefaultQueueCallbackW copy error 32 L"C:\users\tobiasmarkus\AppData\Local\Temp\IXP001.TMP\setupapi.dll" -> L"C:\windows\system32\setupapi.dll"
http://bugs.winehq.org/show_bug.cgi?id=58942
--- Comment #1 from Rafał Mużyło galtgendo@o2.pl ---
- During the installation, it will ask you to install the DirectX Media Runtime 5.1. Click "Yes" to install it.
4. During the installation, it will ask you to install the DirectX Media Runtime 5.1. Click "Yes" to install it.
Why ? Do you have any good reason to do that ?
I mean, the failing installer might be a genuine bug, but the stuff it installs, especially given how out of date it is, is more likely to break things than to have a positive effect.
Also, it might simply be that (almost) everything is working correctly, the installer is just a bit smarter than the usual case and refused to overwrite dlls while it detected more recent versions already installed.
setupapi fails most likely cause it's already in use, as for the other one, ...difficult to say.
http://bugs.winehq.org/show_bug.cgi?id=58942
--- Comment #2 from Tobias (:Tobbi) Markus tobbi.bugs@googlemail.com --- (In reply to Rafał Mużyło from comment #1)
- During the installation, it will ask you to install the DirectX Media
Runtime 5.1. Click "Yes" to install it.
Why ? Do you have any good reason to do that ?
To be honest, I only went through the installation, thinking that it's required (as the installer states as well).
I tried to start Stratego without the installation succeeding and it exits with an error "Unable to 'CreateScalableFontResource()'". I don't know if that's related or not (I assumed it was because DirectX wasn't installed). Maybe that's the real bug I need to file?
http://bugs.winehq.org/show_bug.cgi?id=58942
--- Comment #3 from Rafał Mużyło galtgendo@o2.pl --- I mean DX 5.1 would be horribly out of date even by Windows standard, so while that doesn't 100% exclude the possibility of native directx having *some* positive effect, it makes it highly unlikely - even more so that being a necessity.
Going by the sources, the debug channel for that function is 'bidi' (bit surprising, but whatevs), so you might look at that, but is sounds more like a missing font problem than a directx one.
http://bugs.winehq.org/show_bug.cgi?id=58942
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #4 from joaopa jeremielapuree@yahoo.fr --- Created attachment 79644 --> http://bugs.winehq.org/attachment.cgi?id=79644 log with bidi and font channels enabled
In the log on can read : 0128:trace:bidi:CreateScalableFontResourceW (1, L"C:\Program Files (x86)\Hasbro Interactive\Stratego\Ly2.for", L"C:\windows\system32\Ly2.ttr", (null))
but Ly2.for and Ly2.ttr don't exist. That is surely the culprit
http://bugs.winehq.org/show_bug.cgi?id=58942
--- Comment #5 from joaopa jeremielapuree@yahoo.fr --- in relay one can read
00b4:Call KERNEL32.HeapFree(7ffffe320000,00000000,00000000) ret=6ffffea85eba 00f4:Call KERNEL32.GetFullPathNameA(015c873c "Grfx\Ly2.enc",00000104,0022f900,0022f8d0) ret=00469a34 0034:Call ucrtbase.strchr(7ffffe3bec40 "application/x-kourse:*.course\n",0000000a) ret=14000338b 00b4:Ret KERNEL32.HeapFree() retval=00000001 ret=6ffffea85eba 00f4:Call ntdll.RtlInitAnsiString(0022f4f0,015c873c "Grfx\Ly2.enc") ret=7b613a62 0034:Ret ucrtbase.strchr() retval=7ffffe3bec5d ret=14000338b 00b4:Call KERNEL32.HeapFree(7ffffe320000,00000000,00000000) ret=6ffffea85ec7 00f4:Ret ntdll.RtlInitAnsiString() retval=0000000d ret=7b613a62 0034:Call ucrtbase.strchr(7ffffe3bec40 "application/x-kourse:*.course",0000003a) ret=140003417 00b4:Ret KERNEL32.HeapFree() retval=00000001 ret=6ffffea85ec7 00f4:Call ntdll.RtlAnsiStringToUnicodeString(7ffc2bf8,0022f4f0,00000000) ret=7b613aae 0034:Ret ucrtbase.strchr() retval=7ffffe3bec54 ret=140003417 00b4:Ret ucrtbase._wcsicmp() retval=00000003 ret=6ffffb9e64d2 00f4:Ret ntdll.RtlAnsiStringToUnicodeString() retval=00000000 ret=7b613aae 0034:Call ucrtbase.malloc(00000020) ret=14000342f 00b4:Call ucrtbase._wcsicmp(7fffff2fe080 L"Strings",7ffffe3ce62a L"DestinationDirs") ret=6ffffb9e64d2 00f4:Call ntdll.RtlGetFullPathName_U(7ffc2c00 L"Grfx\Ly2.enc",00000208,0022f528,0022f524) ret=7b5c5dc3
but I do not know what it means.
http://bugs.winehq.org/show_bug.cgi?id=58942
--- Comment #6 from Tobias (:Tobbi) Markus tobbi.bugs@googlemail.com --- (In reply to joaopa from comment #5)
in relay one can read
00b4:Call KERNEL32.HeapFree(7ffffe320000,00000000,00000000) ret=6ffffea85eba 00f4:Call KERNEL32.GetFullPathNameA(015c873c "Grfx\Ly2.enc",00000104,0022f900,0022f8d0) ret=00469a34 0034:Call ucrtbase.strchr(7ffffe3bec40 "application/x-kourse:*.course\n",0000000a) ret=14000338b 00b4:Ret KERNEL32.HeapFree() retval=00000001 ret=6ffffea85eba 00f4:Call ntdll.RtlInitAnsiString(0022f4f0,015c873c "Grfx\Ly2.enc") ret=7b613a62 0034:Ret ucrtbase.strchr() retval=7ffffe3bec5d ret=14000338b 00b4:Call KERNEL32.HeapFree(7ffffe320000,00000000,00000000) ret=6ffffea85ec7 00f4:Ret ntdll.RtlInitAnsiString() retval=0000000d ret=7b613a62 0034:Call ucrtbase.strchr(7ffffe3bec40 "application/x-kourse:*.course",0000003a) ret=140003417 00b4:Ret KERNEL32.HeapFree() retval=00000001 ret=6ffffea85ec7 00f4:Call ntdll.RtlAnsiStringToUnicodeString(7ffc2bf8,0022f4f0,00000000) ret=7b613aae 0034:Ret ucrtbase.strchr() retval=7ffffe3bec54 ret=140003417 00b4:Ret ucrtbase._wcsicmp() retval=00000003 ret=6ffffb9e64d2 00f4:Ret ntdll.RtlAnsiStringToUnicodeString() retval=00000000 ret=7b613aae 0034:Call ucrtbase.malloc(00000020) ret=14000342f 00b4:Call ucrtbase._wcsicmp(7fffff2fe080 L"Strings",7ffffe3ce62a L"DestinationDirs") ret=6ffffb9e64d2 00f4:Call ntdll.RtlGetFullPathName_U(7ffc2c00 L"Grfx\Ly2.enc",00000208,0022f528,0022f524) ret=7b5c5dc3
but I do not know what it means.
I just got myself a complete WINEDEBUG=+all log.
I noticed the following line there:
678335.510:00d4:00d8:trace:file:NtCreateFile handle=0x1001ff3f8 access=80100080 name=L"\??\C:\Program Files (x86)\Hasbro Interactive\Stratego\Ly2.for" objattr=00000040 root=0x0 sec=0x0 io=0x1001ff400 alloc_size=0x0 attr=00000080 sharing=00000000 disp=1 options=00000060 ea=0x0.0x00000000
It looks like the application is creating the file itself, but failing. I'll upload the log in a few.
http://bugs.winehq.org/show_bug.cgi?id=58942
--- Comment #7 from Tobias (:Tobbi) Markus tobbi.bugs@googlemail.com --- Created attachment 79645 --> http://bugs.winehq.org/attachment.cgi?id=79645 WINEDEBUG=+all log
http://bugs.winehq.org/show_bug.cgi?id=58942
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #8 from Zeb Figura z.figura12@gmail.com --- (In reply to Tobias (:Tobbi) Markus from comment #6)
I mean, the failing installer might be a genuine bug, but the stuff it installs, especially given how out of date it is, is more likely to break things than to have a positive effect.
Unlikely. If anything it'd replace builtin DLLs like ddraw with native ones. The native ones won't work, but they won't break anything either since builtin is default.
Also, the DirectX Media installer works on Windows, so there is probably a legitimate bug here.
(In reply to Tobias (:Tobbi) Markus from comment #2)
I tried to start Stratego without the installation succeeding and it exits with an error "Unable to 'CreateScalableFontResource()'". I don't know if that's related or not (I assumed it was because DirectX wasn't installed). Maybe that's the real bug I need to file?
This should probably be reported as a separate bug, but... I'm seeing it on Windows 10 as well, and indeed there's no ly2.for present. That's not very contemporaneous, but do we know that this ISO actually works?
http://bugs.winehq.org/show_bug.cgi?id=58942
--- Comment #9 from Tobias (:Tobbi) Markus tobbi.bugs@googlemail.com ---
This should probably be reported as a separate bug, but... I'm seeing it on Windows 10 as well, and indeed there's no ly2.for present. That's not very contemporaneous, but do we know that this ISO actually works?
I have tried Stratego on an old Windows XP VM, where it works.
http://bugs.winehq.org/show_bug.cgi?id=58942
--- Comment #10 from Tobias (:Tobbi) Markus tobbi.bugs@googlemail.com ---
(In reply to Tobias (:Tobbi) Markus from comment #2)
I tried to start Stratego without the installation succeeding and it exits with an error "Unable to 'CreateScalableFontResource()'". I don't know if that's related or not (I assumed it was because DirectX wasn't installed). Maybe that's the real bug I need to file?
This should probably be reported as a separate bug, but... I'm seeing it on Windows 10 as well, and indeed there's no ly2.for present. That's not very contemporaneous, but do we know that this ISO actually works?
I just created a batch file that continuously prints the contents of the "C:/Program Files/Hasbro Interactive/Stratego" directory and I noticed that, indeed, the Ly2.for file is created after the application started and removed again on exit:
``` :loop dir "C:/Programme/Hasbro Interactive/Stratego" ping -n 6 127.0.0.1 > nul goto loop ```
(In case you're wondering, the ping command is to imitate a "sleep for 5 seconds, so you don't get overwhelmed with messages").
http://bugs.winehq.org/show_bug.cgi?id=58942
--- Comment #11 from Tobias (:Tobbi) Markus tobbi.bugs@googlemail.com --- (In reply to Zeb Figura from comment #8)
(In reply to Tobias (:Tobbi) Markus from comment #2)
I tried to start Stratego without the installation succeeding and it exits with an error "Unable to 'CreateScalableFontResource()'". I don't know if that's related or not (I assumed it was because DirectX wasn't installed). Maybe that's the real bug I need to file?
This should probably be reported as a separate bug, but... I'm seeing it on Windows 10 as well, and indeed there's no ly2.for present. That's not very contemporaneous, but do we know that this ISO actually works?
I have filed the issue on Stratego startup as bug #58963 now and copied all required information as well as attachments there. I'm gonna mark the attachments here as obsolete since they have nothing to do with the installation of the DirectX Media Runtime.