I'm currently trying to mod out a feature in a game with LayeredFS on Atmosphere, but I need to "remove" the file, and I'm not certain if there's a way to do this.
For Yuzu, at least, it seems you can "stub" files, would include link, but new account restrictions:
RomFS Extension (romfs_ext)
The RomFS Extension dir contains patches and stubs for romfs files. This allows modders to delete files within the romfs if a file of the same name but the extension .stub is found at the same directory within romfs_ext. Similarly, if a file with the same name but with extension .ips is found at the same directory within romfs_ext, the base game file will be patched with it.
I did this, trying in /atmosphere/contents/0100854015868000/romfs_ext, putting .stub files with the filenames I was trying to remove, in the proper subfolders.
I also tried them in the romfs folder, as well as in \atmosphere\titles\0100854015868000\exefs as detailed in the release notes of Atmosphere 0.7.0
Extended to support arbitrary redirection of executable content to the SD card.
- Files will be preferentially loaded from /atmosphere/titles//exefs/, if present.
- Files present in the original exefs a user wants to mark as not present may be "stubbed" by creating a .stub file on the SD.
Am I understanding how this works correctly? I can't find much mention of this functionality past the initial release notes, and I'm not even certain this feature is still a thing. I know LayeredFS is working because I have mods functioning just fine.
To reiterate, the base game has files I want removed, and I'd prefer to do it via LayeredFS as opposed to like, extracting, modifying the nsp, actually deleting the files, and recompiling it.
I have tried all three ways I've detailed above, but I can detect no actual change in the game.