Author Topic: [PC] LGP inserter/extractor/repacker & library - ulgp (1.2)  (Read 107712 times)

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [0.4] ulgp - lgp inserter / extractor / repacker
« Reply #25 on: 2012-04-11 23:49:12 »
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 Edit: 2012-04-12 00:30:41 by DLPB »

luksy

  • *
  • Posts: 375
    • View Profile
Re: [0.4.1] ulgp - lgp inserter / extractor / repacker
« Reply #26 on: 2012-04-12 00:46:08 »
 :-P

0.4.1 has some language & syntax fixes in the message table courtesy of UGerstl

luksy

  • *
  • Posts: 375
    • View Profile
Re: [0.4.2] ulgp - lgp inserter / extractor / repacker
« Reply #27 on: 2012-04-13 05:26:23 »
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.

Dark_Ansem

  • *
  • Posts: 320
    • View Profile
Re: [0.4.2] ulgp - lgp inserter / extractor / repacker
« Reply #28 on: 2012-04-13 06:28:39 »
thank you :D

PitBrat

  • *
  • Posts: 1376
  • Change to feed the machine.
    • View Profile
Re: [0.4.2] ulgp - lgp inserter / extractor / repacker
« Reply #29 on: 2012-04-13 22:24:19 »
Awesome improvements!  This tool takes 4 minutes off the install time for Bootleg.
Thank you.

luksy

  • *
  • Posts: 375
    • View Profile
Re: [0.4.3] ulgp - lgp inserter / extractor / repacker
« Reply #30 on: 2012-04-15 00:22:53 »
Tidied some other stuff up, hopefully this should be final.

bladearrowney

  • Guest
Re: [0.4.3] ulgp - lgp inserter / extractor / repacker
« Reply #31 on: 2012-05-10 05:32:40 »
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

luksy

  • *
  • Posts: 375
    • View Profile
Re: [0.4.3] ulgp - lgp inserter / extractor / repacker
« Reply #32 on: 2012-05-10 06:09:10 »
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"

luksy

  • *
  • Posts: 375
    • View Profile
Re: [0.5] ulgp / ulpgGUI - lgp inserter / extractor / repacker
« Reply #33 on: 2012-05-15 04:31:54 »
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.

LeonhartGR

  • *
  • Posts: 2577
  • ~Whatever...~ Enjoy life!
    • View Profile
    • LeonhartGR Productions
Re: [0.5] ulgp / ulpgGUI - lgp inserter / extractor / repacker
« Reply #34 on: 2012-05-15 14:02:50 »
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.

Thank you!

dkma841

  • *
  • Posts: 1225
  • delete
    • View Profile
Re: [0.5] ulgp / ulpgGUI - lgp inserter / extractor / repacker
« Reply #35 on: 2012-05-15 16:57:16 »
Was waiting for a GUI for this thanks alot Lusky ;) main tool we needed from the start, now will make life much more easier :)

PitBrat

  • *
  • Posts: 1376
  • Change to feed the machine.
    • View Profile
Re: [0.5] ulgp / ulpgGUI - lgp inserter / extractor / repacker
« Reply #36 on: 2012-06-28 23:19:53 »
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 Edit: 2012-06-28 23:34:15 by PitBrat »

luksy

  • *
  • Posts: 375
    • View Profile
Re: [0.5] ulgp / ulpgGUI - lgp inserter / extractor / repacker
« Reply #37 on: 2012-06-28 23:27:58 »
I'll have a look ASAP, should be able to in a couple of hours.

Ok this should fix it, I buggered up the windows file open method

http://dl.dropbox.com/u/3227870/ulgp_v0.6.7z
« Last Edit: 2012-06-29 02:37:24 by luksy »

LeonhartGR

  • *
  • Posts: 2577
  • ~Whatever...~ Enjoy life!
    • View Profile
    • LeonhartGR Productions
Re: [0.5] ulgp / ulpgGUI - lgp inserter / extractor / repacker
« Reply #38 on: 2012-07-12 22:01:46 »
The gui version is so helpful! Thank you!

kakumeishisou

  • Guest
ulgp insufficient space to process this command
« Reply #39 on: 2012-07-17 19:07:31 »

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.





luksy

  • *
  • Posts: 375
    • View Profile
Re: ulgp insufficient space to process this command
« Reply #40 on: 2012-07-17 23:39:14 »
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?

norikoteiko

  • *
  • Posts: 33
    • View Profile
    • German Ragnarok Online Highrate
Re: ulgp insufficient space to process this command
« Reply #41 on: 2012-07-18 21:42:58 »
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

kakumeishisou

  • Guest
Re: ulgp insufficient space to process this command
« Reply #42 on: 2012-07-18 21:56:14 »
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.

luksy

  • *
  • Posts: 375
    • View Profile
Re: [0.5] ulgp / ulpgGUI - lgp inserter / extractor / repacker
« Reply #43 on: 2012-07-19 01:35:05 »
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.

luksy

  • *
  • Posts: 375
    • View Profile
Re: [0.7] ulgp / ulpgGUI - lgp inserter / extractor / repacker
« Reply #44 on: 2012-07-21 08:25:17 »
The new version shouldn't give the out of memory errors in case you have enormous lgp files for whatever reason:

ulgp v0.7

ulgpGUI v0.7




LeonhartGR

  • *
  • Posts: 2577
  • ~Whatever...~ Enjoy life!
    • View Profile
    • LeonhartGR Productions
Re: [0.7] ulgp / ulpgGUI - lgp inserter / extractor / repacker
« Reply #45 on: 2012-07-21 17:30:56 »
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 Edit: 2012-08-07 01:02:39 by Leonhart7413 »

PitBrat

  • *
  • Posts: 1376
  • Change to feed the machine.
    • View Profile
Re: [0.7] ulgp / ulpgGUI - lgp inserter / extractor / repacker
« Reply #46 on: 2012-08-14 22:11:05 »
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.

omega res novae

  • *
  • Posts: 541
  • previously known as squall8cloud7
    • View Profile
    • omegas mods google docs
Re: [0.7] ulgp / ulpgGUI - lgp inserter / extractor / repacker
« Reply #47 on: 2012-08-14 22:18:42 »
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

PitBrat

  • *
  • Posts: 1376
  • Change to feed the machine.
    • View Profile
Re: [0.7] ulgp / ulpgGUI - lgp inserter / extractor / repacker
« Reply #48 on: 2012-08-14 22:32:45 »
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.

luksy

  • *
  • Posts: 375
    • View Profile
Re: [0.7] ulgp / ulpgGUI - lgp inserter / extractor / repacker
« Reply #49 on: 2012-08-14 22:34:46 »
I have a fixed version ready, I just need to find the time to release it, sorry been ultra busy these days!