Game Development Community

Distributing project / torqueX files

by rwillis · in Torque X 2D · 12/25/2007 (11:58 am) · 6 replies

When I build my project for distribution, the player is still able to see / modify the scene files and torqueX settings files. How do I make it so that these files aren't able to be seen / altered? Is there some setting that I missed? Thanks.

#1
12/25/2007 (12:29 pm)
I'm pretty sure this is possible if you use the XNA Content Importer for XML. You'll need to make changes to the levelData.txscene xml file, it's solution properties, and probably the scene loader code. This thread might help you out.

John K.
#2
12/28/2007 (7:32 am)
So if someone uses TXB to create / edit a level, then is that how they're supposed to stop the player from modifying the XML file? Thanks.
#3
12/28/2007 (9:34 am)
You're definitely right about that. At the moment, anyone can tamper with or decode the XML file. I have the same concerns myself and plan to find a solution for this within the next couple of months. The path I plan to start with (indicated by my last post) is to try to use the XML content importer and have the XML file itself be packaged into a binary .XNB file. This way, the contents can be protected in a binary representation while still deploying normally over to the Xbox 360. I'll post again later when I find a solution.

John K.
#4
12/28/2007 (12:12 pm)
Cool. Thanks very much.
#5
12/11/2008 (9:46 pm)
John, did you work up anything towards solving this?
#6
12/12/2008 (8:02 pm)
What about the use of encryption on the xml files possibly?