Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
Game Resources. How does it work?
Print
Pages: [
1
]
Author
Topic: Game Resources. How does it work? (Read 1434 times)
0 Members and 1 Guest are viewing this topic.
vasyaslife
Newbie
Posts: 8
Game Resources. How does it work?
«
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++.
Logged
Jesper Juhl
Hero Member
Posts: 1405
Re: Game Resources. How does it work?
«
Reply #1 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?
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11032
Re: Game Resources. How does it work?
«
Reply #2 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.
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
Game Resources. How does it work?