c++ - Hiding application resources -


i'm making simple game sfml 1.6 in c++. of course, have lot of picture, level, , data files. problem is, don't want these files visible. right they're plain picture files in res/ subdirectory, , want either conceal them or encrypt them. possible put raw data files resource file or something? solution okay me, don't want files exposed user.

edit

cross platform solutions best, if don't exist, that's okay, i'm working on windows. don't want use library if it's not needed.

most environments come resource compiler converts images/icons/etc string data , includes them in source.

another common technique copy them end of final .exe last part of build process. @ run time, open .exe file , read data determined offset, see embedding filesystem in executable?


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - EclipseLink JPA Object is not a known entity type -

java - Need to add SOAP security token -