Author Topic: [PC] Text editor - touphScript (v1.4.0)  (Read 240217 times)

luksy

  • *
  • Posts: 375
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #225 on: 2015-12-16 02:59:20 »
Yeah I really need to update this, bit busy right now but I'm on vacation starting Saturday so hopefully I can work on it a little then.

kenichi

  • *
  • Posts: 157
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #226 on: 2015-12-16 09:02:35 »
Q1: What's your installation directory? (For example, give full path to one of the LGP files?)
Q2: Are you running as Administratir? (not sure if this is required, but can't hurt)
Q3: Did you modify the touphscript.ini file? If so, can you post  the whole thing?

a-1) FF7 Folder; D/Games/Steam/Steamapps/Common/Final Fantasy 7
I transferred lgp files to desktop (C/Users/D/Desktop/FF7 Editing)
a-2)Yes
a-3)Yes and change steam language to english

luksy

  • *
  • Posts: 375
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #227 on: 2015-12-16 12:16:56 »
Post your ini file just in case.

kenichi

  • *
  • Posts: 157
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #228 on: 2015-12-16 12:41:54 »
ini files;

# Strip unused text
text_strip = 1

# Strip unused scripts
script_strip = 1

# Insert missing windows.
# Reuses previous window id values if available,
# otherwise defaults are x = 80, y = 80, w = 150, h = 57
window_patch = 1

# Various script patches, will only work on original English field scripts to avoid conficts

# In case question lines need to be modified in main script 3
ealin_2 = 1
# Enable extra Barret cutscene later on in gonjun1
chrin_2 = 1
# Enables original clock minigame difficulty
kuro_4 = 1
# Activate village elder extra dialogue immediately after other two
# (instead of having to ask 10 times)
goson = 1
# Enable old guy's 3 random dialogues (only 2 shown normally).
elmin4_2 = 1
# Enable Aerith's dialogue when attempting to pass
# before Kalm (uses Tifa's without)
psdun_2 = 1
# Change Tifa & Aerith's lovepoints check to > 40 (was > 120)
gongaga = 1
# Fix Barret infinite lovepoints bug
# (gives +6 points if you hear him out to the end, otherwise none)
cosin1_1 = 1
# Fix Tifa infinite lovepoints bug
blin67_2 = 1
# Modify battle game odds, shorten game to 5 rounds
# & fix battle end after 4th opponent.
games_2 = 1
# Enable extra cutscene (text needs to be copied over from PSX version)
mtcrl_9 = 0
# Insert extra Barret dialogue if not in party when receiving PHS
elminn_1 = 1
# Change when TV dialogues appear
min51_1 = 1
# Fixes movie end chopping
lastmap = 1
# Patches question var in case mods change it
frcyo = 1
# Fixes menu access bug after talking with Yuffie
fship_4 = 1


# Dump window parameters with text
# (where available)
dump_x = 0
dump_y = 0
dump_w = 0
dump_h = 0
dump_l = 0
dump_t = 0
dump_question = 0

# Force character name widths to width of value
# (not recommended for redistribution)
# cloud = Cloud
# barret = Barret
# tifa = Tifa
# aerith = Aerith
# redxiii = Red XIII
# yuffie = Yuffie
# caitsith = Cait Sith
# vincent = Vincent
# cid = Cid

# Override paths
# text = "C:\Users\D\Desktop\FF7 Editing\text\"
# flevel = "C:\Users\D\Desktop\FF7 Editing\flevel.lgp"
# world = "C:\Users\D\Desktop\FF7 Editing\world_us.lgp"
# scene = "C:\Users\D\Desktop\FF7 Editing\scene.bin"
# kernel = "C:\Users\D\Desktop\FF7 Editing\kernel.bin"
# kernel2 = "C:\Users\D\Desktop\FF7 Editing\kernel2.bin"
# window = "C:\Users\D\Desktop\FF7 Editing\window.bin"
# exe = "C:\Users\D\Desktop\FF7 Editing\ff7.exe"

touphScript location;
C:\Users\D\Desktop\FF7 Editing\touphScript

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #229 on: 2015-12-16 14:09:17 »
# text = "C:\Users\D\Desktop\FF7 Editing\text\"

< the hash (#) at the start means it will not be used.  You need to remove hash if you want these paths to be used.
Quote
text = "C:\Users\D\Desktop\FF7 Editing\text\"
flevel = "C:\Users\D\Desktop\FF7 Editing\flevel.lgp"
world = "C:\Users\D\Desktop\FF7 Editing\world_us.lgp"
scene = "C:\Users\D\Desktop\FF7 Editing\scene.bin"
kernel = "C:\Users\D\Desktop\FF7 Editing\kernel.bin"
kernel2 = "C:\Users\D\Desktop\FF7 Editing\kernel2.bin"
window = "C:\Users\D\Desktop\FF7 Editing\window.bin"
exe = "C:\Users\D\Desktop\FF7 Editing\ff7.exe"

kenichi

  • *
  • Posts: 157
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #230 on: 2015-12-16 14:41:49 »
# text = ".\text\"

and it gave me
Unknown ini key: dump_l
Unknown ini key: dump_t

change system language maybe help? Because, My system language not english
« Last Edit: 2015-12-16 14:46:26 by irienaoki »

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #231 on: 2015-12-16 14:46:55 »
I don't think those 2 options are used anymore.  You can delete them from ini.

The ini you have there is old.  You;re better off using this one >

Code: [Select]
# Strip unused text
text_strip = 1

# Strip unused scripts
script_strip = 1

# Insert missing windows.
# Reuses previous window id values if available,
# otherwise defaults are x = 80, y = 80, w = 150, h = 57
window_patch = 1

# Various script patches, will only work on original English field scripts to avoid conficts

# Dump window parameters with text
# (where available)
dump_x = 0
dump_y = 0
dump_w = 0
dump_h = 0
dump_sp = 0
dump_question = 0

# Force character name widths to width of value
# (not recommended for redistribution)
# cloud = Cloud
# barret = Barret
# tifa = Tifa
# aerith = Aerith
# redxiii = Red XIII
# yuffie = Yuffie
# caitsith = Cait Sith
# vincent = Vincent
# cid = Cid

# Override paths
text = "C:\Users\D\Desktop\FF7 Editing\text"
flevel = "C:\Users\D\Desktop\FF7 Editing\flevel.lgp"
world = "C:\Users\D\Desktop\FF7 Editing\world_us.lgp"
scene = "C:\Users\D\Desktop\FF7 Editing\scene.bin"
kernel = "C:\Users\D\Desktop\FF7 Editing\kernel.bin"
kernel2 = "C:\Users\D\Desktop\FF7 Editing\kernel2.bin"
window = "C:\Users\D\Desktop\FF7 Editing\window.bin"
exe = "C:\Users\D\Desktop\FF7 Editing\ff7.exe"

If you want to preserve the window scrolling on certain dialogue boxes, also enable dump_h = 1  when decoding.

kenichi

  • *
  • Posts: 157
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #232 on: 2015-12-16 18:47:53 »
thanks i tried but nothing happens the program close and log file is empty. should i change system language?

edit: i tried that too, anybody shows images or video this programs using?
« Last Edit: 2015-12-16 23:25:28 by irienaoki »

kenichi

  • *
  • Posts: 157
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #233 on: 2015-12-17 08:08:52 »
i found errors but i cant solved;
it says file read/write error, check permissions and read only flag.

« Last Edit: 2015-12-17 10:18:12 by irienaoki »

picklejar

  • *
  • Posts: 147
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #234 on: 2015-12-18 00:49:24 »
I got that error message before. It was not a problem with file permissions, it was a problem where it was not reading from the file that I thought. There might be a bug if you try to specify a custom location or use a copy of the installed files. The only way I could get it to work was to NOT specify a custom location. It will read the registry settings and find the files in the place where you installed the game.

kenichi

  • *
  • Posts: 157
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #235 on: 2015-12-18 08:08:35 »
i installed D drive. how to edit registry files? I think, regedit, but how? 
edit: i found and gave full read but nothing changes also i reinstalled games.

if you have touphscript and installed ffvıı please show me a short video or with images.
« Last Edit: 2015-12-18 09:23:52 by irienaoki »

kenichi

  • *
  • Posts: 157
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #236 on: 2015-12-19 16:18:32 »
i deleted ff7 register i start new game but no registry keys in regedit.

touphscrith gave me this error now; FFVII app path not found in registry, using local directory

kenichi

  • *
  • Posts: 157
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #237 on: 2015-12-30 13:13:40 »
sorry but my touphscript problem still going ı tried many times i reinstalled games for 5-6 times (without mods) i changed pc language (turned english) i changed steam language to english. i edited permissions (have full control inclueded regedit, ff7 steam folder) but touphscript always give me permissions error. please help. Where is my mistake?
« Last Edit: 2015-12-31 11:53:39 by irienaoki »

kenichi

  • *
  • Posts: 157
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #238 on: 2015-12-31 12:48:27 »
please anyone look at this thread? and one more thing in first page syas 1.3.0 but no 1.3.0 is 1.2.9

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #239 on: 2016-01-04 00:24:00 »
Please wait for next tS version, since current will not work with R04.

kenichi

  • *
  • Posts: 157
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #240 on: 2016-01-04 09:16:04 »
thanks for making these tools. sorry for floods. by the way what is r04?

ProtoX

  • Guest
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #241 on: 2016-01-09 22:47:46 »
Please wait for next tS version, since current will not work with R04.
so what is the % until the next release

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #242 on: 2016-01-09 23:53:14 »
so what is the % until the next release

Not my program.  But Luksy has the latest version and is working on it :)

kenichi

  • *
  • Posts: 157
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #243 on: 2016-01-10 10:37:57 »
then we wait for lusky's answer.

BaconCatBug

  • *
  • Posts: 37
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #244 on: 2016-01-13 13:58:34 »
Is there a way to decode only a single file at a time?

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #245 on: 2016-01-14 16:17:41 »
Nope.  That was something that's been requested :) 

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.1)
« Reply #246 on: 2016-04-05 20:23:35 »
Until Luksy releases his latest version - this one will have to suffice. It works with Reunion R04 and the English Steam version [I can't remember whether you have to override the paths in the ini or not].  It has the following issues (or things missing that could make it better):

http://forums.qhimm.com/index.php?topic=11944.msg215796#msg215796

Download HERE
« Last Edit: 2016-04-05 20:26:27 by DLPB »

kenichi

  • *
  • Posts: 157
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #247 on: 2016-04-25 12:41:53 »
hey thanks finally working.

ff7.exe.txt kernel0-1.txt is empty is it normal?
« Last Edit: 2016-04-25 14:07:32 by irienaoki »

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #248 on: 2016-04-25 14:31:11 »
hey thanks finally working.

ff7.exe.txt kernel0-1.txt is empty is it normal?

01_kernel.txt will have 3 entries only. Assuming you used correct path to it.

kenichi

  • *
  • Posts: 157
    • View Profile
Re: [FF7] Text editor - touphScript (v1.3.0)
« Reply #249 on: 2016-04-25 23:11:55 »
log file says;

Registry values found:SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{141B8BA9-BFFD-4635-AF64-078E31010EC3}_is1
Registry values found:SOFTWARE\Square Soft, Inc.\Final Fantasy VII
Error creating spacing table
Couldn't dump scene: converting to scene failed, basic_ios::clear: iostream error
Couldn't dump kernel: basic_ios::clear: iostream error
Couldn't dump kernel2: basic_ios::clear: iostream error
Couldn't dump exe: basic_ios::clear: iostream error