S&box Wiki

Revision Difference

macOS#551260

<cat>Play.Intro</cat>⤶ <title>macOS</title>⤶ ⤶ # Experimental documenting for getting s&box running on macOS on an M1⤶ This will all be cleaned up and made public at somepoint but I just wanna write the general ideas and things required down.⤶ ⤶ Currently, this method lets you get as far as the Main Menu and use the tools, Hammer is the only thing properly functional.⤶ ⤶ This assumes you already have game porting toolkit installed and that you've already got steam installed in it.⤶ ⤶ # Running⤶ ⤶ Once s&box is installed in steam in your game porting toolkit, you'll have to run it using a the following batch file to setup the correct DOTNET environment variables to prevent it from crashing⤶ ⤶ ```⤶ set DOTNET_SYSTEM_NET_HTTP_SOCKETSHTTPHANDLER_HTTP3SUPPORT=0⤶ set DOTNET_EnableWriteXorExecute=0⤶ "C:\Program Files (x86)\Steam\steamapps\common\sbox\sbox.exe"⤶ ```⤶ ⤶ You'll also have to copy these files out of the sbox/bin folder up a directory into the sbox folder so that they're next to the EXE, as well as set them to be native first in winecfg.exe⤶ ```⤶ d3dcompiler_47.dll⤶ vcruntime140.dll⤶ vccorlib140.dll⤶ concrt140.dll⤶ msvcp140.dll⤶ d3dcsx_43.dll⤶ ```⤶ some of those might not need to be moved, but as far as I'm aware d3dcompiler_47.dll is.⤶ TODO: figure out why wine doesn't recognise them in the bin folder?