From dc1d278e21ec73df2ae437f67a152af11bfbd9cc Mon Sep 17 00:00:00 2001 From: Skeli Date: Fri, 24 May 2019 16:21:51 -0400 Subject: [PATCH] Change Unbound Insertion --- linker.ld | 2 +- scripts/insert.py | 4 ++-- scripts/make.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/linker.ld b/linker.ld index 25e9e93..be27e7d 100644 --- a/linker.ld +++ b/linker.ld @@ -1,7 +1,7 @@ OUTPUT_ARCH(arm) MEMORY { - rom : ORIGIN = (0x08000000 + 0x1a00000), LENGTH = 32M + rom : ORIGIN = (0x08000000 + 0x18d9580), LENGTH = 32M ewram : ORIGIN = 0x02000000, LENGTH = 4M - 4k } diff --git a/scripts/insert.py b/scripts/insert.py index cdead09..78352e6 100644 --- a/scripts/insert.py +++ b/scripts/insert.py @@ -8,8 +8,8 @@ import binascii import textwrap import sys -OFFSET_TO_PUT = 0x1a00000 -SOURCE_ROM = "BPRE0.gba" +OFFSET_TO_PUT = 0x18d9580 +SOURCE_ROM = "Pokemon Unbound.gba" from datetime import datetime diff --git a/scripts/make.py b/scripts/make.py index 2b6d6b8..10f0212 100644 --- a/scripts/make.py +++ b/scripts/make.py @@ -8,8 +8,8 @@ import os #Options go here. ############ -ROM_NAME = "BPRE0.gba" #The name of your rom -OFFSET_TO_PUT = 0x1A00000 +ROM_NAME = "Pokemon Unbound.gba" #The name of your rom +OFFSET_TO_PUT = 0x18D9580 SEARCH_FREE_SPACE = False #Set to True if you want the script to search for free space;Set to False if you don't want to search for free space as you for example update the engine #############