Worldmap.dat File Format

Description WORLDMAP.DAT file format $$

Introduction
At the moment, this is the most controversial issue. There are several versions, but unequivocally say that this is indeed the case impossible. But you can only select one. Over time, this text can be modified slightly (to confirm or supplement to this release).

Structure
All data are for the original version of the game with a patch 1.02d. The inclusion of this file in the game engine can be found (Fargus):

Accordingly, you can change the file name. Tak same can be turned off worldmap.dat creating files when starting the game. To do so, simply change the attribute wb (open for entries as a binary file) on rb (open reading). Now worldmap.dat not file will be created when you start the game. The consequences of such a step is not known, but as a result of the testing problems do not arise.

As for the structure itself worldmap.dat. The file has three tables. They are different data. And first and third tables in turn are divided into subgroups. The columns are:

At the beginning of the file are data that does not take into account the game engine. This line of city.txt with the following text (to be exact, only coordinates are present): ; world_pos = 173122; Absolute position? ; SAVED From the look of it, the data were from the initial stage of development of the game, when Arroyo has not yet been conceived as a village is our favorite.

As soon as these data are values:

Since then go running 3 tables (to the end of the file)

Table 1
Figures in the table are divided into groups. One group is the characteristics of a city. Total number of the appropriate column. city.txt cities from the example of one group:

Table 2
From beginning to the end of the table are data on the "fog" card. "Fog" obscures visibility accessible area on the map.

Table 3
Responsible for the Special Encounter's file worldmap.txt. The data are divided into groups. As Special Encounter can meet certain taylah, respectively, whereas the data are divided into [Encounter Table X].

For example, one group: