About This File
A DLL Plugin for SimCity 4 that adds a cheat to display text token values.
This DLL is intended for experimentation and debugging, I am not sure it is useful for normal game play.
Text tokens are strings enclosed in # characters that SC4 will resolve to another value. For example, Detokenize game.g_city_rci_population would display the value of the total RCI population variable that Lua scripts can use in trigger conditions.
System Requirements
- Windows 10 or later
The plugin may work on Windows 7 or later with the Microsoft Visual C++ 2022 x86 Redistribute installed, but I do not have the ability to test that.
Installation
- Close SimCity 4.
- Copy SC4Detokenize.dll into the top-level of the Plugins folder in the SimCity 4 installation directory or Documents/SimCity 4 directory.
- Start SimCity 4.
Usage
The Detokenize cheat takes the name of the text token to resolve and any required parameters.
Examples:
- Detokenize game.ga_mayor_rating will display the numeric value of the mayor rating.
- Detokenize GetDirectory UserPlugins will display the path to the user plugins folder, typically Documents\SimCity 4\Plugins.
Troubleshooting
The plugin should write a SC4Detokenize.log file in the same folder as the plugin.
The log contains status information for the most recent run of the plugin.
Source Code and Support
Plugin thread: https://community.simtropolis.com/forums/topic/763788-detokenize-dll/
The plugin's source code and issue tracker are located on GitHub: https://github.com/0xC0000054/sc4-detokenize
| If you would like to make voluntary contributions to support me in continuing to create more content for SimCity 4, I accept donations via PayPal: https://paypal.me/0xC0000054 | |
|
Thanks to the few people who have donated to me. |
What's New 2.0 View Changelog
Released
- Fixed a bug that prevents items with multiple parameters from working.
- Added support for resolving some Maxis development commands.
-
10
-
1

Supported
