News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Reveal Fantasia (PS2, 2002) - Script Extraction/Reinsertion for Translator  (Read 813 times)

Cargodin

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • Doushiuh☆oh翻訳
Morning all!

Still working well on other various projects with Esperknight, but I've been enjoying Reveal Fantasia again and have decided I'd like to work on an English patch if anyone experience with PS2 hacking is interested in the title and up for the task.

https://en.wikipedia.org/wiki/Reveal_Fantasia

I'm not even remotely decent at extracting or reinserting anything on my own, but I am a capable enough spelunker that I can help find particular things in the files where I can. I've spotted some very basic files, but I'm not sure if I'm looking at the entire thing as I probably borked the rip. lostcause.jpeg  :-\

A debug menu featuring an event menu is accessible in the game.

https://tcrf.net/Reveal_Fantasia:_Mariel_to_Yousei_Monogatari

If anyone is interested, feel free to DM me at anytime! We can further the conversation on Discord or Twitter, whichever is more convenient for you. I'm looking forward to your inquiry!
« Last Edit: November 21, 2018, 10:50:49 pm by Cargodin »

horowitz

  • Jr. Member
  • **
  • Posts: 18
    • View Profile
Re: Reveal Fantasia (PS2, 2002) - Translator Looking for Hacker
« Reply #1 on: November 16, 2018, 03:10:24 am »
Hi again, cargodin. I was looking over at this game while waiting for a follow up in my post. I extracted the iso and tried running SJIS dump on the individual files. I did it on all the files that could possibly have any text, which are fairy.ps2, movie.pac, sound.vox, sound.pac.

It extracted a fair amount of lines and yielded a fair amount of MBs but I believe it was all code. You can repeat the experiment for yourself though, and for your convenience I have the SJIS files dumped from these here: https://drive.google.com/open?id=1Ir80ydhxmDGO4W32W0Dv5dqNjTz9euZX

In my view, the bulk of the text should be in fairy.ps2 but I could not extract it further like like I did with Hungry Ghosts' PACK.DAT.
Do you have any idea how to extract these other file types (.ps2, .vox, .pac)? I think to proceed, you should find a suitable way to extract these files. Then apply SJIS dump again and an ASM tool tuned for the game's file structure, actions which should finalize a near perfect dump. Then, you can proceed to translate and reinsert the files according their pointers.

Also, quickbms (https://aluigi.altervista.org/quickbms.htm) might be a clue on what to do. There is a prototype script there on this link: https://aluigi.altervista.org/bms/comtype_scan2.bms (just search the earlier page for "QuickBMS comtype scanner 2"). Download quickbms, open the exe, choose the script comtype scan 2.bms and choose the file you want to extract. You might need to tweak it in order for it to work for you, though. I will try it later myself.

There is a tutorial that explains how to extract unknown/rare file types using quickbms and cmd here: https://aluigi.altervista.org/quickbms/comtype_scan.htm

Hope this helps.

regards,

H

Cargodin

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • Doushiuh☆oh翻訳
Re: Reveal Fantasia (PS2, 2002) - Translator Looking for Hacker
« Reply #2 on: November 19, 2018, 10:27:04 pm »
Hey, thanks for taking a look at the game for me!

The bulk of the text needed to make the game playable is snug inside of SLPS_250.94
If you check in a hex editor, you can find the lot of it starting at 000DE810, and just slowly scroll all the way down. I imagine some of it is split into blocks, some trickier than others, but if you could dump the entirety of that particular document, it'd already be a strong starting point. That's sort of all I know, but it includes things like controls, particular dialogue, sound tests, menus, etc. I hope that helps!

horowitz

  • Jr. Member
  • **
  • Posts: 18
    • View Profile
Re: Reveal Fantasia (PS2, 2002) - Translator Looking for Hacker
« Reply #3 on: November 20, 2018, 09:37:34 am »
I had not thought of looking into SLPS_250.94. My bad, lol.

I wanted to get the big files out of the way and forgot about the smaller ones. I will try to see if I can get a dump of it seeing that it is a PS2 proprietary file that is included in all games.

November 20, 2018, 10:02:00 am - (Auto Merged - Double Posts are not allowed before 7 days.)
Well I just looked into it and it does not seem to have any Japanese text in it. And from what I know, that file does not have anything aside from the game's launch codes and error/crash commands. And it is contained in all ps2 games. I don't any text there at all and it does not make sense the text would be there too...

My bet is still on one of these: fairy.ps2, movie.pac, sound.vox, sound.pac

The thing is, SJIS Dump cannot extract any real JAP word from them because they are compressed. The only file I found with real jp words (but only had 2 or 3 of them with no real sense sandwiched between text)is LIBSD.IRX.

But it cannot contain the bulk of the text since it only has a few KBs of size.

The only next step to take is  extracting these bigger files like I did with  pack.dat in hungry ghosts. Thing is I had help and .dat files are way more common than the above mentioned filetypes...
« Last Edit: November 20, 2018, 10:02:00 am by horowitz »

Cargodin

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • Doushiuh☆oh翻訳
Re: Reveal Fantasia (PS2, 2002) - Translator Looking for Hacker
« Reply #4 on: November 20, 2018, 06:50:12 pm »
https://www.dropbox.com/sh/a2omr45tejgs2k8/AAAp1KK2Ciol9tRKwRntR-f8a?dl=0

Are you using a hex editor for this? Here is a dropbox of screencaps featuring only some of the text I found using Windhex.  :)

horowitz

  • Jr. Member
  • **
  • Posts: 18
    • View Profile
Re: Reveal Fantasia (PS2, 2002) - Translator Looking for Hacker
« Reply #5 on: November 21, 2018, 01:32:05 am »
I used a hex editor too (windhex)... Did not find any jap inside it... I will try to look into it again.

Cargodin

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • Doushiuh☆oh翻訳
Re: Reveal Fantasia (PS2, 2002) - Translator Looking for Hacker
« Reply #6 on: November 21, 2018, 03:43:34 pm »
There is a really handy SJIS table here on the site (in the utilities?) ;)

If you're using that, double check to make sure you "View Data as Unicode" in the settings as well. It takes a bit to scroll down, but if you do so slowly, you'll find stuff as you go. A lot of it is located pretty closely together.

horowitz

  • Jr. Member
  • **
  • Posts: 18
    • View Profile
Re: Reveal Fantasia (PS2, 2002) - Translator Looking for Hacker
« Reply #7 on: November 21, 2018, 04:16:18 pm »
Hi, I did find it now but had to use another program (wxMEdit). I can see that the text is there now and I tried to extract the file but was not able to. Maybe there is a way to extract the text directly from the hex, translate it and reinsert it? I think if you use the same numbers of characters as the jap text there would be no issue...

Cargodin

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • Doushiuh☆oh翻訳
Re: Reveal Fantasia (PS2, 2002) - Translator Looking for Hacker
« Reply #8 on: November 21, 2018, 06:58:50 pm »
I wish I could help you there, but it's probably better answered in the readmes here in the site or by an experienced hacker. I can tell you outright that for a game like this, reinserting an English translation over Japanese text using the same character count just isn't feasible. Japanese is way too condense a language to pull something like that off.

horowitz

  • Jr. Member
  • **
  • Posts: 18
    • View Profile
Re: Reveal Fantasia (PS2, 2002) - Script Extraction/Reinsertion for Translator
« Reply #9 on: November 22, 2018, 11:14:36 pm »
Hi Cargodin, I made a dump of the 1st string of text in SLPS_250.94 for Reveal Fantasia. Try to see if everything is related to the game. I did this dump with windhex and wxmedit (used both programs for different things).

This first part has more or less 33 KB of data. Here are the files, one in word .docx format (for better viewing) and another in .txt:

https://drive.google.com/open?id=16C_fQIYfXPWx5L7ZZDzF_rUTVJhWWAnv

https://drive.google.com/open?id=1Rc3wBUEE0F_9vvy0VCL7iKuhBOgCFzmZ


If I can get everything out of the file in this manner, all that would be left are the pointers and translation character count.