The-Wineskin-Project / WineskinServer

Wineskin
GNU Lesser General Public License v2.1
2.47k stars 170 forks source link

Major Wineskin update #530

Open Gcenx opened 9 months ago

Gcenx commented 9 months ago

Some new functionality can be seen:

Additional improvements are currently undecided.


To try out the new version run the following brew commands

brew uninstall --zap wineskin
brew uninstall gstreamer-runtime
brew install --cask gcenx/wine/wineskin

Now you’ll have a clean setup for this new version.

Stefidar commented 8 months ago

Hard MacBook Air M2 15" (16/512) crash when using 23.7.1 engine with DXVK and Witcher 3. Solved when using an older MoltenVK. All good with Apple GPTK activated.

Gcenx commented 8 months ago

@Stefidar is this with wineskin-devel?

As Wineskin provides stock MoltenVK any bugs encounter are MoltenVK bugs not Wineskin bugs and should be reported to upstream MoltenVK not here.

Stefidar commented 8 months ago

Everything works fine with normal Wineskin and default MoltenVK, and it crashes hard with Wineskin-devel and its default MoltenVK. It stops crashing with MoltenVK ~1.3.243~ 1.2.3. It works flawlessly with Apple GPTK on both, albeit with 10 less fps than DXVK.

Gcenx commented 8 months ago

@Stefidar that means MoltenVK-v1.2.7 is rather broken, the current Wineskin version ships MoltenVK-v1.2.5.

The version you’d downgrade to was MoltenVK-v1.2.3 (don’t go by VulkanSDK release)

I might be forced to continue to ship MoltenVK-v1.2.5…..

antoninmuller commented 8 months ago

Since last update of GTAV I need the dll "dxvk dxgi" from winetricks to start rockstar launcher. In the wip version from wineskin I don't find anymore the dll dxvk dxgi...

Gcenx commented 8 months ago

I’ve only been playing GTAV using D3DMetal enabled, however DXVK dxgi is indeed required when using DXVk that’s going to cause some headaches.

antoninmuller commented 8 months ago

D3Dmetal causes me a problem with the resolution selector in the game settings

Gcenx commented 8 months ago

I’ve restored dxvk_dxgi installing that will break Steam.

Gcenx commented 8 months ago

@antoninmuller instead of install dxvk_dxgi enable MoltenVK (CodeWeavers version)

antoninmuller commented 8 months ago

a new gta update has just been released... DXVK with DXGI no longer works... even on the old version of wineskin... go through MoltenVK (CodeWeavers version) either... only solution: use D3Dmetal but I only have 25 fps on my macmini M2 now (60 before)

Gcenx commented 8 months ago

a new gta update has just been released... DXVK with DXGI no longer works... even on the old version of wineskin...

Makes sense as I only ship stock MoltenVK in the current release version


go through MoltenVK (CodeWeavers version) either...

Enabling this with dxvk version installed (without dxvk_dxgi the game works for me.

Screenshot 2024-03-02 at 9 38 53 PM

And yes this option is required to get Rockstar Games Launcher working, dxvk_dxgi it starts to launch then exits, it only works with wines builtin dxgi.


only solution: use D3DMetal but I only have 25 fps on my macmini M2 now (90 before)

This more or less confirms you've installed dxvk_dxgi into your wrapper.

antoninmuller commented 8 months ago

I started from scratch. install wineskin rc8 with ws12-CX23.7.1, install dxvk (not dxgi), click on MoltenVK codeweavers and launch the game. the game start at 60 fps, everything is perfect !

tks for your help !! :-)

antoninmuller commented 8 months ago

I have a suggestion, if future versions of Wineskin could no longer generate a templates folder that would be great. Unless it is of use!

Gcenx commented 8 months ago

I have a suggestion, if future versions of Wineskin could no longer generate a templates folder that would be great. Unless it is of use!

Templates has been a symlink/directory since wine-5.0-rc1.

antoninmuller commented 8 months ago

Any solution to add an command + q to all app ? With Game if I want to quit quickly I must force to quit every time.

antoninmuller commented 8 months ago

I have a suggestion, if future versions of Wineskin could no longer generate a templates folder that would be great. Unless it is of use!

Templates has been a symlink/directory since wine-5.0-rc1.

Ok

Gcenx commented 8 months ago

Any solution to add an command + q to all app ? With Game if I want to quit quickly I must force to quit every time.

This would require patching wine to accomplish, as command is remapped to control by default that would cause an app to quit unexpectedly.

antoninmuller commented 8 months ago

Ok tks

Gcenx commented 8 months ago

There a known bug with Wineskin-2.9.2.1-rc9 after winetricks completes wineskinApp crashes, the verbs will be installed just fine just the app crashes once winetricks completes.

antoninmuller commented 8 months ago

I tested Wineskin-2.9.2.1-rc9 and I noticed that we can no longer replace the "save games" or "AppData" directories with an alias from the Mac's Documents folder. It was very practical because it allowed me to have the saves in the same place whatever the game. for example I tried with GTA5 and JEDI Fallen (error to save the game)

Gcenx commented 7 months ago

I’ve updated wineskin-devel to 2.0 & Wineskin-3.0 these should now be considered stable.

The internal structor was slightly tweaked this should make it simpler to run codesign on a generated wrapper. Still no guarantees everyone is correct for this but it should be less of a headache now at least.

antoninmuller commented 7 months ago

tks a lot for your work. Any plan for WS12WineCX64Bit24.0.0 ?

Gcenx commented 7 months ago

Any plan for WS12WineCX64Bit24.0.0 ?

Already being worked on, there’s just an annoyance with explorer.exe hanging, this can also happen with CrossOver-24.0.

Rastafabisch commented 7 months ago

I don’t know, wether this is the right place to suggest this, or wether it rather should be opened as a new "issue". Anyhow, I think there should be an option to configure wine (or more specifically the winemac.drv) to always run in windowed mode, rather than doing what windows would do. while this to my understanding goes against the way wine is supposed to work (as far as I know) there’s actually a need for this to not break otherwise working programs on macOS. Especially older games which default to low resolutions on first launch (800x600, anything below 1024x768?) just don‘t open, erroring out, as Apple Silicon Macs do not support such low display modes anymore.

Currently the only way to open such programmes is either installing xquartz (suboptimal, not tested) or using dxwnd (at least for DirectX games).

A game to test this behaviour is Colin McRae Rally 2005, which has a Demo Version available.

Gcenx commented 7 months ago

@Rastafabisch that’s completely out of scope for Wineskin, that’s more an on upstream wine to implement Virtual Desktop support into winemac.drv

Rastafabisch commented 7 months ago

Alright. I gonna try to open a bug report/feature request at winehq. Though I didn’t thought about actual virtual desktop support (which isn’t possible, as macOS doesn’t support child windows as far as I know). I just thought about something like ignoring wines/windows APIs fullscreen calls. (At least in my non-developer mind it’s „that simple“.)

Rastafabisch commented 7 months ago

I reported said issue at winehq's bugzilla.