The original TOD1RSCE module v0.3 by TTEMMA was generously donated by the Temple of Tales Translations team. Please visit http://temple-tales.ru/translations.html for more Tales of translation projects.
The original binaries were decompiled, repackaged and further modified and made to be compatible with .NET 5.0.
The original project was just a subfolder in the DC repo, so the commit history of this repo is just cherry-picked commits from there, just to have a coherent timeline of the tool's changes, in addition, the original net-framework solution is available in the legacy
branch.
- Open sceWork.sln with Visual Studio Community Edition (2019)
- Build the solution (Debug/Release is fine)
- You should have
sceWork.exe
andTableModule.dll
- Extract raw data with
sceWork.exe
- Extract data with Japanese text, you also need
JPCODES.txt
in the same directory
- Install .NET 5.0 Runtime:
wget https://download.visualstudio.microsoft.com/download/pr/827b12a8-8dea-43da-92a2-2d24c4936236/d2d61b3ed4b5ba3f682de3e04fc4d243/aspnetcore-runtime-5.0.5-linux-x64.tar.gz
- Create a new install directory for .NET 5.0:
mkdir dotnet-64
- Extract and install .NET 5.0:
tar zxf aspnetcore-runtime-5.0.5-linux-x64.tar.gz -C $HOME/dotnet-64
- To make the dotnet command run everywhere, put new path ahead of $PATH to increase the priority:
export DOTNET_ROOT=$HOME/dotnet-64
export PATH=$HOME/dotnet-64:$PATH
- Enter the following to make sure .NET 5.0 is working:
dotnet --info
- Use
//
to comment out lines that do not need to be inserted
- Use
pakcomposer.exe
to extract.pak1
files - BAT Example:
for %%i in (*.pak1) do pakcomposer.exe -d "%%i" -1 -x -u -v
- The
.pak1
filex extracts to a folder which has.tod1rsce4
files inside - Put
sceWork.exe
,TableModule.dll
, andJPCODES.txt
in the same directory - Use Command Prompt to extract text from
.tod1rsce4
file - BAT Example:
for %%i in (*.tod1rsce4) do sceWork.exe -e "%%i"
- Edit the
.txt
file, view with SHIFT-JIS encoding - Insert the tex back into the
.tod1rsce4
file - BAT Example:
for %%i in (*.tod1rsce4) do sceWork.exe -r "%%i" -as 12 -ae
- Move/copy the
.tod1rsce4
file into the folder where it was originally extracted - Pack the files in this folder into a
.pak1
file again - BAT Example:
for /D %%i in (*) do pakcomposer.exe -c %%i -1 -x -u -tod2_ps2_skit_padding
- Need to fix
.pak1
file. Open with HEX Editor to fix issue with skits. - Look at offset
0x00000004
if it is24
change it to30
and save. - Luckily, we have a script that does this for all
.pak1
files in the folder. - BAT Example:
python modPAK1Files.py
- Copy
.pak1
files intoDAT_FILES
and pack intoDAT.BIN
andDAT.TBL
- Create a new ISO with the new files and try it out
- Use
sceWork.exe
to extract.txt
from.rsce
files - Use with
TableModule.dll
, andJPCODES.txt
to see Japanese, otherwise RAW dump - BAT Example:
for %%i in (*.rsce) do sceWork.exe -e "%%i"
- Edit
.txt
file and save with the current encoding, else game crash - Insert text back into the the
.rsce
file. - BAT Example:
for %%i in (*.rsce) do sceWork.exe -r "%%i"
- Replace the
.rsce
in the.mglk
folder that was extracted withToDDCTools_v1.1.exe
- Pack it up into a new
.mglk
file - BAT Example:
for %%i in (*.mglk) do ToDDCTools_v1.1.exe mglk "%%i"
- Move/copy the newly packed
.mglk
file intoDAT_FILES
- Use
ToDDCTools_v1.1.exe
to repackDAT.BIN
andDAT.TBL
- Create a new ISO with the new files and try it out