The Lifestream Home The Lifestream Forums The Lifestream Shop Donate to The Lifestream
The Lifestream

ARCHIVED FORUMS

Hello. You are currently viewing the old vBulletin forums, which are now in readonly archive mode.
Please go to https://thelifestream.net/forums to go to the current forums.


Go Back   The Lifestream Forums > Compilation of Final Fantasy VII > Final Fantasy VII

Final Fantasy VII All events from the 1997 classic RPG, with which it all began.

Reply
 
Thread Tools
Old 04/24/2016   #1
NERV Agent
Smile FF7Tools lzss unclear syntax.

I extracted "MOVIE/OPENING.BIN" from an FF7 PSX disc. I used "unbinlz" to decompress it, and managed to edit one of the ".data" files that came out to my liking.

But how exactly do I compress all those data files back into "OPENING.BIN"?

The README says this:

lzss / unlzss
-------------

Usage: lzss [OPTION...] <fromfile> <tofile>
-V, --version Display version information and exit
-?, --help Show this help message

Usage: unlzss [OPTION...] <fromfile> <tofile>
-V, --version Display version information and exit
-?, --help Show this help message

The 'lzss' and 'unlzss' tools compress and decompress individual files
compressed with the game's version of the LZSS algorithm.

Examples for such files are the field maps (FIELD/*.DAT) and all files
having the .LZS extension.
The command line seems to specify a single file, and not a bunch of files (or a whole directory). How do I compress all the ".data" files back into "OPENING.BIN"?

I tried doing this, but got this:

>python lzss OPENING_00.data + OPENING_01.data + OPENING_02.data + OPENING_03
.data + OPENING_04.data + OPENING_05.data + OPENING_06.data + OPENING_07.data +
OPENING_08.data + OPENING_09.data + OPENING_10.data + OPENING_11.data + OPENING_
12.data + OPENING_13.data + OPENING_14.data + OPENING_15.data + OPENING_16.data
+ OPENING_17.data + OPENING_18.data + OPENING_19.data + OPENING_20.data + OPENIN
G_21.data + OPENING_22.data + OPENING_7472_0.data OPENING.BIN
Usage: lzss [OPTION...] <fromfile> <tofile>
-V, --version Display version information and exit
-?, --help Show this help message

Error: Unexpected extra argument 'OPENING_01.data'

So I try putting it in brackets, and got this:

>python lzss <OPENING_00.data + OPENING_01.data + OPENING_02.data + OPENING_0
3.data + OPENING_04.data + OPENING_05.data + OPENING_06.data + OPENING_07.data +
OPENING_08.data + OPENING_09.data + OPENING_10.data + OPENING_11.data + OPENING
_12.data + OPENING_13.data + OPENING_14.data + OPENING_15.data + OPENING_16.data
+ OPENING_17.data + OPENING_18.data + OPENING_19.data + OPENING_20.data + OPENI
NG_21.data + OPENING_22.data + OPENING_7472_0.data> <OPENING.BIN>
< was unexpected at this time.

I scoured Google and there is no information on the command line syntax for this program. It can't be unknown. How do you use this thing?!?
__________________
Pen Pen Toblerone Vomit Pooh is waifu of the year.
NERV Agent is offline   Reply With Quote
Thanked by:
The Twilight Mexican (04/25/2016)
Old 04/25/2016   #2
Lex
Default

You'd be better asking that question on Qhimm, which is where I'm sure the tool comes from.

However, I'm pretty sure it's as simple as just putting the files into a folder, then doing lzss [folder name]. That's how it works for lgp tools anyway.
__________________


Especially for me, by the awesome GLD!
Serving legendaries with mah Pokécrew.
Lex is offline   Reply With Quote
Thanked by 2:
NERV Agent (05/01/2016), The Twilight Mexican (04/25/2016)
Old 04/30/2016   #3
NERV Agent
Default

I posted on Qhimm, and it seems that even they don't know.

Also, I tried what you mentioned and it still didn't work.

FF7 hacking is quite the mystery it seems (for a beginner, anyway).

Thanks, though.
__________________
Pen Pen Toblerone Vomit Pooh is waifu of the year.

Last edited by NERV Agent; 04/30/2016 at 10:55 PM.
NERV Agent is offline   Reply With Quote
Thanked by 2:
Lex (05/01/2016), The Twilight Mexican (05/01/2016)
Old 05/01/2016   #4
Lex
Default

It's pretty horrendous when you're starting out tbf, but this is really just zipping/unzipping a file format. Maybe the tool is just shit? XD
__________________


Especially for me, by the awesome GLD!
Serving legendaries with mah Pokécrew.
Lex is offline   Reply With Quote
Old 05/02/2016   #5
NERV Agent
Default

It's possible that it is shit.

Someone in Qhimm just told me that the program might only be able to compress one file at a time. But that makes no sense. It's like putting only one file in a .zip file when one would usually put a bunch. It makes no logistical sense to make such a program....
__________________
Pen Pen Toblerone Vomit Pooh is waifu of the year.
NERV Agent is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:23 AM.



Powered by vBulletin®
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.