Jump to content
  • Advertisement
Sign in to follow this  
blackgame

seeking for pak file maker

This topic is 4619 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi all~ i read one article within this site about creating pak file which is written in C++, it is pity that i know little C++ and i am just a Java programmer, so is there any Java way or tools instead ? i just want to pack resource files into one(and compress then if possible) like what pak file did, tks for any help !

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Java and C++ are QUITE simular. You should beable to convert between the two with little to no effort.

Share this post


Link to post
Share on other sites
yes they are similar, but i know only basic knowledge(almost nothing! lol) of C++ and get confused when facing pointers and references etc, so that's why i'm seeking for one written in Java(can it be possible ?).

and another question, are there any docs on pak file format explanation ? i dont know nothing about it so it is very possible for me to build a pak file which is unavailable. tks in adv~

Share this post


Link to post
Share on other sites
Hey,

As far as I know the PAK file format (as used by Quake etc.) was just a PKWare compatible ZIP file (using a .pak extension).

You can use ZLib (with MiniZip) to read these files.
See http://www.zlib.net/ - many language interface bindings available.

Now, my knowledge of the Java SDK is a little rusty - but they have a JAR format - which is, as far as I can remember, just renamed ZIP files. Have a look at http://java.sun.com/developer/technicalArticles/Programming/compression/index.html for details on the latest java.util.zip API.

Hope that helps,
dhm

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!