| Lua Extensions DLL | |
|---|---|
| Type | DLL Plugin |
| Author | Null 45 |
| Desc | Adds new functions for the game's Lua scripts |
| Version | 1.5.1 (October 2026) |
| Downloads | GitHub releases Simtropolis |
| Source | 0xC0000054/sc4-lua-extensions |
The Lua Extensions DLL is a DLL plugin for SimCity 4 that adds new functions for the game's Lua scripts. It is mainly for modders who write Lua scripts.
Features
- Adds a number of new functions that Lua scripts can use.
- Turns the Lua error logging back on. Maxis turned it off in the retail game.
- Adds the region view cheat codes
ShowMaxisLuaDebugTextandHideMaxisLuaDebugText. They control whether the Maxis Lua debug text goes into the log. - Blocks the Lua commands that give access to the Windows Registry (since version 1.5.1).
- Lets other DLLs get a callback when the game loads package scripts.
Requirements
- SimCity 4 version 641.
- Windows 10 or later, with the Microsoft Visual C++ 2022 x86 Redistributable. It may work on Windows 7 or later, but this is untested.
Note: This article is a stub. You can help by expanding it.