mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-11-14 00:56:40 +13:00
The python tools should spit out tabs, not spaces.
hg-commit-id: fc09f0bbe4b3
This commit is contained in:
parent
024cd7f6b8
commit
497f9b6602
|
|
@ -8,7 +8,7 @@
|
||||||
import sys
|
import sys
|
||||||
import extract_maps
|
import extract_maps
|
||||||
extract_maps.load_rom()
|
extract_maps.load_rom()
|
||||||
spacing = " "
|
spacing = " "
|
||||||
|
|
||||||
tileblocks = {
|
tileblocks = {
|
||||||
"Tset00_Block": [0x645E0, 0x64DE0, ""],
|
"Tset00_Block": [0x645E0, 0x64DE0, ""],
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ from copy import copy, deepcopy
|
||||||
from pretty_map_headers import random_hash, map_name_cleaner
|
from pretty_map_headers import random_hash, map_name_cleaner
|
||||||
from ctypes import c_int8
|
from ctypes import c_int8
|
||||||
import sys
|
import sys
|
||||||
spacing = " "
|
spacing = " "
|
||||||
|
|
||||||
temp_opt_table = [
|
temp_opt_table = [
|
||||||
[ "ADC A", 0x8f, 0 ],
|
[ "ADC A", 0x8f, 0 ],
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ from analyze_incbins import asm, offset_to_pointer, find_incbin_to_replace_for,
|
||||||
import analyze_incbins
|
import analyze_incbins
|
||||||
import os, sys
|
import os, sys
|
||||||
import subprocess
|
import subprocess
|
||||||
spacing = " "
|
spacing = " "
|
||||||
|
|
||||||
def insert_object(map_id):
|
def insert_object(map_id):
|
||||||
map = extract_maps.map_headers[map_id]
|
map = extract_maps.map_headers[map_id]
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ import analyze_incbins
|
||||||
from gbz80disasm import text_asm_pretty_printer, output_bank_opcodes
|
from gbz80disasm import text_asm_pretty_printer, output_bank_opcodes
|
||||||
import os, sys
|
import os, sys
|
||||||
import subprocess
|
import subprocess
|
||||||
spacing = " "
|
spacing = " "
|
||||||
tx_fars = None
|
tx_fars = None
|
||||||
failed_attempts = {}
|
failed_attempts = {}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ from analyze_incbins import asm, offset_to_pointer, find_incbin_to_replace_for,
|
||||||
import analyze_incbins
|
import analyze_incbins
|
||||||
import os, sys
|
import os, sys
|
||||||
import subprocess
|
import subprocess
|
||||||
spacing = " "
|
spacing = " "
|
||||||
|
|
||||||
used_map_pointers = []
|
used_map_pointers = []
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ import string
|
||||||
import analyze_texts #hopefully not a dependency loop
|
import analyze_texts #hopefully not a dependency loop
|
||||||
|
|
||||||
base = 16
|
base = 16
|
||||||
spacing = " "
|
spacing = " "
|
||||||
all_texts = None
|
all_texts = None
|
||||||
|
|
||||||
#map constants
|
#map constants
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
from extract_maps import *
|
from extract_maps import *
|
||||||
spacing = " "
|
spacing = " "
|
||||||
load_rom()
|
load_rom()
|
||||||
load_map_pointers()
|
load_map_pointers()
|
||||||
read_all_map_headers()
|
read_all_map_headers()
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
import extract_maps #rom, assert_rom, load_rom, calculate_pointer, load_map_pointers, read_all_map_headers, map_headers
|
import extract_maps #rom, assert_rom, load_rom, calculate_pointer, load_map_pointers, read_all_map_headers, map_headers
|
||||||
from pretty_map_headers import map_name_cleaner
|
from pretty_map_headers import map_name_cleaner
|
||||||
#import analyze_incbins #asm, offset_to_pointer, find_incbin_to_replace_for, split_incbin_line_into_three, generate_diff_insert, load_asm, isolate_incbins, process_incbins
|
#import analyze_incbins #asm, offset_to_pointer, find_incbin_to_replace_for, split_incbin_line_into_three, generate_diff_insert, load_asm, isolate_incbins, process_incbins
|
||||||
spacing = " "
|
spacing = " "
|
||||||
|
|
||||||
def test_first_text_pointer_bytes(range=20): #30 for viridian city, 34 for cerulean city, 36 for celadon, 48 for fuchsia city, 50 for safron
|
def test_first_text_pointer_bytes(range=20): #30 for viridian city, 34 for cerulean city, 36 for celadon, 48 for fuchsia city, 50 for safron
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue