Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wsh57 fails via GUI #2152

Open
TheoCGaming opened this issue Nov 15, 2023 · 10 comments
Open

wsh57 fails via GUI #2152

TheoCGaming opened this issue Nov 15, 2023 · 10 comments
Labels
bug Acknowledged bug gui Bugs only affecting the GUI

Comments

@TheoCGaming
Copy link

░▒▓   ~   13:51 
❯ winetricks
od: wine: No such file or directory
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.           <--ignore this, the default prefix is 64-bit and I don't know how to set the 32-bit prefix as the default.
------------------------------------------------------             
Using winetricks 20230212-next - sha256sum: fe0550e0d843214f87dcb0f4aa591be0046fa93db7b8330217dd926258e628fc with wine-8.20 (Staging) and WINEARCH=win64
winetricks GUI enabled, using zenity 3.44.2
Executing w_do_call wsh57
Executing load_wsh57
grep: warning: stray \ before /
Executing cabextract -q -d /home/theocgaming/.local/share/wineprefixes/32bithelpme/dosdevices/c:/windows/system32 /home/theocgaming/.cache/winetricks/wsh57/scripten.exe
Using native,builtin override for following DLLs: jscript scrrun vbscript cscript.exe wscript.exe
Executing wine C:\windows\regedit.exe C:\windows\Temp\_32bithelpme\override-dll.reg
Executing wine C:\windows\system32\regsvr32.exe dispex.dll jscript.dll scrobj.dll scrrun.dll vbscript.dll wshcon.dll wshext.dll
------------------------------------------------------
warning: wsh57 install completed, but installed file /home/theocgaming/.local/share/wineprefixes/32bithelpme/dosdevices/c:/windows/syswow64/scrrun.dll not found
------------------------------------------------------

░▒▓   ~   13:55 
❯
@Chiitoo
Copy link
Collaborator

Chiitoo commented Nov 16, 2023

Are you certain that your Wine build and the prefix indeed have 32-bit support?

I notice lack of any mention of 'syswow64', which I see in a 'wow64' prefix (32 and 64 bits both supported, which is default for Wine built with support for both):

Executing wine C:\windows\syswow64\regsvr32.exe dispex.dll jscript.dll scrobj.dll scrrun.dll vbscript.dll wshcon.dll wshext.dll

With a 32-bit only prefix, you should not be seeing the using a 64-bit WINEPREFIX message.

I would try creating a new prefix like so:

WINEARCH="win32" WINEPREFIX="/new/prefix/path" winetricks sandbox

Of course you can use anything that runs Wine there; I just prefer creating them wth winetricks sandbox. ^^

Please post any output from the results, if it still does not work for you.

Also might try without the GUI, as it is less maintained (that is, run winetricks wsh57 in a terminal).

@TheoCGaming
Copy link
Author

image

@TheoCGaming
Copy link
Author

░▒▓   ~/ /Windows-Media-Player-10   10:01 
❯ winetricks
od: wine: No such file or directory
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20230212-next - sha256sum: fe0550e0d843214f87dcb0f4aa591be0046fa93db7b8330217dd926258e628fc with wine-8.20 (Staging) and WINEARCH=win64
winetricks GUI enabled, using zenity 3.44.2
------------------------------------------------------
Creating WINEPREFIX "/home/theocgaming/.local/share/wineprefixes/32bit2electricboogaloo" with WINEARCH=win32
------------------------------------------------------
0138:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 00010094
0138:fixme:wininet:query_global_option INTERNET_OPTION_CONNECTED_STATE: semi-stub
0138:fixme:wininet:query_global_option INTERNET_OPTION_CONNECTED_STATE: semi-stub
0138:fixme:ieframe:get_location_url semi-stub
0138:fixme:ieframe:ControlSite_OnFocus (0C4E19D8)->(0)
0138:fixme:ieframe:InPlaceSite_OnInPlaceDeactivateEx fNoRedraw (1) ignored
0138:fixme:mshtml:DocObjHlinkTarget_SetBrowseContext (0C0CAE28)->(00000000)
0138:fixme:mshtml:nsChannel_GetContentLength (0B5E68E8)->(0031A480)
0138:fixme:mshtml:nsChannel_GetContentDispositionFilename (0B5E68E8)->(0031A4E0)
0138:fixme:mshtml:nsChannel_GetContentLength (0B5E68E8)->(0B5C6060)
0138:fixme:win:DeregisterShellHookWindow (00010094): stub
wine: Unhandled page fault on read access to F7DE7988 at address F7DE7988 (thread 0258), starting debugger...
wine: created the configuration directory '/home/theocgaming/.local/share/wineprefixes/32bit2electricboogaloo'
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
002c:fixme:winediag:loader_init wine-staging 8.20 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
004c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0054:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
004c:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
004c:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
004c:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0054:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0054:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0054:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0054:err:ole:start_rpcss Failed to open RpcSs service
007c:err:ntoskrnl:ServiceMain Failed to load L"C:\\windows\\system32\\win32k.sys"
007c:err:ntoskrnl:ServiceMain Failed to load L"C:\\windows\\system32\\drivers\\dxgkrnl.sys"
007c:err:ntoskrnl:ServiceMain Failed to load L"C:\\windows\\system32\\drivers\\dxgmms1.sys"
0098:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@C:\\windows\\system32\\drivers\\wineusb.sys,-1" -> L"C:\\windows\\inf\\wineusb.inf"
0098:fixme:file:NtLockFile I/O completion on lock not implemented yet
0098:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0098:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0098:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0108:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
wine: configuration in L"/home/theocgaming/.local/share/wineprefixes/32bit2electricboogaloo" has been updated.
0108:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0108:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0108:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
Executing w_do_call wmp10
Executing load_wmp10
Executing w_do_call wsh57
Executing load_wsh57
grep: warning: stray \ before /
Executing cabextract -q -d /home/theocgaming/.local/share/wineprefixes/32bit2electricboogaloo/dosdevices/c:/windows/system32 /home/theocgaming/.cache/winetricks/wsh57/scripten.exe
Using native,builtin override for following DLLs: jscript scrrun vbscript cscript.exe wscript.exe
Executing wine C:\windows\regedit.exe C:\windows\Temp\_32bit2electricboogaloo\override-dll.reg
Executing wine C:\windows\system32\regsvr32.exe dispex.dll jscript.dll scrobj.dll scrrun.dll vbscript.dll wshcon.dll wshext.dll
------------------------------------------------------
warning: wsh57 install completed, but installed file /home/theocgaming/.local/share/wineprefixes/32bit2electricboogaloo/dosdevices/c:/windows/syswow64/scrrun.dll not found
------------------------------------------------------

░▒▓   ~/ /Windows-Media-Player-10   10:03 
❯

@TheoCGaming
Copy link
Author

brand new prefix, still throws the error

@TheoCGaming
Copy link
Author

and yes i tried installing it manually, it just completely breaks the prefix

@Chiitoo
Copy link
Collaborator

Chiitoo commented Nov 16, 2023

I think I managed to re-produce this using kdialog as the UI, so that might indeed be what is breaking it.

Perhaps try something like this:

WINEPREFIX="/home/theocgaming/.local/share/wineprefixes/test-for-2152" winetricks wsh57

You should not see any GUI.

Does that work?

For wmp10 you will need a 32-bit prefix though, so for that you can do this to install both:

WINEARCH="win32" WINEPREFIX="/home/theocgaming/.local/share/wineprefixes/test-32-for-2152" winetricks --unattended wmp10 wsh57

There is also an early

wine: Unhandled page fault on read access to F7DE7988 at address F7DE7988 (thread 0258), starting debugger...

so you might have something else going wrong as well...

@TheoCGaming
Copy link
Author

works flawlessly without the UI, I wonder why the UI specifically breaks it

@TheoCGaming
Copy link
Author

well this problem seems to be fixed for now

---SUMMARY---
run winetricks without the UI using WINEPREFIX="[prefix directory]" winetricks wsh57

I wanted to run taito legends, but there seems to be something else wrong. I'll stick with MAME for now.

@Chiitoo
Copy link
Collaborator

Chiitoo commented Nov 17, 2023

Yeah, the UI bits are not much, or at all used by the developers so it gets a lot less testing.

It does seem very weird that that it breaks in this manner, and I will try to look into it if/when I find the time.

I will re-open this to track the issue with the GUI parts.

Thank you for the report, and for testing!

@Chiitoo Chiitoo reopened this Nov 17, 2023
@Chiitoo Chiitoo changed the title wsh57 still searches for scrrun.dll in syswow64 despite being in a 32-bit prefix wsh57 fails via GUI Nov 17, 2023
@Chiitoo Chiitoo added bug Acknowledged bug gui Bugs only affecting the GUI labels Nov 17, 2023
@kenorb
Copy link
Contributor

kenorb commented Jan 3, 2024

od: wine: No such file or directory

See: GH-2143.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Acknowledged bug gui Bugs only affecting the GUI
Projects
None yet
Development

No branches or pull requests

3 participants