Message-ID: <1430006061.m2f.47795 at forums.libsdl.org>
Content-Type: text/plain; charset=“iso-8859-1”
[OT]-How To Protect Game Assets?(Audio/Visuals)
Does anyone have a recommendation for a free method to pack game assets into a single file(to protect them)?
We are working on a Windows® only SDL2 game now that we may want to sell in the future,
so a free method to pack the game assets(graphics, sounds, music, fonts, & dictionary) into a single file would be required.
JessePalser <AT> GMail <DOT> com
Video Game Design Studio
If you’re trying to avoid other people copying the assets, I refer you
to this: http://badlogicgames.com/forum/viewtopic.php?f=11&t=7513
Specifically note the mention that Valve and id Software don’t bother
trying to PROTECT the data, instead caring about CONVENIENCE. Learn
from their example and stop worrying about protecting your art assets
from being copied.
Also, remember that Windows basically ALWAYS supports screengrabs IN
THE OS by simply pressing the PrintScreen button (and using alt in
conjunction if you just want some particular window). Don’t waste your
time on fiddly little minutia that aren’t likely to cause you problems
(also remember that Flappy Bird looked like it had used NES Mario
assets, but hadn’t used even one: seriously, don’t waste your time).
Beyond that, if you’re trying to shove the assets into the executable
for reliability purposes, I know (and have scratched out) how to do
it, but you’d have to pay me to get it finished (I have other projects
at the moment). Basically you write a program that will read in an
arbitrary file, and output both a header and c file that contains the
original file as a hexadecimal-encoded array. Pretty straightforward,
and useful if you want to support some very simple bootstrapping (also
useful as a means of complying with GPL: shove all source into an
archive, run the archive through the program described above, link to
your program, and include a command-line switch that just vomits the
entire thing out).> Date: Sat, 25 Apr 2015 23:54:21 +0000
To: sdl at lists.libsdl.org
Subject: [SDL] [OT]-How To Protect Game Assets?(Audio/Visuals)