Open main menu

PRJ (projectile) files are used in FIFA Manager to identify how 2D map textures (for countries or continents) are projected onto the geographic coordinates. They are placed in fmdata/grids folder. They were introduced in FIFA Manager 08.

StructureEdit

Each file consists of 144 bytes of data, which have the following structure:

DOUBLE Point 1 - X
DOUBLE Point 1 - Y
DOUBLE Point 2 - X
DOUBLE Point 2 - Y
DOUBLE Point 3 - X
DOUBLE Point 3 - Y
DOUBLE Point 4 - X
DOUBLE Point 4 - Y
DOUBLE Point 5 - X
DOUBLE Point 5 - Y
DOUBLE Point 6 - X
DOUBLE Point 6 - Y
DOUBLE Point 7 - X
DOUBLE Point 7 - Y
DOUBLE Point 8 - X
DOUBLE Point 8 - Y
INT32  Latitude - min
INT32  Latitude - max
INT32  Longitude - min
INT32  Longitude - max

All 8 points form a grid which is then projected to defined latitude/longitude coordinates. This data can be visually represented like this:

Longitude - min                       Latitude - max
   Point 7             Point 6            Point 5


   Point 8                                Point 4


   Point 1             Point 2            Point 3
Latitude - min                        Longitude - max