Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Game Resources. How does it work?  (Read 1184 times)

0 Members and 1 Guest are viewing this topic.

vasyaslife

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • Email
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++.

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
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?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10815
    • View Profile
    • development blog
    • Email
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. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything