lah7 / sims2-4k-ui-patch

Work in progress patch program to upscale The Sims 2's UI for 2K/4K displays
GNU General Public License v3.0
37 stars 2 forks source link

[Question] Sims 2 on macOS #41

Closed arthrfrts closed 4 months ago

arthrfrts commented 4 months ago

Would love to test this on macOS, but I'm having trouble to install my Ultimate Collection on it (both Origin and Starter Pack).

I followed the steps in your archived repo on it, but the game always shuts down after the EA splash screen. Do you know any updated instructions to install and run it?

I've tried both with Whisky and Gcenx' Wineskin project already, but maybe I'm missing some wineskin?

Thanks for any help!

lah7 commented 4 months ago

I haven't tried the EA App under Wine in a long time, and haven't babbled with Wine on Mac in over a decade. 🍷

Since you say the game runs, but then crashes after the EA logo, some pointers could be:

You might have luck using Lutris which might use some other bundle of Wine. Looking at their installer script, they set up the wine prefix as "Windows 10" and installs corefonts too.

If you can, run with logging enabled or in a terminal, to see if any of the output provides a clue.

From what I can see, The Sims 2 Starter Pack doesn't require the EA App, so that 'version' would probably be easier to get up and running.

arthrfrts commented 4 months ago

Thanks for the pointers! I was actually trying to use Starter Pack, since the EA app would only bring more complexity to this.

I tried to configure Wineskin with WS12WineCX64Bit23.7.1-2, d9vk, dxvk and corefonts. This same bottle runs Spore flawlessly and, with some caveats, runs the SimCity 2013 on Origin. However, I believe The Sims 2 has something different, since it breaks after this:

[mvk-info] Created 3 swapchain images with initial size (1280, 720) and contents scale 1.0 for screen PHL 276E8V.
0254:trace:loaddll:build_module Loaded L"C:\\Program Files (x86)\\The Sims 2 Starter Pack\\Fun with Pets\\SP9\\TSBin\\ijl15.dll" at 60000000: native
info:  DXVK: Using 5 compiler threads
0254:fixme:imm:ImmGetOpenStatus (000300A4): semi-stub
2024-06-27 22:34:07.757 wine64-preloader[37025:1461433] [CAMetalLayerDrawable texture] should not be called after already presenting this drawable. Get a nextDrawable instead.
2024-06-27 22:34:07.757 wine64-preloader[37025:1461439] Each CAMetalLayerDrawable can only be presented once!

This seems to be something that's missing from MoltenVK, I guess? Since dxvk goes through it to translate to Metal (if I'm understanding things correctly).

Anyway, it doesn't work for now, but maybe in the future since MoltenVK seems to be evolving. I'm playing it through Parallels (and is running flawlessly on a M1).

Thank you for your help!