Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: pack files

  1. #1

    pack files

    hi all
    i've finished my simple game , but i'd like to pack all the media files into one File
    any one here know some usefull units or VCL's ?!


  2. #2
    Legendary Member NecroDOME's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands, Eindhoven
    Posts
    1,059

    Re: pack files

    usefull unit: zLib. Do a google and I think you can find some references.
    NecroSOFT - End of line -

  3. #3

    Re: pack files

    You can also have a look at this thread:
    http://www.pascalgamedevelopment.com...4.msg46356#new

    Wake up from the dream and live your life to the full

  4. #4

    Re: pack files

    Quote Originally Posted by virtual
    hi all
    i've finished my simple game , but i'd like to pack all the media files into one File
    any one here know some usefull units or VCL's ?!

    Hi virtual :-)

    You could also try my files2pas conversion program (see http://www.pascalgamedevelopment.com...p?topic=4275.0 for details).

    It takes multiple files and creates .pas 'resource' files from them so you can compile them into your exe and extract them as TMemoryStream instances

    It can also compress the files if you want too...

    cheers,
    Paul

  5. #5

    Re: pack files

    Just have a little browse through this great site and i'm sure you'll find several solutions for your project.
    Windows Vista x64 Ultimate<br />AMD Athlon x64 4000+<br />Codegear Delphi 2009, Delphi 2007, Borland Delphi 7

  6. #6

    Re: pack files

    thank you very much .

    and thanks paul for files2pas , thats really helpfull

  7. #7

    Re: pack files

    Glad I could help
    cheers,
    Paul

  8. #8

    Re: pack files

    I just stumbled upon this thread and files2pas looks really cool. Might be very helpful for "hiding" the tilesets I'm using in a FreePascal SDL game I'm working on. Very nice work indeed!
    Laserbrain Studios - Currently developing Hidden Asset!
    Ascii Sector
    - Real-time roguelike in space!

  9. #9

    Re: pack files

    Quote Originally Posted by PP2005
    I just stumbled upon this thread and files2pas looks really cool. Might be very helpful for "hiding" the tilesets I'm using in a FreePascal SDL game I'm working on. Very nice work indeed!
    Thanks for the kind words PP2005
    cheers,
    Paul

  10. #10

    Re: pack files

    Quote Originally Posted by PP2005
    I just stumbled upon this thread and files2pas looks really cool. Might be very helpful for "hiding" the tilesets I'm using in a FreePascal SDL game I'm working on. Very nice work indeed!
    "Hiding" the resources are the wrong reason to to this. As long as you are displaying the images they can, easilly be ripped. If youre using OpenGL its even easier.

    See http://www.opengl.org/sdk/tools/GLIntercept/

    The reason to add resources to the exe or a package file should be to decrease loading times (by compressing the data) or to allow single file distribution for ease of use.


    Amnoxx

    Oh, and this code appears to be an approximate replacement for return(random() & 0x01);

    Phoenix Wiki
    http://www.phoenixlib.net/

    Phoenix Forum
    http://www.pascalgamedevelopment.com/viewforum.php?f=71

Page 1 of 2 12 LastLast

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
  •