Modern graphics, play and mod options for SimCity 4.
SimCity 4 picks its graphics settings from two files written in 2003,
Graphics Rules.sgr and Video Cards.sgr, which know no graphics card made in
the last twenty years. Its options menu still offers 800x600 to 1600x1200, a
choice of 16-bit colour and a "Hardware" renderer that means DirectX 7.
SC4 Options API is a DLL plugin that takes this over:
- Graphics settings that need neither
.sgrfile, with sensible defaults for any modern PC - A new Graphic Options menu: sliders for the quality settings, every resolution your display supports, fullscreen, borderless or windowed, and a choice between the modern renderers (scvk for Vulkan, scd3d11 for DirectX 11), Software and the game's own DirectX 7
- Next, a Mod Options menu, where every DLL mod that supports it lists its settings through the plugin's API, so they change in the game instead of in each mod's ini
This project is not affiliated with, endorsed by, or supported by Electronic Arts Inc. or Maxis.
0.1.2, the latest release. The graphics side is done: everything that used
to take launch options or ini files is in the Graphic Options window. The .sgr
files are no longer needed, and the Graphic Options button opens the plugin's own
window, with sliders for the quality settings, the stock checkboxes, a screen
size dropdown, a window mode choice and a renderer choice. With scvk the size and
mode change at once; with other renderers they take effect at the next start, as
a renderer change always does.
| Area | Status |
|---|---|
Plugin loads and writes SC4OptionsAPI.log |
Working |
Graphics settings without the .sgr files |
Working |
| New Graphic Options menu | Working |
| Mod options menu and API | Next |
| Play Options menu | Planned |
The plan is in docs/roadmap.md, and what is known about how the game handles its graphics options is in docs/graphics-options.md.
With sc4pac, install aspct:sc4-options-api.
By hand, from the STEX
or the releases:
- Close SimCity 4.
- Copy
SC4OptionsAPI.dllinto thePluginsfolder in the SimCity 4 installation directory, or the one in yourDocuments\SimCity 4folder. - Optionally copy
SC4OptionsAPI.ininext to it, to change the log level.
Made for SimCity 4 version 641, the latest patch. For Vulkan, install scvk 0.8.0
or newer, and for DirectX 11, scd3d11. The download's README.htm has the rest:
the Graphic Options window, launch options, settings and compatibility.
sc4-graphics-options does the same job, so with both installed SC4 Options API
leaves it out, and nothing in SC4GraphicsOptions.ini changes the game any
more. It can be removed. Its intro and pause settings go with it: add
-Intro:off to the game's launch options to skip the intro, or -gp to pause
when the game loses focus.
Open SC4OptionsAPI.sln in Visual Studio 2022 or later with the C++ desktop
workload, or build from a developer prompt:
msbuild SC4OptionsAPI.sln /p:Configuration=Release /p:Platform=Win32
The DLL lands in Release\. SimCity 4 is a 32-bit game, so there is no 64-bit
build.
On Linux, tools/build-mingw.sh builds the same 32-bit DLL with MinGW-w64, as a
check that the code still compiles there. That DLL is not one to play with: each
patch to the game's code is checked first with an MSVC-only feature, so under
MinGW the patches stay off and most of the plugin with them. GitHub runs the
script in both configurations on every push (.github/workflows/mingw.yml).
Releases are built by GitHub with Visual Studio 2026, through sc4-dll-actions, and carry a build attestation that ties the zip and the DLL to this repository and the commit they came from. To check a download:
gh attestation verify sc4-options-api-<version>.zip --repo aspctt/sc4-options-api --deny-self-hosted-runners --signer-repo memo33/sc4-dll-actions
0.1.0 and 0.1.1 were built before this, so they have none.
LGPL-2.1-or-later. See LICENSE and NOTICE, and vendor/README.md for the third-party sources.
