Traffic Giant JFL

From XentaxWiki
Jump to: navigation, search

JFL (resource MAPS)


Format Specifications

// for each file

uint32 {4}   - Number Of Files (at start only - all other files have value null)
uint32 {4}   - File ID
uint32 {4}   - Version? (1)
uint32 {4}   - Unknown ID
uint32 {4}   - Unknown ID
char {X}     - filename (null)
byte {X}     - null padding to size 216 bytes


MultiEx BMS Script

Comment:

The file content inside:

Data inside jfl's:

00_00.jfl - 12_03.jfl - picture ,inside .jfl files, but with other format !

99_00.jfl - 99_03.jfl - various pictures

99_04.jfl - JSlog.txt ? Can not be correctly extracted using current version of GameExtractor, because it says that size is 0 ???? GameExtractor has a mayor bug!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Front.jfl - .ifc files with in-game texts, positions etc.

Inter.jfl - pictures, vehicle texts with their prices and some factor?

for the extension .ifc and .txt:

just plain text files,

for the extension .bmp:

.BMP are bitmaps (looks like this, because of the header and file reference), but somehow using a compression very similar to RLE? The exact encription is not known yet. Sequences of three identical bytes are sometime written as two, sometimes not?

The .BMP header (following specification), is stripped of reserved bytes and shrunk somehow.

Description of .ifc file contents:

ifc is a script. It defines the GUI, meaning the properties of certain buttons and texts shown. Lines marked with ; contain comments. The script seems to be processed by game from first line to the last, so a ceratin creation order is achived.

The format is partially explained here. The convention is:
- the values in [] brackets mean that there shese should be replaced with some text/number.
- the values in () mean this are the only possible values. Only one of them may be choosed.
- the values in brackets marked with questionmarks are not (fully) understood yet.
- some values marked as name or text? and appearing inside the scripts with underscores may be the names of components...

This is the meaning of some values:

XPostion= [number]
x coordinate

Yposition= [number]
x coordinate

Breite= [number]
Width

Hohe= [number]
Height

Hintergrund= [bitmap name]
Background image used.

ScrollButton= [coordinate 1],[coordinate 2],[coordinate 3],[coordinate 4],[bitmap],[?],[name or text?]
ScrollButton

DialogTextButton= [coordinate 1],[coordinate 2],[coordinate 3],[coordinate 4],[text?],[?],[text?],[name or text?]
DialogTextButton - the theree texts at the end seems to equal.

TextField= [coordinate 1],[coordinate 2],[coordinate 3],[coordinate 4],[number?],[number?],[?],[name or text?]
TextField

CheckButton= [coordinate 1],[coordinate 2],[coordinate 3],[coordinate 4],[text],[filename],[?],[name or text?]
CheckButton

ListBox= [coordinate 1],[coordinate 2],[coordinate 3],[coordinate 4],[number?],[name or text?]
ListBox

EditField= [coordinate 1],[coordinate 2],[coordinate 3],[coordinate 4],[number?],[name or text?]
EditField

Button= [coordinate 1],[coordinate 2],[coordinate 3],[coordinate 4],[text],[filename],[?],[name or text?]
Button

PushButton= [coordinate 1],[coordinate 2],[coordinate 3],[coordinate 4],[text],[filename],[?],[name or text?]
PushButton

DialogButton= [coordinate 1],[coordinate 2],[coordinate 3],[coordinate 4],[filename],[?],[name or text?]
DialogButton

Popup=(1,?)
Used only in certain .ifc files, beginning with popup_

Description of .txt contents:

In the file test.txt there is a description of some values in German. The other ones, with filename prefix vehicle_ contain vehicle texts with their prices and some factor?

Description of .jfl inside .jfl contents:

Some binary format, with different stucture! Has large amount of identical bytes. These define, according to their names, some extra properties for industries, bridges, buildings, streets, riverbanks.

Game Extractor bug !!!!!!!!!:

Game Extractor has some troubles decompressing some of this files ???? They are extractred as files with the length 0. Particullary, none of .jfl files inside .jfl's are correctly decompressed !

Compatible Programs