Skip to content

Commit

Permalink
1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lifehackerhansol committed May 19, 2022
1 parent d3a8af4 commit db8c5c9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion generator/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion generator/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)],
Expand Down

0 comments on commit db8c5c9

Please sign in to comment.