Products
  
  
  Crash Magic Online
  
  Intersection Magic
  
  Map Magic
  
  Knowledge Base
  
  
  
  Contact Us
  
  Meeting
  
  Shop
  
  Login
  

 

Knowledge Base Article:IMW8 


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

Knowldegebase:
Search home page  

Creating a new cityid.txt file

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

Background:  

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*

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


September 19, 2018 1:06AM

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