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

  • Thread starter Thread starter luksy
  • Start date Start date
Status
Not open for further replies.
I am pretty sure that the program was made to benefit the modding community.
 
Sure thing sl, free use was implied with the caveats - I'm not responsible if it causes your release to launch a nuclear arsenal  ;D
 
I'm trying to use this tool but I've encountered a problem.
When I attempt to update an LGP, files with capitalized names are ignored.
Lowercase files are inserted into the LGP, but uppercase files are not.

It works if I'm creating a new LGP file.  Then all the file names are converted to lowercase inside the LGP.
If the file already exists inside the LGP, then the new file with a capitalized name is ignored and not added.

Thanks for this tool.
I really want to use it, so I'll manage a workaround somehow.
 
Cheers PitBrat, I'll look into it, I actually have a better version ready but I'll double check that filenames are case-insensitive.
 
0.4 should fix the case issue, overwriting should be a bit faster, and it's also localized (please check the translations for me http://dl.dropbox.com/u/3227870/msg.mc, and feel free to send other languages). I'm not including the dll's in the exe any longer for now, that may change back again depending on feedback.
 
that may change back again depending on feedback.
I urge everyone to join me in opposing Luksy in his separate dll's disaster   :P

The ulgp exe was only around 165KB with both dll's when compressed with upx.  Now, both dll's separately take up over 1 MB and have to be placed either in program folder or system32.  For the amount that these separate dll's "save" (around 100 KB per app?), I would much rather have the dll's integrated into the exe.  In my opinion it makes things more complicated, especially for modders, and somewhere down the line people are going to be moaning that the app isn't working.

I have made the case against my own translator!
What say all of you?  :o
 
Last edited:
:-P

0.4.1 has some language & syntax fixes in the message table courtesy of UGerstl
 
0.4.2 fixes a tiny issue that could cause a crash, there are now two binaries so people who already have the dlls can use the smaller of the two.
 
Awesome improvements!  This tool takes 4 minutes off the install time for Bootleg.
Thank you.
 
This tool is giving me fits, hoping you can help me out. I can get it to run, but when I point it at a lgp file, say char.lgp in field, I get one of the following

If in a location that contains spaces, the result is that it just tells me the correct usage. a location such as W:\The Dump\field\ will throw that, along with "W:\The Dump\field". Doesn't seem to like spaces or quotes

Second, if I put it in a more friendly location, such as C:\field, I get different results depending on how I launch the command prompt. If launched normally, I tend to get something like
Dumping C:\field\...
Access is denied.
If I launch as administrator, I get
Dumping C:\field...
The system cannot find the file specified

I have made sure that these locations have full access permissions for user group "Everyone" so there should be no access issue. I have 6 hard drives (#7 died a couple days ago with 250GB of media on it D: ) and I've tried moving the folder with the lgp around to see what would happen. Always the same result.

Am I doing it wrong? I'm executing the program from command prompt using ulgp.exe d c:\field char.lgp
 
Sadly I was a little naive with the paths in that I don't try and resolve them at all, that explains the issue with spaces, I'll fix it so quoted paths will work.

Your second issue is because you have the flevel and folder arguments swapped, try "ulgp.exe d char.lgp c:\field"
 
0.5 - Wildcards should work again for .lgp paths when encoding, and a GUI for those who can't / won't use the command line.
 
Was waiting for a GUI for this thanks alot Lusky ;) main tool we needed from the start, now will make life much more easier :)
 
Help.
When I use the .5 command line version of this tool (with and without included libs) it fails with the error "The file exists."
When I use the exact same command line with the .4.3 version of the tool, it works.
What's up? Is this a user error on my part?
Here's the command line:
    ulgp e char.lgp vchar

It always fails with .5 but works with .4.3.
I really need to use .5 because there are spaces in some of the paths I'm encoding.

EDIT:
I also tested the GUI version of .5 and it works, but it won't accept command line input.
 
Last edited:
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.
 
Status
Not open for further replies.
Back
Top