retrieve livecode code from standalone desktop app
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 78
- Joined: Wed Apr 10, 2013 9:08 pm
retrieve livecode code from standalone desktop app
Help!!
Have lost original livecode code from standalone app built for desktop.
Can I retrieve it from the standalone?
I am guessing the answer is no, but it does not hurt to ask!
Have lost original livecode code from standalone app built for desktop.
Can I retrieve it from the standalone?
I am guessing the answer is no, but it does not hurt to ask!
Returning to try to learn livecode again.
But much greyer at the temples than the last time.
But much greyer at the temples than the last time.
Re: retrieve livecode code from standalone desktop app
I had the same question in the past and Neil Roger from LC answered: no
see here: http://forums.livecode.com/viewtopic.ph ... nse#p95238
I usually keep 2 backups of the LC files just in case...
keram
see here: http://forums.livecode.com/viewtopic.ph ... nse#p95238
I usually keep 2 backups of the LC files just in case...
keram
Using the latest stable version of LC Community 6.7.x on Win 7 Home Premium, 64bit
-
- Livecode Opensource Backer
- Posts: 9385
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: retrieve livecode code from standalone desktop app
If you made your standalone with the Commercial version & you password protected the stacks you will be unable to retrieve the code.
If you made your standalone with the Commercial version and did NOT password protect the stacks
OR
you made your stanadalone with the Community version
You SHOULD be able to open the standalone with a text editor and retrieve the code.
Having said that; I tired just now and got in a right mess :/
If you made your standalone with the Commercial version and did NOT password protect the stacks
OR
you made your stanadalone with the Community version
You SHOULD be able to open the standalone with a text editor and retrieve the code.
Having said that; I tired just now and got in a right mess :/
Re: retrieve livecode code from standalone desktop app
Hi,
So if there's no way to decode the .exe in some way you're out of luck.
Have fun!
PS: That's why I always keep a copy of all my released versions (for the recent year at least), and make a new backup copy of my whole project folder before I start working - this can be priceless!
Just opened a small standalone.exe (3MB+) in my editor and searched for "mouseup". A few finds, but no code nearby. Then searched for a special word that I copied directly from my stack code: "ServerMessageReceived" - no finds either. (Community Version 6.6.1)richmond62 wrote:If you made [...] your stanadalone with the Community version
You SHOULD be able to open the standalone with a text editor and retrieve the code.
Having said that; I tired just now and got in a right mess :/
So if there's no way to decode the .exe in some way you're out of luck.
Have fun!
PS: That's why I always keep a copy of all my released versions (for the recent year at least), and make a new backup copy of my whole project folder before I start working - this can be priceless!
All code published by me here was created with Community Editions of LC (thus is GPLv3).
If you use it in closed source projects, or for the Apple AppStore, or with XCode
you'll violate some license terms - read your relevant EULAs & Licenses!
If you use it in closed source projects, or for the Apple AppStore, or with XCode
you'll violate some license terms - read your relevant EULAs & Licenses!
-
- Posts: 78
- Joined: Wed Apr 10, 2013 9:08 pm
Re: retrieve livecode code from standalone desktop app
Thought so. It was only a small app anyway. One of my first attempts.
Needed blinging anyway!! lol
Needed blinging anyway!! lol
Returning to try to learn livecode again.
But much greyer at the temples than the last time.
But much greyer at the temples than the last time.
Re: retrieve livecode code from standalone desktop app
In case you are in REAL trouble, RunRev will be decompile your app (for a fee, of course), if I remember correctly.
-
- Posts: 5
- Joined: Mon Aug 24, 2015 5:05 am
Re: retrieve livecode code from standalone desktop app
Hi Klaus,
I would be VERY interested in this. I got a small Rev 2.7 app. from about 10 years ago or older, where I lost the code.
Whom do I contact to have it decompiled?
Regards
Frank
I would be VERY interested in this. I got a small Rev 2.7 app. from about 10 years ago or older, where I lost the code.
Whom do I contact to have it decompiled?
Regards
Frank
Re: retrieve livecode code from standalone desktop app
With 7-zip you can open the exe and see the contents.
But the files inside are probably encoded, so you can read nothing unless you know what to do next.
You can read Dinkumware at the end of some files, it's the supplier of C++ libraries.
I opened a file with notepad++, but it is unreadable for us humans.
edit---
i saw code in the .rdata file
But it is undo-able to get it all together again without properly decoding the file i guess. Right now it looks like a big mess.
So have fun getting your stack script back
But the files inside are probably encoded, so you can read nothing unless you know what to do next.
You can read Dinkumware at the end of some files, it's the supplier of C++ libraries.
I opened a file with notepad++, but it is unreadable for us humans.
edit---
i saw code in the .rdata file
But it is undo-able to get it all together again without properly decoding the file i guess. Right now it looks like a big mess.
So have fun getting your stack script back
-
- Posts: 5
- Joined: Mon Aug 24, 2015 5:05 am
Re: retrieve livecode code from standalone desktop app
Thanks Fellas,
It's now in the hands of the gods of RunRev.
FD
It's now in the hands of the gods of RunRev.
FD
-
- VIP Livecode Opensource Backer
- Posts: 9836
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: retrieve livecode code from standalone desktop app
Way back in the MetaCard days a member of this community made this tool for extracting a stack file out of a standalone:
http://fourthworld.net/lc/disassembler.mc
It only works on very old versions, but may be useful since you said yours was build with v2.7.
http://fourthworld.net/lc/disassembler.mc
It only works on very old versions, but may be useful since you said yours was build with v2.7.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Posts: 5
- Joined: Mon Aug 24, 2015 5:05 am
Re: retrieve livecode code from standalone desktop app
Thank you Richard,
This works wonderful!
Except one problem. It asks me for a password to the Script Editor.
I know I did not password protect anything on this app. so I imagine that the author of this wonderful tool had it password protected.
Would this author still be around? or perhaps would anyone know the password?
Best regards
Frank
This works wonderful!
Except one problem. It asks me for a password to the Script Editor.
I know I did not password protect anything on this app. so I imagine that the author of this wonderful tool had it password protected.
Would this author still be around? or perhaps would anyone know the password?
Best regards
Frank
-
- VIP Livecode Opensource Backer
- Posts: 9836
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: retrieve livecode code from standalone desktop app
The disassembler stack isn't password-protected (you can open and read its scripts), so any request for a script password must be related to something else.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: retrieve livecode code from standalone desktop app
Hey aren't we in Red Flag territory here?
Sorry to cast aspersions on you Frank, but isn't this the path a bad client would take? Got the .exe/.app > Failed final payment > Never got the source code.
Yes, my twisted mind does wonder about these things.
My deepest apologies Frank for my line of thinking.
Simon
Sorry to cast aspersions on you Frank, but isn't this the path a bad client would take? Got the .exe/.app > Failed final payment > Never got the source code.
Yes, my twisted mind does wonder about these things.
My deepest apologies Frank for my line of thinking.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 5
- Joined: Mon Aug 24, 2015 5:05 am
Re: retrieve livecode code from standalone desktop app
Thank you for the info, Richard.
I'll just have to figure out where the "password" request is generated from.
To Simon,
Yes, you do have a twisted mind, but maybe you have had some experience that justifies your thinking, so I forgive you
No, I am NOT in red flag territory. I (with help of others) wrote this little program some 8-10 years ago, but due to hard drive failure, my source code with lots of other stuff went to digital heaven.
I made this app. available to all and sundry completely free of charge, so I never got a cent for it.
University of Ballarat (VIOSH) and triple-w.industrial ebooks com CBT software are samples of organisations that have used this app. As a matter of fact, it is from
Industrial e-books web site, where I retrieved my "lost" Risk Terminator.
As I have now taken on some responsibility in the field of Risk Assessments on the Municipal Council, where I serve as Councillor, I felt that my application would be of benefit to the
risk assessment tools that are currently used, which in the main are very cumbersome to use.
Thus ends my explanation.
I'll just have to figure out where the "password" request is generated from.
To Simon,
Yes, you do have a twisted mind, but maybe you have had some experience that justifies your thinking, so I forgive you
No, I am NOT in red flag territory. I (with help of others) wrote this little program some 8-10 years ago, but due to hard drive failure, my source code with lots of other stuff went to digital heaven.
I made this app. available to all and sundry completely free of charge, so I never got a cent for it.
University of Ballarat (VIOSH) and triple-w.industrial ebooks com CBT software are samples of organisations that have used this app. As a matter of fact, it is from
Industrial e-books web site, where I retrieved my "lost" Risk Terminator.
As I have now taken on some responsibility in the field of Risk Assessments on the Municipal Council, where I serve as Councillor, I felt that my application would be of benefit to the
risk assessment tools that are currently used, which in the main are very cumbersome to use.
Thus ends my explanation.