WINE_AppImage icon indicating copy to clipboard operation
WINE_AppImage copied to clipboard

Foobar2000-32bit with wine-staging-wow64_8.11-x86_64.AppImage

Open fwn0 opened this issue 1 year ago • 8 comments

WINEARCH=win32 ..... wineboot ---- .wine-appimage-staging-wow64' is a 32-bit installation, it cannot support 64-bit applications. WINEARCH=win32 ..... winetricks ---- (warning: wine cmd.exe /c echo '%AppData%' returned empty string, error message "wine: '/home/artix/.wine-appimage-staging-wow64' is a 32-bit installation, it cannot support 64-bit applications.")

fwn0 avatar Jul 12 '23 20:07 fwn0

don't use WINEARCH with wow64 builds these already have 32 bit support by default, still not sure about winetricks supports wine wow64 build.

mmtrt avatar Jul 13 '23 08:07 mmtrt

I did test my old own 32bit prefix for fb2k with your x86_64 wow AppImage, but it won`t run or accept winetricks (I need install a few dlls). WINEPREFIX=/home/artix/Develop/FB2K/foobar2000-test-wow/.wine-env/prefix .wine-env/sources/wine-staging-wow64_8.11-x86_64.AppImage foobar2000.exe wine: '/home/artix/Develop/FB2K/foobar2000-test-wow/.wine-env/prefix' is a 32-bit installation, it cannot support 64-bit applications. This Appimage ( https://github.com/lucasmz1/wine_appimage ) runs smooth and without problems, but it is very fat AppImage for portable fb2k on linux, bsd.

fwn0 avatar Jul 13 '23 11:07 fwn0

you have to remove old prefix if that was not created with wow64 appimage, just tested installing vcrun2005 with winetricks from appimage worked fine both x86 & x64.

./wine-staging-wow64_8.11-x86_64.AppImage winetricks vcrun2005

Screenshot_20230714_122152

mmtrt avatar Jul 14 '23 07:07 mmtrt

This definitely does not work. I tried to install fbk2 with new, default prefix - and fbk2 works. But when I try to install mdac28 (only for 32bit), winetricks aborts with error message.

Here you can see log: artix-pc:[artix]:~/Develop/Wine$ /home/artix/Develop/Wine/wine-staging-wow64_8.11-x86_64.AppImage /home/artix/Develop/Wine/foobar2000_v2.1_p.exe wine: created the configuration directory '/home/artix/.wine-appimage-staging-wow64' 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" 00e8:err:environ:init_peb starting L"C:\windows\syswow64\rundll32.exe" in experimental wow64 mode 00f0:err:environ:init_peb starting L"C:\windows\syswow64\iexplore.exe" in experimental wow64 mode wine: configuration in L"/home/artix/.wine-appimage-staging-wow64" has been updated. 0148:err:environ:init_peb starting L"Z:\home\artix\Develop\Wine\foobar2000_v2.1_p.exe" in experimental wow64 mode 0148:err:winediag:ntlm_check_version ntlm_auth was not found. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. 0148:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems 0158:err:environ:init_peb starting L"C:\users\artix\Desktop\foobar2000-wow\foobar2000.exe" in experimental wow64 mode artix-pc:[artix]:~/Develop/Wine$ 0158:err:winediag:ntlm_check_version ntlm_auth was not found. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. 0158:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems 0158:err:combase:RoGetActivationFactory Failed to find library for L"Windows.Media.Playback.BackgroundMediaPlayer"

artix-pc:[artix]:~/Develop/Wine$ /home/artix/Develop/Wine/wine-staging-wow64_8.11-x86_64.AppImage winetricks mdac28

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: b97a66d162ac76207e373951421ea2e1188b7116c625df20616bf0efc376adf7 with wine-8.11 (Staging) and WINEARCH=win64 Executing w_do_call mdac28

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.

Executing load_mdac28

warning: This package (mdac28) does not work on a 64-bit installation. You must use a prefix made with WINEARCH=win32.

artix-pc:[artix]:~/Develop/Wine$ WINEARCH=win32 /home/artix/Develop/Wine/wine-staging-wow64_8.11-x86_64.AppImage winetricks mdac28

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.


WINEPREFIX INFO: Drive C: total 28 drwxr-xr-x 7 artix artix 4096 Jul 14 20:10 . drwxr-xr-x 4 artix artix 4096 Jul 14 20:11 .. drwxr-xr-x 3 artix artix 4096 Jul 14 20:10 ProgramData drwxr-xr-x 6 artix artix 4096 Jul 14 20:09 Program Files drwxr-xr-x 6 artix artix 4096 Jul 14 20:10 Program Files (x86) drwxr-xr-x 4 artix artix 4096 Jul 14 20:10 users drwxr-xr-x 18 artix artix 4096 Jul 14 20:11 windows

Registry info: /home/artix/.wine-appimage-staging-wow64/system.reg:#arch=win64 /home/artix/.wine-appimage-staging-wow64/user.reg:#arch=win64 /home/artix/.wine-appimage-staging-wow64/userdef.reg:#arch=win64


warning: wine cmd.exe /c echo '%AppData%' returned empty string, error message "wine: WINEARCH set to win32 but '/home/artix/.wine-appimage-staging-wow64' is a 64-bit installation."

artix-pc:[artix]:~/Develop/Wine$ /home/artix/Develop/Wine/wine-staging-wow64_8.11-x86_64.AppImage winetricks mdac28

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: b97a66d162ac76207e373951421ea2e1188b7116c625df20616bf0efc376adf7 with wine-8.11 (Staging) and WINEARCH=win64 Executing w_do_call mdac28

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.

Executing load_mdac28

warning: This package (mdac28) does not work on a 64-bit installation. You must use a prefix made with WINEARCH=win32.

fwn0 avatar Jul 14 '23 18:07 fwn0

it seems mdac28 does not support win64 prefix which is only used in wow64 wine sadly better use non wow64 wine for this.

I already have f2k appimages made try builds without prefix one.

mmtrt avatar Jul 14 '23 18:07 mmtrt

I know, but as I remember, it is old wine 4 version. I use as template this perfect wine 6 from pawitp (https://github.com/pawitp/wine-appimage), which I use for my favorite fb2k theme (https://github.com/TT-ReBORN/Georgia-ReBORN). These themes are not yet usable for x64 (we need SMP for 64bit). I have stripped this AppImage only for unconditional libs, runtimes, etc , so my portable prefix (incl. gecko, gdiplus, mdac28 and wsh57) + wine-32 are in total compressed in DwarFS only around 120-130 mbs size. DwarFS runs smoother and better than original AppImage and is more flexible for different developer purposes - in my opinion and experience.

fwn0 avatar Jul 14 '23 21:07 fwn0

well using dwarfs sure saves disk space but for those with limited ram could take hit with its ram usage when using compiled sh binary.

Also system needs dwarfs to be installed otherwise binary does not launch.

This is wine wow64 winecfg launched

Screenshot_20230801_120208

mmtrt avatar Aug 01 '23 08:08 mmtrt

dwarfs is portable binary, you don´t need to install it on PC- export $path or $dir with binary and run ;). Well, ram usage depends on the setting. You can set with option cache - size, image, files too or can add yourscript in header of dwarfs too - like here https://github.com/Phantop/appdwarf. Do you see some change for working wow64 with winetricks with 32bit prefix. I can try to fake this wine with my old regs, but I know, that for examle gecko for wine 6 isn´t compatible with wine 7+ and mdac28 exists only for wine-32bit..

fwn0 avatar Aug 01 '23 12:08 fwn0