INT File Format

Format files in INT- Fallout

The paper describes the format INT- Files for Fallout and Fallout2. Information about this was received during anializa source compiler scripts for Fallout2. Baseline compiler texts were received from the source compiler scripts for the game Klingon Academy. Compilers for the two games overlap by about 80%.

Background
INT- DLL files are scripts for "revival" of the world Fallout. They asked the behavior of all objects on the maps, and used to create dialogues with the heroes of the game.

File Format
INT- file consists of the following parts:

The code initialization script Table opisateley procedures A list of names (the names of procedures and variables) The list of strings Object code initialization script Tel code procedures Note: All numbers are stored in the file's big endian format (the most significant byte first).

The code initialization script
'code initialization script' is for the transfer of management at the 'code initialization script objects' and the correct completion prtsedury initialization.

This part INT- file should have a fixed amount of 42 bytes, because it is shifting the searched on the table opisateley procedures.

Table 2.1-code initialization script

Table opisateley procedures
'Table opisateley procedures' contains information about all the available procedures INT- file.

It should be noted that the first procedure in INT- files is a procedure named'..............' (14 points). This procedure does not have a body, and is designed to indexes "of this" prtsedur not start with 0.

Table 2.2-Table opisateley procedures

A list of names (the names of procedures and variables)
This part INT- file contains the names of objects script variables and procedures. The names of local variables do not have procedures in the script.

Housed in part of this information may yavlyaetsya redundant, since the treatment is happening to global variables on the index, and not by name.

Table 2.3. A list of names (the names of functions and variables)

The list of strings
This part INT- file contains all the string constants used within the script.

Format 'List lines' completely the same as' List names'.

Object code initialization script
This part of the script is to initialize the global variables script, exports and initialization of variables, export procedures, the procedure for moving to 'start', and if it is not a return to 'code initialization script'

Table 2.5. Object code initialization script

Tel code procedures
In part dannny INT- file contains posledvatelnost opkodov implementing procedures of the script.

Consideration appointment opkodov and model sequences beyond the scope of this paper.

Original file taken from TeamX documentation