Game Development Community

Compile Script Files and deploy games

by Felipe Pareja · in Technical Issues · 10/07/2008 (9:05 am) · 5 replies

Hi to everyone, I want to deploy the final version of my game, but I need someway to compile the script files (.cs) to prevent the final user access to these files and the game logic itself,also i want to remove all the editors from the final version, does anybody have done it before??

About the author

Recent Threads


#1
10/07/2008 (9:31 am)
Yes, just delete the editor when your done, your game will run without it. Everytime you run the game the engine takes your .cs files and turns them into machine code and spits them out as .dso's. So when your game is ready to be shipped. Keep all the .dso's and delete all the .cs files. (make sure you keep a backup with your .cs files ;-) ). If you open the .dso it'll be garbled info that makes it extremely hard for other users to decipher. The final product will run from the .dso files.
Does that answer your question?
#2
10/07/2008 (9:39 am)
Did you mean Delete all the GUI Files related to the editors ? and delete the key mappings (f10, f11, ...) from the script files, thats all ?

Thanks in advance
#3
10/07/2008 (9:43 am)
Delete the "creator" folder. Everything else should be in your game folder, sometimes people keep the common folder and sometimes people merge everything from the common folder into their game folder. In your game folder is where you will be deleting any file that has a copy made with a .dso appended to the end.
#4
10/07/2008 (9:49 am)
I got another question, Is possible to compile or encode the asset files (images, meshes, sounds, videos) to prevent it from being copied and used by other people ?
#5
10/07/2008 (9:51 am)
This should help: Releasing Games