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

Author Topic: Phantasy Star Generation 2 tryout.  (Read 15226 times)

RedSun

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Phantasy Star Generation 2 tryout.
« on: December 29, 2010, 07:07:25 pm »
Hello,
1)Is there any way to expand/reconstruct iso to insert uncompressed(~1.5 bigger than original compressed) text ?
2)Is there any way to make the game read half-width letters ? (shows "-" instead)

Guadozoku

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
Re: Phantasy Star Generation 2 tryout.
« Reply #1 on: December 30, 2010, 01:15:42 am »
I don't know if you have a fully dumped script yet, but you now have a translator for this game. I've been waiting for a hacker to get on this.

RedSun

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: Phantasy Star Generation 2 tryout.
« Reply #2 on: December 30, 2010, 06:30:54 am »
Yeah, I managed to dump full scipt, and insert it uncompressed.(replacing compressed by ~75% of uncompressed)
So that mean, the game will just hang at some point.

Maybe I'm using wrong sjis, but J ,Y and w also shows like "-":
« Last Edit: December 30, 2010, 10:23:08 am by RedSun »

Rhys

  • Hero Member
  • *****
  • Posts: 706
    • View Profile
    • CN
Re: Phantasy Star Generation 2 tryout.
« Reply #3 on: December 30, 2010, 09:27:46 am »
They're probably not in the font, that's why they show as -'s

Guadozoku

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
Re: Phantasy Star Generation 2 tryout.
« Reply #4 on: December 30, 2010, 10:51:14 am »
Wel, if you want to send over the script I'll get right on it

Piotyr

  • Hero Member
  • *****
  • Posts: 1485
  • I'm useful, honest!
    • View Profile
Re: Phantasy Star Generation 2 tryout.
« Reply #5 on: December 30, 2010, 11:57:59 am »
 :o :o :o :o :o :o :o :o :o :o
GOD IN HEAVEN THIS IS PROOF YOU EXIST! Sorry to post something useless but I just want to show I have been waiting for this for so so long. Take the time you need and get this done because I will be one of your first downloaders!

RedSun

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: Phantasy Star Generation 2 tryout.
« Reply #6 on: January 01, 2011, 03:52:50 pm »
Can't understand this pointers pattern:
[pointer]  - [text offset]
17c8 - 4fd2
17b8 - 4fc2
16b8 - 4ec2
17ba - 4fc4
2cf4 - 135d ??
1f5c - 4e13
2c8d - 6497
« Last Edit: January 01, 2011, 05:37:00 pm by RedSun »

DarknessSavior

  • Hero Member
  • *****
  • Posts: 5031
  • Darkness.
    • View Profile
    • DS: No, not the Nintendo one.
Re: Phantasy Star Generation 2 tryout.
« Reply #7 on: January 01, 2011, 07:55:08 pm »
Can't understand this pointers pattern:
[pointer]  - [text offset]
17c8 - 4fd2
17b8 - 4fc2
16b8 - 4ec2
17ba - 4fc4
2cf4 - 135d ??
1f5c - 4e13
2c8d - 6497
I'm not sure why, but they all seem to be offset by a value of 380A, except for the one with ??.

~DS
Red Comet: :'( Poor DS. Nobody loves him like RC does. :'(
Sliver-X: LET ME INFRINGE UPON IT WITH MY MOUTH
DSRH - Currently working on: Demon's Blazon, Romancing SaGa, FFIV EasyType.
http://www.youtube.com/user/DarknessSavior

RedSun

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: Phantasy Star Generation 2 tryout.
« Reply #8 on: January 02, 2011, 01:17:49 pm »
event.dat structure:

[file header][decompressed size][compressed size]
[data...................][compression flags]
---some free space---
[file2 header][decompressed size][compressed size]
[data...................][compression flags]
..............
Game decompresses these files, and puts pointers and text in memory after 01900000.
Pointers point to the (01900000 + pointer) offset. (example:17c8 to 019017c8)
So the easiest way is to enlarge(translate) 1st archive, replacing 2nd,
then in some point of the game restore 1st and enlarge 2nd, relpacing 3rd. and so on.
That way we'll need patches for the each part of the game...
Any ideas?

Special T

  • Hero Member
  • *****
  • Posts: 570
    • View Profile
Re: Phantasy Star Generation 2 tryout.
« Reply #9 on: January 06, 2011, 08:15:04 am »
I just noticed this topic and I'm glad to see this game get translated. I already imported the game a couple years ago so I'm good to go once it's done  ;D

Thanks for starting the project and good luck!  :beer:

Piotyr

  • Hero Member
  • *****
  • Posts: 1485
  • I'm useful, honest!
    • View Profile
Re: Phantasy Star Generation 2 tryout.
« Reply #10 on: January 07, 2011, 01:24:08 am »
As have I! I need to import the first one with the book too.

RedSun

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: Phantasy Star Generation 2 tryout.
« Reply #11 on: January 07, 2011, 10:40:34 am »
Can someone recommend me a good documentation about ps2/psx asm ?
Something like this http://www.slowbeef.com/romhack/pnhack2.html

Here is the script files before graphics starts: http://rotime.ru/other/psg2_script_1.zip
« Last Edit: January 07, 2011, 12:48:53 pm by RedSun »

Guadozoku

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
Re: Phantasy Star Generation 2 tryout.
« Reply #12 on: January 08, 2011, 11:23:38 pm »
I'm getting to work on it, but it is incomplete. I looked through the files, and at least one scene (Esper Mansion) is absent.

RedSun

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: Phantasy Star Generation 2 tryout.
« Reply #13 on: April 10, 2011, 08:38:51 am »
Hi Guadozoku, is there any progress in translation ?
I didn't have time to work on script reinsertion, but still have some ideas to try.
And here is the missing files:
psg2_script_2

Hiei-

  • Sr. Member
  • ****
  • Posts: 373
    • View Profile
Re: Phantasy Star Generation 2 tryout.
« Reply #14 on: November 27, 2011, 06:48:18 pm »
Is this project still active?

CUE

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
    • Nasío pa'jakear
Re: Phantasy Star Generation 2 tryout.
« Reply #15 on: January 23, 2012, 02:46:25 pm »
I had not seen this post. I have some tools for Phantasy Star Generation 1 & 2 PS2, some unfinished.

Quote from: RedSun
1)Is there any way to expand/reconstruct iso to insert uncompressed(~1.5 bigger than original compressed) text ?
Why? You can replace the original compressed files with the new compressed files.

Quote from: RedSun
2)Is there any way to make the game read half-width letters ? (shows "-" instead)
Yes. All you need is modify the original font file to add the missing characters ('J', 'Q', 'Y', 'j', 'q', 'w', 'x', 'z').



Paul Jensen

  • Sr. Member
  • ****
  • Posts: 424
    • View Profile
Re: Phantasy Star Generation 2 tryout.
« Reply #16 on: October 07, 2012, 09:52:27 am »
Sorry to necrobump.

Is anybody here (still) working on tools for these games?

A poster named Kyence over at PSCave recently finished a translation of PSG1, and another poster named Tryphon has been working on dumping and insertion tools. Anybody who's interested can check out the discussions [urlhttp://www.pscave.com/forums/viewtopic.php?f=14&t=3032]here[/url] and here.

Also, I'd be interested in any info people have about the following:
- The way pointers are stored in the script
- How to extract and view the font

Edit: I just noticed that Tryphon has recently joined Romhacking.net.
Sign THIS!

tryphon

  • Hero Member
  • *****
  • Posts: 722
    • View Profile
Re: Phantasy Star Generation 2 tryout.
« Reply #17 on: October 07, 2012, 10:08:37 am »
I've answered you about the pointer detection at pscave (you may have missed the post since someone asked you a question about Rent a Hero meanwhile), I can be more precise if you want.

For the font extraction and view (and editing), you can find info on Kyence thread about PSG1(here). They are in MAPDATA.DAT file (at position 1e000 IIRC).

I started a tool to easily change it, but I'd like to figure out how to change text encoding before finishing it.

Hiei-

  • Sr. Member
  • ****
  • Posts: 373
    • View Profile
Re: Phantasy Star Generation 2 tryout.
« Reply #18 on: October 13, 2012, 04:27:32 pm »
Pscave.com seems down, too much visits because of the resurrection of this thread ?  ;D
« Last Edit: October 13, 2012, 04:57:53 pm by Hiei- »

tryphon

  • Hero Member
  • *****
  • Posts: 722
    • View Profile
Re: Phantasy Star Generation 2 tryout.
« Reply #19 on: October 13, 2012, 05:37:00 pm »
Probably :)

It worked yesterday.