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/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.
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 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/
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.htmlThat'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.
That's actually the guide I first went to for troubleshooting, lol. What I did seems to be correct. And my TID should be correct as it was copy pasted from EdiZon ovl with the game open. Also confirmed it with nswdb.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
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.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.
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.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.