Mc-muffin ca5297c16b SceWork & Pakcomposer updates
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
2021-04-09 02:55:43 -05:00
2021-03-24 11:51:01 -05:00
2021-03-24 11:51:01 -05:00
2021-03-07 17:21:39 -05:00
2021-02-11 20:12:06 -05:00
2021-04-03 04:32:05 -05:00
2021-04-09 02:55:43 -05:00
2021-04-03 04:32:05 -05:00
2021-04-02 20:29:51 -05:00
2021-03-07 17:21:39 -05:00
2021-04-03 04:32:05 -05:00

Compile Instructions

  1. Open TOD1RSCE4.sln with Visual Studio Community Edition (2019)
  2. Build the solution (Debug/Release is fine)
  3. You should have sceWork.exe and TableModule.dll
  4. Extract raw data with sceWork.exe
  5. Extract data with Japanese text, you also need JPCODES.txt in the same directory

Usage Instructions (General)

  1. Use // to comment out lines that do not need to be inserted

Usage Instructions (Skits)

  1. Use pakcomposer.exe to extract .pak1 files
  2. BAT Example: for %%i in (*.pak1) do pakcomposer.exe -d "%%i" -1 -x -u -v
  3. The .pak1 filex extracts to a folder which has .tod1rsce4 files inside
  4. Put sceWork.exe, TableModule.dll, and JPCODES.txt in the same directory
  5. Use Command Prompt to extract text from .tod1rsce4 file
  6. BAT Example: for %%i in (*.tod1rsce4) do sceWork.exe -e "%%i"
  7. Edit the .txt file, view with SHIFT-JIS encoding
  8. Insert the tex back into the .tod1rsce4 file
  9. BAT Example: for %%i in (*.tod1rsce4) do sceWork.exe -r "%%i" -as 12 -ae
  10. Move/copy the .tod1rsce4 file into the folder where it was originally extracted
  11. Pack the files in this folder into a .pak1 file again
  12. BAT Example: for /D %%i in (*) do pakcomposer.exe -c %%i -1 -x -u -tod2_ps2_skit_padding
  13. Need to fix .pak1 file. Open with HEX Editor to fix issue with skits.
  14. Look at offset 0x00000004 if it is 24 change it to 30 and save.
  15. Luckily, we have a script that does this for all .pak1 files in the folder.
  16. BAT Example: python modPAK1Files.py
  17. Copy .pak1 files into DAT_FILES and pack into DAT.BIN and DAT.TBL
  18. Create a new ISO with the new files and try it out

Usage Instructions (Scenarios)

  1. Use sceWork.exe to extract .txt from .rsce files
  2. Use with TableModule.dll, and JPCODES.txt to see Japanese, otherwise RAW dump
  3. BAT Example: for %%i in (*.rsce) do sceWork.exe -e "%%i"
  4. Edit .txt file and save with the current encoding, else game crash
  5. Insert text back into the the .rsce file.
  6. BAT Example: for %%i in (*.rsce) do sceWork.exe -r "%%i"
  7. Replace the .rsce in the .mglk folder that was extracted with ToDDCTools_v1.1.exe
  8. Pack it up into a new .mglk file
  9. BAT Example: for %%i in (*.mglk) do ToDDCTools_v1.1.exe mglk "%%i"
  10. Move/copy the newly packed .mglk file into DAT_FILES
  11. Use ToDDCTools_v1.1.exe to repack DAT.BIN and DAT.TBL
  12. Create a new ISO with the new files and try it out
Description
No description provided
Readme Unlicense 259 KiB
Languages
C# 100%