How to modify romfs?

  • Thread starter Thread starter notsu
  • Start date Start date
  • Views Views 1,659
  • Replies Replies 7

notsu

~✩Nipah✩~
Member
Joined
Jul 22, 2024
Messages
373
Reaction score
456
Trophies
2
Age
126
XP
1,017
Country
Afghanistan
I have a game that uses .csv files for the script, which are located under romfs/script/scene.csv. I translated one of the CSV files near the start of the game but I'm not sure how I can replace the current file with it.
 
I have a game that uses .csv files for the script, which are located under romfs/script/scene.csv. I translated one of the CSV files near the start of the game but I'm not sure how I can replace the current file with it.
I'd suggest using Atmosphere's LayeredFS functionality. Basically a file override system where the game will read a custom file on the SD card instead of the one in the games data. Structure is rather simple /atmosphere/contents/(TITLEID)/romfs/

Remember to match the file/folder structure of the game's original RomFS though. So if you modified a file that is in a subfolder make that folder and put it in it.
 
I'd suggest using Atmosphere's LayeredFS functionality. Basically a file override system where the game will read a custom file on the SD card instead of the one in the games data. Structure is rather simple /atmosphere/contents/(TITLEID)/romfs/
That's the first thing I tried but it didn't do anything. To test if it would actually work, I slightly edited a CSV from the beginning of the game [changed one ハ to は], placed it as follows: atmosphere/contents/[TID]/romfs/[originalname].csv and rebooted my Switch before booting the game.
 
Last edited by notsu,
That's the first thing I tried but it didn't do anything. To test if it would actually work, I slightly edited a CSV from the beginning of the game [changed one ハ to は], placed it as follows: atmosphere/contents/[TID]/romfs/[originalname].csv and rebooted my Switch before booting the game.
I'd also double check your titleID and make sure game updates arent messing it up. But here's a short tutorial as well. https://jeffvi.github.io/switch-guide/extras/game_modding.html
 
Last edited by notsu,
Only thing I could think of is the game may not be reading the reading from the exact file you think it is? Not sure past that.
 
Only thing I could think of is the game may not be reading the reading from the exact file you think it is? Not sure past that.
I'm pretty sure it is, as I matched the entire scene's dialogue with the CSV before editing it. I also confirmed that none of the other CSVs contained the exact same lines.
 
I'm pretty sure it is, as I matched the entire scene's dialogue with the CSV before editing it. I also confirmed that none of the other CSVs contained the exact same lines.
Yeah can't say then. I'm not familiar with this game or engine so I can't confirm if the game has some weird loading function.
 

Site & Scene News

Popular threads in this forum