[PC] Text editor - touphScript (v1.4.0)

  • Thread starter Thread starter luksy
  • Start date Start date
Status
Not open for further replies.
L

luksy

Guest
ts.png


touphScript allows you to edit FFVII text using simple text files, hopefully this allows for faster editing and should be great for versioning / distribution if you like that kind of thing (and who doesn't).

Assuming nothing is missing it now supports every single line of text in the game:


  • ff7.exe (Various menu text and Characters' Lv4 Limit dialogue)
  • data\field\flevel.lgp (Field and tutorial dialogue)
  • data\kernel\KERNEL.BIN (Sephiroth, Ex-SOLDIER text and scene lookup table)
  • data\kernel\kernel2.bin (Most of game items and their descriptions)
  • data\battle\scene.bin (Battle dialogue, enemy names, enemy attack names)
  • data\wm\world_us.lgp (World map dialogue)

Features:

  • Dumps and reencodes FFVII text using simple UTF-8 text files.
  • All text in the game is fully supported (see files supported).
  • Automatically resizes field and world map windows to fit text.
  • Optionally inserts missing windows in field script.
  • Unused text & scripts optionally removed.
  • Options for controlling resizing, such as character name width.
  • Window values, numeric displays and question paramters can be specified manually if necessary.
  • Tutorial script can be edited.
  • Entries can be ignored in order to selectively overwrite different parts of the text.
  • Supports DLPB's Menu Overhaul.
  • Patches field scripts for bugfixes + other functionality.

Field and world windows are autosized as follows:

Window width is determined by the longest line (character names have a fixed width so some boxes are overpadded, name width can be forced with ini), window height is determined by the largest line count in between individual {NEW} tags, i.e.:
   
   {BARRETT}
   “Good luck {CLOUD}!
      If you make it, we'll follow you!”{NEW}
   “Whoa, I'll hold the PHS for you.
      It'll break if it gets wet.”
   
has 3 lines until the {NEW} tag, and then another 2, so the box height will be 3 lines.

Complete instructions in the readme!

For those of you who don't RTFM here's a quickstart:

extract files
BACKUP flevel.lgp, world_us.lgp, scene.bin, kernel.bin, kernel2.bin and ff7.exe
double click exe and press d [enter] to dump
edit text files
double click exe and press e [enter] to encode

1.4.0
...Fixes and new features, can't even remember what now as development was incredibly fragmented, hopefully DLPB has a better memory

Known Issues:

  • 3 field names are set to dialogue, actually this is a FFVII bug and really doesn't matter, it's in the readme anyway

touphScript v1.4.0
 
Last edited:
Looks like I messed up on the comma spacing, will be fixed in the next version!
 
This is seriously impressive now :)  Will be even more impressive when autosize boxes is sorted out.

So far the new version I just tested is 1 exe that does all the work for you, and can remove all dupes too shrinking flevel by a meg or 2.  Editing with notepad and it reflecting only the files you have changed is great.

So simple.  I will use loveless only for tweaking now.
 
Bump for v0.3, now includes autosize!

Next version should have tutorial repacking, and anything else I can think of.
 
Last edited:
This is excellent. The perfect complement to Makou Reactor, since it doesn't edit dialog. Thank you ! ^^
 
v0.4 is out, full charmap support (for translating into other languages).

v0.5 will have a fix for the offending autosized windows, a config file, and maybe a couple of other things.
 
v0.5 is out!

Extra fixes included, check ini file; world text and tutorials are editable now. Also includes a simple notepad++ syntax highlighter.

Next version will fix orphaned dialogues (I promise!).
 
Last edited:
This is awesome! I have been waiting for something like this for a long time.
 
First off, excellent tool.  Thank you for your time.

However, when I go to encode the text, it crashed as 9/705:  "FFVII text editor has stopped working."
(I noticed the dump is 702 files, while the encode is 705.)  I haven't renamed or deleted any of the text files.  I also haven't deleted any entries.
Is this simply due to a change in the number of letters in a given entry?

I'm using Windows 7 32 bit, if it matters.
 
Last edited:
Try downloading it again, I've been fixing bugs since I released 0.5 (I know I should update version no. but I'm lazy  ;D ).

Make sure you're using a clean untouched flevel.lgp + world_us.lgp, copy them from the disc / iso into the field and wm folders, and redump the text.

If it still crashes pack the text files into an archive and post them here and I'll have a look.
 
Sorry for the delay, I've been out all day.  I re-downloaded touphScript and re-copied the files from the CDs, and everything worked perfectly.

This is awesome.  I can finally edit the things that have been bothering me ("It moved!" when you fall into the church) and give Barrett and Cid actual curse words instead of the $%#@!.

Thank you very much for your time and effort on this.
 
Ah ok, maybe the flevel had been modified by something else beforehand. If you come across anything else please post it, the more the merrier ;)
 
Just a note, the tutorials will not encode correctly if you alter them.  I will contact Luksy later and explain why and get it fixed :P

edit.  Now fixed.
 
Last edited:
v0.6 released, nothing major on the surface, underneath it's all new-ish. Script patch next (last time I say this! ;D).
 
v0.7 - window parameters can be specified in the text with the {X x}{Y y}{W w}{H h} tags.
 
The texts are view-able in an hex-editor. If you need help to edit this, you can ask me. You'd have to wait for another program.

And your English is not bad at all. Where you from?
 
Status
Not open for further replies.
Back
Top