Skip to content

DSALOGO.DAT

Shihan edited this page Mar 17, 2020 · 1 revision

Erkentnisse

Es ist eine NVF-Datei mit Crunchmode50.

 Offset Typ      Bezeichnung
 0x00   1 Byte   Crunchmode 
 0x01   2 Byte   Anzahl der Texturen
 0x03   2 Byte   Breite
 0x05   2 Byte   Höhe
 0x07   4 Byte   Grösse der gepackten Datei

Das Bild wird einmal in den Grafikspeicher geladen. Um den Einblendeffekt zu erzeugen wird die Farbpalette 64 mal neu berechnet, wesswegen die Farbpalette nicht in der Datei ist. Die Farbpalette hat 32 Farben.

Farbpalette

Die Farbpalette, wenn das Bild vollständig sichbar ist. Auch hier gilt: Die Farben müssen mit vier multipliziert werden, damit sie die richtige Helligkeit haben.

Farbindex Red Green Blue
0x0 0x00 0x00 0x00
0x1 0x38 0x38 0x38
0x2 0x34 0x34 0x34
0x3 0x30 0x30 0x30
0x4 0x2c 0x2c 0x2c
0x5 0x28 0x28 0x28
0x6 0x24 0x24 0x24
0x7 0x20 0x20 0x20
0x8 0x1c 0x1c 0x1c
0x9 0x18 0x18 0x18
0xa 0x14 0x14 0x14
0xb 0x10 0x10 0x10
0xc 0x0c 0x0c 0x0c
0xd 0x08 0x08 0x08
0xe 0x04 0x04 0x04
0xf 0x2c 0x00 0x2c
0x10 0x2c 0x00 0x2c
0x11 0x2c 0x00 0x2c
0x12 0x2c 0x00 0x2c
0x13 0x2c 0x00 0x2c
0x14 0x2c 0x00 0x2c
0x15 0x3c 0x30 0x30
0x16 0x38 0x28 0x28
0x17 0x34 0x18 0x18
0x18 0x30 0x0c 0x0c
0x19 0x2c 0x00 0x00
0x1a 0x28 0x00 0x00
0x1b 0x24 0x00 0x00
0x1c 0x1c 0x00 0x00
0x1d 0x18 0x00 0x00
0x1e 0x14 0x00 0x00
0x1f 0x3c 0x3c 0x3c

Kategorie:DSA1