Table of Contents

Creating a new cityid.txt file

Issue

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.

Explanation

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.

Solution

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

Step 2: On the first line enter the following:
[General]

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:
prefix=FourCharacterName
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:
[general]
Description=California SWITRS configuration
Prefix=SWIT
Another example of the contents of a cityid.txt file is:
[general]
Description=Fountain Hills, AZ configuration
Prefix=fthl

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

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?