Hello, everybody!
I’m not sure how I’d go about simply Googling and researching this, so I thought I’d try and articulate it here to see if you guys could help me out. I basically want to be able to encrypt my data in my game (primarily level files and the like) and then archive them in the way you see a lot of game assets come in commercial digital packages… similar to how Doom’s WAD files were stored, though in Java and perhaps not quite to that extent.
For example, my game levels are a combination of text files and image files (the image files directly affect the level data and are pixel maps, not tiles or visual data to be rendered on the screen, which I understand doesn’t need the encryption and archiving like direct data files would). I would like for these text and pixel files to be able to be combined into one file (with a custom extension, VLF for example) and then to have this one file be representative of an entire level and unable to be edited by the users directly once they play the game. (I’m not at all against modding, I just don’t want it to be quite so accessible for security purposes.)
If anybody could provide me some resources or information on how I could go about doing this, it would be much appreciated! Thank you very much, and sorry for the most likely unnecessarily long post.
Best regards,
Colton