KEYCFG/TAB
The information in this article was copied from the SimsWiki and may be outdated. This article has not been reviewed for technical accuracy or updated knowledge on this topic. If you are knowledgeable enough on the topic to review the article, please do so and remove this label. (more info). |
The TAB or KEYCFG files define keyboard shortcuts for SimCity 4. They are made up of tables of entries following the format below. Most of the default shortcut definitions have only the KeyCombination, MsgID, and Description. See TGI 0xa2e3d533, 0x6a231eaa, 0x6a9362ef (City View keyboard shortcuts) for more information.
Entry format
<KeyCombination> = <MsgID> [[[<data1>] <data2>] <data3>] [<Description>]
Example:
Control M = 0xec3e82f8 0x8bd88057 "Build Passenger Ferry Terminal"
KeyCombination is any combination of the keys that you want to use to activate this function.
MsgID is the coded ID in the game's .exe that activates this command. It may call an in-game message code. Adding a new key combination requires knowing the MsgID for that command.
data1,2,3 are specific data IDs (which are usually Exemplars) that are used in conjunction with this action. The above example has the data1 as the exemplar for the ferries.
Description is a simple description of the function of the key combination.
|