Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - red_evilspirit

Pages: [1] 2
I write script like this, is it right ?
Code: [Select], NOESEEK_ABS)
animCount = bs.readShort()
framCount = bs.readShort()
boneCount = bs.readShort()
coordinatesOffset = bs.readBytes(6)
gido = []
for i in range(0,boneCount):
byte1 = bs.readByte()
byte2 = bs.readByte()
byte3 = bs.readByte()
byte4 = bs.readByte()
rotation1 = (byte1 << 0x02) | ((byte4 & 0x03) << 0x0A)
rotation2 = (byte2 << 0x02) | ((byte4 & 0x0C) << 0x08)
rotation3 = (byte3 << 0x02) | ((byte4 & 0x30) << 0x06)
xyz = {
"x": rotation1,
"y": rotation2,
"z": rotation3
when i dump 'xyz', all number is really big :(

Can you explain more about bone and animation data?

If you don't mind, can you share tool/source read data in mch fie?
I stuck at putting bone to right position and exporting animation.

there is any tool to read MCH file after export from main_chr.fs?
i need main character's animation :(

I can get battle animation but not main character animation.
Noesis can't read, where can i find main characters?

wow, thank you so much  :D.

Is there any way to export animation of character?
The wiki is down, i don't find any information about this issue.

FF7 Tools / Re: [FF7] Text editor - touphScript (v1.3.0)
« on: 2018-02-10 06:48:37 »
sorry about irrelevant question,
where can i find document or tutorial about 'how to writing script to unpack file' like touphScript?
I don't know what keyword to find on google.


i can't see any 3d model :(
and do you know how to get animation of model?

if you don't mind, Rinoa's Toolset use for what version (steam, pc, psx) of FF8?
Before use Rinoa's Toolset, should i unpack something?

FF7 Tools / Re: [FF7] Text editor - touphScript (v1.3.0)
« on: 2017-09-30 02:43:05 »
I lost font color when putting font image back to menu.lgp. What program should i use to keep all color?

FF7 Tools / Re: [FF7] Text editor - touphScript (v1.3.0)
« on: 2017-09-26 16:25:04 »
what is happened  :'(
A few day before, ff7 still can read

FF7 Tools / Re: [FF7] Text editor - touphScript (v1.3.0)
« on: 2017-09-26 15:50:38 »
it's my fault. if compiling ts on vs, it can't read utf8.
now i can replace character with ts, but i don't know why ff7 don't use font in window.bin anymore.
I redraw font in window.bin, Makou_Reactor can read it but ff7 still show original character.

FF7 Tools / Re: [FF7] Text editor - touphScript (v1.3.0)
« on: 2017-09-24 12:47:25 »
You haven't yet grasped that ffvii has its own text encoding, touphscript handles converting between utf8 and the ffvii format.
I know the thing you say.
But ts only call process a part of utf8, if you debug with vietnamese character you'll see that.
before ts convert character to vector, it must read character from text file. In source code, ts use string type to store character. It can not handle some character like ọ, ư, ơ.
I can modify readText function, using wstring to store vietnamese character, but can't convert back to byteVec in stdString2Tex function

FF7 Tools / Re: [FF7] Text editor - touphScript (v1.3.0)
« on: 2017-09-24 11:34:36 »
I'm guessing your issue is your trying to get it to read characters that aren't in the character table.
but in c++ language, string type only can store ascii.
I think even i can put vietnamese into flevel file, there is no way to force ff7 system recognize new symbol.
I should accept that from beginning :( i have spent two week for nothing.

FF7 Tools / Re: [FF7] Text editor - touphScript (v1.3.0)
« on: 2017-09-24 08:19:47 »
I understand the way which replacing characters in the table.
As you say "utf8 is a variable width encoding, from 1-4 bytes",
i see stdString2Text() in source code,  it read all characters one by one so when reaching utf8 character it throw error. ts doesn't accept utf8 character when reading from text.

FF7 Tools / Re: [FF7] Text editor - touphScript (v1.3.0)
« on: 2017-09-24 02:24:00 »
I see that table, but the problem is:
- ASCII is 2 byte so string type can store character one by one. And all ASCII character in ffstring.cpp, so i can't add more
- utf8 is 4 byte, string type split one character to two so i lost original character.
If i modify source from string to wstring, editing all function may be a bad choice:(
I think even when i can input uft8 character, it doesn't mean ff7 system can read that. Unless ff7 have font file like .OTF, .TTF or .FNT

FF7 Tools / Re: [FF7] Text editor - touphScript (v1.3.0)
« on: 2017-09-23 17:43:51 »
I give up on inputting utf8 character. It's too complicated to modify source.
String can not store uft8, only ascii table.

FF7 Tools / Re: [FF7] Text editor - touphScript (v1.3.0)
« on: 2017-09-23 09:02:04 »
No, I use mingw64 which you gave me, maybe you compiled with 32bit ;D.
I remove old touphScript.exe.res and compile again,  now i get touphScript.exe.
Could you tell me how to do with character like ọ ế ớ ...

FF7 Tools / Re: [FF7] Text editor - touphScript (v1.3.0)
« on: 2017-09-23 08:37:51 »
actually, vs and g++ are the same, the different is vs have UI.
Finally i can link libz.a with this syntax:
Code: [Select]
LDLIBS :=  -L/ -lz -lshlwapi -lShell32But i got another error:
Code: [Select]
x86_64-w64-mingw32/bin/ld.exe: i386 architecture of input file `touphScript.exe.res' is incompatible with i386:x86-64 output

FF7 Tools / Re: [FF7] Text editor - touphScript (v1.3.0)
« on: 2017-09-23 01:15:13 »
It still got that error: Errors list
My makefile: Makefile
Anyway i ported ts to visual studio for easily debugging.
This is original text
This happen when i put uft8 character into text file image
What should i do to keep original uf8 character

FF7 Tools / Re: [FF7] Text editor - touphScript (v1.3.0)
« on: 2017-09-22 16:20:10 »
where can i get libz?
I used mingw in the link and it got the same error.

FF7 Tools / Re: [FF7] Text editor - touphScript (v1.3.0)
« on: 2017-09-21 23:11:09 »
i build in MinGW and get these errors:
Code: [Select]
C:\Users\Ti\AppData\Local\Temp\cc8BeNFJ.o:kernel.cpp:(.text$_ZN2ts4gzip10decompressERKSt6vectorIhSaIhEEj[__ZN2ts4gzip10decompressERKSt6vectorIhSaIhEEj]+0xa6): undefined reference to `inflateInit2_'
C:\Users\Ti\AppData\Local\Temp\cc8BeNFJ.o:kernel.cpp:(.text$_ZN2ts4gzip10decompressERKSt6vectorIhSaIhEEj[__ZN2ts4gzip10decompressERKSt6vectorIhSaIhEEj]+0xbd): undefined reference to `inflate'
C:\Users\Ti\AppData\Local\Temp\cc8BeNFJ.o:kernel.cpp:(.text$_ZN2ts4gzip10decompressERKSt6vectorIhSaIhEEj[__ZN2ts4gzip10decompressERKSt6vectorIhSaIhEEj]+0xcd): undefined reference to `inflateEnd'
C:\Users\Ti\AppData\Local\Temp\cc8BeNFJ.o:kernel.cpp:(.text$_ZN2ts4gzip8compressERKSt6vectorIhSaIhEE[__ZN2ts4gzip8compressERKSt6vectorIhSaIhEE]+0x106): undefined reference to `deflateInit2_'
C:\Users\Ti\AppData\Local\Temp\cc8BeNFJ.o:kernel.cpp:(.text$_ZN2ts4gzip8compressERKSt6vectorIhSaIhEE[__ZN2ts4gzip8compressERKSt6vectorIhSaIhEE]+0x11d): undefined reference to `deflate'
C:\Users\Ti\AppData\Local\Temp\cc8BeNFJ.o:kernel.cpp:(.text$_ZN2ts4gzip8compressERKSt6vectorIhSaIhEE[__ZN2ts4gzip8compressERKSt6vectorIhSaIhEE]+0x12d): undefined reference to `deflateEnd'
C:\Users\Ti\AppData\Local\Temp\ccNVllCy.o:touphScript.exe.cpp:(.text+0x7bee): undefined reference to `[email protected]'
C:\Users\Ti\AppData\Local\Temp\ccNVllCy.o:touphScript.exe.cpp:(.text+0x7cf0): undefined reference to `[email protected]'
what should i do?

FF7 Tools / Re: [FF7] Text editor - touphScript (v1.3.0)
« on: 2017-09-20 19:25:19 »
How can i compiled with MinGW? I run g++, it show a lot of errors.

FF7 Tools / Re: [FF7] Text editor - touphScript (v1.3.0)
« on: 2017-09-20 17:22:36 »
Does ts have any option to not remove character which is not in this table

Pages: [1] 2