Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Restoring a broken resorcefork ? Please help.

Restoring a broken resorcefork ? Please help.
Thread Tools
Fresh-Faced Recruit
Join Date: Apr 2002
Location: Ratingen, Germany
Status: Offline
Reply With Quote
Mar 19, 2003, 05:41 AM
 
Hi,

the following problem I need to solve:

1. Recorded an aif-soundfile in logic.
2. Accidently deleted that file from within logic.

3. Proceeded with recordings.

4. Later restored the file with Norton unerase, which stated in that case that the success-rating was = bad.

5. Anyhow, the file got restored and appears in the finder as aif-File.

6. The file cannot be imported or played by Toast, iTunes or logic, because the resorcefork of the file is damaged.

7. Still, there must be some audio-data left in that file which I would like to recover.

QUESTION:

How can the damaged resourcefork be replaced by a working resorcefork ?

Thanks for attention.
     
Mac Elite
Join Date: May 2002
Status: Offline
Reply With Quote
Mar 19, 2003, 06:01 AM
 
Well, rm /path/to/file.aif/rsrc will get rid of it entirely, turning it into a pure-data file...
[vash:~] banana% killall killall
Terminated
     
68k33  (op)
Fresh-Faced Recruit
Join Date: Apr 2002
Location: Ratingen, Germany
Status: Offline
Reply With Quote
Mar 19, 2003, 08:35 AM
 
The specified method does not work: in Terminal I changed to the directory where the affected files are located, then typed:

rm file.aif/rsrc

Return: Operation not permitted.

Then typed:

sudo rm file.aif/rsrc

Return: password

When entering root-password: Sorry, try again

When trying admin-password: Operation not permitted.

Now sudo wouldn't ask anymore for any password.

:-/
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Mar 19, 2003, 01:09 PM
 
Do this:

cd /some/path

cp somefile.aif someotherfile.aif

That will make a copy of the file, but the copy will contain only the data fork and not the resource fork of that file.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Mar 19, 2003, 01:14 PM
 
I think you can mv file/rsrc /dev/null but i'm not entirely sure.
     
68k33  (op)
Fresh-Faced Recruit
Join Date: Apr 2002
Location: Ratingen, Germany
Status: Offline
Reply With Quote
Mar 21, 2003, 12:27 PM
 
Thanks a lot. At least your method works. But still, I cannot access the new created Datafiles with any of the audio-apps. iTunes won't open it, Logic will grey the file out.

Unfortunately I don't know much about filerecognition. Maybe, my understanding is naive, but if the file contains some audio-data, and the rest of the data is anything but audio, there must be a way to at least create a waveform from the data which should then reveal where usable audiodata is situated.

Regards

Originally posted by CharlesS:
Do this:

cd /some/path

cp somefile.aif someotherfile.aif

That will make a copy of the file, but the copy will contain only the data fork and not the resource fork of that file.
     
Mac Enthusiast
Join Date: Jul 2002
Status: Offline
Reply With Quote
Mar 21, 2003, 01:35 PM
 
Originally posted by 68k33:
there must be a way to at least create a waveform from the data which should then reveal where usable audiodata is situated.
Try "SoundHack", look it up on versiontracker. You can open any file and treat it as audio, specifying the sample rate, bits, channels.
     
Senior User
Join Date: Apr 2002
Status: Offline
Reply With Quote
Mar 21, 2003, 05:33 PM
 
Originally posted by 68k33:
Thanks a lot. At least your method works. But still, I cannot access the new created Datafiles with any of the audio-apps. iTunes won't open it, Logic will grey the file out.
AIFF (and most other data files these days) don't rely on resource forks to work. Odds are that your recovered files are corrupt and not useful.
     
68k33  (op)
Fresh-Faced Recruit
Join Date: Apr 2002
Location: Ratingen, Germany
Status: Offline
Reply With Quote
Mar 23, 2003, 03:14 PM
 
Well, as I stated at the beginning: When the original recorded files where deleted from within Logic, I continued recording to harddisk. Very much later I used Norton Unerase to recover at least some of the data.

It was very clear that the original files might be corrupt in some way due to new overwriting in the proceeding recording process. Hence Norton Unerase stated that recovery estimation of that particular file was bad.

My intention is to get back at least some leftover useful audio Data.


Originally posted by ChrisF:
AIFF (and most other data files these days) don't rely on resource forks to work. Odds are that your recovered files are corrupt and not useful.
     
68k33  (op)
Fresh-Faced Recruit
Join Date: Apr 2002
Location: Ratingen, Germany
Status: Offline
Reply With Quote
Mar 23, 2003, 03:26 PM
 
Originally posted by arekkusu:
Try "SoundHack", look it up on versiontracker. You can open any file and treat it as audio, specifying the sample rate, bits, channels.
Hi,

just tried SounHack. App can open the file, but else it won't do nothing. It advises to change the header. When I try to do so, nothing happens. It won't play the file.

     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:53 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2