Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steam installation crashes on M1 #163

Open
LevanMamontTsiklauri opened this issue Dec 22, 2023 · 2 comments
Open

Steam installation crashes on M1 #163

LevanMamontTsiklauri opened this issue Dec 22, 2023 · 2 comments

Comments

@LevanMamontTsiklauri
Copy link

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Squally [50048]
Path:                  /Users/USER/Library/Application Support/Steam/*/Squally.app/Contents/MacOS/Squally
Identifier:            Squally
Version:               ???
Code Type:             X86-64 (Translated)
Parent Process:        Launcher [50047]
Responsible:           steam_osx [47411]
User ID:               501

Date/Time:             2023-12-22 19:47:14.6225 +0400
OS Version:            macOS 14.2.1 (23C71)
Report Version:        12
Anonymous UUID:        D9898B2E-5195-45E6-595C-0012CB9B3A3F

Sleep/Wake UUID:       401A5400-A9F0-4226-A8A2-3BAC7E2CED25

Time Awake Since Boot: 100000 seconds
Time Since Wake:       11070 seconds

System Integrity Protection: enabled

Notes:
PC register does not match crashing frame (0x0 vs 0x206256A78)

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Termination Reason:    Namespace DYLD, Code 1 Library missing
Library not loaded: @rpath/../Frameworks/vorbisenc.framework/Versions/A/vorbisenc
Referenced from: <2C8F54B1-0C7E-37E3-B03D-F23D44663C54> /Users/USER/Library/Application Support/Steam/*/Squally.app/Contents/MacOS/Squally
Reason: tried: '/Users/zcanann/Documents/Squally/build/_deps/sfml-src/extlibs/libs-osx/Frameworks/../Frameworks/vorbisenc.framework/Versions/A/vorbisenc' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/zcanann/Documents/Squally/build/_deps/sfml-src/extlibs/libs-osx/Frameworks/../Frameworks/vorbisenc.framework/Versions/A/vorbisenc' (no such file), '/Users/zcanann/Documents/Squally/build/_deps/sfml-src/extlibs/libs-osx/Frameworks/../Frameworks/vorbisenc.framework/Versions/A/vorbisenc' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/zcanann/Documents/Squally/build/_deps/sfml-src/extlibs/libs-osx/Frameworks/../Frameworks/vorbisenc.framework/Versions/A/vorbisenc' (no such file), '/Library/Frameworks/vorbisenc.framework/Versions/A/vorbis
(terminated at launch; ignore backtrace)
@LevanMamontTsiklauri
Copy link
Author

If anyone else is facing this problem below is the workaround. Copying what I suggested on steam

I figured it out.

You need vorbis libs from here [(https://www.sfml-dev.org/download/sfml/2.6.1/)](steam://openurl_external/https://steamcommunity.com/linkfilter/?u=http%3A%2F%2F%28https%3A%2F%2Fwww.sfml-dev.org%2Fdownload%2Fsfml%2F2.6.1%2F%29)

You need to move everything from extlibs to /Library/Frameworks/

then you need to compile and install LibGlew from here [(https://glew.sourceforge.net/)](steam://openurl_external/https://steamcommunity.com/linkfilter/?u=http%3A%2F%2F%28https%3A%2F%2Fglew.sourceforge.net%2F%29)

make sure you compile under x86. To do that you need to run `arch -x86_64 zsh` before compiling. just make and make install

Then you need libpng from here [(http://www.libpng.org/pub/png/libpng.html)](steam://openurl_external/https://steamcommunity.com/linkfilter/?u=http%3A%2F%2F%28http%3A%2F%2Fwww.libpng.org%2Fpub%2Fpng%2Flibpng.html%29)

Also just ./configure then make and make install

And after that everytime you run a game, it will crash and you have to go to the System Settings -> Privacy & Security and choose Run Anyways for each of the framework/lib game uses.

If you will feel overwhelmed just remember that it's a hacking game after all :D I don't think I'll play the game itself after the evening of figuring out :D but it runs now and I'm happy :D

Good luck.

@Z6543
Copy link

Z6543 commented May 14, 2024

@LevanMamontTsiklauri, thank you for sharing; you helped me to get it working!
If someone finds this thread, the following might help to troubleshoot:

  1. Instead of double-clicking on the app, right-click, show package contents, and run the launcher. That way, you can see what the issue is.
  2. In the latest Squally build, dependencies on libglew were updated - use Github and 2.2.0 release https://github.com/nigels-com/glew
  3. The binaries moved to /Library/Frameworks/ had the quarantine flag, thus it was a pain to allow everything in the Security panel. It is easier to run:
    find /Library/Frameworks/ -perm +111 -type f -exec xattr -d com.apple.quarantine {} +
  4. I don't understand why, but arch -x86_64 zsh did not create the proper env for make. I did run
    arch -x86_64 make && arch -x86_64 make install instead.

PS: I was using the itch.io version.

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

No branches or pull requests

2 participants