SFML community forums

Help => General => Topic started by: vasyaslife on March 21, 2014, 04:47:03 pm

Title: Game Resources. How does it work?
Post by: vasyaslife on March 21, 2014, 04:47:03 pm
Can you say me, how can I protect data files (music, textures and other) in my game. For example, in good games there are so many files with strange format and i cant open them with my archiver or Notepad++.
Title: Re: Game Resources. How does it work?
Post by: Jesper Juhl on March 21, 2014, 04:54:15 pm
What exactely do you mean by "protect"?
DRM/encryption? Put resources in archives for easier management and then access via something like PhysFS? Something else?
Title: Re: Game Resources. How does it work?
Post by: eXpl0it3r on March 21, 2014, 05:10:08 pm
You just can't open them, because you don't have the proper tool for it. Resource files are usually just binary files that follow a custom specification and then most game development companies will have their own internal tools that can pack/unpack these files.

If you're just starting with a game, you shouldn't bother thinking about such details and instead create a finished game first. ;)