Game Development Community

Don't steal my art!

by baylor wetzel · in Torque Game Builder · 05/27/2009 (5:13 pm) · 7 replies

To the best of my knowledge, TGB forces you to leave your art files as single images, unencrypted. Ditto sound. If you ship a game, people can do into your data folder and take all your art, use it in their games, draw mustaches on it, make hot coffee mods, whatever. In the past, i haven't worried about it (since i make games for my students), but right now it's a big problem because i'm release a commercial game with unlockable endings and that art has to stay secret until they unlock it

This has been an issue for years, so i'm sure many people have come up with workarounds (hopefully not requiring engine modifications). What are people doing for this?

#1
05/27/2009 (5:52 pm)
Without engine modification, Molebox Pro might be a suitable idea.

With engine modification, you could integrate the cypher resource posted on the tdn
#2
05/27/2009 (6:02 pm)
There's a simple XOR encryption resource you can use for images if you have TGB Pro. It's not much, but it'll stop the casual thieves.
#3
05/28/2009 (7:45 am)
Hate to be a buzzkill on this, but if someone wants in, they'll get in. Slap a big huge encryption on it, and you'll attract hackers who are looking for something to defeat. That XOR resource might be your best bet, but how many people do you really think will dig into your artwork to try and find out the unlockable ending, rather than playing towards unlocking the ending?
#4
05/28/2009 (7:55 am)
The engine supports encrypted zipfiles. If you have the source code, change the line in "ziparchive.h":

#define DEFAULT_ZIP_PASSWORD "password"
to whatever you want.

Also, simply renaming the zip resources to something other than ".zip" is enough to fool most users.
#5
05/28/2009 (1:15 pm)
You can use zips without going in and changing the engine (other than setting an optional password)? How does that work?

i tried zipping data/ and images/ but neither approach works - i just end up with a game with no art
#7
05/29/2009 (8:36 am)
Got it. i had zipped up the folder rather than just the contents of the folder. Tried it again, just putting the images in a zip file called images and everything works. Thanks - i never knew you could do that