Skip to content

Releases: Zarklord/Spore-LuaAPI

Spore LuaAPI v1.0.0 prerelease 1

30 Jul 02:11
Compare
Choose a tag to compare
Pre-release

Mods now use modimport/ModImportOnAllThreads instead of require/RequireOnAllThreads.
Fixed a crash from LuaMultiReference returning temporaries.
All bindings now have proper tostring and == metamethods set.
InitializePropManager and LuaConsole won't crash the game when the game is shutting down.
ExecuteOnAllThreads now properly copies upvalues, and has the default error handler.

If no more issues arise, this will version will be released publicly, once documentation has been written.

Spore LuaAPI v1.0.0 beta 2

28 Jul 04:54
Compare
Choose a tag to compare
Pre-release

Added a proper callstack logging when a lua crash occurs.
Added tostring metamethods to most basic property types.
Fixed a bug when setting property's of type bool, int32, uint32, or float.

Spore LuaAPI v1.0.0 beta 1

26 Jul 23:36
Compare
Choose a tag to compare
Pre-release

Initial Release

Lua mods can be embedded into packages.
Functions in the global environment can be called directly via the cheat console (the cheat console has been modified to be capable of running Lua code)
Currently the following Spore ModAPI types have been exposed to lua:

  • Resource::IKeyFilter
  • App::Property
  • App::PropertyList
  • App::IPropManager
  • ResourceKey
  • TextProperty
  • LocalizedString
  • Vector2
  • Vector3
  • Vector4
  • ColorRGB
  • ColorRGBA
  • Matrix
  • Transform
  • BoundingBox

The tracy profiler has been implemented as well, you can download the profiler application from here to connect to a running spore game.