Soni's Blog

Cratera + LOVE

The script at https://soniex2.autistic.space/cratera-love/v1.0.0/conf.lua adds Cratera support to LOVE 11.x.
It requires Cratera v2.0.0 or later and replaces your conf.lua. You can rename your existing conf.lua to conf.cratera, and it'll be loaded as a cratera file.

The loader path can be configured by changing require("cratera").path. It uses the same format as love.filesystem.setRequirePath, and is initialized to love.filesystem.getRequirePath():gsub("%.lua", ".cratera") by default