Wine

執行系統衝擊:帶有 Wine 錯誤的增強版

  • January 1, 2017

我一直在嘗試讓 System Shock:Enhanced Edition(來自 gog.com)與 Wine 一起執行,但是,它會顯示標題螢幕幾秒鐘,然後出錯:

[~/.wine/drive_c/GOG Games/System Shock - Enhanced Edition]% wine sshock.exe
fixme:win:EnumDisplayDevicesW ((null),0,0x33f974,0x00000000), stub!
fixme:win:EnumDisplayDevicesW (L"\\\\.\\DISPLAY1",0,0x33f974,0x00000000), stub!
fixme:win:EnumDisplayDevicesW (L"\\\\.\\DISPLAY1",0,0x33f4c8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW (L"\\\\.\\DISPLAY1",1,0x33f974,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x33f974,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33f974,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x33f974,0x00000000), stub!
fixme:xinput:XInputGetCapabilities (index 3, flags 0x1, capabilities 0x33fb8c) Stub!
fixme:win:RegisterDeviceNotificationW (hwnd=0x70120, filter=0x109e96c,flags=0x00000000) returns a fake device notification handle!
fixme:win:RegisterTouchWindow (0x7011e 00000003): stub
fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
fixme:imm:ImmReleaseContext (0x7011e, 0x13c030): stub
fixme:msctf:ThreadMgr_ActivateEx Unimplemented flags 0x4
fixme:msctf:ThreadMgrSource_AdviseSink (0x13a050) Unhandled Sink: {ea1ea136-19df-11d7-a6d2-00065b84435c}
fixme:imm:NotifyIME NI_CLOSECANDIDATE
fixme:msctf:ThreadMgrSource_AdviseSink (0x13a050) Unhandled Sink: {ea1ea136-19df-11d7-a6d2-00065b84435c}
fixme:win:EnumDisplayDevicesW ((null),0,0x33f444,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33efd4,0x00000000), stub!
X Error of failed request:  BadValue (integer parameter out of range for operation)
 Major opcode of failed request:  149 ()
 Minor opcode of failed request:  4
 Value in failed request:  0x2c02082
 Serial number of failed request:  18960
 Current serial number in output stream:  18961
AL lib: (EE) alc_cleanup: 1 device not closed
Exit 1

這是在帶有 wine 2.0-rc3 的 Arch Linux 上。前段時間我也在 Wine 1.9.x 或 1.8.x 上嘗試過,結果相同,所以它似乎並不特定於這個最近的 Wine 版本。

根據幾個消息來源,這應該適用於 Wine。

sshock.ini使用任何純文字編輯器打開並更改:

SoftRenderer=Off

到:

SoftRenderer=On

這似乎為我解決了這個問題;到目前為止,我已經玩了大約一個小時的遊戲,沒有任何問題。

我不知道為什麼這麼多消息來源說它應該開箱即用。也許它與我的影片卡(intel HD)和/或視窗管理器(PekWM)有關。

引用自:https://unix.stackexchange.com/questions/334182