Author Topic: AI war timezone name error under WINE  (Read 3661 times)

Offline surfacewave

  • Newbie
  • *
  • Posts: 2
AI war timezone name error under WINE
« on: August 16, 2012, 10:21:10 am »
Hello,

I am running AI war under ubuntu 11.10 and WINE 1.5.5 (tired 1.4 too).  The AI war application window starts up but remains black and the main menu does not come up.  The log file indicates an unrecognised time zone name.  The timezone looks ok and I even tried changing it.  Any help would be appreciated.

I also tried searching the web and the respective forums without success.

David


The output log is as follows:

Mono path[0] = 'C:/Program Files/AIWar/AIWar_Data/Managed'
Mono path[1] = 'C:/Program Files/AIWar/AIWar_Data/Mono'
Direct3D:
    Version:  Direct3D 9.0c [nv4_disp.dll 6.15.12.6658]
    Renderer: NVIDIA GeForce 8400 GS
    Vendor:   NVIDIA
    VRAM:     64 MB
    Caps:     Shader=30 DepthRT=1 NativeDepth=1 NativeShadow=1 DF16=0 DF24=0 INTZ=1 RAWZ=0 NULL=1 RESZ=0 SlowINTZ=0
<I> Initializing (RawInput).

<RI> Input initialized.

desktop: 1280x1024 50Hz; virtual: 1280x1024 at 0,0
Non platform assembly: data-00E9BDB8 (this message is harmless)
Non platform assembly: data-02849020 (this message is harmless)
Non platform assembly: data-00EFF760 (this message is harmless)
Non platform assembly: data-02620030 (this message is harmless)
Non platform assembly: data-00F18300 (this message is harmless)
Non platform assembly: data-02A72020 (this message is harmless)
Non platform assembly: data-02651C78 (this message is harmless)
Non platform assembly: data-00F34818 (this message is harmless)
Non platform assembly: data-02659A28 (this message is harmless)
Non platform assembly: data-02683B30 (this message is harmless)
Non platform assembly: data-02693F20 (this message is harmless)
Platform assembly: C:\Program Files\AIWar\AIWar_Data\Managed\I18N.dll (this message is harmless)
Platform assembly: C:\Program Files\AIWar\AIWar_Data\Managed\I18N.West.dll (this message is harmless)
Platform assembly: C:\Program Files\AIWar\AIWar_Data\Managed\I18N.dll (this message is harmless)
        NotSupportedException: Can't get timezone name.
  at System.CurrentSystemTimeZone..ctor (Int64 lnow) [0x00000] in <filename unknown>:0

  at System.TimeZone..cctor () [0x00000] in <filename unknown>:0
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for System.TimeZone
  at System.DateTime.get_Now () [0x00000] in <filename unknown>:0

  at MainCameraLogic..cctor () [0x00000] in <filename unknown>:0
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for MainCameraLogic

 
(Filename:  Line: -1)

NotSupportedException: Can't get timezone name.
  at System.CurrentSystemTimeZone..ctor (Int64 lnow) [0x00000] in <filename unknown>:0

  at System.TimeZone..cctor () [0x00000] in <filename unknown>:0
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for System.TimeZone
  at System.DateTime.get_Now () [0x00000] in <filename unknown>:0

  at MainCameraLogic..cctor () [0x00000] in <filename unknown>:0
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for MainCameraLogic

 
(Filename:  Line: -1)

NotSupportedException: Can't get timezone name.
  at System.CurrentSystemTimeZone..ctor (Int64 lnow) [0x00000] in <filename unknown>:0

  at System.TimeZone..cctor () [0x00000] in <filename unknown>:0
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for System.TimeZone
  at System.DateTime.get_Now () [0x00000] in <filename unknown>:0

  at MainCameraLogic..cctor () [0x00000] in <filename unknown>:0
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for MainCameraLogic

 
(Filename:  Line: -1)

Platform assembly: C:\Program Files\AIWar\AIWar_Data\Managed\System.dll (this message is harmless)
NotSupportedException: Can't get timezone name.
  at System.CurrentSystemTimeZone..ctor (Int64 lnow) [0x00000] in <filename unknown>:0

  at System.TimeZone..cctor () [0x00000] in <filename unknown>:0
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for System.TimeZone
  at System.DateTime.get_Now () [0x00000] in <filename unknown>:0

  at MainCameraLogic..cctor () [0x00000] in <filename unknown>:0
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for Game

The last set of messages keeps getting appended to the log file until the AI war window is closed.

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: AI war timezone name error under WINE
« Reply #1 on: August 16, 2012, 10:34:15 am »
Interesting, folks have gotten it to work in WINE before, maybe it's a OS-flavor-specific thing.

Anyway, that error looks like it's in the mono startup stuff (type initialization), so I don't think there's anything we can do about that ;)
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline surfacewave

  • Newbie
  • *
  • Posts: 2
Re: AI war timezone name error under WINE
« Reply #2 on: August 16, 2012, 10:55:42 am »
Thanks a bunch you helped me solve the problem by your comment regarding mono.  I found this post, http://lists.ximian.com/pipermail/mono-devel-list/2011-October/038144.html

Discussing mono and time zone changes.  I tired changing it to the chicago timezone which worked fine, last time I choose a zone at random.  Now it starts up to the main menu just fine.

David

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: AI war timezone name error under WINE
« Reply #3 on: August 16, 2012, 11:12:40 am »
Thanks a bunch you helped me solve the problem by your comment regarding mono.  I found this post, http://lists.ximian.com/pipermail/mono-devel-list/2011-October/038144.html

Discussing mono and time zone changes.  I tired changing it to the chicago timezone which worked fine, last time I choose a zone at random.  Now it starts up to the main menu just fine.

David
Oh, wow, another case of legislation throwing a wrench into software.  Here in the states a while ago Congress changed the beginning and ending of Daylight Savings Time, requiring a massive amount of code changes in lots of existing software.  Lots of fun.

Anyway, glad to hear that you managed to solve the problem, I hope you enjoy the game :)
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!