[PC] LGP inserter/extractor/repacker & library - ulgp (1.2)

  • Thread starter Thread starter luksy
  • Start date Start date
Status
Not open for further replies.
hello everyone and sorry in advance for my English.
 I use ulgp recently and I have a concern with the recompiled file in the battle.lgp.
 641mo from the battle. lgp can accommodate more data comes mainly from ca enfaite ulgp that tells me is message format failed or insufficient space to process this command.
 workaround for this problem.
 thank you in advance.
If you're going to use google translate you might as well just write directly in French, I'll understand better. Are you using the GUI?
 
he is using the ulgp gui i got the same  issu with this gui
alis lgp is the better option with the LGP Frontend gui
 
Bonjour à tous et désolé d'avance pour mon anglais.J'utilise ulgp récemment et j'ai un problème pour recompiler dans le battle.lgp
a partir de 641 mo ou un peu plus ca dépend .
ulgp m'indique "espace insuffisant pour traiter cette commande"et donc comment contourner cette limite du battle.
thank
yes i use gui.
 
I have no idea how your battle.lgp came to be 640 megs, even with all the models installed it should come to about ~180, the problem is you are running out of memory. I will try and fix this issue anyway, in the meantime start with a fresh battle.lgp from the CD.
 
Thank you Luksy... I still need to install the Joker cards by Grimmy and new RedXII battle model so I'll test it there when I do :) .

~edit~Luksy take care with 0.7 gui. I was trying to re-encode my battle lgp and place the new models and change some back and now sometimes battle freezes with "something very bad happened" error. I realized it was ulgp 0.7 when I tried to replace some field models and they wouldn't change in my char.lgp and then tried with 0.5 gui and worked great for char.lgp. now I need to re-encode my battle.lgp older backup again I guess and test it.

Thanks you Luksy for this awesome release but look into 0.7 please.

~edit~ Now I'm trying to install the "Grimmy's Diamond Weapon" world model in world_us.lgp with 0.5 gui and gives me an error that says "the volume for the file has been externally altered..."
 
Last edited:
I'm getting the error "The volume for a file has been externally altered so that the opened file is no longer valid." too.
It works on some systems but not on others.
I use the command line version .6 and .7 and both give the same errors.
Sometimes .7 will run without a reported error, but it doesn't update the .lgp archive if the file already exists inside the archive.
 
i got that error when doing cait siths weapons with ulgpgui 0.5 and no error report with ulgpgui 0.7

a thing i dont like is when encoding the battle.lgp if i pick a spot where the battle lgp is already at it wont overwrite it or notify me of an error again using ulgpgui0.5/0.7
 
I've tested ulgp 0.7 with a few other .lgp archives.
Battle.lgp seems to cause the problem.
Ulgp 0.7 will update existing files in .lgp archives other that battle.lgp.
It usually fails to update existing files in battle.lgp.
 
I have a fixed version ready, I just need to find the time to release it, sorry been ultra busy these days!
 
@pitbrat battle.lgp is the only one ive messed with so far. But its nice to know im not crazy

@luksy thats great! does this do something similar to 7zip and if it does, is it possible to integrate this with 7zip because its open source?
 
Here's one for testing

http://dl.dropbox.com/u/3227870/ulgp.7z

It works with both command line and GUI, I'd be grateful if people test it as I don't have the time at the moment.

@squall8cloud7
This is far more simple than 7zip, it only supports lgp files.

I suppose it'd be possible to fork 7zip and add the lgp code, but I don't have the time and patience. 7zip doesn't have any extensibility features that I know of, which is a shame because I looked into it some time ago.
 
updated battle lgp on first try. hopefully this cotinues to work this well. great job luksy
 
Here's one for testing
Thanks Luksy. 

I'm gonna be sleeping soon, but have plans to be using this a lot over the next few days, and I know PitBrat said he was needing this for his Bootleg 040 release, so that should definitely get it some good testing too.  :)

ETA: I was doing some tinkering and testing, and dropped this version over the one bundled with Bootleg 0039 (prior to it being used by the program).

It seemed to dump everything ok, but it hard crashes when trying to encode char.lgp

I know there are like 3 files in there that gave the last version some errors about being externally modified and no longer valid or something, but beyond that, it's hard for me to offer much, since none of these are my projects or work, so I can't really be sure what's happening.

Doubt it's much use, but the "more info" box from windows when I tried to manually use the GUI version on the same encode operation:

Code: [Select]
Code:
Problem signature:  Problem Event Name: APPCRASH  Application Name: ulgp.exe  Application Version: 0.0.0.8  Application Timestamp: 502b272d  Fault Module Name: ulgp.exe  Fault Module Version: 0.0.0.8  Fault Module Timestamp: 502b272d  Exception Code: c0000005  Exception Offset: 00005540  OS Version: 6.0.6002.2.2.0.768.3  Locale ID: 1033  Additional Information 1: fd00  Additional Information 2: ea6f5fe8924aaa756324d57f87834160  Additional Information 3: fd00  Additional Information 4: ea6f5fe8924aaa756324d57f87834160Read our privacy statement:  http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409 
The most specific I can be is that I think it's trying to encode to:
C:\Temp\Bootleg\Bootleg_Setup\Data_Working\field\char.lgp
Taking (all?) files from:
C:\Temp\Bootleg\Bootleg_Setup\char_lgp.patch

Would need PitBrat's input to be more specific and/or accurate.  I'll update if I discover anything else that may be helpful.
 
Last edited:
I used this tool and it works great on  battle.lgp but i have the same error when it comes to repacking char.lgp.It just locks up.I'm on win7 ultimate 64 bit if that helps.

Another thing i noticed.Im trying to use squeeble 's tutorial on model conversion.I'm supposed to extract certain files which belong to the adamantoise model from gqaa-gqda.With LGP tools after extracting battle.lgp from gqaa-gqda it lists 22 files but with ulgp it lists 29 files.Which is the correct one and why is there a difference in how much was extracted?I thought ulgp was just gui on top of lgptools.squeeble's topic is long dead so i cant post there.
 
I noticed a couple other things.
The R switch no longer works from the command line.
It just pulls up the GUI interface.
Also, when using D to extract files, if a file doesn't exist in the .LGP archive, ULGP halts with the message 'File not found. Press any key to continue . . .'
 
The download links aren't working for me. Is anyone else experiencing this?
 
Last edited:
I've probably complicated things too much by trying to integrate the GUI and console apps, I'll hack away at it again this evening into something hopefully bug-free, sorry for the mess!

To answer a couple of things: I removed r because I didn't think anyone used it, is it necessary pitbrat? Also this isn't just an lgptools wrapper, think of it as lgptools with more functionality, well if it were bugless of course...
 
No, the R switch really isn't necessary.
I only used it to fix magic.lgp because the Avalanche installer damages magic.lgp.
Avalanche buggers up the sky_b.tex file.
I already implemented a redundant, manual fix.

Your ulgp tool is immensely useful.
Thanks for your continued support.
 
Your GUI simplified matters some; not that I am inept at using a command line, but hey I am a lazy modder ;).
This tool works nicely for me, so thank you for making it! :3.
 
Status
Not open for further replies.
Back
Top