Hey there.
After I've succesfully used LayeredFS to mod Artemis Engine visual novels back to their "original" state, it looks like I've run into a brick wall when it comes to Ren'Py-games.
One example of this would be the VN Summer Days, which comes with the same renpygame\game\main\story\script_main.rpyc file as the uncensored PC version.
The problem lies within the fact that the romFS includes another renpygame\game\tl\clean\main\story\script_main.rpyc-file, which is used to remove certain text passages on the Switch version.
If I use atmosphere's LayeredFS to replace that second script_main.rpyc with another valid .rpyc from the Switch version, the game won't boot. If I replace it with an empty file, it won't boot.
After some extensive testing I suspect that the modification could work, if the second script_main.rpyc wouldn't exist in the first place.
If this approach is falsified, it would at least lead to two possible outcomes:
a) Open another possibility of working with the decrypted .rpy-files
b) Give me peace of mind, knowing that it's not possible to do for me, with my current skillset.
And option a) would again require me to delete the original .rpyc-files, before they are loaded automatically.
I've looked at a great bunch of documentation in the past few days, I have at least the slightest of ideas of how to build an NSP out of .cert, .tik and .nca files - but I can't seem to get to the point, where I could build an NSP either out of the raw romFS/exeFS folders OR at least how to repack the romFS folder to an NCA file.
So, Is there any feasible way to do this or am I just building castles in the sky?
After I've succesfully used LayeredFS to mod Artemis Engine visual novels back to their "original" state, it looks like I've run into a brick wall when it comes to Ren'Py-games.
One example of this would be the VN Summer Days, which comes with the same renpygame\game\main\story\script_main.rpyc file as the uncensored PC version.
The problem lies within the fact that the romFS includes another renpygame\game\tl\clean\main\story\script_main.rpyc-file, which is used to remove certain text passages on the Switch version.
If I use atmosphere's LayeredFS to replace that second script_main.rpyc with another valid .rpyc from the Switch version, the game won't boot. If I replace it with an empty file, it won't boot.
After some extensive testing I suspect that the modification could work, if the second script_main.rpyc wouldn't exist in the first place.
If this approach is falsified, it would at least lead to two possible outcomes:
a) Open another possibility of working with the decrypted .rpy-files
b) Give me peace of mind, knowing that it's not possible to do for me, with my current skillset.
And option a) would again require me to delete the original .rpyc-files, before they are loaded automatically.
I've looked at a great bunch of documentation in the past few days, I have at least the slightest of ideas of how to build an NSP out of .cert, .tik and .nca files - but I can't seem to get to the point, where I could build an NSP either out of the raw romFS/exeFS folders OR at least how to repack the romFS folder to an NCA file.
So, Is there any feasible way to do this or am I just building castles in the sky?