Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


#Actualcozzie

Posted 12 May 2013 - 01:31 PM

Hi,
Like many of us I'm working on the next top gaming title. But before that, just doing some small games.
When I finished my first game I ran into something quite basic but never thought off.

My game folder concists of:
- an executable
- a data folder with sub folders for textures and sounds (bmp, png, tga, wav, mp3, ogg)
- some ascii files with highscores and own file format 3d scene information
- some X files (binary) with 3d meshes

What I want to prevent is to have all these assets and files 'open to public' within a grasp.
How would/ do you do this?

A few first thoughts:
- compress them all to a ZIP file, rename extension to i.e .abc
at runtime unpack the contents to a temporary folder (with some ZIP/ compression API).
Remove the files when application quits (how to handle non sunny quitting?)
- use some sort of DIY encryption and rename the file extensions
- ....

It's no problem if it's not waterproof though.
Really like to know your ideas and suggestions on this.

#1cozzie

Posted 12 May 2013 - 01:29 PM

Hi,
Like many of us I'm working on the next top gaming title. But ebfore that, just doing some small games.
When I finished my first game I ran into something quite basic but never thought off.

My game folder concists of:
- an executable
- a data folder with sub folders for textures and sounds (bmp, png, tga, wav, mp3, ogg)
- some ascii files with highscores and own file format 3d scene information
- some X files (binary) with 3d meshes

What I want to prevent is to have all these assets and files 'open to public' within a grasp.
How would/ do you do this?

A few first thoughts:
- compress them all to a ZIP file, rename extension to i.e .abc
at runtime unpack the contents to a temporary folder (with some ZIP/ compression API)
- use some sort of DIY encryption and rename the file extensions
- ....

It's no problem if it's not waterproof though.
Really like to know your ideas and suggestions on this.

PARTNERS