Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

OnionFS 3DS: Difference between revisions

From GameBrew
No edit summary
m (Text replacement - "Category:Homebrew utility applications on 3DS" to "")
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox 3DS Homebrews
{{Infobox 3DS Homebrews
|title=OnionFS
|title=OnionFS
|image=OnionFS.jpeg
|image=Onionfs2.png
|description=ROMFS and SAVE redirection to the SD.
|description=ROMFS and SAVE redirection to the SD.
|author=mariohackandglitch
|author=mariohackandglitch
Line 12: Line 12:
|source=https://github.com/mariohackandglitch/OnionFS
|source=https://github.com/mariohackandglitch/OnionFS
}}
}}
OnionFS is a fork of layeredfs plugin made by cell9 that redirects romfs and save access to the SD card, useful for game mods and multiple save slots. It is designed to work with any game, even if there is an update patch installed (however there may be untested games that are incompatible for whatever reason, if you find one, please [https://github.com/mariohackandglitch/OnionFS/issues create an issue] with the problem).
OnionFS is a fork of layeredfs plugin made by cell9 that redirects romfs and save access to the SD card, useful for game mods and multiple save slots. It is designed to work with any game, even if there is an update patch installed (however there may be untested games that are incompatible for whatever reason, if you find one, please [https://github.com/mariohackandglitch/OnionFS/issues create an issue] with the problem).


Line 22: Line 21:
==User guide==
==User guide==
Default redirection paths:
Default redirection paths:
* Extracted romfs <code>SD:/OnionFS/<lowtitleID>/romfs/</code>
* Extracted romfs - <code>SD:/OnionFS/<lowtitleID>/romfs/</code>
* Save file <code>SD:/OnionFS/<lowtitleID>/save/</code> The last 8 characters of the game title ID.
* Save file - <code>SD:/OnionFS/<lowtitleID>/save/</code>  
 
<code><lowtitleID></code> is the last 8 characters of the game title ID.


===ROMFS redirection===
===ROMFS redirection===
Line 39: Line 40:
* You can create multiple SAVE and ROMFS entries for the same game in the SD card.  
* You can create multiple SAVE and ROMFS entries for the same game in the SD card.  
* This allows to load different romhacks or have multiple save slots.  
* This allows to load different romhacks or have multiple save slots.  
* To use this feature press the (Select) button to open the CTRPF ingame menu and access the OnionFS entry, from there you will be able to add more entries, configure existing ones and change which one will be used.  
* To use this feature press Select to open the [[CTRPluginFramework_3DS|CTRPF]] ingame menu and access the OnionFS entry.  
 
* Note: Modifying the current loaded entry or changing to another one will force the console to reboot to prevent any save corruption. Custom entry redirection paths:
'''Note:''' Modifying the current loaded entry or changing to another one will force the console to reboot to prevent any save corruption. Custom entry redirection paths:
** Extracted romfs - <code>SD:/OnionFS/<entryname>/romfs/</code>
* Extracted romfs <code>SD:/OnionFS/<entryname>/romfs/</code>
** Save file - <code>SD:/OnionFS/<entryname>/save/</code>
* Save file: <code>SD:/OnionFS/<entryname>/save/</code>  


Notice that if a new entry is created, the redirected path will no longer depend on the game titleID. This is done so it is possible to share the save between compatible games if an entry with the same name is created for both games.
Notice that if a new entry is created, the redirected path will no longer depend on the game titleID. This is done so it is possible to share the save between compatible games if an entry with the same name is created for both games.


===Debug mode===
===Debug mode===
* You can use debug mode to output the plugin log to a file: <code>SD:/OnionFS/<titleID>debug.txt</code>.  
* You can use debug mode to output the plugin log to a file <code>SD:/OnionFS/<titleID>debug.txt</code>.
* This information will be useful to log all the accessed files by the game as well as the initial setup operations.  
* This information will be useful to log all the accessed files by the game as well as the initial setup operations.  
* To enable debug mode, hold D-Pad Up while the game is booting.  
* To enable debug mode, hold D-Pad Up while the game is booting.  
Line 60: Line 60:
==Credits==
==Credits==
* cell9 - Developer of layeredfs and NTRCFW.
* cell9 - Developer of layeredfs and NTRCFW.
* Nanquitas - CTRPF developer and help. (A LOT of help actually :P)
* Nanquitas - CTRPF developer and help.


[[Category:3DS homebrew applications]]
==External links==
[[Category:Homebrew utility applications on 3DS]]
* GitHub - https://github.com/mariohackandglitch/OnionFS

Latest revision as of 05:46, 6 Mayıs 2024

OnionFS
Onionfs2.png
General
Authormariohackandglitch
TypeUtilities
Version2.1
LicenseMixed
Last Updated2021/04/24
Links
Download
Website
Source

OnionFS is a fork of layeredfs plugin made by cell9 that redirects romfs and save access to the SD card, useful for game mods and multiple save slots. It is designed to work with any game, even if there is an update patch installed (however there may be untested games that are incompatible for whatever reason, if you find one, please create an issue with the problem).

Features

  • ROMFS redirection to SD card, only modded files are needed.
  • SAVE redirection to SD card, the game will save to the SD instead of the cartridge or digital save (compatible even with games with secure value).
  • Built-in rom hack/save pack manager, allows to chose which folder in the SD should be used for ROMFS/SAVE redirection.

User guide

Default redirection paths:

  • Extracted romfs - SD:/OnionFS/<lowtitleID>/romfs/
  • Save file - SD:/OnionFS/<lowtitleID>/save/

<lowtitleID> is the last 8 characters of the game title ID.

ROMFS redirection

  • If ROMFS redirection is enabled, the game will first try to open ROMFS files from the SD card.
  • If they don't exist then the original ones will be used.
  • This feature behaves the exact same way as layeredFS.

SAVE redirection

  • If SAVE redirection is enabled, all the save files will be stored directly in the SD as if they were extracted from Checkpoint 3DS or JKSV.
  • Note that the plugin won't extract the existing save files, it will create new ones.
  • If you want to use your existing save extract it first with Checkpoint.
  • In order to keep the original save file untouched and working, the secure value of games that use it will be removed each time the game starts.

Entry manager

  • You can create multiple SAVE and ROMFS entries for the same game in the SD card.
  • This allows to load different romhacks or have multiple save slots.
  • To use this feature press Select to open the CTRPF ingame menu and access the OnionFS entry.
  • Note: Modifying the current loaded entry or changing to another one will force the console to reboot to prevent any save corruption. Custom entry redirection paths:
    • Extracted romfs - SD:/OnionFS/<entryname>/romfs/
    • Save file - SD:/OnionFS/<entryname>/save/

Notice that if a new entry is created, the redirected path will no longer depend on the game titleID. This is done so it is possible to share the save between compatible games if an entry with the same name is created for both games.

Debug mode

  • You can use debug mode to output the plugin log to a file SD:/OnionFS/<titleID>debug.txt.
  • This information will be useful to log all the accessed files by the game as well as the initial setup operations.
  • To enable debug mode, hold D-Pad Up while the game is booting.

Note The game will run very slow and may lag in debug mode as a lot of file writes will be happening very quickly.

Media

OnionFS 2.0 - ROMFS & SAVE redirection to SD card (PabloMK7)

Credits

  • cell9 - Developer of layeredfs and NTRCFW.
  • Nanquitas - CTRPF developer and help.

External links

Advertising: