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 #############