|
Prev: Lingo Scripting
Next: Lingo noob seeks help!
From: 4lx on 23 Oct 2006 06:17 Hi, I was working on a file (dir) and when I saved it, it crashed. And when I tried to reopen it, it crashed. The file size was 1.9 Gig!! But there was only a few pictures in it. So, does anyone know how to extract my lingo objects from the file? Thanx for any help!
From: duckets on 23 Oct 2006 06:45 Check out this thread: http://director-online.com/forums/read.php?2,19916 hope this helps! - Ben
From: 4lx on 23 Oct 2006 07:03 Hi, thanx for your answer. I've already tried that ExtractHandlers method, rewriting it so it would read lines instead of chars since the file is 2 Gig! But the funny thing is that it creates a text cast member that is verry large and makes director crash... haha.. And it also takes like 2 hours just to read 1/3 the file. But now I have rewritten it so it will put the script to a file instead. So maybe I'll have some of the code within 4-5 hours. If there is some other solution out there, pleaze let me know since I need to finish the work today!
From: 4lx on 23 Oct 2006 08:46 I gave up trying to extract the code with that method. It should be totaly rewritten. However, for anyone who might find this of interest, I solved this way: Download PFE32.EXE, set your swap file so your system can handle large files if you need so. Then just search for "on new me" or whatever you need to find, and there it is...
From: 4lx on 23 Oct 2006 15:26
This might be of help to someone and also to answer your question. The reason for the file beeing so big is that I was importing images to the castlib. And after that I debugged and edited what needed, I sometime saved the file, without deleting the importet members. The thing is that even if I deleted the members, AFTER that I saved the file, and then saved it again, whithout the imported members, it didn't reduce the file size. So after some mistakenly saved sessions, the file size gained 2 gig, even though the file only contained some script members. |