Just tried version 12. Zipped according to Forb's settings. Tried with the latest version of P.U.R.E. Core (i.e., all of the code, including all Unit FBIs).
No dice. Still crashes.
Error:
Code: Select all
FailureException
[string "-- gamedata/armordefs.lua..."]:20: Error parsing armor.txt: not found
stack traceback:
[C]: in function 'error'
[string "-- gamedata/armordefs.lua..."]:20: in main chunk
[C]: ?
[C]: in function 'pcall'
[string "-- gamedata/defs.lua..."]:23: in function 'LoadDefs'
[string "-- gamedata/defs.lua..."]:46: in function <[string "-- gamedata/defs.lua..."]:38>
[C]: in function 'TimeCheck'
[string "-- gamedata/defs.lua..."]:38: in main chunk: Runtime Error
at FLua.clo@142.Invoke(String message@1228_4)
at Microsoft.FSharp.Text.PrintfImpl.go@487@487[B,C,D](String fmt@487, Int32 len@487, FastFunc`2 outputChar@487, FastFunc`2 outa@487, B os@487, FastFunc`2 finalize@487, List`1 args, Int32 i)
at <StartupCode$FSharp.Core>.$Reflect.clo@545.Invoke(A inp)
at FLua.checkError(IntPtr L, Int32 status)
at Defs.VFS_Include@30@30(Map`2 fileMap@30, IntPtr L)
at Tao.Lua.Lua.lua_pcall(IntPtr L, Int32 nargs, Int32 nresults, Int32 errfunc)
at FLua.traceCallPushReturn(IntPtr L, List`1 arguments, ResultCount resultCount)
at Defs.Spring_TimeCheck@69@69(IntPtr L)
at Tao.Lua.Lua.lua_pcall(IntPtr L, Int32 nargs, Int32 nresults, Int32 errfunc)
at FLua.traceCallPushReturn(IntPtr L, List`1 arguments, ResultCount resultCount)
at FLua.traceCall(IntPtr L, List`1 arguments, Int32 resultCount)
at Defs.getModInfo(Map`2 fileMap)
at ModBrowser.ModBrowser.GetUnits[T](FastFunc`2 invoker)
at IO.loadGame[T](FastFunc`2 invoker, FastFunc`2 setStatusText, UnitSync unitSync, String gameName)
at IO.clo@70_2.Invoke(Unit _arg3)
at Utils.clo@26.Invoke()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
My question is... why is it loading armor.txt / armor.lua at all? Why isn't it just loading the map's minimap pic, the FBIs, and the BuildPic? I mean, that's all you need.