Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Reakbyz

Member Since 03 Sep 2013
Offline Last Active Aug 13 2014 09:07 AM

Posts I've Made

In Topic: Make file unreadable by an external program

30 July 2014 - 10:22 AM

Yes but dumb people who are at ease on computer and could change audio files of a game for exemple


In Topic: Make file unreadable by an external program

30 July 2014 - 07:59 AM

I'm looking for a simple process to make my files unaccessible from random people a look at as they wish. Just to discourage dumb people to do it you see ?

 

I think a would try compression with a minimum compression ratio, thank you guys for your precise answers.

 

 

As soon, as the game has loaded, literally all I need to do is Alt-Tab out to Pix/gDebugger/ApiTrace/... select the texture and click "Save As...".

 

 

I'm did not understand this line, could you tell me more about it please ? If you agree ^^


In Topic: Make file unreadable by an external program

28 July 2014 - 01:12 PM

Thank for your replies

 

 

I find it highly unlikely that Terraria encrypts its files. According to 30 seconds of Googling, it just appears to be a custom format, most likely to make loading and streaming easier. That's not encryption and any user with a bit of technical background can get access to the data even if the specification is not public for easier modding.

If you want to prevent casual opening/modifications of your resources give them a non-standard extension (like .myimage instead of .png). That should prevent opening them by simple double-click in Windows. Of course even a user with a minimum of technical understanding can still just drag the file into Gimp.
Alternatively just store multiple files inside some archive format. I would advise against encryption. It will most likely cause you more problems getting it right than a skilled user to grab the decryption keys from your own executable.

 

I had also the same idea about the custom file extension but that is not enough

 

Encryption will also slow down your game loader - not much of an issue in a small project, but for a large game it's definitely noticeable. Released games are more concerned about loading something fast then encrypting it - it just so happens that the kinds of things you do to make something load fast, like archiving them, using a custom format, or preprocessing also make them difficult to read by standard programs.

 

Ok so i give up the encryption method

 

XNBs are simply files that are generated by the XNA Content Pipeline. They are not encrypted in any way, you can write yourself a viewer without much trouble using XNA or Monogame.

The easiest way that I can think of to "protect" your assets would be to store them in one or multiple archive (7z, zip, ...) and use a custom extension. Then, you change the the archive header so that the files cannot be opened without knowing how to reconstruct the original header.

Somehow I wonder what kind of assets you have that no one must be able to see them. biggrin.png

 

But zipping file will not make them slower to read ?


In Topic: Unity 3D or Irrlicht/Ogre3D ?

03 September 2013 - 05:40 AM

Thanks for your repplies. I will watch some tutorials for each one.

With irrlicht do I have to install a new 3d scene editor and add other librairies ?


PARTNERS