Aali's LGP/UnLGP decompiles and compiles the magic.lgp perfectly
I was working with it and I couldn't get it to work even with all the tricks like dragging the magic.lgp to the unlgp.exe it does not unpack the magic.lgp. Well at least for me. I think I need a .bat file but I'm still googling about it.
ok well if you just drag the LGP onto unlgp it will extract but not to the same folder, it usually extracts to the C:\Documents and Settings\USERNAME (USERNAME will be your user name) or your systems variation on that.
If you want to use it properly you can just create a .BAT file to do it for you. Or you can use command line,
If you want to use a commandline its very easy, first click on your start menu and
"RUN" (or search if your on vista)
then type
CMD
a DOS box will come up, now type cd and the path of where UNLGP is like this
cd "C:\Program Files\Square Soft, Inc\Final Fantasy VII\Data\field"
and then you will be in that folder (just replace the path with your own)
then make sure UNLGP is in the same folder and then type
UNLGP flevel.lgp
and that would for example extract flevel.lgp to the same folder (just replace flevel.lgp with whatever LGP you want to extract)
then delete the LGP (backup first before deleting)
Now assuming you left the CMD window open.
To remake the LGP create a new folder and put all the files into it then run (the example here is just a folder called NEW but you can rename this to whatever you want)
LGP NEW flevel.lgp
and that would create a new flevel.lgp