ROM Hack Tutorial
Updated
How to find the seed (like a password) needed to extract alldata.bin and alldata.psb.m, which contain retro game rom data
sorry for my poor english
Tutorials in Japanese
https://yyoossk.blogspot.com/2023/03/romalldatabinalldatapsbm.html
Download & unzip hactool from the following link
https://github.com/SciresM/hactool/releases
Extract the main file from Section 0 in the Program nca file with NxFileViewer
https://github.com/Myster-Tee/NxFileViewer/releases
https://github.com/Myster-Tee/NxFileViewer/releases
cmd
hactool.exe --uncompressed=main_uncompressed -t nso0 main
If you open the main_uncompressed file in the Hex Workshop Hex Editor, you can see the contents in a composite form.
http://www.bpsoft.com/downloads/
Click on the binocular-like icon at the top
Change Type to Text String, type 【RightAnalogStick】 in Value, and click OK.
or type 【25G/】 in Value, and click OK.
This means to search for RightAnalogStick in the text (characters).
This is because the seed for the other game I referred to was found around the RightAnalogStick text.
Depending on the games that will be released in the future, it may not be in that vicinity.
In the example image, you can see the string 25G/xpvTbsb+6 just above it
This is the seed needed to expand alldata.bin and alldata.psb.m
Extract the alldata.bin and alldata.psb.m files from Section 1 in the Program nca file with NxFileViewer
Download & install .NET Core from the following link
https://dotnet.microsoft.com/download
Download & unzip MArchiveBatchTool from the following link
https://github.com/farmerbb/RED-Project/releases
Copy the two files "alldata.bin" and "alldata.psb.m" into the MArchiveBatchTool folder.
cmd
MArchiveBatchTool.exe fullunpack --keep alldata.psb.m 【zlib】 【seed】 64
zlib is a compressed format, and I think it's usually zlib, but it could be different for some games.
For example, for the Mega Drive Mini, it was zstd.
Example
MArchiveBatchTool.exe fullunpack --keep alldata.psb.m zlib 25G/xpvTbsb+6 64
It will be extracted in the alldata.psb.m_extracted folder
Most of them are
alldata.psb.m_extracted/system/roms
folder, which contains the rom files for retro games and sometimes bios files
Tutorials in Japanese
https://yyoossk.blogspot.com/2023/03/romalldatabinalldatapsbm.html
Download & unzip hactool from the following link
https://github.com/SciresM/hactool/releases
Extract the main file from Section 0 in the Program nca file with NxFileViewer
https://github.com/Myster-Tee/NxFileViewer/releases
https://github.com/Myster-Tee/NxFileViewer/releases
cmd
hactool.exe --uncompressed=main_uncompressed -t nso0 main
If you open the main_uncompressed file in the Hex Workshop Hex Editor, you can see the contents in a composite form.
http://www.bpsoft.com/downloads/
Click on the binocular-like icon at the top
Change Type to Text String, type 【RightAnalogStick】 in Value, and click OK.
or type 【25G/】 in Value, and click OK.
This means to search for RightAnalogStick in the text (characters).
This is because the seed for the other game I referred to was found around the RightAnalogStick text.
Depending on the games that will be released in the future, it may not be in that vicinity.
In the example image, you can see the string 25G/xpvTbsb+6 just above it
This is the seed needed to expand alldata.bin and alldata.psb.m
Extract the alldata.bin and alldata.psb.m files from Section 1 in the Program nca file with NxFileViewer
Download & install .NET Core from the following link
https://dotnet.microsoft.com/download
Download & unzip MArchiveBatchTool from the following link
https://github.com/farmerbb/RED-Project/releases
Copy the two files "alldata.bin" and "alldata.psb.m" into the MArchiveBatchTool folder.
cmd
MArchiveBatchTool.exe fullunpack --keep alldata.psb.m 【zlib】 【seed】 64
zlib is a compressed format, and I think it's usually zlib, but it could be different for some games.
For example, for the Mega Drive Mini, it was zstd.
Example
MArchiveBatchTool.exe fullunpack --keep alldata.psb.m zlib 25G/xpvTbsb+6 64
It will be extracted in the alldata.psb.m_extracted folder
Most of them are
alldata.psb.m_extracted/system/roms
folder, which contains the rom files for retro games and sometimes bios files
Last edited by yyoossk,