Lua scripting engine and MCP debug server integrated into PCSX2. Scripts directory controlled from Settings tab of new window started with emulator. Scripts are reloaded every time game is restarted.