Wine test image

I would keep a few things in mind, this is a Alpha wine port, haiku itself needs patches iirc, coding style etc all needs cleanup and there’s limited man power.

That said, donations to haiku and developers do help.

2 Likes

Heh, I do donate every month - I’d love to contribute time as well but my C++ is very, very rusty!

5 Likes

@korli refectored kernel patch needed for Wine. I adapted Wine source to be compatible with new kernel patch.

18 Likes

The required changes got merged and wine should be available in the depot from now on for 64 bit Haiku.

8 Likes

The wine package doesnt works on Beta3, only on nightly over hrev55933.

4 Likes

Is WOW64 working?

I don’t think a solution for WOW64 has been decided upon yet. The easiest solution is probably to wait for the Wine project’s PE conversion to finish. This would make Wine itself handle WOW64. The other solution is to do what Linux distros currently do and provide both a 64-bit version and a 32-bit version of the Wine package (along with 64-bit and 32-bit dependencies).

I’m confused, why enable the recipe for 64bit without wow64? It seems this will lead to users testing it only to complain that most software does not work with it.
(also the recipe is disabled for 32bit?)

Because this is the only supported configuration for now.
Good for making hype in the news and it can run filezilla.

2 Likes

How does one start wine? how to get filezilla running?

Copy FileZilla portable to “/boot/home/.wine/drive_c/some folder” and then execute “wine64 explorer” from terminal and navigate in explorer to “C:\some folder” and double click FileZilla.exe.
Worked for me!

Update: You need a 64 Bit version of FileZilla. 32 bit does not work! Important!

1 Like

/boot/system/bin> wine64 explorer
002c:fixme:file:get_device_info device info not properly supported on this platform
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
002c:fixme:ntdll:get_firmware_info info_class SYSTEM_FIRMWARE_TABLE_INFORMATION
002c:fixme:ntdll:get_firmware_info info_class SYSTEM_FIRMWARE_TABLE_INFORMATION
002c:err:winediag:getaddrinfo Failed to resolve your host name IP
0034:fixme:file:get_device_info device info not properly supported on this platform
Abort
002c:err:seh:call_stack_handlers invalid frame 00007FF30DA6C208 (0000000000112000-0000000000210000)
002c:err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception.
0024:fixme:file:get_device_info device info not properly supported on this platform
wine: could not load kernel32.dll, status c0000135
/boot/system/bin> Abort
0034:err:seh:call_stack_handlers invalid frame 00007FA802534428 (0000000000112000-0000000000210000)
0034:err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception.

Did you install the .NET stuff and Gecko Explorer?
I did not do it the first time, then it did not work as well.
Then I removed .wine by doing “rm -rf /boot/home/.wine”
And then I setup everything again with installing .NET and Gecko stuff (you will get asked)
After that it worked with 64 Bit version.

You need a current Haiku nightly also. Also I build Wine by myself, but I guess thats not required.

I’m completely lost …

We have a knowledge base, why no one explain this right and we can place the tutorial on the knowledge base?

https://besly.de

1 Like

Hi, i played with @Waffel images with patched kernel and i could start some Win64 apps.
As i read that wine patches and pkg are in last nightly images, i updated the Waffel’s image and wine stops to run. So i create new VM from last nightly build 55943, add wine pkg and winecfg fails to start.
Do i miss something ?

The correct solution is to add exe files to the filetypes, move the default wine dir somewhere else, etc. to facilitate “just click to run”.

Why write a tutorial for very WIP unfinished ports?

I have the same problem. I upgraded my stock (not the patched one) Haiku image to the last nightly hrev55945-64bit and winecfg refuses to start.
Here the output:

~> wine64 --version
wine-7.1
~> winecfg 
wine: created the configuration directory '/boot/home/.wine'
002c:fixme:file:get_device_info device info not properly supported on this platform
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
002c:fixme:ntdll:get_firmware_info info_class SYSTEM_FIRMWARE_TABLE_INFORMATION
002c:fixme:ntdll:get_firmware_info info_class SYSTEM_FIRMWARE_TABLE_INFORMATION
0034:fixme:file:get_device_info device info not properly supported on this platform
0040:fixme:file:get_device_info device info not properly supported on this platform
0050:fixme:file:get_device_info device info not properly supported on this platform
0048:fixme:file:get_device_info device info not properly supported on this platform
0050:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0048:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0048:err:haikudrv:HAIKUDRV_CreateDesktopWindow desktop rect: (0, 0, 1280, 960)
Abort
Abort
0050:err:seh:call_stack_handlers invalid frame 000000000022F848 (0000000000112000-0000000000210000)
0050:err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception.
0048:err:seh:call_stack_handlers invalid frame 000000000022F848 (0000000000112000-0000000000210000)
0048:err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception.
Abort
Abort
002c:err:seh:call_stack_handlers invalid frame 000000000022F848 (0000000000112000-0000000000210000)
002c:err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception.
0040:err:seh:call_stack_handlers invalid frame 000000000022F848 (0000000000112000-0000000000210000)
0040:err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception.
0024:fixme:file:get_device_info device info not properly supported on this platform
wine: could not load kernel32.dll, status c0000135
~> Abort
0034:err:seh:call_stack_handlers invalid frame 00007F3543D1F028 (0000000000112000-0000000000210000)
0034:err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception.
~> 
2 Likes

HaikuPorts Wine package seems broken.