タイムゾーンを変更すると、アプリでPlayOnLinuxエラーが発生します。

タイムゾーンを変更すると、アプリでPlayOnLinuxエラーが発生します。

ワインで実行されるゲーム(scrolls.com)があります。引っ越してタイムゾーンを変えるまで、すべてが大丈夫でした。

これで、以前のタイムゾーンを維持すると正常に動作します。ただし、タイムゾーンを別の時間に変更すると、次のエラーメッセージで黒い画面が表示されます。

[08/02/13 22:15:47] - Running wine-1.7.0 Scrolls.exe (Working directory : /home/user/.PlayOnLinux/wineprefix/scrolls/drive_c/users/user/Local Settings/Application Data/Mojang/Scrolls)
fixme:iphlpapi:NotifyAddrChange (Handle 0x10ee8d0, overlapped 0x10ee8dc): stub
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 240, std (d/m/y): 28/04/2013, dlt (d/m/y): 8/09/2013
wine: configuration in '/home/user/.PlayOnLinux//wineprefix/scrolls' has been updated.
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 240, std (d/m/y): 28/04/2013, dlt (d/m/y): 8/09/2013
Mono path[0] = 'C:/users/user/Local Settings/Application Data/Mojang/Scrolls/Scrolls_Data/Managed'
Mono path[1] = 'C:/users/user/Local Settings/Application Data/Mojang/Scrolls/Scrolls_Data/Mono'
Mono config path = 'C:/users/user/Local Settings/Application Data/Mojang/Scrolls/Scrolls_Data/Mono/etc'
fixme:imm:ImmReleaseContext (0x20062, 0x1401c0): stub
fixme:win:EnumDisplayDevicesW ((null),0,0x32f768,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f0a8,0x00000000), stub!
fixme:dxgi:dxgi_output_GetDesc iface 0x143388, desc 0x32f6a4 stub!
fixme:wbemprox:client_security_SetBlanket 0xf6b1d8e0, 0x1431e8, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0xf6b1d8e0
fixme:win:EnumDisplayDevicesW ((null),0,0x32efb8,0x00000000), stub!
fixme:d3d9:wined3dformat_from_d3dformat Unhandled D3DFORMAT 0xffffffff
fixme:d3d9:wined3dformat_from_d3dformat Unhandled D3DFORMAT 0xffffffff
fixme:d3d9:wined3dformat_from_d3dformat Unhandled D3DFORMAT 0xffffffff
fixme:d3d:debug_d3dformat Unrecognized 0x36314644 (as fourcc: DF16) WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x36314644) in the format lookup table
fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the format lookup table
fixme:d3d:debug_d3dformat Unrecognized 0x5a574152 (as fourcc: RAWZ) WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x5a574152) in the format lookup table
fixme:d3d:query_init Unhandled query type 0xc.
fixme:win:RegisterRawInputDevices Unhandled flags 0x100 for device 0.
fixme:win:RegisterDeviceNotificationW (hwnd=0x20062, filter=0x32fc6c,flags=0x00000000) returns a fake device notification handle!
fixme:win:RegisterRawInputDevices Unhandled flags 0x100 for device 0.
fixme:win:UnregisterDeviceNotification (handle=0xcafeaffe), STUB!

レジストリのタイムゾーンとコンピュータのタイムゾーンが一致しないため、問題が発生するという内容を読みました。奇妙なことに、新しい時間帯に再インストールしてみましたが、問題は続いていました。

ワインでレジストリを更新するには? PlayOnLinuxを使用する方が良いと思います。

編集する。また、問題は新しいタイムゾーン(サンディエゴ)でのみ発生するようです。他のタイムゾーンでは正常に動作しているようです。

ベストアンサー1

a) 別のTZでワインを始める

1つの解決策は、毎回異なる時間帯にワインを開始することです(たとえば、スタートメニューのショートカットを更新したい場合)。以下を使用してください。

TZ=Europe/Berlin wine

b) ワインのTZ変更

Wineのレジストリは(= HKEY_LOCAL_MACHINE)、(= HKEY_CURRENT_USER)、(= HKEY_USERS)~/.wineファイルにあり、単にwine()を実行してアクセスできます。system.reguser.reguserdef.regregeditwine regedit

タイムゾーンキーはここに表示されるディレクトリにあり、Local Machine -> SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zonesここに表示されるディレクトリの任意の値に設定できます。

おすすめ記事