big executable, no bmp's

This is a discussion on big executable, no bmp's within the Game Programming forums, part of the General Programming Boards category; Check this out. The zip is about 930 kb, when unzipped there arent any BMP's or something where tiles or ...

  1. #1
    and the Hat of Clumsiness GanglyLamb's Avatar
    Join Date
    Oct 2002
    Location
    between photons and phonons
    Posts
    1,109

    Question big executable, no bmp's

    Check this out.

    The zip is about 930 kb, when unzipped there arent any BMP's or something where tiles or sprites any graph can be stored in..

    How do they actually draw all the stuff?
    I cant imagine that they are simply putting every object/character in an array on startup of the game..and blit em to screen later on..

    I'm just curious.

    Thx in advance,

    Ganglylamb.

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Looks like they just put all their art assests in their executable. People sometimes do this so other people won't modify their art. However, there are utilities for extracting resources out of exe's.
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

  3. #3
    Registered User
    Join Date
    Mar 2002
    Posts
    249
    Originally posted by MrWizard
    Looks like they just put all their art assests in their executable.
    Ahh, so THAT'S how they do it. I've always wondered about that...
    Well, there are a few things wrong with your code:

    1) It does not work.
    2) It does not work.
    3) It does not work.

    Hope this helps.

  4. #4
    and the Hat of Clumsiness GanglyLamb's Avatar
    Join Date
    Oct 2002
    Location
    between photons and phonons
    Posts
    1,109
    So in fact there are bitmaps etc but they are just merged into one exe, using some program.

  5. #5
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    well for example in C# you can include all the resources such as images, sound, video etc and include it in the EXE itself.. The program automatically maps it internally...

  6. #6
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    Can't you do that anyways in C++ (and probably C) by using resource files and stuff?
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 04-10-2009, 12:57 AM
  2. Loading a DLL that is not in the same directory as the executable
    By starcatcher in forum Windows Programming
    Replies: 10
    Last Post: 12-13-2008, 06:05 AM
  3. How Big is Too Big
    By kpreston in forum C Programming
    Replies: 4
    Last Post: 10-25-2008, 10:16 AM
  4. CreateProcess with Resource of executable, not the Filename
    By Ktulu in forum Windows Programming
    Replies: 4
    Last Post: 11-04-2006, 12:07 AM
  5. Big and little endian
    By Cactus_Hugger in forum C Programming
    Replies: 4
    Last Post: 10-12-2005, 07:07 PM

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