Skip to content
This repository was archived by the owner on Apr 15, 2024. It is now read-only.

Added installation step for Rosetta #22

Merged
merged 1 commit into from
Nov 14, 2022

Conversation

FleetAdmiralButter
Copy link
Contributor

Hi,

Recent versions of GShade started shipping DLLs that require AVX by default.

When running GShade under Wine/Rosetta, AVX is not supported as M1/M2 chips can't translate the instruction, resulting in a game crash when this script is used.

I've added a step to the installer to check for when AVX support is missing under macOS and link the non-AVX DLLs instead (which is still shipped by GShade).

I tried to make as few changes as possible here to avoid introducing regressions for non-Mac systems. I unfortunately don't have a Linux machine on me but I have tested this with XIV on Mac using separate Macs with Intel/M1 CPUs and verified that the correct DLL was being linked for each.

Thanks!

@HereInPlainSight HereInPlainSight merged commit bba96cc into HereInPlainSight:master Nov 14, 2022
@HereInPlainSight
Copy link
Owner

Thanks! I thought I made a fix for this for Linux at some point, but apparently that was a fever dream. Gonna commit this as-is, but may change it to make it more generic for figuring out and fixing AVX on both Mac (which especially I would never know how to do on my own) and Linux at the same time when I get a chance. Thank you again!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants