GameRedirectory is a PyNX script for managing your LayeredFs games. Follow the installation and how-to section.
Features: NPDM editing, moving files between a storage location (/switch/games/) and donors (/atmosphere/titles/), configuration file to keep track of what is where.
Downloads
GITHUB: https://github.com/Kozlowlw/py-switch
Old releases:
v1.0.3: https://mega.nz/#!h6xhkQhY!rbzaB0mozAjoYSjcZ-dfcBIFiIkt4fmcvN_O9e7Y5Rw
v1.0.2: https://mega.nz/#!0rZTGKaY!DQxYZzXoQ0NFdClAvFz4GGWtr0gLardSB6EEh_2jcj0
Beta-v1.0.1: https://mega.nz/#!ImpzWYBC!C2vMSiJSDkNrww6F83J0M0t8prhZYjetNYeBESWzTtU
v1.0.0 - https://mega.nz/#!kiRlxCZK!DA3hl5dr_ea37tPsA_IWkXDQzf1x0fF5mhM8mrsw51g
Installation:
Q: What file structure do the /switch/games/ need to be in?
A: {GameName}/RomFs/* <---- NOTE: It defaults to a folder. If you want it to use .bin or .romfs then change it in the config.ini in /switch/games/
Q: How do I get my XCI into that structure?
A: You can use my python script (here) or any of the other XCI converters and just make the folders.
Q: What games work with what donors?
A: Check here [Also post what you try, so we get a better list]
Q: PyNX crashes/Homebrew doesn't load in LayeredFs patched kernel?
A: Right now you can only "sometimes" use homebrew alongside the LayeredFS kernels. Booting into a non-patched kernel [regular hetake] to use the script and then rebooting into your RomFS/LayeredFs patched kernel to run the game works too. This will hopefully be fixed at some point. I've heard Switchblade lets you run homebrew with less crashes.
Q: Your script crashed after running.
A: It happens. Try again.
Changelog:
V1.0.3 - Added .npdm editing. File structure has changed!!!! Games now go in /switch/games/{Game Name}/{ExeFs and RomFs dirs}. This also means that RomFs needs to be a folder now. You are welcome to change it in the code, but to make it better fit my python xci-to-lfs script its staying as a folder (literally change it to move '/RomFs/' to '/RomFs.bin' and it should work)
V1.0.2 - Updated.. Shouldn't have anymore issues with config files. Working on npdm and folder editing for v1.0.3. Will probably change file structure a bit if/when I do this.
V1.0.1 - Finished the config portion. Also managed to get moving files working instead of copying. It now takes less than a minute to move a previous redirect and move in a new game. #Success. This had very limited testing so... beta?
V1.0.0 - POC release. Works but super slow
Features: NPDM editing, moving files between a storage location (/switch/games/) and donors (/atmosphere/titles/), configuration file to keep track of what is where.
Downloads
GITHUB: https://github.com/Kozlowlw/py-switch
Old releases:
v1.0.3: https://mega.nz/#!h6xhkQhY!rbzaB0mozAjoYSjcZ-dfcBIFiIkt4fmcvN_O9e7Y5Rw
v1.0.2: https://mega.nz/#!0rZTGKaY!DQxYZzXoQ0NFdClAvFz4GGWtr0gLardSB6EEh_2jcj0
Beta-v1.0.1: https://mega.nz/#!ImpzWYBC!C2vMSiJSDkNrww6F83J0M0t8prhZYjetNYeBESWzTtU
v1.0.0 - https://mega.nz/#!kiRlxCZK!DA3hl5dr_ea37tPsA_IWkXDQzf1x0fF5mhM8mrsw51g
Installation:
- Put PyNX in /switch
- Put GameRedirector.py in /switch
- Put your titles in /switch/games/
- Launch PyNX.nro from hbl/hbm
- Select GameRedirector.py from the list (Up/Down on dpad/left joycon to move, a to select)
- Press 'a' again. The dialog doesn't pop up that asks if you want to run with v0.5.1 for some reason.
- Use 'Select Donor Title' to pick which game to redirect to (overwrite)
- Use 'Select Game Folder' to pick the game you want to redirect (play)
- Use 'Swap Files' to begin the process
- Press the home button to exit. The 'End' option kills my script, but not PyNX. I couldn't find a method for doing that in there library.
- Start the donor game and enjoy.
Q: What file structure do the /switch/games/ need to be in?
A: {GameName}/RomFs/* <---- NOTE: It defaults to a folder. If you want it to use .bin or .romfs then change it in the config.ini in /switch/games/
{GameName}/ExeFs/*
Q: How do I get my XCI into that structure?
A: You can use my python script (here) or any of the other XCI converters and just make the folders.
Q: What games work with what donors?
A: Check here [Also post what you try, so we get a better list]
Q: PyNX crashes/Homebrew doesn't load in LayeredFs patched kernel?
A: Right now you can only "sometimes" use homebrew alongside the LayeredFS kernels. Booting into a non-patched kernel [regular hetake] to use the script and then rebooting into your RomFS/LayeredFs patched kernel to run the game works too. This will hopefully be fixed at some point. I've heard Switchblade lets you run homebrew with less crashes.
Q: Your script crashed after running.
A: It happens. Try again.
Changelog:
V1.0.3 - Added .npdm editing. File structure has changed!!!! Games now go in /switch/games/{Game Name}/{ExeFs and RomFs dirs}. This also means that RomFs needs to be a folder now. You are welcome to change it in the code, but to make it better fit my python xci-to-lfs script its staying as a folder (literally change it to move '/RomFs/' to '/RomFs.bin' and it should work)
V1.0.2 - Updated.. Shouldn't have anymore issues with config files. Working on npdm and folder editing for v1.0.3. Will probably change file structure a bit if/when I do this.
V1.0.1 - Finished the config portion. Also managed to get moving files working instead of copying. It now takes less than a minute to move a previous redirect and move in a new game. #Success. This had very limited testing so... beta?
V1.0.0 - POC release. Works but super slow
Last edited by ChainedHope,