Resource Fork repair

About BasiliskII, a 68k Mac emulator for Windows, MacOSX, and Linux that can run System 7.x through MacOS 8.1.

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
grandoth
Space Cadet
Posts: 2
Joined: Fri Nov 25, 2022 12:45 am

Resource Fork repair

Post by grandoth »

Hello. New user here. I read through quite a few threads including the below, trying to figure out how to get some classic Mac sound files (including some from Kaboom!) I copied from Mac OS (not sure if it was 7.5 or later) to a PC in the 90s or early 2000s. I don't remember the method that was used to transfer the files to a PC file system (PC formatted Zip or maybe Jazz disks?). I would like to try to open in System 7 to convert to wav, much like this thread:
viewtopic.php?p=52562

I have the files and a hidden RESOURCE.FRK folder with 1 to 1 files that match the filename, assuming those are the original resource forks.

I found more clues in these threads about restoring the RESOURCE.FRK:
- viewtopic.php?p=39873
- viewtopic.php?p=39931
- viewtopic.php?p=64795

I don't seem to have any of the same kind of file, or I am doing something wrong. I am probably missing something really silly and would appreciate any pointers.

Here are some things I tried:
- Opening directly
- Saved new files in Sound Edit Pro 1.0.5 to various formats and then used Mini Conversion and Creator Changer to apply those formats to the file
- Using Basilisk II for Windows and browsing to "This PC", I copied the file from the RESOURCE.FRK into the .rsrc folder
- I opened the file from the RESOURCE.FRK in HxD and renamed both the main file and the file copied above into .rsrc to the same name

I am going to play a little bit more with the .finf files and make sure I didn't miss anything.

The original file's resource fork seems to indicate mdia.Sound (SoundEdit). Looking at the resource fork for the file I saved seems to be in a different format.

Here is my original:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

00000000 00 00 01 00 00 00 01 A6 00 00 00 A6 00 00 00 96 .......¦...¦...–
00000010 73 88 86 7A 86 9A 88 86 76 7A 81 76 7D 85 8C 88 sˆ†z†šˆ†vz.v}…Œˆ
00000020 88 87 8F 80 61 73 76 5F 6D 8D 9F 98 94 8A 7D 82 ˆ‡.€asv_m.Ÿ˜”Š}‚
00000030 08 41 69 72 20 48 6F 72 6E 00 02 00 00 00 46 53 .Air Horn.....FS
00000040 53 44 4B 42 4D 46 01 00 FF FF FF FF 00 00 00 00 SDKBMF..ÿÿÿÿ....
00000050 00 00 46 53 53 44 4B 42 4D 46 01 00 FF FF FF FF ..FSSDKBMF..ÿÿÿÿ
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000070 00 00 AB 52 BD FC 00 00 1B 8C 00 00 02 3C 81 6E ..«R½ü...Œ...<.n
00000080 7B 7D 88 81 77 89 74 7A 82 75 83 94 97 8C 75 79 {}ˆ.w‰tz‚uƒ”—Œuy
00000090 73 6D 89 81 8E 98 82 8A 72 6F 75 6F 77 8E 8A 83 sm‰.Ž˜‚ŠrouowŽŠƒ
000000A0 90 7F 77 7B 83 82 87 80 78 7D 87 8D 8A 7E 88 86 ..w{ƒ‚‡€x}‡.Š~ˆ†
000000B0 7D 73 72 83 75 81 83 72 79 92 94 8B 7B 77 7F 8A }srƒu.ƒry’”‹{w.Š
000000C0 87 77 73 75 91 88 7C 80 7C 80 7F 86 92 84 73 7E ‡wsu‘ˆ|€|€.†’„s~
000000D0 92 7E 76 7D 77 8C 78 7D 8F 7C 73 7B 7F 97 99 86 ’~v}wŒx}.|s{.—™†
000000E0 7C 70 7D 86 83 81 70 78 85 81 8F 81 84 89 70 73 |p}†ƒ.px…...„‰ps
000000F0 7B 88 86 81 77 81 88 80 7A 87 7A 86 8C 77 78 7E {ˆ†.w.ˆ€z‡z†Œwx~
00000100 00 00 00 40 00 00 00 04 00 00 00 01 00 01 00 00 ...@............
00000110 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000120 00 00 00 02 00 00 1B 8C 00 00 00 00 00 00 00 00 .......Œ........
00000130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000140 00 00 00 00 00 00 00 00 00 00 00 18 00 00 00 00 ................
00000150 00 00 1B 8C 00 00 00 00 00 00 00 00 00 00 00 00 ...Œ............
00000160 00 00 00 00 00 00 00 02 00 00 00 00 00 30 00 00 .............0..
00000170 00 1B 6D 64 69 61 12 53 6F 75 6E 64 20 28 53 6F ..mdia.Sound (So
00000180 75 6E 64 45 64 69 74 AA 29 00 00 00 15 66 72 6D undEditª)....frm
00000190 74 0C 31 31 2E 31 4B 48 7A 20 4D 6F 6E 6F 00 00 t.11.1KHz Mono..
000001A0 00 04 AB 7F 68 DF 00 00 01 00 00 00 01 A6 00 00 ..«.hß.......¦..
000001B0 00 A6 00 00 00 96 00 8A B7 40 13 1A 00 00 00 1C .¦...–.Š·@......
000001C0 00 96 00 05 49 4E 46 4F 00 00 00 32 4C 41 42 53 .–..INFO...2LABS
000001D0 00 00 00 3E 52 45 50 54 00 00 00 4A 53 54 52 23 ...>REPT...JSTR#
000001E0 00 00 00 56 73 65 67 49 00 00 00 62 73 65 67 4D ...VsegI...bsegM
000001F0 00 00 00 6E 03 E8 FF FF 00 00 00 00 00 8A 88 EC ...n.èÿÿ.....Šˆì
00000200 03 E8 FF FF 00 00 00 44 00 00 00 00 03 E8 FF FF .èÿÿ...D.....èÿÿ
00000210 00 00 00 48 00 00 00 00 03 E8 FF FF 00 00 00 64 ...H.....èÿÿ...d
00000220 00 00 00 00 00 00 FF FF 00 00 00 6A 00 00 00 00 ......ÿÿ...j....
00000230 00 00 FF FF 00 00 00 9E 00 8A 88 E0 ..ÿÿ...ž.Šˆà

Here is one generated from Sound Edit Pro in Sound Edit format:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

00000000 00 00 01 00 00 00 01 6E 00 00 00 6E 00 00 00 5A .......n...n...Z
00000010 63 18 00 11 4E 56 00 00 20 6E 00 08 20 50 2D 68 c...NV.. n.. P-h
00000020 00 02 00 0C 4E 5E 2E 9F 4E 75 90 54 43 4F 4C 4F ....N^.ŸNu.TCOLO
00000030 14 55 6E 74 69 74 6C 65 64 2D 31 32 30 38 39 32 .Untitled-120892
00000040 35 38 32 30 30 65 02 00 00 00 46 53 53 44 53 46 58200e....FSSDSF
00000050 00 00 46 53 53 44 53 46 58 21 00 00 00 00 00 00 ..FSSDSFX!......
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000070 00 00 DF A5 8C DD 00 00 00 00 00 00 01 C8 31 6E ..ߥŒÝ.......È1n
00000080 00 0C 00 06 4E 5E 20 5F 5C 4F 4E D0 98 54 43 4F ....N^ _\ONИTCO
00000090 4C 4F 52 49 4E 46 4F 2E 53 45 54 43 4F 4C 4F 52 LORINFO.SETCOLOR
000000A0 49 4E 44 45 58 00 00 00 4E 56 00 00 20 6E 00 08 INDEX...NV.. n..
000000B0 20 50 21 6E 00 0C 00 02 4E 5E 20 5F 50 4F 4E D0 P!n....N^ _PONÐ
000000C0 93 54 43 4F 4C 4F 52 49 4E 46 4F 2E 53 45 54 57 “TCOLORINFO.SETW
000000D0 48 45 52 45 00 00 00 00 4E 56 FF FA 48 E7 0F 18 HERE....NVÿúHç..
000000E0 28 6E 00 08 2D 6E 00 0C FF FA 59 8F 2F 2E FF FA (n..-n..ÿúY./.ÿú
000000F0 4E BA FF 22 2A 1F 55 8F 2F 2E FF FA 4E BA FF 42 Nºÿ"*.U./.ÿúNºÿB
00000100 00 00 00 4A 00 00 00 00 00 00 00 01 00 01 00 00 ...J............
00000110 00 01 00 00 00 00 00 00 00 00 00 00 00 2C 00 06 .............,..
00000120 00 00 00 01 00 00 00 00 00 00 00 00 FF FF FF FE ............ÿÿÿþ
00000130 00 00 00 44 00 00 00 00 00 00 00 00 56 EE 8B A3 ...D........Vî‹£
00000140 00 E6 08 FC 00 07 00 01 41 EF C2 8F 00 01 00 00 .æ.ü....AïÂ.....
00000150 00 00 00 00 00 18 00 00 00 00 00 00 00 00 00 00 ................
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000170 01 00 00 00 01 6E 00 00 00 6E 00 00 00 5A 03 C8 .....n...n...Z.È
00000180 48 5C 0E B2 00 00 00 1C 00 5A 00 02 49 4E 46 4F H\.².....Z..INFO
00000190 00 00 00 1A 4C 41 42 53 00 00 00 26 52 45 50 54 ....LABS...&REPT
000001A0 00 00 00 32 03 E8 FF FF 00 00 00 00 03 C8 48 CC ...2.èÿÿ.....ÈHÌ
000001B0 03 E8 FF FF 00 00 00 4E 03 C8 49 14 03 E8 FF FF .èÿÿ...N.ÈI..èÿÿ
000001C0 00 00 00 52 03 C8 48 E4 ...R.ÈHä
grandoth
Space Cadet
Posts: 2
Joined: Fri Nov 25, 2022 12:45 am

Re: Resource Fork repair

Post by grandoth »

I think I figured it out through some trial and error:
I was able to get a native MOD files from Sound-Trecker and use Mini Conversion to get some of my own MOD files recognized. Then matching up the Type and Creator strings in the resource fork, I was able to determine at least some of my audio files are Type: FSSD; Creator: KBMF

I was able to play them with SoundApp and SoundEdit Pro.
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Resource Fork repair

Post by adespoton »

As for resource fork repair... if your host system is macOS, it's relatively simple to merge the files again, by putting the data in data.file and then copying the resource fork in:

Code: Select all

cp resource.frk data.file/..namedfork/rsrc
It's also possible on Windows to recombine by placing the files in the right places with the right names in the shared folder... it looks like you tried this.

And, of course, for many files, a resource fork (or a data fork) isn't actually needed as all the actual required data is sitting in a single fork. All it needs is the appropriate type/creator values added to be usable.
Post Reply