Overview of Derpy's Script Loader (DSL)
Derpy's Script Loader (DSL) is a script loader for Bully: Scholarship Edition (PC) that allows developers to run Lua scripts without manual compilation. Key capabilities include:
- Loading scripts from folders or zip archives.
- Bypassing compilation via a patched Lua parser to run scripts from source.
- Support for an unlimited number of scripts via a custom script manager.
- Access to the full Lua standard library with optional security settings.
- Script collections that can be started, stopped, and restarted during gameplay.
- Ability to save/load arbitrary Lua data within game save files.
- Integrated console for detailed error reporting and custom scriptable commands.
- Custom per-frame renderer for low-level drawing functions.
- Early script execution (e.g., on the main menu or before conventional STimeCycle.lur replacements).
- Localized text entry replacement and registration.
- Event-based hooking into base game scripts.