Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Add files to EXE

This topic is 6629 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

Could any one help me??? I just use Windows programming with OpenGL...I had never touch on it before!! I wanted to know (if possible), how can I add files to the EXE...For example: I have a program that show a BMP on textured quad...But I only want to distribuit the EXE!! Can I attach the file to the EXE?? How?? Maybe like an resource?? PS.: I use VC++6... Thanks by the help!! Keep the good work guys... BY BassX

Share this post

Link to post
Share on other sites
Yeah, you can use ressource

-Add a ressource Script to your project
-Add your file to the script and give it a name (like IDB_BITMAP)
-Instead of loading ".\data.bmp", load IDB_BITMAP

But, you should not put a lot of files in your bitmap, I think you should use a .pak or a .zip or any kind of data container
then, make your program load it and get textures from it

(Use JPG or TGA instead of bitmaps)

Share this post

Link to post
Share on other sites

  • 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!