Jump to content
Sign in to follow this  
Yoma

Anyone know how to open pbo in c#

Recommended Posts

Don't answer with "I think", "maybe" or the likes.

Don't answer with use another tool.

I want to know how to open it natively from c# to have a look at what's IN it, without needing to extract it.

It's for a project i have in mind.

Share this post


Link to post
Share on other sites

There are plenty of pbo 'viewers', such as pboview, that allow you to open and view textures and config files without extracting anything.

Share this post


Link to post
Share on other sites

the bottom line is you will have to write c# code to extract, at the very least, the header information of a pbo. the header contains filename and file size for each data block in the pbo

the way to do that, is of course up to you in C# code, but the structure of the pbo, and what you're needing to fread() is at the above link.

alternatively. you can use my depbo.dll. which as the name suggests does it for you and you just use API calls into the dll to get at what you want. mikero@norfolk.nf if you need further info (the dll's header file eg)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×