Author Topic: A new question for Cosmo editor by Ficedula  (Read 4346 times)

Richgirl80billion

  • *
  • Posts: 11
    • View Profile
A new question for Cosmo editor by Ficedula
« on: 2009-02-08 00:49:13 »
I just downloaded Cosmo editor to edit the text in Final Fantasy 7... My question is this...is there a way for me to add new text into the game? For example... During the scene when we first see Tifa and she reminds him of the promise her made to her, I want to add a brand new text box with different words. Not just changing what was already said....

As far as text box size goes... I was going to save the flevel and then open that file up in Loveless and fix the boxes there... Is this possible to add new text box?

Kudistos Megistos

  • Banned
  • *
  • Posts: 3929
    • View Profile
Re: A new question for Cosmo editor by Ficedula
« Reply #1 on: 2009-02-08 00:55:31 »
You can make new boxes by doing this with Loveless:

Original text
{NEW PAGE}
New text

You can also use meteor to add new messages, but {NEW PAGE} with Loveless works well, especially if the text you want to add is said by the character who said the last box.

Richgirl80billion

  • *
  • Posts: 11
    • View Profile
Re: A new question for Cosmo editor by Ficedula
« Reply #2 on: 2009-02-08 04:32:51 »
I was doing that at first but I have different characters saying different things and it looks weird ( at least to me) when two boxes are in the same place more than 3 times. I them to be seperated to that with loveless I can use the text box editor part to move the boxes and resize the boxes differently....

......I trying to use meteor so i had to extract the flevel using Fice's Lgptools, but how am I suppose to recompress all the files so I can use it in the game again? I think I'm suppose to use FiceLzs but I have no clue how to use it
« Last Edit: 2009-02-08 05:34:51 by Richgirl80billion »

Kudistos Megistos

  • Banned
  • *
  • Posts: 3929
    • View Profile
Re: A new question for Cosmo editor by Ficedula
« Reply #3 on: 2009-02-08 11:37:29 »
It's a command line tool. You have to open the command line (for Vista, open the start menu, type "cmd" in the search box and right lick "run as admin"). To compress files that have to be put back into flevel.lgp, you need to use this command:

(file path of lzs.exe)lzs.exe -c5 (file path of file you want to compress)\(file name)

So, let's say you put lzs.exe in c:\ and the file you want to recompress in c:\flevelfiles and that the file is ancnt1.

You'd have to write:

c:\lzs.exe -c5 c:\flevelfiles\ancnt1

(protip: only compress the files you've changed and then put those ones back in, it takes a long time to compress everything)

After that the files have to be put back in flevel.lgp. There are several tools that can do this, but I use one called emerald. With this, you have to open the lgp, go to "replace file", click the file you want to replace, and the the one with which you want to replace it.

Tsetra

  • *
  • Posts: 329
    • View Profile
Re: A new question for Cosmo editor by Ficedula
« Reply #4 on: 2009-02-08 21:43:50 »
There's an easier way in the 21st century!  :-) When you are done editing your field file in Meteor, just drag and drop the file onto LZS.exe and it will automatically compress it (in XP anyways). Then reinsert the file and save the lgp.

And it's all preference, but Highwind replaces field files as well. I have no idea if it's better or worse than Emerald. It's what I started using, so it's what I stick with.

To make new dialog in Meteor, you pretty much only need to know a couple opcodes, and if you want entirely new boxes with new dialog, you'll need to click on the dialog tab and add it.
Anyways, the script you add should look sort of like this:

WINDOW (0,50,50,20,20)
MESSAGE (0,2E) <--- 2E is the dialog ID you want.

Just open up a script and look through it until you see a MESSAGE opcode with the dialog ID that comes right before you want to add your new dialog.
To get the exact WINDOW coordinates, you can just copy the opcodes that call dialog by the character you want. That way it makes the same window as the rest of their dialog. Then just point the next MESSAGE opcode to your dialog. Also, don't forget that Meteor's code is [New Box] instead of {New Page}.
« Last Edit: 2009-02-08 21:52:29 by Tsetra »

Kudistos Megistos

  • Banned
  • *
  • Posts: 3929
    • View Profile
Re: A new question for Cosmo editor by Ficedula
« Reply #5 on: 2009-02-08 21:56:02 »
Hmph, didn't know that :|. That'll save me some time. And it works on Vista as well

Richgirl80billion

  • *
  • Posts: 11
    • View Profile
Re: A new question for Cosmo editor by Ficedula
« Reply #6 on: 2009-02-08 22:27:20 »
Thanks alot Tsetra and Leighos... Both of you combined helped me out...

I use the lgp.tools to extracted the files and then opened them in meteor... Tsetra helped me put a new message box... Then I saved it and used the lzs (I just drag and droped and it work...thanks!) then I used emerald to put it back into the flevel file....

Then I used loveless to make sure that the text box size was good and position in the right spot!...

Thanks alot everyone!

Tsetra

  • *
  • Posts: 329
    • View Profile
Re: A new question for Cosmo editor by Ficedula
« Reply #7 on: 2009-02-08 22:38:11 »
No problem, I like seeing more people getting to know Meteor. My knowledge is your knowledge.