Running Bar Ilan Reponsa in Wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
CaptainKirk
Level 1
Level 1
Posts: 5
Joined: Thu Jun 28, 2018 12:59 pm

Running Bar Ilan Reponsa in Wine

Post by CaptainKirk »

I have the latest versions of Wine and winetricks and I am trying to run Bar Ilan Reponsa. The last discussions of this on these boards was 9 years ago. This is what I get now:

Code: Select all

$ pwd
/home/kirk/.wine/drive_c/Program Files (x86)/ResponsaCD20
$ wine RESPONSA.exe
000d:err:module:import_dll Loading library windowscodecs.dll (which is needed by L"C:\\windows\\system32\\winemenubuilder.exe") failed (error c000007b).
000d:err:module:attach_dlls Importing dlls for L"C:\\windows\\system32\\winemenubuilder.exe" failed, status c0000135
0009:fixme:nls:GetThreadPreferredUILanguages 00000034, 0x32e6a0, 0x32e710 0x32e6a8
0009:fixme:nls:get_dummy_preferred_ui_language (0x34 0x32e6a0 0x32e710 0x32e6a8) returning a dummy value (current locale)
0009:fixme:nls:GetThreadPreferredUILanguages 00000034, 0x32e680, 0x32e6f0 0x32e688
0009:fixme:nls:get_dummy_preferred_ui_language (0x34 0x32e680 0x32e6f0 0x32e688) returning a dummy value (current locale)
0017:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 41018 (device=4 access=0 func=406 method=0)
0017:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 4d014 (device=4 access=3 func=405 method=0)
0009:fixme:ntdll:server_ioctl_file Unsupported ioctl 70000 (device=7 access=0 func=0 method=0)
0009:fixme:ntdll:server_ioctl_file Unsupported ioctl 70000 (device=7 access=0 func=0 method=0)
0017:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d1400 (device=2d access=0 func=500 method=0)
0009:fixme:ntdll:server_ioctl_file Unsupported ioctl 2d1400 (device=2d access=0 func=500 method=0)
0009:fixme:ntdll:server_ioctl_file Unsupported ioctl 2d1400 (device=2d access=0 func=500 method=0)
and then I get the message: "Please insert the original USB disk and try again!" and the USB dongle is of course in my PC so it appears that the issue is the protection system they use.

I put mfc42.dll and WindowsCodecs.dll into /home/kirk/.wine/drive_c/windows/system32/ I copied them from a Windows 7 VirtualBox that I have.

Any advice what I can do?
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Running Bar Ilan Reponsa in Wine

Post by DarkShadow44 »

It can't find windowscodecs though, you probably did something wrong there. winetricks should be able to install it properly.
But AFAIK, that shouldn't cause your this issue - but you should rule it out nevertheless.

It could very well be that the copy-protection simply doesn't work in wine (yet). If winetricks to install those dlls with a clean WINEPREFIX doesn't work (and there is no bug report yet), make sure to file a bug report.
CaptainKirk
Level 1
Level 1
Posts: 5
Joined: Thu Jun 28, 2018 12:59 pm

Re: Running Bar Ilan Reponsa in Wine

Post by CaptainKirk »

DarkShadow44 wrote:It can't find windowscodecs though, you probably did something wrong there. winetricks should be able to install it properly.
But AFAIK, that shouldn't cause your this issue - but you should rule it out nevertheless.
Can you provide more detail? Do you mean that simply installing winetricks should be sufficient? Or is there a command I must run?

And is there a way I can check if these windowscodecs are installed or not?

Thank you.
CaptainKirk
Level 1
Level 1
Posts: 5
Joined: Thu Jun 28, 2018 12:59 pm

Re: Running Bar Ilan Reponsa in Wine

Post by CaptainKirk »

I tried running this:

Code: Select all

$ winetricks windowscodecs
------------------------------------------------------
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 20180603 - sha256sum: cad4e699f55c297afe5b177d68dccf1ef54e9dd23518a6f6343caa0ab7636615 with wine-3.11 and WINEARCH=win64
Executing w_do_call windowscodecs
Executing load_windowscodecs 
Executing rm -f /home/shadow/.wine/dosdevices/c:/windows/syswow64/windowscodecs.dll /home/shadow/.wine/dosdevices/c:/windows/syswow64/windowscodecsext.dll /home/shadow/.wine/dosdevices/c:/windows/syswow64/wmphoto.dll /home/shadow/.wine/dosdevices/c:/windows/syswow64/photometadatahandler.dll
Executing rm -f /home/shadow/.wine/dosdevices/c:/windows/system32/windowscodecs.dll /home/shadow/.wine/dosdevices/c:/windows/system32/windowscodecsext.dll /home/shadow/.wine/dosdevices/c:/windows/system32/wmphoto.dll /home/shadow/.wine/dosdevices/c:/windows/system32/photometadatahandler.dll
Using native override for following DLLs: windowscodecs windowscodecsext
Executing wine regedit C:\windows\Temp\_windowscodecs\override-dll.reg
000d:err:module:import_dll Loading library windowscodecs.dll (which is needed by L"C:\\windows\\system32\\winemenubuilder.exe") failed (error c000007b).
000d:err:module:attach_dlls Importing dlls for L"C:\\windows\\system32\\winemenubuilder.exe" failed, status c0000135
Executing wine64 regedit C:\windows\Temp\_windowscodecs\override-dll.reg
Setting Windows version to winxp
Executing wine regedit C:\windows\Temp\_windowscodecs\set-winver.reg
Executing wine64 regedit C:\windows\Temp\_windowscodecs\set-winver.reg
------------------------------------------------------
Running /usr/bin/wineserver -w. This will hang until all wine processes in prefix=/home/shadow/.wine terminate
------------------------------------------------------
Executing cd /home/shadow/.cache/winetricks/windowscodecs
------------------------------------------------------
Working around wine bug 32859 -- Working around possibly broken libX11
------------------------------------------------------
Executing taskset -c 0 wine wic_x64_enu.exe /passive
000d:err:module:import_dll Loading library windowscodecs.dll (which is needed by L"C:\\windows\\system32\\winemenubuilder.exe") failed (error c000007b).
000d:err:module:attach_dlls Importing dlls for L"C:\\windows\\system32\\winemenubuilder.exe" failed, status c0000135
0009:fixme:clusapi:GetNodeClusterState ((null),0x32ec54) stub!
0009:fixme:advapi:DecryptFileA ("y:\\4375d8b11dd59d899581b247\\", 00000000): stub
0031:fixme:setupapi:pSetupGetGlobalFlags stub
------------------------------------------------------
Note: command taskset -c 0 wine wic_x64_enu.exe /passive returned status 67. Aborting.
------------------------------------------------------
$ wine  RESPONSA.exe  
000d:err:module:import_dll Loading library windowscodecs.dll (which is needed by L"C:\\windows\\system32\\winemenubuilder.exe") failed (error c000007b).
000d:err:module:attach_dlls Importing dlls for L"C:\\windows\\system32\\winemenubuilder.exe" failed, status c0000135
0009:fixme:nls:GetThreadPreferredUILanguages 00000034, 0x32e6a0, 0x32e710 0x32e6a8
0009:fixme:nls:get_dummy_preferred_ui_language (0x34 0x32e6a0 0x32e710 0x32e6a8) returning a dummy value (current locale)
0009:fixme:nls:GetThreadPreferredUILanguages 00000034, 0x32e680, 0x32e6f0 0x32e688
0009:fixme:nls:get_dummy_preferred_ui_language (0x34 0x32e680 0x32e6f0 0x32e688) returning a dummy value (current locale)
0017:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 41018 (device=4 access=0 func=406 method=0)
0017:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 4d014 (device=4 access=3 func=405 method=0)
0009:fixme:ntdll:server_ioctl_file Unsupported ioctl 70000 (device=7 access=0 func=0 method=0)
0009:fixme:ntdll:server_ioctl_file Unsupported ioctl 70000 (device=7 access=0 func=0 method=0)
0017:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d1400 (device=2d access=0 func=500 method=0)
0009:fixme:ntdll:server_ioctl_file Unsupported ioctl 2d1400 (device=2d access=0 func=500 method=0)
0009:fixme:ntdll:server_ioctl_file Unsupported ioctl 2d1400 (device=2d access=0 func=500 method=0)
But as you can see, it didn't help. I also tried running:

Code: Select all

WINEARCH=win32 WINEPREFIX=/home/shadow/.wineprefix32 winecfg 
and also

Code: Select all

WINEPREFIX=/home/shadow/.wineprefix32 WINEARCH=win32 wine wineboot  
and then winetricks windowscodecs again, but same result. :(
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Running Bar Ilan Reponsa in Wine

Post by DarkShadow44 »

Did you make sure to use a clean WINEPREFIX?
CaptainKirk wrote:Can you provide more detail? Do you mean that simply installing winetricks should be sufficient? Or is there a command I must run?
Yes, I meant running "winetricks windowscodecs".
CaptainKirk wrote:And is there a way I can check if these windowscodecs are installed or not?
Well, if you run winecfg, you can check if you have the corresponding dll overrides.
CaptainKirk
Level 1
Level 1
Posts: 5
Joined: Thu Jun 28, 2018 12:59 pm

Re: Running Bar Ilan Reponsa in Wine

Post by CaptainKirk »

Please bear with me if I am missing something obvious. I appreciate your patience. I ran this:

Code: Select all

$ winecfg
000d:err:module:import_dll Loading library windowscodecs.dll (which is needed by L"C:\\windows\\system32\\winemenubuilder.exe") failed (error c000007b).
000d:err:module:attach_dlls Importing dlls for L"C:\\windows\\system32\\winemenubuilder.exe" failed, status c0000135
and then added windowscodecs.dll and set "builtin,native" and anyhow now I can run winecfg with no errors and now even my app runs with no errors:

Code: Select all

$ wine  RESPONSA.exe  
0042:fixme:nls:GetThreadPreferredUILanguages 00000034, 0x32e6a0, 0x32e710 0x32e6a8
0042:fixme:nls:get_dummy_preferred_ui_language (0x34 0x32e6a0 0x32e710 0x32e6a8) returning a dummy value (current locale)
0042:fixme:nls:GetThreadPreferredUILanguages 00000034, 0x32e680, 0x32e6f0 0x32e688
0042:fixme:nls:get_dummy_preferred_ui_language (0x34 0x32e680 0x32e6f0 0x32e688) returning a dummy value (current locale)
0042:fixme:ntdll:server_ioctl_file Unsupported ioctl 70000 (device=7 access=0 func=0 method=0)
0042:fixme:ntdll:server_ioctl_file Unsupported ioctl 70000 (device=7 access=0 func=0 method=0)
0042:fixme:ntdll:server_ioctl_file Unsupported ioctl 2d1400 (device=2d access=0 func=500 method=0)
0042:fixme:ntdll:server_ioctl_file Unsupported ioctl 2d1400 (device=2d access=0 func=500 method=0)
but still just says "Please reinsert the original USB disk and try again!"

Just to be 100% sure, I launched the app right now in VirtualBox and it works fine.
DarkShadow44 wrote:Did you make sure to use a clean WINEPREFIX?
Do you mean like this:

Code: Select all

$ WINEARCH=win32 WINEPREFIX=/home/kirk/.wineprefix32 wine  RESPONSA.exe  
0009:fixme:nls:GetThreadPreferredUILanguages 00000034, 0x32e6a0, 0x32e710 0x32e6a8
0009:fixme:nls:get_dummy_preferred_ui_language (0x34 0x32e6a0 0x32e710 0x32e6a8) returning a dummy value (current locale)
0009:fixme:nls:GetThreadPreferredUILanguages 00000034, 0x32e680, 0x32e6f0 0x32e688
0009:fixme:nls:get_dummy_preferred_ui_language (0x34 0x32e680 0x32e6f0 0x32e688) returning a dummy value (current locale)
0017:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 41018 (device=4 access=0 func=406 method=0)
0017:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 4d014 (device=4 access=3 func=405 method=0)
0009:fixme:msvcrt:__clean_type_info_names_internal (0x4c22b684) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x4e0892fc) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x101827d4) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x788b0e54) stub
It's slightly different, but the modal window that pops up is the same -- no USB disk.

Seems the issue is the "fixme:mountmgr:harddisk_ioctl Unsupported ioctl " and Google found these two threads:

viewtopic.php?f=8&t=23864
viewtopic.php?f=2&t=8044

with no resolution. Would indeed appear to me to be a bug in Wine as VirtualBox is able to recognize the USB drive, so it's possible for this to work....
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Running Bar Ilan Reponsa in Wine

Post by DarkShadow44 »

Well, with clean WINEPREFIX I mean't a clean wine folder, in your case a deleted/empty home/kirk/.wineprefix32". But the error seems to be gone now.

As expected, it doesn't seem to find the USB drive. I didn't see a bug report for that yet, so I guess you should create one.
Although I guess it will be hard to test without the corresponding hardware.
CaptainKirk
Level 1
Level 1
Posts: 5
Joined: Thu Jun 28, 2018 12:59 pm

Re: Running Bar Ilan Reponsa in Wine

Post by CaptainKirk »

Thank you for you help. Bug report submitted:

https://bugs.winehq.org/show_bug.cgi?id=45411
Locked