Hello luksy
I have a few minor problems with touphScript.
The prehistory.
I have the German version of FF7 and am already registered here for a while.
I wanted to check what mods can use it for my FF7 and how to best integrate.
Some smoothly, with some others you have to cheat a little, but then it goes.
DLPB's
Game Converter sounded like a project that could be useful.
Since I can deal with some hex editor, I thought, rib the text from the German exe and paste it into the prefabricated of DLPB table.
As easy as I thought it was not that.
Some of the lines I had never seen before in the game, the table, where you can name the character is longer, the German keyboard layout is a bit different, ...
I then integrated the English EXE in my game, renamed a few files, and tested whether the game runs.
It seems to run.
Then I have figured out how to expand the table for naming by one column, so that German special characters can be used.
After a few attempts, I then made a translation whereupon DLPB asked me if you can use them now with touphScript.
Then I got me first your touphScript
German, French & Italian exes will not work with touphScript.
I read this and understand why. If you want to change that, perhaps I can help.
But now I had the English EXE.
The dump of the texts worked (in a few 0_scene.bin.txt appeared "encount error"), but I was shocked at the number of text files.
Then I first set all parameters in the INI to 0.
That didn't helped; touphScript still has extracted all text.
My first question: Could you fit a way with which you can edit only certain files?
In the INI could be something like the following to be present
convert_flevel.lgp = yes
convert_world_us.lgp = yes
convert_scene.bin = no
.
.
.
I then replaced the English 0_ff7.exe.txt with my 0_ff7.exe.txt.
D:\_Entpacktes\touphScript>touphScript e
Encoding flevel.lgp
729Fatal error: Couldn't copy file C:\Users\[Username]\AppData\Local\Temp\ts4E86.tmp to C:\Spiele\Final Fantasy VII\data\field\flevel.lgp
After some experimenting I found out then that the write protection flag was set.
In the German version, almost all files are installed with write protection, do not ask me why.
Remove write-protection solves the problem
Couldn't encode exe: Unexpected continuation byte: 2
touphScript seems not like the German special characters, although in the other texts were all right there.
Without these characters, the game is not really correct. Can you possibly allow these special characters? EDIT: Convert it into UTF8 format seems to fix that, sorry my fault 0_ff7.exe.txt line n.89 4294967292 char(s) too long
I then checked with Notepad + +, line 89 contained only
2 letters.
I then removed one letter, the same error.
Then I removed in line 90 characters, now it worked (at least at this point).
Obviously starts touphScript count the lines from 0 instead from 10_ff7.exe.txt line n.154 4294967292 char(s) too long
I wanted there to insert
Num. +, but it had to
N. + Cut before touphScript was satisfied (4 characters).
If I want to change the keyboard layout and some advices on this button,
N. + Num. 1 is displayed.
At this point the EXE, the keys are all completed with an additional 0x00, otherwise the text is displayed to the Nearest 0.
In the example above, so are only
3 letters allowed, it must be followed by the 00th
Although touphScript obviously had integrated all text came at the end the following message:
Couldn't encode exe: Unexpected continuation byte: 9
Unfortunately, I do not understand this message. But I'll try next.EDIT: Convert it into UTF8 format seems to fix that, sorry my fault I hope I could help a bit, and await your answer.
Greetings Kompass63