🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
How to hide .x files and .bmp?
this link
There was another post that mentioned this method:
make a filesystem out of one file (kind of like what the above link describes), then append it to the .exe file so you basically have one humongous .exe file.
Of course, for both methods you will have to modify your code. You can either extract the files to a temp directory into their original form (which would leave them subject to copying for some time) or write something that loads them directly from your special file. You can even compress and encrypt the files (we did something similar using the zlib utility) if you so desired.
Hope this helps,
Edited by - NightShade on 1/7/00 4:50:29 PM
Personally, I would not be worried about others reusing my files. What are they going to use it for? Just food for thought
--TheGoop
I prefer putting all the files into one big .pak-like-file with it''s own file system. You can also copy the data to the end of the exe using
copy /b exe1.exe + data.dat exe2.exe
and load the data at the end of the first the exe file, because you know the size of your exe. So no one would be able to use your files. The problem with this is, that you would have a huge exe, so I''d prefer your own packed file with your own file system. .pak should be well documented so it shouldn''t be a problem.
CU
Skullpture Entertainment
#40842461