fix some missed bmbp -> apbp spots
This commit is contained in:
parent
bfa9bde348
commit
1d6aabeea6
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
*_Spoiler.txt
|
*_Spoiler.txt
|
||||||
*.bmbp
|
*.bmbp
|
||||||
|
*.apbp
|
||||||
*.pyc
|
*.pyc
|
||||||
*.pyd
|
*.pyd
|
||||||
*.sfc
|
*.sfc
|
||||||
|
|
|
@ -83,7 +83,7 @@ def adjust(args):
|
||||||
logger = logging.getLogger('Adjuster')
|
logger = logging.getLogger('Adjuster')
|
||||||
logger.info('Patching ROM.')
|
logger.info('Patching ROM.')
|
||||||
vanillaRom = args.baserom
|
vanillaRom = args.baserom
|
||||||
if os.path.splitext(args.rom)[-1].lower() == '.bmbp':
|
if os.path.splitext(args.rom)[-1].lower() == '.apbp':
|
||||||
import Patch
|
import Patch
|
||||||
meta, args.rom = Patch.create_rom_file(args.rom)
|
meta, args.rom = Patch.create_rom_file(args.rom)
|
||||||
|
|
||||||
|
@ -135,7 +135,7 @@ def adjustGUI():
|
||||||
romEntry2 = Entry(romDialogFrame, textvariable=romVar2)
|
romEntry2 = Entry(romDialogFrame, textvariable=romVar2)
|
||||||
|
|
||||||
def RomSelect2():
|
def RomSelect2():
|
||||||
rom = filedialog.askopenfilename(filetypes=[("Rom Files", (".sfc", ".smc", ".bmbp")), ("All Files", "*")])
|
rom = filedialog.askopenfilename(filetypes=[("Rom Files", (".sfc", ".smc", ".apbp")), ("All Files", "*")])
|
||||||
romVar2.set(rom)
|
romVar2.set(rom)
|
||||||
romSelectButton2 = Button(romDialogFrame, text='Select Rom', command=RomSelect2)
|
romSelectButton2 = Button(romDialogFrame, text='Select Rom', command=RomSelect2)
|
||||||
romDialogFrame.pack(side=TOP, expand=True, fill=X)
|
romDialogFrame.pack(side=TOP, expand=True, fill=X)
|
||||||
|
|
|
@ -59,7 +59,7 @@ Type: dirifempty; Name: "{app}"
|
||||||
|
|
||||||
[Registry]
|
[Registry]
|
||||||
|
|
||||||
Root: HKCR; Subkey: ".bmbp"; ValueData: "{#MyAppName}patch"; Flags: uninsdeletevalue; ValueType: string; ValueName: ""
|
Root: HKCR; Subkey: ".apbp"; ValueData: "{#MyAppName}patch"; Flags: uninsdeletevalue; ValueType: string; ValueName: ""
|
||||||
Root: HKCR; Subkey: "{#MyAppName}patch"; ValueData: "Archipelago Binary Patch"; Flags: uninsdeletekey; ValueType: string; ValueName: ""
|
Root: HKCR; Subkey: "{#MyAppName}patch"; ValueData: "Archipelago Binary Patch"; Flags: uninsdeletekey; ValueType: string; ValueName: ""
|
||||||
Root: HKCR; Subkey: "{#MyAppName}patch\DefaultIcon"; ValueData: "{app}\{#MyAppExeName},0"; ValueType: string; ValueName: ""
|
Root: HKCR; Subkey: "{#MyAppName}patch\DefaultIcon"; ValueData: "{app}\{#MyAppExeName},0"; ValueType: string; ValueName: ""
|
||||||
Root: HKCR; Subkey: "{#MyAppName}patch\shell\open\command"; ValueData: """{app}\{#MyAppExeName}"" ""%1"""; ValueType: string; ValueName: ""
|
Root: HKCR; Subkey: "{#MyAppName}patch\shell\open\command"; ValueData: """{app}\{#MyAppExeName}"" ""%1"""; ValueType: string; ValueName: ""
|
||||||
|
|
|
@ -125,7 +125,7 @@ class LocalRom(object):
|
||||||
Patch.create_patch_file(local_path('basepatch.sfc'))
|
Patch.create_patch_file(local_path('basepatch.sfc'))
|
||||||
return
|
return
|
||||||
|
|
||||||
if not os.path.isfile(local_path('data', 'basepatch.bmbp')):
|
if not os.path.isfile(local_path('data', 'basepatch.apbp')):
|
||||||
raise RuntimeError('Base patch unverified. Unable to continue.')
|
raise RuntimeError('Base patch unverified. Unable to continue.')
|
||||||
|
|
||||||
if os.path.isfile(local_path('data', 'basepatch.apbp')):
|
if os.path.isfile(local_path('data', 'basepatch.apbp')):
|
||||||
|
|
Loading…
Reference in New Issue