Results 1 to 6 of 6

Thread: .Pak Files Again

  1. #1

    .Pak Files Again

    I was reading a post at http://www.pascalgamedevelopment.com...p?topic=1460.0 but I couldn't understand the pseudocode
    Apparently you can also use resource files or .Dat files. This is pretty interesting as you could store all sorts of lovely game recources. Anyone got any ideas?

  2. #2

    Re: .Pak Files Again

    I believe .pak are 'just' zip files. So have a search on torry.

    If you want to write your own fileformat, a word of warning: storing multiple files in one archive file just is not easy.

    You might want to take a look at my nvfs project: http://www.noeska.net/projects/nvfs/ it is available under the mpl license. A word of warning here also it has no compression (yet) and it needs documentation and examples.
    http://3das.noeska.com - create adventure games without programming

  3. #3

    Re: .Pak Files Again

    @noeska:
    For your compression you could always give DIUcl (Link) a try. It supports in-memory (de)compression and working with streams.
    I used it for my own file packer and it managed reasonably well. However, it had trouble with some files that were already compressed at a better ratio. I just put a check in to "store" those files rather than compress them.
    Windows Vista x64 Ultimate<br />AMD Athlon x64 4000+<br />Codegear Delphi 2009, Delphi 2007, Borland Delphi 7

  4. #4

    Re: .Pak Files Again

    @ize
    the license of DIUcl is gpl and that is not compatible with a mpl license i use. Thanks for the advice though.
    http://3das.noeska.com - create adventure games without programming

  5. #5

    Re: .Pak Files Again

    You can always use resources to store files inside your EXE. Or take a look at Paul's project: http://www.pascalgamedevelopment.com...p?topic=4275.0

  6. #6

    Lightbulb

    GLScene fully supports a .PAK files which is plain files stream. I found a really good solution for game resource paks Single File Data Storage

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •