我使用 wine 安装反恐精英源时出现错误:我在终端中输入了以下命令:
wine Counter Strike Source.exe
以下是我的进展。
wine: created the configuration directory '/home/monojit/.wine'
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:storage:create_storagefile Storage share mode not implemented.
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:iphlpapi:NotifyAddrChange (Handle 0x103e368, overlapped 0x103e380): stub
fixme:storage:create_storagefile Storage share mode not implemented.
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:iphlpapi:NotifyAddrChange (Handle 0x10fe8a0, overlapped 0x10fe8ac): stub
wine: configuration in '/home/monojit/.wine' has been updated.
wine: cannot find L"C:\\windows\\system32\\Counter.exe"
有什么建议么?
答案1
在 bash 中,空格字符用作单词之间的分隔符。您之所以会收到错误,wine: cannot find L"C:\\windows\\system32\\Counter.exe"
是因为文件名中的每个空格字符都需要用前面的反斜杠字符进行转义\
,否则包含空格的文件名必须用引号字符括起来,以便将其解析为单个文件名。
使用命令将目录更改cd
为包含反恐精英 来源.exe文件,以便反恐精英 来源.exe可以通过 wine 运行,而无需输入完整路径。将字符串括Counter Strike Source.exe
在一对引号字符中,以便将其评估为单个单词,而不是三个单独的单词,如下所示:
wine 'Counter Strike Source.exe'
答案2
要删除 Ubuntu 16.04.4 LTS 上的错误:
02ae:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
这对我来说很有效:
sudo apt-get install winebind