The objective is to extract all text from the PS2 disc image of Raw Danger! so we can localize the game.
To extract the files from the .iso, I used Apache2 from Sonix (couldn't get Apache3 to work).
Aside from extracting files, it can import *.iml/*.ims and view the information contained in the volume.
After digging through the files, it seems all of our text is located in the ROOT.DAT
file.
Unfortunately, it's a .dat file, meaning that it is one ugly thing to work with.
When we open it, we can see all the text in the game. We could translate it like this, replacing strings
one by one on a hex editor, but that's too much work that I'm not getting paid to do lol
The first thing that comes to mind is to make (most probably) or use an already existing QuickBMS
script (shoutout to Luigi Auriemma!)
but obviously that would require a higher level of technical knowledge than what I currently have. Until then, I'll just
study this little script made for Disaster Report:
# Disaster Report
# SOS Final Escape
# Zettai Zetsumei Toshi
# script for QuickBMS http://quickbms.aluigi.org
open FDDE "FAT" 0 EXISTS
if EXISTS != 0
math FAT_FILE = 1
else
math FAT_FILE = 0
open FDDE "DAT"
endif
idstring "FAT "
get FILES long
goto 0xf8
get NAMES_OFF long
get BASE_OFF long
for i = 0 < FILES
get OFFSET long
get SIZE long
get DUMMY long
get NAME_OFF long
savepos TMP
goto NAME_OFF
get NAME string
goto TMP
math OFFSET += BASE_OFF
putarray 0 i OFFSET
putarray 1 i SIZE
putarray 2 i NAME
next i
if FAT_FILE = 1
open FDDE "DAT"
endif
for i = 0 < FILES
getarray OFFSET 0 i
getarray SIZE 1 i
getarray NAME 2 i
log NAME OFFSET SIZE
next i