Home   Help Search Login Register  

Author Topic: DePbo dll  (Read 8517 times)

0 Members and 1 Guest are viewing this topic.

Offline Mikero

  • Former Staff
  • ****
  • ook?
    • Linux Step by Step
DePbo dll
« on: 15 Apr 2005, 13:58:05 »
can anyone point me to a huffman / lzw decoder that I can plug into visual basic please?

What i'm trying to do is peek at mission.sqm and a few others inside a pbo without the Full Monty, eg, extracting the lot (especially using VB commands !!!!)

I understand there is now an STL template using C++, and probably even .NET, but am not happy going down that large tunnel for the simple tools i want to create for the authors of ofp missions.

thanx in advance.
Just say no to bugz

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:DePbo dll
« Reply #1 on: 15 Apr 2005, 19:27:38 »
What you need is WinPBO mikero.

It allows you to view the contents of a PBO without extracting the whole lot.

I don't have a link for it, but try ofp.cz, they are bound to have it.  It hasn't been out too long either...maybe 2 or 3 months.


Planck
I know a little about a lot, and a lot about a little.

Offline Mikero

  • Former Staff
  • ****
  • ook?
    • Linux Step by Step
Re:DePbo dll
« Reply #2 on: 15 Apr 2005, 23:51:27 »
thank u for that

I have winbo, and unless i missed something vital it isn't what I need, I can't integrate it into another program. It is a gui in it's own right. At moment, I am using the command prompt version that comes with that package to force an extraction (which i then examine and delete in  temp folder)

Hardly a satisfactory way of doing things <grin>

If I've missed something here, sure would appreciate you correcting me.


Just say no to bugz

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:DePbo dll
« Reply #3 on: 16 Apr 2005, 00:09:37 »
With WinPBO you don't have to extract any files....like sqs files or sqm files.

You can display them without extracting anything at all.

You can view sqm, sqs, txt, jpg without extracting them.
You can also save copies of particular files to another location if you wish.

Or copy/past portions of a file to another document, without extracting anything.

But, this is maybe not exactly what you were wanting.



Planck
I know a little about a lot, and a lot about a little.

DBR_ONIX

  • Guest
Re:DePbo dll
« Reply #4 on: 17 Apr 2005, 17:00:52 »
PBO Tool came with source code.. It was VB code I think..
T'was ages ago, and I only started learning VB < week ago :)
- Ben

Offline Mikero

  • Former Staff
  • ****
  • ook?
    • Linux Step by Step
Re:DePbo dll
« Reply #5 on: 19 Apr 2005, 03:49:56 »
PBO Tool came with source code.. It was VB code I think..
T'was ages ago, and I only started learning VB < week ago :)
- Ben

Rats! It's STL template C++ stuff which is way out of my league. Damn.

Although I'm better than average with C++ I really just prefer to keep using the quick and dirty Forms ability of Visual Basic.

Thank you for the reply, regardless.

@Plank.

Nope, sorry, not what i need. It's not me, that needs to cut n paste or view the contents via WinPbo, it's the program I'm writing that needs to do that bit for me. Thank you anyway.


Just say no to bugz

Jedie

  • Guest
Re:DePbo dll
« Reply #6 on: 14 May 2005, 19:36:07 »
Hey! I'm writing a Tool in Python ( see http://mapfact.gamigo.de/forum/viewtopic.php?p=55684#55684 ).
I need a "unpack"-tool, too. Actually I need only access to the config files like "Mission.sqm".
I have seen the "Pbo file format description by OFPInternals" but I cannot use it directly (I am still stupid).
Is there anywhere more Information???

Offline Sefe

  • OFPEC Patron
  • Former Staff
  • ****
Re:DePbo dll
« Reply #7 on: 14 May 2005, 20:01:26 »
I used to write a PBO decompressor (as well as a compressor) in Delphi (with the core written in Assembler). Unfortunately the code got lost in one of my numerous Windows updates in the meantime. Which is a shame since it surpassed all other decompressors/compressors in terms of speed (and some of them also in terms of stability).
However, the algorithm itself is quite simple and I'm pretty sure it's documented in the editors depot. It should not be too difficult to write an implementation in VB. Unfortunately my real-life commitments do not allow me to work with the whole pbo issue agiain, but you can contact me anyway if you need assistance with implementing the functionality.

bdfy1

  • Guest
Re:DePbo dll
« Reply #8 on: 14 May 2005, 21:45:48 »
There[re lots of pbo packers/depacker IMHO DePbo ( Pbo Decryptor 1.5 ) is still the best one ( winPbo\Fastpbo are great but they do not always work properly ( with official pbo's 1985.pbo for example ).
But unfortunately , there's no good Total Commander plugin :( The existing one works awfully...
It would be great if somebody make TC plugin for work with pbo like with all other archives.

Offline Mikero

  • Former Staff
  • ****
  • ook?
    • Linux Step by Step
Re:DePbo dll
« Reply #9 on: 18 May 2005, 15:19:48 »
@sefe

thanks for that. The documentation does exist at ofpec for the content of a pbo, it's headers, how it's structured, but there's no documentation for the compression method. Eg you can discover where each file offset begins and it's size (length) but there's no information how to start decompressing that content. (be it huffman, lzw or whatever it might be).

@ALL

I uploaded source code for JAVA perhaps a week ago into the ED. Unfortunately it's for compressing, not de-compressing, and the best I could do with it is mangle it into C++ which is what I don't want to do.

@bdfy1

I don't know what Total Commander is, but if I crack this pluggable DLL, ie make it a com object, I'll get back to you.

Just say no to bugz

bdfy1

  • Guest
Re:DePbo dll
« Reply #10 on: 18 May 2005, 20:17:34 »
Quote
I don't know what Total Commander is
Really!? :o  What do you use instead ? Far? It's file managing shell.
« Last Edit: 18 May 2005, 20:21:39 by bdfy1 »

Offline Mikero

  • Former Staff
  • ****
  • ook?
    • Linux Step by Step
Re:DePbo dll
« Reply #11 on: 19 May 2005, 00:48:55 »
I feel like one of us is a Martian (probably me). I have no idea what you're on about. Far?

I'm simply writing visual basic tools under Windows OS that are hopefully useful to the OFP community.

I prefer in this instance to use VB because of it's very quick 'n dirty forms creation ability.The simple gui tools I'm doing don't justify the C++ (visual studio 6/7 ) overhead of my sweat and tears.

I have uploaded a very simple tool already that sniffs at missions and campaigns to check which addons, if any, are used, and if they're 'official' or otherwise. Now, I want to extend that specific application to read the content of a pbo file rather than, use winpbo console mode to extract to temp.

If all goes well I will later apply a small data base of references to some of the well known addons, and hopefully extend that to anything with an ofpec TAG_

SO, what I'm after at this moment is a plugin, a dll, a com object, an active x component, that I can use to decompress pbo's and apply that 'thing' to many other small tools, not just the above. It would appear from comments on other forums, other sites, that many of use are looking for same thing. A stand alone pbo extractor that is driven by program, not human.


Just say no to bugz

bdfy1

  • Guest
Re:DePbo dll
« Reply #12 on: 19 May 2005, 01:03:51 »
A liitle bit info
http://www.google.com/search?hl=en&q=Total+Commander&btnG=Google+Search
Just try it ;) this is very usefull program , I really can't understand how people can go without it...

Anyway, good look in your work;)  

Offline Mikero

  • Former Staff
  • ****
  • ook?
    • Linux Step by Step
Re:DePbo dll
« Reply #13 on: 24 May 2005, 01:59:36 »
BINGO!

found it.

well, at least, I found the C source for decompressing.

Am implementing it and testing as a C++ library addon and if anyone needs this source code early before I push it into a completed submission just pm me.

It's not a plug and play tool just yet folks, but for any of you who need to grab something right now....
Just say no to bugz

bdfy1

  • Guest
Re:DePbo dll
« Reply #14 on: 24 May 2005, 13:50:33 »
Great! I will be wauting for your work ( I want TC plugin :) )
PS: Have you tried Total Comander ?