Some PSX questions (VII)

  • Thread starter Thread starter psychospacefish
  • Start date Start date
Status
Not open for further replies.
P

psychospacefish

Guest
Hi all. I'm in the process of fixing up a few of the mistranslations for the PSX version of Final Fantasy VII (Off Course! and No, Way! springs to mind). The thing is, that in a lot of places the text is now longer. I can fix up the pointers, however when the game is playing the text puts itself on a new line, making some words split between lines. This is rather annoying. I need to know a few things.

1.) How does the script work when it is displaying windows (length and width)

2.) How can you calculate how big the new window will be to fit the text correctly?

3.) Since the new DAT files will be bigger, I need to rebuild the CD. Does the game have any LBA table, which if not corrected will cause the game to crash?

Thanks for any responses :D
 
The thing is, that in a lot of places the text is now longer.
 OMG u'r such a n00b. go sit in the corner and be ashamed of yourself. :evil:  :x
 
Hi all. I'm in the process of fixing up a few of the mistranslations for the PSX version of Final Fantasy VII (Off Course! and No, Way! springs to mind). The thing is, that in a lot of places the text is now longer. I can fix up the pointers, however when the game is playing the text puts itself on a new line, making some words split between lines. This is rather annoying. I need to know a few things.

1.) How does the script work when it is displaying windows (length and width)
2.) How can you calculate how big the new window will be to fit the text correctly?
Code: [Select]
Code:
 Opcode Listings, Arguments & DescriptionsOpcode  Name0x00  RETArguments  Definition(none)  (none)DescriptionReturns control back to the standard program loop.Usually you can control the PC again after this point.Opcode  Name0x01  REQArguments  Definition(none)  (none)DescriptionReturns control back to the standard program loop.Usually you can control the PC again after this point.Opcode  Name0x30  WINDOWArguments  Definitionid = byte  Window IDx = long  X coordinate for the upper left hand cornery = long  Y coordinate for the upper left hand cornerh = long  Width of window in pixelsw = long  Height of window in pixelsDescriptionInitializes a windowpane. This does not display a window, but allows for a"container" for the commands ASK and MESSAGE to place text within. Itis referenced by it's window ID.Opcode  Name0x48  ASKArguments  Definitionunknown = byte  Unknownwin = byte  Window ID to place data intomes = byte  Which dialog to display from dialog table1st = byte  Which line is the first choicenth = byte  Which line is the last choicevar = byte  UnknownDescriptionThe ASK command opens a window with a set of choices to be pickedwith the "selector finger" (Yubi) [WHERE IS THIS RETURNED?]

3.) Since the new DAT files will be bigger, I need to rebuild the CD. Does the game have any LBA table, which if not corrected will cause the game to crash?

Thanks for any responses :D
Yes or something like it, you need to keep your changes within the 2K sector sizes used by the original game. I THINK I've found where the PSX version hides the LBA addresses in the executable.  However in order to confirm the data I am going to have to examine the structure of the FF7 ISO then search the executable for the M:S:F address information.

Cyb
 
Cyb,

I've been thinking about working on the fieldscript system as of late. Do you have an updated list of opcodes? or do we really only have those 10 or 12 commands figured out.

Also, the problem with the PSX version of FF7 is that some of the CD has funny sized sectors (XA data) I don't know how you could re-author them...
 
We have quite a few commands figured out (their syntax and semantics that is, not necessarily their implementation). I haven't had time to publish any results though, school is good at keeping me busy.
 
Tell me about it Qhimm, I'm graduating in April...

BA in Business. ^_^ Go me.
 
halkun: and there was much rejoicing. Hey you can do stuff.. etc.  Oh wait WORK and have time for other things I mean :)

Qhimm: dang... how about a little bit a week for the opcode info

I've updated some things in the information page recently, added a computer crash whine (LOL).  Sometimes this stuff seems to take forever.  I suppose I'll have to begin my field script decompilor thing.

Is there a determined script format yet? If not I suppose I can make that part of my decompilation work.

Cyb
 
Cyb,

I've been thinking about working on the fieldscript system as of late. Do you have an updated list of opcodes? or do we really only have those 10 or 12 commands figured out.

Also, the problem with the PSX version of FF7 is that some of the CD has funny sized sectors (XA data) I don't know how you could re-author them...
No I don't.
I'm sure Qhimm has lots more :D

Since the image would be ripped to full sectors (IE 2048 plus all the extra data associated with an audio sector), it's doable might be easier to create a new image from the original and move things about cleanly.  The big difference is tagging the sectors appropriately etc. It appears the executable contains the LBA references SO it means that would need updating as well if you oversized a file.

Cyb
 
Status
Not open for further replies.
Back
Top