黑苹果升级到macOS Monterey(12.0beta),泰拉就启动不了,以命令行启动游戏看到启动日志了。
原来是sdl2出了问题。
/Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/Terraria: line 11: ./fixDylibs.sh: No such file or directory
Error Logging Enabled.
objc[2288]: Class SDLApplication is implemented in both /Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/osx/libSDL2-2.0.0.dylib (0x1253a0c38) and /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x1254da0f8). One of the two will be used. Which one is undefined.
objc[2288]: Class SDLAppDelegate is implemented in both /Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/osx/libSDL2-2.0.0.dylib (0x1253a0c88) and /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x1254da148). One of the two will be used. Which one is undefined.
objc[2288]: Class SDLTranslatorResponder is implemented in both /Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/osx/libSDL2-2.0.0.dylib (0x1253a0d00) and /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x1254da1c0). One of the two will be used. Which one is undefined.
objc[2288]: Class SDLMessageBoxPresenter is implemented in both /Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/osx/libSDL2-2.0.0.dylib (0x1253a0d28) and /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x1254da1e8). One of the two will be used. Which one is undefined.
objc[2288]: Class SDL_cocoametalview is implemented in both /Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/osx/libSDL2-2.0.0.dylib (0x1253a0d78) and /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x1254da238). One of the two will be used. Which one is undefined.
objc[2288]: Class SDLOpenGLContext is implemented in both /Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/osx/libSDL2-2.0.0.dylib (0x1253a0dc8) and /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x1254da288). One of the two will be used. Which one is undefined.
objc[2288]: Class SDLWindow is implemented in both /Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/osx/libSDL2-2.0.0.dylib (0x1253a0e18) and /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x1254da2d8). One of the two will be used. Which one is undefined.
objc[2288]: Class Cocoa_WindowListener is implemented in both /Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/osx/libSDL2-2.0.0.dylib (0x1253a0e40) and /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x1254da300). One of the two will be used. Which one is undefined.
objc[2288]: Class SDLView is implemented in both /Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/osx/libSDL2-2.0.0.dylib (0x1253a0eb8) and /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x1254da378). One of the two will be used. Which one is undefined.
objc[2288]: Class METAL_RenderData is implemented in both /Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/osx/libSDL2-2.0.0.dylib (0x1253a0f08) and /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x1254da3c8). One of the two will be used. Which one is undefined.
objc[2288]: Class METAL_TextureData is implemented in both /Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/osx/libSDL2-2.0.0.dylib (0x1253a0f58) and /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x1254da418). One of the two will be used. Which one is undefined.
GRAPHICS DRIVER IS EXTREMELY BROKEN!
卸载brew安装的sdl2就正常启动了。