Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.44 KB

README.md

File metadata and controls

31 lines (23 loc) · 1.44 KB

OSLua - Lua bindings for OSLib (MOD)

WIP to create a lua interpreter with built-in bindings to OSLib MOD, plus lua-fs for basic filesystem operations.

Except for the fact that the binding breaks up the oslib functions into separate modules, the interface is nearly identical where possible. As such, you should refer to the library documentation, except as noted.

WARNING: As a work in progress, it is very possible to crash your unit in the same manner as one might cause a crash using OSLib improperly. I'm working on trying to track things that can cause crashes and finding ways to avoid/mitigate them, but there are very few checks in OSLib itself to prevent you from doing something that uses a bad pointer reference (e.g. using an image after calling EndGfx).

USE AT YOUR OWN RISK

Downloading and Installing

OSLua works well enough to show a few demos and can be downloaded here. Unzip and copy to GAME5XX.