Crash Magic Online
  Intersection Magic
  Map Magic
  Knowledge Base
  Contact Us


Knowledge Base Article:IMW8 

Registration keys moved to client area: Select login on the left menu bar.

Search home page  

Creating a new cityid.txt file

Article created: Jun 02 1999, updated: Jun 02 1999


Since the earliest version of Intersection Magic, the install program has looked for a file called cityid.txt to identify configurations to include in the install process. This file always needs to be included in the data directory of the install diskette, and on the hard disk. Beginning with version 6.002, this cityid.txt file is also used by the Intersection Magic program to identify that it is running in a valid directory, and to describe the configuration. This article describes how to create such a file.

Status:  Info - "how to" article
Keywords:  install, data, diskette, config, cityid, prefix, description, general
Categories:   *Installation and setup* *Configuration*

The cityid.txt file is a simple, three line text file. It can be created in notepad, edit, or even at the DOS command prompt. It can also be created in the Intersection Magic editor, if the program is already installed.


Step 1: Open notepad. This can be accomplished by selecting Start / Programs / Accessories / Notepad

Step 2: On the first line enter the following:

Step 3: On the second line, enter something similar to this:
Description=The name of your configuration
The word "description" must exist, you may type in any useful text instead of "The name of your configuration"

Step 4: On the last line, enter the following:
Again, "prefix" is required. The "FourCharacterName" should be the configuration file names prefix for your configuration. This is almost always the prefix for your .LUS/.TAB/.DRD file names.

Step 5: Save the file as cityid.txt and close notepad.

An example of the contents of a cityid.txt file is:
Description=California SWITRS configuration
Another example of the contents of a cityid.txt file is:
Description=Fountain Hills, AZ configuration

The resulting cityid.txt file should be placed in the data directory of the install diskettes and/or the hard disk where the program is installed.
IMPORTANT: This file must only be placed in the data directory. Placing it in an incorrect directory will confuse the program greatly

October 22, 2019 11:48PM

© 1999-2019 Pd' Programming, Inc - Lafayette, CO USA