Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / its posible decompile a .exe generated with db pro?

Author
Message
Super Sabueso
14
Years of Service
User Offline
Joined: 10th Apr 2010
Location:
Posted: 3rd Mar 2011 02:00
That is my question, i can protect my .exe.

Do i need use some obfuscator os something?


thanks

Hello
thenerd
15
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 3rd Mar 2011 02:09
There is probably some method of doing it, but it's likely not easy or worth protecting from unless your code has sensitive data. If you do need to encrypt the EXE, a good solution would be Smart Packer Pro, at http://www.thegamecreators.com/?m=view_product&id=2256.

Super Sabueso
14
Years of Service
User Offline
Joined: 10th Apr 2010
Location:
Posted: 3rd Mar 2011 02:40
thanks man

Hello
Quel
15
Years of Service
User Offline
Joined: 13th Mar 2009
Location:
Posted: 3rd Mar 2011 10:17
What? so it is VERY possible to decompile a DBP exe?

Why?... how...

I don't want to pack a half Gbyte project into a single EXE, - that's kinda stupid isn't it? - isn't there a way to just protect the CODE itself?
Grog Grueslayer
Valued Member
18
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 3rd Mar 2011 10:33
Any .EXE should be able to be decompiled into assembly.

Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 3rd Mar 2011 10:43 Edited at: 3rd Mar 2011 10:43
If someone were willing to waste many months of their life writing a decompiler, it's technically possible. But who's going to do it? And why?

More to the point, why do you need to protect the code so much?



Support a charitable indie game project!
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 3rd Mar 2011 11:56
I agree with Benjamin.
Adrian
20
Years of Service
User Offline
Joined: 11th Nov 2003
Location: My Living Room
Posted: 3rd Mar 2011 20:35 Edited at: 3rd Mar 2011 20:36
I have a couple of programs I wrote that I have lost the source code for.

This wasn't a problem until Windows 7 Service Pack 1 came out and broke all of the .exe programs I EVER written with DBP on ALL of my Win 7 machines with SP1 installed.

The only thing to do is re-compile all the old source code into new .exe programs. To do this you need the source code obviously. No source code = no new .exe file.

A program that could convert old .exe files back into DBPro source code so it could be re-compiled would be very handy (I doubt that one could ever be written personally)
Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 3rd Mar 2011 22:20
Check out Dropbox. It's perfect for managing DbPro projects, automatically backing up everything. It's great for coding on multiple desktops too.

Help build an online DarkBASIC Professional help archive.
[href= http://dbprohelp.wikia.com/wiki/DarkBASIC_Professional_Help_Wiki]DarkBasic Help Wikia[/href]
Master Man Of Justice
16
Years of Service
User Offline
Joined: 13th Feb 2008
Location: Between Insanity and Intelligence
Posted: 4th Mar 2011 00:17 Edited at: 4th Mar 2011 00:17
Quote: "It's great for coding on multiple desktops too."

Exactly why i use it.
Alot of times ill program up alot of functions and test them on my laptop on the go or downstairs, then i will put in dropbox and incorporate in my main program that requires better specs to compile the whole thing.

Kira Vakaan
15
Years of Service
User Offline
Joined: 1st Dec 2008
Location: MI, United States
Posted: 4th Mar 2011 03:13 Edited at: 4th Mar 2011 03:16
Or you could check out Subversion (my preference), Git, or Mercurial.

That's how all of "the big boys" keep track of source code and projects.

Edit: Or CVS, but people seem to be ditching CVS in favor of those listed above.

thenerd
15
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 4th Mar 2011 03:17
Subversion is very nice, I'd recommend it.

Master Man Of Justice
16
Years of Service
User Offline
Joined: 13th Feb 2008
Location: Between Insanity and Intelligence
Posted: 4th Mar 2011 04:40
I dont exactly get what those do or how to use them. What do they do that Dropbox cant do, or isnt as good at?

Kira Vakaan
15
Years of Service
User Offline
Joined: 1st Dec 2008
Location: MI, United States
Posted: 4th Mar 2011 05:32 Edited at: 4th Mar 2011 05:33
Well, I don't know about Git or Mercurial, but Subversion keeps track of every single change made to every file in your project. First you create a Subversion (SVN) repository on an SVN server with the beginnings of your project, and then you can download a "working copy" of the repository wherever you are. Whenever you change something, you can "commit" the changes to the repository, all of which the server keeps track of.

It's also great for (and definitely geared towards) collaborating with others. Good SVN clients (like TortoiseSVN) have a lot of tools like Diff and Merge that show you all of the differences between two files (and files from past revisions) and merge two files non-destructively.

I'm sure the other version control systems are pretty similar.

Wyldhunt
14
Years of Service
User Offline
Joined: 27th Sep 2009
Location: The Dark Side
Posted: 4th Mar 2011 06:25 Edited at: 4th Mar 2011 06:32
Exe's are not difficult to open. They are just a specific type of compression very similar to Zip or Rar files. Getting media out of them is simple. You can grab nearly any exe and grab any images or models or whatever out of them. Code is usually stored in post-formatted machine code, so it may not prove useful for code recovery.
Do a Google search for exe extractor, or maybe just extract exe.
There's a ton of free programs and fancier paid programs that can open them.
It's just as legal to open an exe as it is to open a zip file. Any law breaking happens when you use the contents of the exe in unlawful ways.

Anyway, if you want to try it and see if it has your dbp source's in there, Google is your friend.

Login to post a reply

Server time is: 2024-04-25 16:32:56
Your offset time is: 2024-04-25 16:32:56