Does Anyone Remember Supercard 2.5 Conversion Trick?

Want to move your code and projects to LiveCode but don't know where to start?

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller

Post Reply
catzlover
Posts: 11
Joined: Sun Oct 24, 2010 9:14 pm

Does Anyone Remember Supercard 2.5 Conversion Trick?

Post by catzlover » Sun Oct 31, 2010 5:22 pm

First, I want to say that I am so tickled to be able to recreate some of my old games and put them online.

I made a number of games in Supercard 2.5 and I would like to be able to recreate parts of them.

I still have my old Performa (still going strong for my daughter to use), Resedit, And Supercard/Super Edit 2.5. I still have all my old games made in Supercard on the Performa.

Now here's the rub. All my Supercard games were turned into Standalone Applications. I'm not sure that I have the original stacks any more. I would love to be able to access my original scripts since my scripting ability was not extensive before and is very very rusty now.

I am vaguely remembering that there was a way to turn an application back into a stack via Resedit. Is there anyone out there who remembers how to do this?

Thanks! Sandra

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5138
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Does Anyone Remember Supercard 2.5 Conversion Trick?

Post by Mark » Mon Nov 01, 2010 10:17 am

Hi Sandra,

You might want to ask this on the SuperCard list. http://qurl.tk/ju

Best regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6836
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Does Anyone Remember Supercard 2.5 Conversion Trick?

Post by FourthWorld » Mon Nov 01, 2010 3:17 pm

It's been a long time since I've done that, but IIRC it can be done in three steps. A project file is turned into a standalone by adding resources to it and changing the file type to APPL, so reversing it involves:

1. Make a copy of your standalone
2. In ResEdit, remove all of the resources from it. In most cases the resources in a SuperCard standalone for Mac Classic are there only for the standalone, and the stuff the project itself needs are all in the internal resource section of the file, so removing the true resource fork resources is usually a safe operation if the goal is to revert from a standalone.
3. Change the file type of the newly-stripped file to whatever the file type of a SC project is ('PROJ'?). I can't recall what the four-character string is for an old SC project file, but if you open one in ResEdit you can get that and then apply it to the stripped file.

I think that should be all that's needed. But it's been so long that I could also be quite wrong, so Step 1 is very important - only do this on a backup copy of your standalone.

Please let us know how it works out.
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5138
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Does Anyone Remember Supercard 2.5 Conversion Trick?

Post by Mark » Mon Nov 01, 2010 3:18 pm

Hi Richard,

The link in my previous post tells you how to do this, including the file types.

Best regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

catzlover
Posts: 11
Joined: Sun Oct 24, 2010 9:14 pm

Re: Does Anyone Remember Supercard 2.5 Conversion Trick?

Post by catzlover » Thu Nov 04, 2010 8:03 pm

Thank you for the help! The MDOC RUNT trick worked. Actually, once I was able to get on the Performa I found that most of my standalones opened in SuperEdit. The one I had trouble with was the first project I made and I must have done it in an earlier than 2.5 version. Changing the creator info turned it back into a project and I was able to access everything. Thanks again! Sandra

Post Reply

Return to “Converting to LiveCode”