|
-
August 7th, 2010, 02:46 PM
#1
Saving files inside executable
Hello,
I have an easy question, but I couldn't find any answer on google. I'm learning videogame programming with SDL and opengl on c#, and in my small programs I usually have textures or fonts, that I load with their functions, that usually receive a string indicating where the image or whatever is on the filesystem -sometimes there are also functions that load these from memory-.
What I want is a method (general or for .net) to save inside the executable on compilation time files that I'm going to need in my program. I know a solution would be the method that the portable version of lamexp used, the executable only extracted the folder of the program with all the media to a temp folder and then executed the "true" program, but I'm looking for a better solution here.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|