From 10fa535e98f3e1043b04895aaab2e916549fcf69 Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Sun, 24 Jun 2012 19:34:56 -0500 Subject: Lots of bug fixes, bowser improvements, summer sun hacks, JPN support, etc. --- tools/mapfile_tool.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/mapfile_tool.py b/tools/mapfile_tool.py index 540d3e0..92e53ad 100755 --- a/tools/mapfile_tool.py +++ b/tools/mapfile_tool.py @@ -185,6 +185,7 @@ def fix_offs_jpn_v1(offs): if offs >= 0x8010F430 and offs <= 0xDEADBEEF: return offs - 0x330 + return offs import yaml @@ -193,7 +194,8 @@ original = 'pal' fix_for = { 'pal2': fix_offs_ntsc_v1, 'ntsc': fix_offs_ntsc_v1, - 'ntsc2': fix_offs_ntsc_v2 + 'ntsc2': fix_offs_ntsc_v2, + 'jpn': fix_offs_jpn_v1 } def do_mapfile(src, dest, fix_offset): @@ -265,10 +267,12 @@ def main(): do_mapfile('kamek_pal.x', 'kamek_pal2.x', fix_offs_pal_v2) do_mapfile('kamek_pal.x', 'kamek_ntsc.x', fix_offs_ntsc_v1) do_mapfile('kamek_pal.x', 'kamek_ntsc2.x', fix_offs_ntsc_v2) + do_mapfile('kamek_pal.x', 'kamek_jpn.x', fix_offs_jpn_v1) already_done = set() do_project('NewerProject.yaml', already_done) do_project('NewerProjectKP.yaml', already_done) + do_project('SummerSun.yaml', already_done) do_module('anotherhax.yaml', 'processed/anotherhax.yaml') -- cgit v1.2.3