Game Development Community

Decompile .dso?

by Tyler Slabinski · in Torque Game Builder · 08/18/2009 (3:31 pm) · 6 replies

After making changes to the script, I went to delete my .dso file that I changed. Instead, I accidently deleted my .cs file, which as we all know is a pain to need to create the entire script again from scratch.

So my question is simple, is there a way to decompile my .dso back into my .cs file? I don't want to need to use an extra few hours if I can get it quickly.

#1
08/18/2009 (3:53 pm)
I don't think there is an easy way to decompile a DSO. One of the main reasons DSOs are created is to protect the scripts. ;)

Can you just get the .cs back from the Recycle Bin?
#2
08/18/2009 (4:03 pm)
Well my .cs file is long gone, but I remembered that I use Time Machine to backup everything!

I got my file back now, thanks for trying to help.

EDIT: But just so that I know, there isn't a way to decompile dso files? I just want to be sure no one can edit my code.
#3
08/18/2009 (4:04 pm)
Glad you found it. It sounded like you'd just deleted the .cs file, which is why I suggested the Bin. ;)
#4
08/18/2009 (4:34 pm)
Use version control so you don't lose work. :)
#5
08/18/2009 (5:28 pm)
As mentioned, version control might be a good idea.

SVN (sub-version) and CVS both come with the Mac and are easy to use. i assume you are using a Mac do to your reference with Time Machine.

Here are some sub-version tutorials for the Mac.

http://www.rubyrobot.org/tutorial/subversion-with-mac-os-x

ZigVersion is a gui client (http://zigversion.com/) that is free for non-commercial use

Cheers,
Bryan
#6
08/18/2009 (8:07 pm)
You might want to get an updated package of Subversion for Mac, as the default is getting old. I use svnX as my GUI Subversion client on Mac. It's simple, but works well for multiple separate projects.