packaging images /backgrounds

This is a discussion on packaging images /backgrounds within the C++ Programming forums, part of the General Programming Boards category; I have a program here with source files and excecutable only 1.5Mb but there are 4.5 Mb of graphics in ...

  1. #1
    Registered User rogster001's Avatar
    Join Date
    Aug 2006
    Location
    Liverpool UK
    Posts
    1,422

    packaging images /backgrounds

    I have a program here with source files and excecutable only 1.5Mb but there are 4.5 Mb of graphics in a couple of files that go with it, is there any way of packing these in some kind of other filetype or something? i mean what happens in games with masses of graphics, where is all that imagery? going back to Doom titles i remember all of this was in the .WAD file, is there any way of hiding the bitmaps so that users can't just go editing them and ruining their app? apart from windows folder options i mean

  2. #2
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    Embedded resources or external data files. You can always put the files in an external database similar in concept to a WAD, and then use proprietary encryption to encode/decode them, but ultimately the end user can always edit the data files. All you can really do is make it more difficult for them to do so, but at the cost of making it more difficult for you to do so.
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

  3. #3
    Registered User rogster001's Avatar
    Join Date
    Aug 2006
    Location
    Liverpool UK
    Posts
    1,422
    Thanks i will look into those options

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. placing two bmp images side by side
    By nina_code in forum C++ Programming
    Replies: 2
    Last Post: 07-14-2009, 11:10 AM
  2. mirroring website with images on external host
    By cyberfish in forum Tech Board
    Replies: 1
    Last Post: 09-08-2008, 06:50 PM
  3. Images
    By gvector1 in forum C++ Programming
    Replies: 7
    Last Post: 02-25-2003, 08:59 AM
  4. images, icons, and cursors, OH MY!
    By DarkViper in forum Windows Programming
    Replies: 3
    Last Post: 01-07-2003, 01:26 PM
  5. A simple question on Images....
    By LonelyPlanetWa in forum C Programming
    Replies: 7
    Last Post: 05-20-2002, 07:34 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21