I tried to use WarFoundry on Mac OsX using Mono. It works pretty fine and I played with it a little.
I found some errors and some issues, so I'm reporting a log here.
In order to make WarFoundry run on OsX (10.6.8 tested) you must:
- Install mono. You can download it from the official home page http://www.go-mono.com/mono-downloads/download.html
- Open the Terminal and run Mono WarFoundry-GTK.exe
I tried to add some units (with the default game system/race), playing around a bit and I discovered:
- Adding a unit which doesn't exists gives an error
- When exporting to HTML it takes A LOT (60/70 secs) and it seems to hang, but in the end it works (remember to add the .html extension at the end of the filename).
Here's the complete log:
- Code: Select all
INFO [13:11:28]: FrmMainWindow..ctor() - Line: 0 - Opening FrmMainWindow
DEBUG [13:11:29]: FrmMainWindow..ctor() - Line: 0 - Loading preferences
DEBUG [13:11:29]: FrmMainWindow..ctor() - Line: 0 - Loading translations
DEBUG [13:11:29]: FrmMainWindow..ctor() - Line: 0 - Initialising
DEBUG [13:11:29]: FrmMainWindow..ctor() - Line: 0 - Initialising complete - seeing if we can load default army or system
DEBUG [13:11:33]: FrmMainWindow.CreateNewArmy() - Line: 0 - Create new army
WARN [13:11:33]: FrmMainWindow.FileLoadingFinished() - Line: 0 - Failed to load /Users/Miche/Downloads/WarFoundry-GTK-v0.1/WarFoundry-GTK-v0.1/data/.DS_Store: File not handled as a Race or Game System definition: /Users/Miche/Downloads/WarFoundry-GTK-v0.1/WarFoundry-GTK-v0.1/data/.DS_Store
DEBUG [13:11:34]: FrmNewArmy.OnSelectionChanged() - Line: 0 - Race selection changed
DEBUG [13:11:34]: FrmNewArmy.OnSelectionChanged() - Line: 0 - Race selection changed
DEBUG [13:11:34]: FrmNewArmy.OnSystemComboChanged() - Line: 0 - System selection changed: Sample Game System
DEBUG [13:11:36]: FrmMainWindow.AddCategoryButtons() - Line: 0 - Toolbar button count: 7. Adding 5 categories.
DEBUG [13:11:36]: FrmMainWindow.SetArmyTree() - Line: 0 - Resetting tree
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Last button index: 11
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Setting button 11 state to False
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Setting button 10 state to False
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Setting button 9 state to False
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Setting button 8 state to False
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Setting button 7 state to False
DEBUG [13:11:36]: FrmMainWindow.SetArmyTree() - Line: 0 - Resetting tree
DEBUG [13:11:36]: FrmMainWindow.SetArmyTree() - Line: 0 - Loading in categories to tree
DEBUG [13:11:36]: FrmMainWindow.SetArmyTree() - Line: 0 - Append category Characters
DEBUG [13:11:36]: FrmMainWindow.SetArmyTree() - Line: 0 - Append category Regiments
DEBUG [13:11:36]: FrmMainWindow.SetArmyTree() - Line: 0 - Append category War Machines
DEBUG [13:11:36]: FrmMainWindow.SetArmyTree() - Line: 0 - Append category Monsters
DEBUG [13:11:36]: FrmMainWindow.SetArmyTree() - Line: 0 - Append category Allies
DEBUG [13:11:36]: FrmMainWindow.SetArmyTree() - Line: 0 - Finished loading tree categories
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Last button index: 11
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Setting button 11 state to True
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Setting button 10 state to True
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Setting button 9 state to True
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Setting button 8 state to True
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Setting button 7 state to True
DEBUG [13:11:38]: FrmMainWindow.OnAddUnitActivated() - Line: 0 - Show FrmNewUnit for Characters
DEBUG [13:11:38]: FrmNewUnit..ctor() - Line: 0 - Listing 1 unit types in Characters
DEBUG [13:11:38]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Empire General
DEBUG [13:11:40]: UnitDisplayWidget.SetStats() - Line: 0 - Unit Empire General has 1 stats arrays
DEBUG [13:11:40]: UnitDisplayWidget.CreateStatsView() - Line: 0 - Create NodeView for stats ID whDefault
DEBUG [13:11:40]: UnitDisplayWidget.SetStats() - Line: 0 - Adding row to data table for whDefault
DEBUG [13:11:40]: UnitDisplayWidget.SetStats() - Line: 0 - TreeStore supports 1 columns
DEBUG [13:11:40]: FrmMainWindow.ShowUnitWidget() - Line: 0 - Adding page for Empire General
DEBUG [13:11:40]: FrmMainWindow.ShowUnitWidget() - Line: 0 - Page added at index 0
(WarFoundry-GTK:1161): Gtk-WARNING **: Impossibile trovare l'icona «gtk-close». Non è stato trovato
il tema «hicolor» e potrebbe essere necessario installarlo.
È possibile recuperarne una copia presso:
http://icon-theme.freedesktop.org/releases
DEBUG [13:11:46]: FrmMainWindow.OnAddUnitActivated() - Line: 0 - Show FrmNewUnit for Regiments
DEBUG [13:11:46]: FrmNewUnit..ctor() - Line: 0 - Listing 4 unit types in Regiments
DEBUG [13:11:46]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Swordsmen Champion
DEBUG [13:11:46]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Swordsmen
DEBUG [13:11:46]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Gunnery Specialists
DEBUG [13:11:46]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Gunnery Heavies
DEBUG [13:11:48]: UnitDisplayWidget.SetStats() - Line: 0 - Unit Gunnery Specialists has 1 stats arrays
DEBUG [13:11:48]: UnitDisplayWidget.CreateStatsView() - Line: 0 - Create NodeView for stats ID whDefault
DEBUG [13:11:48]: UnitDisplayWidget.SetStats() - Line: 0 - Adding row to data table for whDefault
DEBUG [13:11:48]: UnitDisplayWidget.SetStats() - Line: 0 - TreeStore supports 1 columns
DEBUG [13:11:48]: FrmMainWindow.ShowUnitWidget() - Line: 0 - Adding page for Unit of 5 Gunnery Specialists
DEBUG [13:11:48]: FrmMainWindow.ShowUnitWidget() - Line: 0 - Page added at index 1
DEBUG [13:11:52]: FrmAddEquipment.SetUnitEquipmentLimits() - Line: 0 - IsRatio? False. Limits: 0->5, 0%->100%
DEBUG [13:11:52]: FrmAddEquipment.SetUnitEquipmentLimits() - Line: 0 - IsRatio? False. Limits: 0->5, 0%->100%
DEBUG [13:11:56]: FrmAddEquipment.OkayButtonClicked() - Line: 0 - Okay clicked
DEBUG [13:11:59]: FrmMainWindow.OnAddUnitActivated() - Line: 0 - Show FrmNewUnit for Monsters
DEBUG [13:11:59]: FrmNewUnit..ctor() - Line: 0 - Listing 0 unit types in Monsters
(WarFoundry-GTK:1161): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `VALID_ITER (iter, list_store)' failed
(WarFoundry-GTK:1161): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed
Marshaling clicked signal
FATAL [13:11:00]: FrmMainWindow.HandleUnhandledException() - Line: 0 - (System.Reflection.TargetInvocationException) Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Argument cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2[IBBoard.WarFoundry.API.Objects.Unit,IBBoard.WarFoundry.GUI.GTK.Widgets.UnitDisplayWidget].TryGetValue (IBBoard.WarFoundry.API.Objects.Unit key, IBBoard.WarFoundry.GUI.GTK.Widgets.UnitDisplayWidget& value) [0x00000] in <filename unknown>:0
at IBBoard.WarFoundry.GUI.GTK.FrmMainWindow.ShowUnitWidget (IBBoard.WarFoundry.API.Objects.Unit unit) [0x00000] in <filename unknown>:0
at IBBoard.WarFoundry.GUI.GTK.FrmMainWindow.OnAddUnitActivated (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0
at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0
at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0
at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0
at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0
at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0
DEBUG [13:11:03]: FrmMainWindow.OnAddUnitActivated() - Line: 0 - Show FrmNewUnit for Allies
DEBUG [13:11:03]: FrmNewUnit..ctor() - Line: 0 - Listing 0 unit types in Allies
(WarFoundry-GTK:1161): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `VALID_ITER (iter, list_store)' failed
(WarFoundry-GTK:1161): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed
Marshaling clicked signal
FATAL [13:11:05]: FrmMainWindow.HandleUnhandledException() - Line: 0 - (System.Reflection.TargetInvocationException) Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Argument cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2[IBBoard.WarFoundry.API.Objects.Unit,IBBoard.WarFoundry.GUI.GTK.Widgets.UnitDisplayWidget].TryGetValue (IBBoard.WarFoundry.API.Objects.Unit key, IBBoard.WarFoundry.GUI.GTK.Widgets.UnitDisplayWidget& value) [0x00000] in <filename unknown>:0
at IBBoard.WarFoundry.GUI.GTK.FrmMainWindow.ShowUnitWidget (IBBoard.WarFoundry.API.Objects.Unit unit) [0x00000] in <filename unknown>:0
at IBBoard.WarFoundry.GUI.GTK.FrmMainWindow.OnAddUnitActivated (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0
at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0
at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0
at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0
at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0
at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0
DEBUG [13:11:07]: FrmMainWindow.OnAddUnitActivated() - Line: 0 - Show FrmNewUnit for Characters
DEBUG [13:11:07]: FrmNewUnit..ctor() - Line: 0 - Listing 1 unit types in Characters
DEBUG [13:11:07]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Empire General
DEBUG [13:11:10]: FrmMainWindow.OnAddUnitActivated() - Line: 0 - Show FrmNewUnit for Regiments
DEBUG [13:11:10]: FrmNewUnit..ctor() - Line: 0 - Listing 4 unit types in Regiments
DEBUG [13:11:10]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Swordsmen Champion
DEBUG [13:11:10]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Swordsmen
DEBUG [13:11:10]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Gunnery Specialists
DEBUG [13:11:10]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Gunnery Heavies
DEBUG [13:11:14]: UnitDisplayWidget.SetStats() - Line: 0 - Unit Gunnery Heavies has 1 stats arrays
DEBUG [13:11:14]: UnitDisplayWidget.CreateStatsView() - Line: 0 - Create NodeView for stats ID whDefault
DEBUG [13:11:14]: UnitDisplayWidget.SetStats() - Line: 0 - Adding row to data table for whDefault
DEBUG [13:11:14]: UnitDisplayWidget.SetStats() - Line: 0 - TreeStore supports 1 columns
DEBUG [13:11:14]: FrmMainWindow.ShowUnitWidget() - Line: 0 - Adding page for Unit of 5 Gunnery Heavies
DEBUG [13:11:14]: FrmMainWindow.ShowUnitWidget() - Line: 0 - Page added at index 2
DEBUG [13:11:16]: FrmAddEquipment.SetUnitEquipmentLimits() - Line: 0 - IsRatio? False. Limits: 0->3, 0%->60%
DEBUG [13:11:16]: FrmAddEquipment.SetUnitEquipmentLimits() - Line: 0 - IsRatio? False. Limits: 0->3, 0%->60%
DEBUG [13:11:19]: FrmAddEquipment.SetUnitEquipmentLimits() - Line: 0 - IsRatio? False. Limits: 0->3, 0%->60%
DEBUG [13:11:19]: FrmAddEquipment.SetUnitEquipmentLimits() - Line: 0 - IsRatio? False. Limits: 0->3, 0%->60%
DEBUG [13:11:21]: FrmAddEquipment.SetUnitEquipmentLimits() - Line: 0 - IsRatio? False. Limits: 0->3, 0%->60%
DEBUG [13:11:21]: FrmAddEquipment.SetUnitEquipmentLimits() - Line: 0 - IsRatio? False. Limits: 0->3, 0%->60%
DEBUG [13:11:23]: FrmAddEquipment.OkayButtonClicked() - Line: 0 - Okay clicked
(WarFoundry-GTK:1161): Gtk-WARNING **: Unable to find default local directory monitor type
(WarFoundry-GTK:1161): Gtk-WARNING **: Unable to find default local directory monitor type
DEBUG [13:11:49]: FrmPreferences.languageListChanged() - Line: 0 - New language: en
(WarFoundry-GTK:1161): Gtk-WARNING **: Unable to find default local directory monitor type
DEBUG [13:11:10]: FrmMainWindow.OnMiExportAsBasicHtmlActivated() - Line: 0 - Exporting re to /Users/Miche/Desktop/testHTML as basic HTML
(WarFoundry-GTK:1161): Gtk-WARNING **: Unable to find default local directory monitor type
DEBUG [13:11:31]: FrmMainWindow.Main() - Line: 0 - Application ended
It keeps asking for a hicolor icon theme here:
- Code: Select all
(WarFoundry-GTK:1161): Gtk-WARNING **: Impossibile trovare l'icona «gtk-close». Non è stato trovato
il tema «hicolor» e potrebbe essere necessario installarlo.
Impossible to find gtk-close. It was not possible to find the <<hicolor>> theme, maybe you should install it.
I tried to ./configure and make hicolor, but it didn't solve the issue.
I hope it will help to improve the software!