Constants.py (view raw)
1#!/usr/bin/python3
2PATCH_VERSION = '1.1.1'
3FINAL_ROM_NAME = f'Mother 1+2 [T+Ita{PATCH_VERSION}].gba'
4
5STATUS_START = "Benvenutə al patcher per Mother 1+2."
6STATUS_PRESET = "Preset applicato."
7STATUS_MD5 = "MD5 verificato."
8
9VAR_WINDOW_TITLE = "Mother 1+2 Patcher by Earthbound Café"
10VAR_FILEPICKER = "ROM giapponese di Mother 1+2"
11
12WARNING_TITLE = "Attenzione"
13WARNING_EXTRACT = "È necessario estrarre l'archivio."
14WARNING_MD5_MISMATCH = "La ROM selezionata non è compatibile con la nostra patch."
15
16
17PRESETS = {
18 "Scelte consigliate": {
19 'font': 1,
20 'sprites': 3,
21 'places': 6,
22 'palette': 8,
23 'skip_m1': 1
24 },
25 "EB Beginnings (US)": {
26 'font': 1,
27 'sprites': 4,
28 'places': 6,
29 'palette': 8,
30 'skip_m1': 1
31 },
32 "Mother 1 (JP)": {
33 'font': 1,
34 'sprites': 5,
35 'places': 7,
36 'palette': 8,
37 'skip_m1': 1
38 },
39 "Mother 1+2": {
40 'font': 1,
41 'sprites': 4,
42 'places': 7,
43 'palette': 9,
44 'skip_m1': 0
45 }
46}
47
48DEF_FILENAMES = {
49 'font': ['m1_gfx_font.bin'],
50 'sprites': [
51 'm1_restoration_gfx_sprites.bin',
52 'm1_restoration_gfx_ending.bin',
53 'm1_restoration_gfx_enemies.bin',
54 'm1_restoration_gfx_maptiles.bin'
55 ],
56 'places': [
57 'm1_main_text.txt',
58 'm1_gfx_map.bin'
59 ]
60}
61
62ALT_FILENAMES = {
63 100: {'option': '\nFONT'},
64 1: {
65 'option': 'Originale (serif)',
66 'files': ['m1_gfx_font_og.bin']
67 },
68 2: {
69 'option': 'Tomato (sans)',
70 'files': ['m1_gfx_font_new.bin']
71 },
72 101: {'option': '\nSPRITE E TILE'},
73 3: {
74 'option': 'Mix',
75 'files': [
76 'm1_restoration_gfx_sprites_mix.bin',
77 'm1_restoration_gfx_ending_us.bin',
78 'm1_restoration_gfx_enemies_jp.bin',
79 'm1_restoration_gfx_maptiles_jp.bin'
80 ]
81 },
82 4: {
83 'option': 'US',
84 'files': [
85 'm1_restoration_gfx_sprites_us.bin',
86 'm1_restoration_gfx_ending_us.bin',
87 'm1_restoration_gfx_enemies_us.bin',
88 'm1_restoration_gfx_maptiles_us.bin'
89 ]
90 },
91 5: {
92 'option': 'JP',
93 'files': [
94 'm1_restoration_gfx_sprites_jp.bin',
95 'm1_restoration_gfx_ending_jp.bin',
96 'm1_restoration_gfx_enemies_jp.bin',
97 'm1_restoration_gfx_maptiles_jp.bin'
98 ]
99 },
100 102: {'option': '\nLUOGHI'},
101 6: {
102 'option': 'US',
103 'files': [
104 'm1_main_text_us.txt',
105 'm1_gfx_map_us.bin'
106 ]
107 },
108 7: {
109 'option': 'JP',
110 'files': [
111 'm1_main_text_jp.txt',
112 'm1_gfx_map_jp.bin'
113 ]
114 },
115 103: {'option': '\nPALETTE'},
116 8: {
117 'option': 'NES',
118 'files': 'nes.ips'
119 },
120 9: {
121 'option': 'GBA',
122 'files': None
123 },
124 10: {
125 'option': 'Nintendo Classic Mini - NES',
126 'files': 'ncm.ips'
127 },
128 11: {
129 'option': 'Virtual Console Wii e Wii U',
130 'files': 'vc.ips'
131 },
132 104: {'option': '\nSKIP A MOTHER 1?'},
133 12: {
134 'option': 'Sì',
135 'files': 'skipm1.ips'
136 },
137 13: {
138 'option': 'No',
139 'files': None
140 }
141}