Update Unbound Insertion

This commit is contained in:
Skeli 2019-09-17 12:02:55 -04:00
parent 2932248e11
commit 33a62ad560
3 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
OUTPUT_ARCH(arm)
MEMORY {
rom : ORIGIN = (0x08000000 + 0x133bed0), LENGTH = 32M
rom : ORIGIN = (0x08000000 + 0x17b09a0), LENGTH = 32M
ewram : ORIGIN = 0x02000000, LENGTH = 4M - 4k
}

View File

@ -7,8 +7,8 @@ import sys
from datetime import datetime
import _io
OFFSET_TO_PUT = 0x1800000
SOURCE_ROM = "BPRE0.gba"
OFFSET_TO_PUT = 0x17b09a0
SOURCE_ROM = "Pokemon Unbound.gba"
ROM_NAME = "test.gba"
if sys.platform.startswith('win'):

View File

@ -4,13 +4,13 @@ import os
import shutil
############
#Options go here.
# Options go here.
############
ROM_NAME = "BPRE0.gba" #The name of your rom
OFFSET_TO_PUT = 0x1800000
ROM_NAME = "Pokemon Unbound.gba" # The name of your rom
OFFSET_TO_PUT = 0x17b09a0
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
# Set to False if you don't want to search for free space as you update the engine
#############
# Options end here.
@ -109,7 +109,7 @@ def main():
InsertCode()
rom.close()
except:
except FileNotFoundError:
print('Error: Could not find source rom: "' + ROM_NAME + '".\n'
+ 'Please make sure a rom with this name exists in the root.')