Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old May 12, 2006, 06:44 PM   #1
kogorman
macrumors newbie
 
Join Date: May 2006
Need help extracting an old resource fork

Once upon a time I programmed a text-based game with the original Mac OS. I have since lost my source code, and no longer own a Mac, but I'd like to resurrect the game for another platform.

My problem: a great deal of text is in the resource fork, in a (slightly) encoded form, but when I try to (for instance) unstuffit, all I get is the data fork, which is empty. The stuffit file is compressed using an unpublished algorithm, so I don't know how to get it in a usable form.

I need the program's resource fork in an un-compressed file. I remember the encryption well enough to know how to find the text from there.

The game is Crystal Cave (most recent version is 2.2, I think).

Anybody know how I can get from here to there?

++ kevin
kogorman is offline   0 Reply With Quote
Old May 13, 2006, 03:46 AM   #2
gekko513
macrumors 601
 
gekko513's Avatar
 
Join Date: Oct 2003
I did a little research and it seems like you can access the resource fork of a file in the terminal by appending /rsrc to the filename. Lets say the filename is crystal.bin, you should be able to copy the resource fork into the data fork of another file, crystal_resource_fork by issuing the following command:

cat crystal.bin/rsrc > crystal_resource_fork
__________________
Someone get Nekkid™, now!
gekko513 is offline   0 Reply With Quote
Old May 14, 2006, 11:15 AM   #3
kogorman
Thread Starter
macrumors newbie
 
Join Date: May 2006
This is helpful, but I do not have immediate access to any form of Macintosh any more . If I supply the file, can someone do this for me? You'll find a binhexed stuffit at
http://www.kosmanor.com/~kevin/crystalcave2.2.sit.hqx

I can accept attachments directed to:
kevin at kosmanor.com.

Thanks in advance. Expect an internationalized version of the game in due course, this time as an open-source project.

++ kevin
kogorman is offline   0 Reply With Quote
Old May 14, 2006, 11:50 AM   #4
gekko513
macrumors 601
 
gekko513's Avatar
 
Join Date: Oct 2003
I'm trying to send you and e-mail, but I keep getting this error in return:

----- The following addresses had permanent fatal errors -----
<kevin at kosmanor.com>
(reason: 554 <kevin at kosmanor.com>: Relay access denied)


With the real 'at' instead of at of course. I've tried from two different smtp servers.

I've uploaded it here instead.
__________________
Someone get Nekkid™, now!
gekko513 is offline   0 Reply With Quote
Old May 14, 2006, 11:08 PM   #5
kogorman
Thread Starter
macrumors newbie
 
Join Date: May 2006
Thank you very much. I dunno what's with the relay problem.
I'll have to try this myself.

I don't actually use that addr much any more, but wasn't
aware it went bad. Security measures overdone, I expect.

++ kevin
kogorman is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Hapilabs' Smart Fork Now Available for Pre-Order, Ships October 18 MacRumors iOS Blog Discussion 51 Oct 3, 2013 09:46 AM
fork() and execv() from a Carbon app idelovski Mac Programming 8 Mar 28, 2013 10:17 AM
At a Fork in the Road Arkados Design and Graphics 8 Dec 29, 2012 07:11 PM
fork: Resource temporarily unavailable Tex-Twil Mac OS X 10.7 Lion 10 Jul 25, 2012 01:01 PM
Purging .DS_Store and resource fork files from thumb drives wrldwzrd89 Mac OS X 10.7 Lion 1 Jun 3, 2012 05:47 PM

Forum Jump

All times are GMT -5. The time now is 12:06 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC