/YANBF

Yet another nds-bootstrap forwarder. Runs from 3DS-mode!

Primary LanguageCGNU General Public License v2.0GPL-2.0

Yet Another nds-bootstrap Forwarder

YANBF (Yet Another nds-bootstrap Forwarder) is a forwarder structure for nds-bootstrap.

Features:

  • "forwarders" are referred to placeholder icons that will shortcut to a particular application (in this case, nds-bootstrap)
  • Launches from 3DS-mode.

How it works:

  • A pre-existing forwarder template exists: https://gbatemp.net/threads/nds-forwarder-cias-for-your-home-menu.426174/
    • This uses a DSiWare template, copies the icon and title and the ROM path, and then installed as a CIA. The CIA, when launched, will boot sdcard.nds which will do all the nds-bootstrap setup.
    • I instead opted to create an sdcard.nds bootloader, and then a 3DS-mode app that launches said bootloader
      • you can't launch .nds files from 3DS-mode. So a bootloader is required.
      • the bootloader does the same thing as the DSiWare template, in actuality

How to use:

  1. Install Python 3 for your PC: http://python.org/downloads
  2. Go to https://github.com/lifehackerhansol/YANBF/releases, and download the appropriate zip file for your PC OS
  3. Go to https://github.com/RocketRobz/NTR_Forwarder/releases, and download the zip file that is not the source code
  4. Extract the zip files
  5. From the DS Game Forwarder Pack, copy everything in the for SD card root folder to your SD card root
  6. From YANBF, copy bootstrap.cia to your SD card root
  7. Download the latest TWiLight Menu++ version here. Only get the 3DS.7z file.
  8. In the 7z file, go to _nds, TWiLightMenu, and extras.
  9. Drag the apfix.pck and widescreen.pck file to sd:/_nds/ntr-forwarder/.
  10. Open a terminal or command prompt and cd inside the generator folder
  11. Run pip install -r requirements.txt
  12. Run python3 generator.py
    • Make sure to replace with the full path to your ROM
    • this ROM MUST BE ON YOUR SD CARD! It will fail to generate properly otherwise!
  13. An output.cia will be generated. Copy this to your SD card
  14. Boot your 3DS and install both CIAs using FBI

Updating files:

Using Universal-Updater

  1. Open Universal-Updater on your 3DS
  2. Navigate to YANBF, then install the YANBF Forwarder Pack

Manually

  1. Re-follow steps 2-9 in the "How to use" section

To build:

  1. edit romFS:/path.txt to any file path in sd:/. Do NOT end with newline, this kills it.
  2. run make dist
  3. install both CIAs
  4. voila

Current issues:

  • no idea. report if you see one

Credits:

License:

Bootstrap:

 Copyright (C) 2010  Dave "WinterMute" Murphy

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
 as published by the Free Software Foundation; either version 2
 of the License, or (at your option) any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

The rest:

MIT License

bannergif.py
Copyright (C) 2021 Pk11

generator.py and CIA template
Copyright (C) 2022-present lifehackerhansol

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.