-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.ksy
158 lines (157 loc) · 2.77 KB
/
common.ksy
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
meta:
id: common
endian: le
title: WolfRPG common structures and enums, not used for file parsing
application: WolfRPG
file-extension: dat
license: MIT
types:
t_str:
seq:
- id: len
type: u4
- id: str
type: strz
size: len
encoding: 'UTF-8'
t_str_sjis:
seq:
- id: len
type: u4
- id: str
type: strz
size: len
encoding: 'Shift-JIS'
t_str_array:
seq:
- id: len
type: u4
- id: str
type: t_str
repeat: expr
repeat-expr: len
t_u4_array:
seq:
- id: len
type: u4
- id: data
type: u4
repeat: expr
repeat-expr: len
t_s4_array:
seq:
- id: len
type: s4
- id: data
type: u4
repeat: expr
repeat-expr: len
# TODO
magic_number:
seq:
- id: raw
type: u4
enums:
version_header:
0: 'v2'
0x55: 'v3'
version_footer:
0xc2: 'v2'
0xc3: 'v3_0'
0xc4: 'v3_3'
fps:
30: 'f30'
60: 'f60'
tile_size:
16: 't16x16'
32: 't32x32'
40: 't40x40'
48: 't48x48'
midi_source:
0: 'hardware'
1: 'software'
2: 'disabled'
venable:
0: 'disabled'
1: 'enabled'
character_directions:
4: 'd4'
8: 'd8'
character_animation_patterns:
3: 'p3'
5: 'p5'
character_animation:
0: 'back_and_forth'
1: 'loop'
character_movement_width:
0: 'square0_5'
1: 'square1'
anti_aliasing:
0: 'enabled'
1: 'disabled'
2: 'disabled_double_width'
move_speed:
4: 'speed_1x'
5: 'speed_1_25x'
6: 'speed_1_5x'
7: 'speed_1_75x'
8: 'speed_2x'
9: 'custom'
language:
1: 'japanese'
2: 'hangul'
3: 'traditional_chinese'
4: 'simplified_chinese'
5: 'english'
6: 'western_european'
image_scale:
0: 'rough'
1: 'smooth'
inactive_behavior:
0: 'pause'
1: 'running'
system_language:
0: 'japanese'
1: 'english'
screen_scale:
1: 'scale_1x'
2: 'scale_2x'
3: 'scale_3x'
data_id_method:
0: 'manual'
1: 'same_as_first_string_data'
2: 'same_as_preceding_type_data_id'
10000: 'from_type_in_db'
special_function_type:
0: 'disabled'
1: 'load_from_file'
2: 'load_from_database'
3: 'manual'
frequency:
0: 'every_frame'
1: 'very_short'
2: 'short'
3: 'medium'
4: 'long'
5: 'very_long'
move_speed:
0: 'speed0_slowest'
1: 'speed1'
2: 'speed2'
3: 'speed3_standard'
4: 'speed4'
5: 'speed5'
6: 'speed6_fastest'
operator:
0: 'greater_than'
1: 'greater_or_equal'
2: 'equal'
3: 'less_or_equal'
4: 'less_than'
5: 'not_equal'
6: 'bitwise_and'
graphic_render_mode:
0: 'normal'
1: 'multiply'
2: 'add'
3: 'substract'