From db8c5c99184a21a9b8dd53374a129e48e0d1d25c Mon Sep 17 00:00:00 2001 From: lifehackerhansol Date: Wed, 18 May 2022 18:58:53 -0700 Subject: [PATCH] 1.6.1 --- README.md | 4 +++- generator/generator.py | 2 +- generator/setup.py | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2d6f1a1..ec25c2e 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,9 @@ YANBF (Yet Another nds-bootstrap Forwarder) is a forwarder structure for nds-boo - Linux: Open YANBF-GUI.AppImage 1. Set the generator directory to the path of your `generator` folder. A file browser icon next to the input can help with this 1. Drag and drop as many ROMs as you need on your SD card to the app - - These ROMs MUST BE ON YOUR SD CARD! It will fail to generate properly otherwise! + - If you do not have your SD card inserted in your computer, you **must** provide a custom ROM path in the drop-down options + - This ROM path must follow POSIX standards + - i.e. if your ROM on SD card is at "sd:/ROMs/ROM.nds", write `/ROMs/ROM.nds` 1. Click the Download button to start the generation process 1. The resulting CIA will be generated in this same folder. Copy this to the `sd:/cias` folder 1. Boot your 3DS and install all CIAs using FBI diff --git a/generator/generator.py b/generator/generator.py index 9cfcdd1..820137d 100644 --- a/generator/generator.py +++ b/generator/generator.py @@ -299,7 +299,7 @@ def makeuniqueid(self): return 0 def makecia(self): - makeromarg = f'{self.cmdarg}makerom -f cia -target t -exefslogo -rsf data/build-cia.rsf -elf data/forwarder.elf -banner data/banner.bin -icon data/output.smdh -DAPP_ROMFS=romfs -major 1 -minor 6 -micro 0 -DAPP_VERSION_MAJOR=1 -o "{self.output}" ' + makeromarg = f'{self.cmdarg}makerom -f cia -target t -exefslogo -rsf data/build-cia.rsf -elf data/forwarder.elf -banner data/banner.bin -icon data/output.smdh -DAPP_ROMFS=romfs -major 1 -minor 6 -micro 1 -DAPP_VERSION_MAJOR=1 -o "{self.output}" ' makeromarg += f'-DAPP_PRODUCT_CODE=CTR-H-{self.gamecode} -DAPP_TITLE="{self.title["eng"][0]}" -DAPP_UNIQUE_ID={self.uniqueid}' makeromrun = subprocess.run(makeromarg, shell=True, capture_output=True, universal_newlines=True) if makeromrun.returncode != 0: diff --git a/generator/setup.py b/generator/setup.py index ad3b96c..290053e 100644 --- a/generator/setup.py +++ b/generator/setup.py @@ -11,7 +11,7 @@ setup( name="generator", - version="1.6.0", + version="1.6.1", description="YANBF Generator", options={"build_exe": build_exe_options}, executables=[Executable("generator.py", base=base)],