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

  • Thread starter Thread starter luksy
  • Start date Start date
Status
Not open for further replies.
Message sent. I switched the .exe file path and still got the same error.
 
[edit. This wasn't the issue.]

Please make sure that ALL paths in your ini are correct and point to the actual files. 

scene = "D:\Games\steamapps\common\Final Fantasy VII\data\lang-en\battle\scene.bin"
kernel = "D:\Games\steamapps\common\Final Fantasy VII\data\lang-en\kernel\kernel.bin"
kernel2 = "D:\Games\steamapps\common\Final Fantasy VII\data\lang-en\kernel\kernel2.bin"
window = "D:\Games\steamapps\common\Final Fantasy VII\data\lang-en\kernel\window.bin"
 
Last edited:
Then that's a problem. Steam does not use those locations that I know of out of the box. It definitely uses lang-en.  I have never seen it use the 1998 path.  This is a bought and paid for Steam original, yes?

Also those modify dates are not correct, so perhaps ts has already written to them once already somehow?
 
that is from after I ran the conversion patch. But I have tried from a fresh steam install using the lang-en file path and ff7_en.exe still with no sucess.
 
After conversion you can still play it by launching it through steam, it just doesnt load mods through the en.exe But ive tried using every exe in my folder to dump from, encode too, and launch with, even moved my game folder from D drive to my C drive and still got the error.
 
I'll test your exe and flevel when I get time, but something tells me the error isn't going to be there.  We'll see :)
 
I checked your files.  It works fine here.  The spacing error will occur if ff7_en.exe is not being read.  And  iostream error if any file isn't being read.

I suggest moving all the files you want to decode or edit temporarily to c:\test and then change the ini so all paths are the same and point to the files in that folder.  Place all needed files there. After that, you can move them back. 

All I can think of at this stage is that some sort of permission issue is occurring with the paths you already have. You are running as admin, so I can't see it being a general permission issue.
 
Last edited:
exe = "c:\test\ff7_en.exe"


Looks like ts doesn't like the " "

Remove them for all paths and try that first. I didn't think it cared about those.  If it still doesn't work after that, it will be the spaces in the paths causing the issue (I don't think this will happen), in which case, you will be forced to move to c:\test
 
Last edited:
NP. I have no idea why those being there is a problem.  I definitely remember it working with them unless I've dreamed it up. :P
 
Well from reading the TS release thread they used too as every instance of someone posting their file pathing had the " ".. and almost every program i can think of that you ahve to type in file paths uses the " "
 
Perhaps it was changed at a later date. The " " is better off removed anyway.
 
I came across this and it's amazing! Although I have a small (Not so small) issue.

When I go to encode the files again, the log says "Couldn't encode exe: 6: Unknown sequence "
Not too sure what it really means, it's the only issue I've had so far.

Any help would be greatly appreciated!​
 
It means probably that line 6 of the corresponding text file 0_ff7.exe  has a bad character there that cannot be encoded.
 
I'm having some issues getting touphScript to successfully dump the files.

Here's my .ini file:

# 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

# Dump window parameters with text
# (where available)
dump_x = 0
dump_y = 0
dump_w = 0
dump_h = 1
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 = .\text\
flevel = "C:\Users\Cathy\Desktop\Gene's Personal File\Hacking\Final Fantasy VII Text Editing\flevel.lgp"
world = "C:\Users\Cathy\Desktop\Gene's Personal File\Hacking\Final Fantasy VII Text Editing\world_us.lgp"
scene = "C:\Users\Cathy\Desktop\Gene's Personal File\Hacking\Final Fantasy VII Text Editing\scene.bin"
kernel = "C:\Users\Cathy\Desktop\Gene's Personal File\Hacking\Final Fantasy VII Text Editing\kernel.bin"
kernel2 = "C:\Users\Cathy\Desktop\Gene's Personal File\Hacking\Final Fantasy VII Text Editing\kernel2.bin"
window = "C:\Users\Cathy\Desktop\Gene's Personal File\Hacking\Final Fantasy VII Text Editing\window.bin"
exe = "C:\Users\Cathy\Desktop\Gene's Personal File\Hacking\Final Fantasy VII Text Editing\ff7.exe"


And here's the .log file:

Registry values found:SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 39140
No FFVII installation found
Error creating spacing table
Cannot read / error reading flevel
Couldn't dump world_us: basic_ios::clear: iostream error
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


Nothing in the .ini file looks out of place to me, so I'm not sure what's causing the problem, other than perhaps something to do with "No FFVII installation found" in the .log file.

But then, I'm also not an expert on this program or on hacking/modding in general, much less for Final Fantasy VII specifically.

I am working with the 2012 Steam release. If it matters, I installed and then uninstalled version R05c of some of the Reunion patches—Beacause+Menu Enhancement and minigame fixes, I believe—before attempting this.

Does anybody have any idea what the issue might be, and how it could be fixed?

Thank you very much in advance for your time!
 
Last edited:
Remove the " " around the paths.

Also, your game should not be installed to the desktop, Cathy.  Not a good idea.
 
Oh.

Well, thank you! I feel a bit silly now.

Also, I'm not actually Cathy; this computer used to be my mother's, and that's something haven't really gotten around to changing yet.
Don't worry, the game isn't installed there! Those files are copies for editing, to mitigate the risk of messing anything up if something somehow goes wrong.

Thanks again!
 
Last edited:
Status
Not open for further replies.
Back
Top