Page 1 of 1

Cannot run application in SheepShaver, on Windows 10

Posted: Sat Apr 21, 2018 12:12 pm
by discovolantis
Hi there.

I have SheepShaver running Mac OS 9, on my Windows 10 computer. However, I am faced with an issue where I cannot launch an application. I downloaded the application in a .zip file. I moved the file to the OS 9 desktop easily enough, by dragging the file onto my MacOS9 alias on my Windows desktop. When I open the .zip in SheepShaver using StuffIt Expander 7.0.3, it creates a folder containing six nondescript files:

https://imgur.com/a/4fmdGGq

I clicked each of the files, trying to get the application to launch, and got this error message every time:

https://imgur.com/a/s2ynekb

The problem persists even when I decompress the file on my Windows partition, or when I decompressed it on a Macbook Pro and then moved the files to SheepShaver with a USB. Even though there are 12 decompressed files on my USB (as shown below), only 6 are visible once the folder has been moved to SheepShaver, and none of them launch the application.

https://imgur.com/a/YWbQ5ob

What might you suggest to get this program working? Any help with this would be very much appreciated. Thanks a lot :smile:

Re: Cannot run application in SheepShaver, on Windows 10

Posted: Sat Apr 21, 2018 4:41 pm
by kataetheweirdo
ZIP files don't preserve resource forks unless you extract that ZIP using Mac OS X. Also, StuffIt's ZIP extraction doesn't work well with resource forks.

Re: Cannot run application in SheepShaver, on Windows 10

Posted: Mon Apr 23, 2018 12:18 pm
by 24bit
Best install SheepShaver on your MBP and move the files inflated with The Unarchiver to a MacOS volume via the UNIX folder.
The files inside the MacOS volume can travel safely via USB or else.
The resource fork of the img file will get lost on FAT32 or exFat, but the img is still recognised when mounted via the SheepShaver Volumes GUI.

ZipIt in MacOS 9 / SheepShaver may be worth a try too: http://macintoshgarden.org/apps/zipit-14-21

Re: Cannot run application in SheepShaver, on Windows 10

Posted: Mon Apr 23, 2018 12:22 pm
by emendelson
And, to clarify what was said above, you can move the entire ZIP file into SheepShaver and unZIP it there. You may need to find an OS 9 unzipping program. It's possible - but only possible - that the resulting files will work.

Re: Cannot run application in SheepShaver, on Windows 10

Posted: Mon Apr 23, 2018 8:39 pm
by Ronald P. Regensburg
If the zip archive is in OSX zip format, it will preserve resource forks. However, the resource forks will only be preserved when the archive is again unzipped with an appropriate application within OSX. As far as I know, no classic MacOS application exists that can do that.

Re: Cannot run application in SheepShaver, on Windows 10

Posted: Tue Apr 24, 2018 10:32 pm
by Jorpho
Ronald P. Regensburg wrote:If the zip archive is in OSX zip format, it will preserve resource forks. However, the resource forks will only be preserved when the archive is again unzipped with an appropriate application within OSX. As far as I know, no classic MacOS application exists that can do that.
It so happens there's one in this old thread:
viewtopic.php?f=1&t=8322

If you decompress the .ZIP file you started with inside SheepShaver using that app, it should work. Normally I would expect there to be a "__MACOSX" folder in the .ZIP for that, though.

The alternative is to solve the problem manually:
  • Starting from https://imgur.com/a/YWbQ5ob , rename each file that starts with "._" so it starts with "%" instead, so you end up with "%Castle", "%Graphics", "%Grunt", and so on.
  • Afterwards, you can navigate to the folder using HFV Explorer. HFV Explorer should show the folder as containing only six files. You can then copy these six files to whatever HFV volume you are using with your emulator.

Re: Cannot run application in SheepShaver, on Windows 10

Posted: Fri May 04, 2018 12:07 pm
by discovolantis
Hi people, thanks for your suggestions. Doing my best to get to the bottom of this.

I installed ZipIt inside Sheepshaver on Windows 10, and used that program to unzip my .zip file inside Sheepshaver.

I got two folders, one titled "._MACOSX" and one titled "Grunt." Here is an image of what's inside... Image

By the way, the files that begin with a "%" had their prefixes changed to that from "._" to see if that made a difference. None of the files run the application, but there is a small change in the error message I get... rather than the hard error message I linked to in the original post, I am told:

"Could not find the application program that created the document named "X". To open the document, select an alternate program, with or without translation:"

The programs listed for me are MacLinkPlus and macps2pdf, neither of which do anything of use.

If I am on the cusp of getting this game to work and someone knows how, please let me know. Thanks so much.

Re: Cannot run application in SheepShaver, on Windows 10

Posted: Fri May 04, 2018 7:15 pm
by adespoton
The only pre-OS X software I know of that will handle OS X zip archives can be found here:
http://www.gryphel.com/c/sw/archive/miniunzp/index.html

ZipIt won't re-combine the metadata with the resource and data forks.

Re: Cannot run application in SheepShaver, on Windows 10

Posted: Sun May 06, 2018 9:08 am
by Ronald P. Regensburg
adespoton wrote:The only pre-OS X software I know of that will handle OS X zip archives can be found here:
http://www.gryphel.com/c/sw/archive/miniunzp/index.html
Yes, indeed. I forgot all about it.

An improved drag&droppable version can be found here: viewtopic.php?p=47731#p47731