Skip to content

Releases: Zarklord/Spore-LuaAPI

Spore LuaAPI v1.0.0 prerelease 2

Pre-release

Choose a tag to compare

Modinfo versions are now required to be lua numbers.
The pdb and lib files are now packaged with the sporemod.
Disabled c++ exceptions in the mod.

Spore LuaAPI v1.0.0 prerelease 1

Pre-release

Choose a tag to compare

@Zarklord Zarklord released this 30 Jul 02:11

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

Pre-release

Choose a tag to compare

@Zarklord Zarklord released this 28 Jul 04:54

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

Pre-release

Choose a tag to compare

@Zarklord Zarklord released this 26 Jul 23:36

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.