Filetype:CITY

This file is still partially unknown, there might be errors and wrong assumptions in the information below

The cityX.pc files in the DAT directory define things like the districts, the vendors and the names of the contacts in the terminal.

Contacts
Now we get to the contacts (people you can call in using the terminal). There are 5 categories (Realtors/Banks/Insurance/Authorities/Others), and for each of those categories there is room for 10 names. Each name is 24 bytes long and null-terminated, so this block is 1200 bytes long (5 * 10 * 24).

After that there are 1001 as yet unknown bytes.

Districts
Next are the districts. You already know the number of districts there are, and each district is 104 bytes long.

Suppliers
Now we arrive at the supplier section. Again, we know how many suppliers there are, and each supplier is (probably) 308 bytes long. There is however usually 319 bytes between one vendor and the next, but that doesn't go for the last one, so I'm guessing there is some padding going on.

After the supplier section there are two more unknown but probably NULL bytes to skip.

Building names
This is where it is defined what the names for the churches, banks, bars, discos, etc are.

There are 8 categories (churches, banks, cinemas, schools, discos, bars, department stores, hotels). Each category has a maximum of 24 names at 16 bytes per name. So the next 3072 bytes are all those names. See the map filetype for a description on how the names are used.