mirror of
https://github.com/lifebottle/sceWork.git
synced 2026-02-13 15:16:05 -08:00
legacy
SceWork changes from v0.8 - added -i argument Pakcomposer changes from v1.9: - Added -a argument to align files to 16 bytes Plus the previous silent compto and fixed relative paths
Compile Instructions
- Open TOD1RSCE4.sln with Visual Studio Community Edition (2019)
- Build the solution (Debug/Release is fine)
- You should have
sceWork.exeandTableModule.dll - Extract raw data with
sceWork.exe - Extract data with Japanese text, you also need
JPCODES.txtin the same directory
Usage Instructions (General)
- Use
//to comment out lines that do not need to be inserted
Usage Instructions (Skits)
- Use
pakcomposer.exeto extract.pak1files - BAT Example:
for %%i in (*.pak1) do pakcomposer.exe -d "%%i" -1 -x -u -v - The
.pak1filex extracts to a folder which has.tod1rsce4files inside - Put
sceWork.exe,TableModule.dll, andJPCODES.txtin the same directory - Use Command Prompt to extract text from
.tod1rsce4file - BAT Example:
for %%i in (*.tod1rsce4) do sceWork.exe -e "%%i" - Edit the
.txtfile, view with SHIFT-JIS encoding - Insert the tex back into the
.tod1rsce4file - BAT Example:
for %%i in (*.tod1rsce4) do sceWork.exe -r "%%i" -as 12 -ae - Move/copy the
.tod1rsce4file into the folder where it was originally extracted - Pack the files in this folder into a
.pak1file again - BAT Example:
for /D %%i in (*) do pakcomposer.exe -c %%i -1 -x -u -tod2_ps2_skit_padding - Need to fix
.pak1file. Open with HEX Editor to fix issue with skits. - Look at offset
0x00000004if it is24change it to30and save. - Luckily, we have a script that does this for all
.pak1files in the folder. - BAT Example:
python modPAK1Files.py - Copy
.pak1files intoDAT_FILESand pack intoDAT.BINandDAT.TBL - Create a new ISO with the new files and try it out
Usage Instructions (Scenarios)
- Use
sceWork.exeto extract.txtfrom.rscefiles - Use with
TableModule.dll, andJPCODES.txtto see Japanese, otherwise RAW dump - BAT Example:
for %%i in (*.rsce) do sceWork.exe -e "%%i" - Edit
.txtfile and save with the current encoding, else game crash - Insert text back into the the
.rscefile. - BAT Example:
for %%i in (*.rsce) do sceWork.exe -r "%%i" - Replace the
.rscein the.mglkfolder that was extracted withToDDCTools_v1.1.exe - Pack it up into a new
.mglkfile - BAT Example:
for %%i in (*.mglk) do ToDDCTools_v1.1.exe mglk "%%i" - Move/copy the newly packed
.mglkfile intoDAT_FILES - Use
ToDDCTools_v1.1.exeto repackDAT.BINandDAT.TBL - Create a new ISO with the new files and try it out
Languages
C#
100%