Qhimm.com Forums
Final Fantasy Forums => Tools => FF7 Tools => Topic started by: Luctus on 2006-05-21 12:58:17
-
I found out when trying to apply the reunion patch that Ficedula's LGP Tools didn't always create correct LGP files, resulting in the infamous "Can't find file..." messages. So, I wrote a quick hack in python to rebuild the corrupt part.
Things to take note of:
1) You'll need the python interpreter to run this, get it at http://www.python.org/download/ (http://www.python.org/download/)
2) This was a quick hack written by a programmer for a programmer, don't expect it to be easy to use or even working :roll:
3) I will probably be here every once in a while to answer questions, but don't expect anything
4) This comes with absolutely NO warrany whatsoever. I will not be held responsible for lost data, loss of braincells or your dog badmouthing you.
Usage: python lgpfix.py filetofix.lgp
Get it at: Updated, look below (http://forums.qhimm.com/index.php?topic=5619.msg72915#msg72915)
A better usage guide will probably come when I'm not so effin tired, unless some python-savvy person does so before me.
For the curios and technically inclined; the corrupt part was what ficedula calls the "CRC" chunk, the quick index into the datasoup For some reason LGP Tools only created a small part of this index [on my system]. My script simply goes through the list of filenames and recreates the missing part.
-
I got the following error when I tried to use the fix:
File "lgpfix.py", line 98, in ?
main()
File "lgpfix.py", line 32, in main
(fname, flenght) = struct.unpack( "20s l", file.read( 24 ) )
struct.error: unpack str size does not match format
I tried the "fixed" lgp anyways, but it wasn't really helpful. Any ideas?
Mod Edit: Please use the "Modify" button instead of double-posting.
-
Fixed now. I also compiled it into an executable for convenience.
Executable: http://rapidshare.de/files/21630234/lgpfix.zip.html 1,2Mb, standalone
Usage: lgpfix.exe filetofix.lgp
Updated script: http://rapidshare.de/files/21630187/lgpfix.py.html 2kb, requires python installed
Usage: python lgpfix.py filetofix.lgp
-
Duh, this is becoming a really nasty problem. I used that new lgpfix.exe, and this time I get an error about missing ACFE.aki file when starting a new game.. It's really cool that someone is trying to create a solution tho.
I'll see if a fresh install helps when I'm not too tired trying to fix this bulls*it.
-
Hooray for doublechecking stuff before uploading them!
In short; I'm an idiot and it should work now.
-
Finally! That updated lgpfix.py did the trick for me, but .exe didn't help. Make sure this fix gets its place in a stickied thread. Thanks alot!
-
Funny, I just tried applying the fix using the .exe on a fresh installation with reunion patch which worked perfectly, sure you grabbed the latest one?
-
I just used a fresh char.lgp from the CD with it, so my testing wasn't 100% certain. But now some other patch messed up my game, damnit. Probably the high-res patch used with NPC patch. Anyways, nothing wrong with your fix, just gotta install all of them in the right order. Oh the joys...
-
Could either of you just give me a breif tutorial on how to use this?
-
1) Construct a new char.lgp file with your modified content using ficedula's tool like described here (http://forums.qhimm.com/index.php?topic=4451.msg59699#msg59699")
2) Download the lgp-fix (http://rapidshare.de/files/21630234/lgpfix.zip.html") and unzip it into your Final Fantasy VII/data/field/ directory
3) Open a command prompt (run->start->cmd.exe) and navigate to where you have your lgpfix.exe and char.lgp (cd \program files\Final Fantasy VII\data\field\ probably)
4) Type lgpfix.exe char.lgp and press enter
5) Pray that it'll work
-
No Of The Links Works :-( Please I Need Them!
-
Another solution would be trying to create the LGP-Archive with Highwind (http://christian59.ch.funpic.de/Programmiern/Highwind.rar). ;)
-
Thanks A Lot! I'll Try It Out! :-) :-D
-
Hi.
can anyone reupolad this fixer?
-
agreed anyone actually have this fixer? it would be great if someone could upload it again.