-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEWJ2-MSX-quiz-data-format.txt
50 lines (39 loc) · 1.38 KB
/
EWJ2-MSX-quiz-data-format.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
EARTHWORM JIM 2 - SEGA GENESIS - QUIZ DATA FORMAT
Location in Rom: 2704DA - 27265C (Hex)
Lenght: 8578 (Dec)
QUIZ DATA [Lenght = 8286 (Dec)]
73 *
{
Question [Lenght: Varies]
{
1 Byte = Right Proposition (15 / 16 / 17)
0-2 Bytes = 07 (Linebreak)
2 Bytes = 01 XX (Start - XX = Position) *
x Bytes = Question
{3 bytes = 07 01 XX (Line Break - XX = Position (Min = 03) )
}
1-2 Bytes = 07 Repeated (Line Break between Question and Propositions)
Proposition [Lenght = Varies]
3 *
{
2 Bytes = 07 07
1 Byte = 01
1 Byte = Position
1 Byte = Button Sprites (18 = A , 19 = B, 1A = C)
x Bytes = Proposition
{3 bytes = 07 01 XX (Line Break - XX =Position)}
}
1 Byte: 00 (End)
}
FOOTER DATA [Lenght = 292 (Dec)]
73 *
{
4 Bytes = Pointer of the Question in the Rom (Little Endian)
}
==============================================================
* Note: Some questions start with one or two "20" but to be general, I will use the 07 01 XX.
Question-Proposition lenght average is 113 bytes (8286 divided by 73)
Quiz Data can be shortened but has to be filled to get the same lenght
The recommanded Question Lenght for each line is between 28 - 30 characters
The recommanded Proposition Lenght for each line is between 14 - 18 characters (14 If you won't to over lay with the quiz machine)
Max Lines used is 15 (Based on "Does Jim's mother approves of the girls he dates?"), thus max is 8 % symbols