Contents

Technical Documentation - Dungeon Master II Graphics.dat: How to read the Text data

PC, Amiga version

This is a binary of encoded text.
AB B6 BC A8 D4 A7 D9 AA A8 A2 D5 A0 AB AD D1 A3 AE 9B 99 A7 99 CA A5 9F 94 9B C4 E4
The decoded text represents:
THAT'S NOT THE MASTER DISK!
The next table shows how to decode.

Binary Add the value with Added Result Logical Xor between prior value and 0xFF Decoded character
0xAB +0 0xAB 0x54 T
0xB6 +1 0xB7 0x48 H
0xBC +2 0xBE 0x41 A
0xA8 +3 0xAB 0x54 T
0xD4 +4 0xD8 0x27 '
0xA7 +5 0xAC 0x53 S
0xD9 +6 0xDF 0x20  
0xAA +7 0xB1 0x4E N
0xA8 +8 0xB0 0x4F O
0xA2 +9 0xAB 0x54 T
0xD5 +10 0xDF 0x20
0xA0 +11 0xAB 0x54 T
0xAB +12 0xB7 0x48 H
0xAD +13 0xBA 0x45 E
0xD1 +14 0xDF 0x20
0xA3 +15 0xB2 0x4D M
0xAE +16 0xBE 0x41 A
0x9B +17 0xAC 0x53 S
0x99 +18 0xAB 0x54 T
0xA7 +19 0xBA 0x45 E
0x99 +20 0xAD 0x52 R
0xCA +21 0xDF 0x20
0xA5 +22 0xBB 0x44 D
0x9F +23 0xB6 0x49 I
0x94 +24 0xAC 0x53 S
0x9B +25 0xB4 0x4B K
0xC4 +26 0xDE 0x21 !
0xE4 +27 0xFF 0x00

The next table is for decoding alphabet characters and symbols in English language.
I don't check about unfilled part.

  0 1 2 3 4 5 6 7 8 9 A B C D E F
0 NUL   SPC     P LO BRO                
1         A Q UM GOR                
2         B R ON KU                
3         C S EE ROS                
4         D T PAL DAIN                
5         E U MON NETA                
6         F V YA RA                
7         G W VI SAR                
8         H X OH                  
9         I Y FUL                  
A LF       J Z DES                  
B         K   ZO                  
C         L   VEN                  
D         M   EW                  
E         N   KATH                  
F         O   IR                  

PC9801 version

There are two tables in PC9801 version.
This is the encoded text in PC9801 version.
0F 6C 0D 35 16 FA F9
This is decoded binary.
F0 92 F0 C7 E5 00 00
If the character starts in 0xF0, It references the 2nd table with 2nd byte, and get forward 2 bytes.
Otherwise just reference the 1st table with 1st byte, and get forward 1 byte.

Example.

Binary How to read
F0 92 Find the character # 0x92 from 2nd table.
F0 C7 Find the character # 0xC7 from 2nd table.
E5 Find the character # 0xE5 from 1st table.
00 End

This is 1st table.

  0 1 2 3 4 5 6 7 8 9 A B C D E F
0 NUL   0 @ P LO BRO  
1     ! 1 A Q UM GOR  
2     " 2 B R ON KU  
3     # 3 C S EE ROS  
4     $ 4 D T PAL DAIN  
5     % 5 E U MON NETA  
6     & 6 F V YA RA -  
7     ' 7 G W VI SAR  
8     ( 8 H X OH    
9     ) 9 I Y FUL    
A LF   * : J Z DES    
B     + ; K [ ZO    
C     , < L \ VEN    
D     - = M ] EW    
E     . > N ^ KATH    
F     / ? O _ IR    

This is 2nd table.

  0 1 2 3 4 5 6 7 8 9 A B C D E F
0        
1        
2        
3     使    
4        
5        
6        
7        
8        
9        
A        
B        
C        
D        
E        
F        

Powered by Drupal   Valid XHTML 1.0 Strict