-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrominfo.py
More file actions
46 lines (35 loc) · 767 Bytes
/
rominfo.py
File metadata and controls
46 lines (35 loc) · 767 Bytes
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
""" Basic configuration things you'd want to store about a rom.
"""
"""
Directory layout and paths.
"""
SRC_ROM_FILENAME = ''
SRC_ROM_DIR = ''
SRC_ROM_PATH = os.path.join(SRC_ROM_DIR, SRC_ROM_FILENAME)
DEST_ROM_FILENAME = ''
SRC_ROM_DIR = ''
DEST_ROM_PATH = os.path.join(DEST_ROM_DIR, DEST_ROM_FILENAME)
"""
Stuff about the disks themselves and what files are in them.
"""
# DISKS = ['A', 'B1', 'B2', 'B3', 'B4']
DISKS = []
# FILES_TO_PATCH = {'A': ['file1.exe', 'file2.exe'],
# 'B': ['img2.gdt',],}
FILES_TO_PATCH = {}
"""
Maps of individual files.
"""
FILE_BLOCKS = {}
"""
Pointer info.
"""
POINTER_CONSTANT = {}
POINTER_REGEX = r''
"""
Formatting stuff.
"""
LINE_LENGTH = 0
WINDOW_LINES = 3
NEWLINE_CHAR = '\n'
CONTROL_CODES = {}