ROM Hack Editing NSP

Srecko117

New Member
OP
Newbie
Joined
Mar 21, 2019
Messages
3
Trophies
0
Age
28
XP
64
Country
Serbia, Republic of
Hi all. I just have one question. Is it possible to edit NSP files. For example to translate game from japanesse to english and if it is, can you tell what tools i need for that.
Thanks
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,008
Trophies
2
Age
36
XP
4,559
Country
United States
Hi all. I just have one question. Is it possible to edit NSP files. For example to translate game from japanesse to english and if it is, can you tell what tools i need for that.
Thanks
You can but it's not recommended. The better approach is to extract the files that need editing, edit them, and then use LayeredFS to load them on top of the unmodified NSP. Keep in mind you can only alter files that already exist, not add new files.
 
  • Like
Reactions: Srecko117

Srecko117

New Member
OP
Newbie
Joined
Mar 21, 2019
Messages
3
Trophies
0
Age
28
XP
64
Country
Serbia, Republic of
Tnx for answer. Is there there maybe some guide how to that? I dont need it at the moment but i will need it next month when Konami release Legacy of Duelist Link Evolution.
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,008
Trophies
2
Age
36
XP
4,559
Country
United States
Tnx for answer. Is there there maybe some guide how to that? I dont need it at the moment but i will need it next month when Konami release Legacy of Duelist Link Evolution.
You need to quote posts for people to be alerted that you posted. Only the thread starter gets alerts on all posts in the thread. You can extract the contents of an NSP with Hactool. Once you have the keys mentioned in the README.md (Hint, Lockpick can get these keys for you) then you can extract the NSP using this command at Command Prompt / Terminal:
Code:
hactool -t pfs0 --pfs0dir="path/to/extract/NSP/files/to" "path/to/NSP/file.nsp"
This will get you the files inside the NSP. The file that contains the game files is the largest of the NCA files that were extracted. You can extract the game files using Hactool again:
Code:
hactool --titlekey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --exefsdir="path/to/exefs/" --romfsdir="path/to/romfs/" "path/to/extract/NSP/files/to/largest.nca"
Where the XXXXXX's are the title key for that game. You'll then have an exefs folder and romFfs folder. The romfs folder will be the one that contains the game files for things like language or graphics. Those files will then also likely need to be extracted or require special tools to edit, but which ones we won't know until the game releases.
 
Last edited by DocKlokMan,

Srecko117

New Member
OP
Newbie
Joined
Mar 21, 2019
Messages
3
Trophies
0
Age
28
XP
64
Country
Serbia, Republic of
Ok tnx so much. I guess i need to wait until game release. At least there are a lot of japanesse game out there so i can try to translate few of them before Link Evolution get released.
And about quote,whenever i try to post replay with quote i get error,so i need to post replays without them. Its not this site alone its on almost all of them (i use tablet and phone for post,never tried PC)
 
Last edited by Srecko117,

kasai2713

Member
Newcomer
Joined
Jan 30, 2024
Messages
5
Trophies
0
XP
15
Country
United States
You can but it's not recommended. The better approach is to extract the files that need editing, edit them, and then use LayeredFS to load them on top of the unmodified NSP. Keep in mind you can only alter files that already exist, not add new files.
Is it safe to edit update data or would it get detected for having its file size change?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BigOnYa @ BigOnYa: Well atleast they didn't delete it completely.