Switch to full style
About BasiliskII, a 68k Mac emulator for Windows, MacOSX, and Linux that can run System 7.x through MacOS 8.1.
Post a reply

Re: Preferences manager for OSX

Sat Oct 18, 2014 11:33 am

Hello,

Renegade, I think you must have tried the build 1, this bug was reported by emendelson some days ago and fixed in build 2.

I just finished build 3, which adds support for SheepShaver! It also adds an option to import the default prefs files. A few keys will be ignored, they are reported in the logs. If you want some more detailed keys to be there, let me know.

Also, emendelson's suggestion of an inline button is implemented.

Please find it here:

https://github.com/sentient06/Medusa/releases/tag/v1.2.0b3

Remember these are betas, so compatibility between them is limited. I noticed issues when updating between different builds of the same version (1.2b1 to 1.2b3, for example). So I'd suggest you clean all files generated by Medusa. They are the following:

Preferences file:
~/Library/Preferences/Giancarlo-Mariot.Medusa.plist
Core-data files dir:
~/Library/Medusa
Application support dir:
~/Library/Application Support/Medusa

If you have any suggestions for improvement, specially when it comes to missing preference keys, please let me know.

By the way, I tried, to the best of my knowledge, to document all SheepShaver preferences here:

https://github.com/sentient06/Medusa/wiki/Sheepshaver-preferences-on-OSX-and-Unix

If you have more details to share, I will be happy to update this page. Please feel free to use the content anywhere you want.

Re: Preferences manager for OSX

Mon Oct 20, 2014 4:50 pm

I should send you one of my PearPC bundles so you can add support for that too :D

Re: Preferences manager for OSX

Tue Oct 21, 2014 10:38 am

adespoton wrote:I should send you one of my PearPC bundles so you can add support for that too :D


Hey, I actually thought of that! :mrgreen:

Thing is, I don't like Basilisk II and SheepShaver messing my environment and creating invisible files everywhere (Linux-like) and I really hate those multi-platform ugly GUIs that pretty much just write a text file. So I decided to do this app to leave everything tidy.

I considered supporting PearPC, Mini vMac, QEMU and Shoebill, but Mini vMac has it's own sort of "philosophy" of how it should work and I'll just leave it be. Although PearPC could fit in this project, maybe I should start a new project for PearPC and QEMU and leave Medusa alone. Shoebill is not mature yet, I guess I'll wait and see.

For the moment I will leave these GUI projects and focus on improving my knowledge of emulation in general and try to help with the emulators when I am able. Too many projects are stuck out there.

Re: Preferences manager for OSX

Tue Nov 11, 2014 5:07 pm

I can't seem to get Medusa to work; I can't add ANY of my ROMs to the "Assets Manager" or the VMs. Am I missing some configuration somewhere? I'm using Medusa 1.2.0b3 on OS X Yosemite 10.10

Image

Image

Re: Preferences manager for OSX

Tue Nov 11, 2014 8:41 pm

Did you use the "+" button to add ROM files to the list?

Re: Preferences manager for OSX

Tue Nov 11, 2014 9:34 pm

Ronald P. Regensburg wrote:Did you use the "+" button to add ROM files to the list?

Yes, I tried the "+", I tried dragging and dropping. I even tried to force open a rom file by extension association in info properties of the .ROM files. I tried everything I know. Has anyone else gotten this to work on Yosemite? I'd like to know so I can narrow it down to if it's just a problem with Yosemite, or my specific machine and configuration.

Box comes on to select ROMs after clicking "+" but list is still blank after making a selection, and list under the VM is blank as well.
Image

Re: Preferences manager for OSX

Wed Nov 12, 2014 3:33 pm

Hello,

I never tested in Yosemite.. that looks bad..

I was thinking at least the button should work fine; probably something changed in Yosemite that prevents the file to be added.

I'll look into it, no panic!

Thanks for the feedback!

Re: Preferences manager for OSX

Wed Nov 12, 2014 3:45 pm

Renegade, please update to build 3. This bug was already fixed.

Mac8a, it will take some time for me to get an updated OSX to test it properly, could you please check the logs?

In case you don't know how, you will probably find the application called "Console" in the "/Applications/Utilities" directory.
Open it, click on "clear display" and execute Medusa.

There are always some messages there to help debugging.

Image

Oh yes, to copy the log lines, use the menu Edit > Copy. Plain right-click doesn't work.

Re: Preferences manager for OSX

Wed Nov 12, 2014 9:23 pm

sentient06 wrote:Renegade, please update to build 3. This bug was already fixed.

Mac8a, it will take some time for me to get an updated OSX to test it properly, could you please check the logs?

In case you don't know how, you will probably find the application called "Console" in the "/Applications/Utilities" directory.
Open it, click on "clear display" and execute Medusa.

There are always some messages there to help debugging.

Image

Oh yes, to copy the log lines, use the menu Edit > Copy. Plain right-click doesn't work.


Sorry it took so long to reply; I guess I didn't have a subscription to this thread so I didn't know you had posted here. Anyways... I did as you instructed and below are the results:

Code:
11/12/14 3:16:55.740 PM Medusa[6544]: Current Version of .xcdatamodeld file: 1.2.0.2
11/12/14 3:16:55.916 PM Medusa[6544]: You must specify the URL of the appcast as the SUFeedURLKey in either the Info.plist or the user defaults!
11/12/14 3:16:55.945 PM Medusa[6544]: (
   0   CoreFoundation                      0x00007fff9a35064c __exceptionPreprocess + 172
   1   libobjc.A.dylib                     0x00007fff9aa446de objc_exception_throw + 43
   2   CoreFoundation                      0x00007fff9a3504fd +[NSException raise:format:] + 205
   3   Sparkle                             0x00000001000b5b99 Sparkle + 11161
   4   Sparkle                             0x00000001000b5c6f Sparkle + 11375
   5   Sparkle                             0x00000001000b5531 Sparkle + 9521
   6   Foundation                          0x00007fff950a1023 __NSFireTimer + 95
   7   CoreFoundation                      0x00007fff9a2a3b44 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
   8   CoreFoundation                      0x00007fff9a2a37d3 __CFRunLoopDoTimer + 1059
   9   CoreFoundation                      0x00007fff9a316d9d __CFRunLoopDoTimers + 301
   10  CoreFoundation                      0x00007fff9a260268 __CFRunLoopRun + 2024
   11  CoreFoundation                      0x00007fff9a25f838 CFRunLoopRunSpecific + 296
   12  HIToolbox                           0x00007fff97c0343f RunCurrentEventLoopInMode + 235
   13  HIToolbox                           0x00007fff97c031ba ReceiveNextEventCommon + 431
   14  HIToolbox                           0x00007fff97c02ffb _BlockUntilNextEventMatchingListInModeWithFilter + 71
   15  AppKit                              0x00007fff8eda8821 _DPSNextEvent + 964
   16  AppKit                              0x00007fff8eda7fd0 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
   17  AppKit                              0x00007fff8ed9bf73 -[NSApplication run] + 594
   18  AppKit                              0x00007fff8ed87424 NSApplicationMain + 1832
   19  Medusa                              0x00000001000011c4 start + 52
   20  ???                                 0x0000000000000001 0x0 + 1
)
11/12/14 3:16:56.166 PM sandboxd[6403]: ([429]) storeuid(429) deny mach-lookup com.apple.dock.server
11/12/14 3:17:19.508 PM Medusa[6544]: assertion failed: 14A389: libxpc.dylib + 97940 [9437C02E-A07B-38C8-91CB-299FAA63083D]: 0x89
11/12/14 3:17:42.909 PM Medusa[6544]: Selected files: (
    "file:///Users/ryan/Library/Application%20Support/Medusa/ROMs/QUADRA%20650.ROM"
)
11/12/14 3:17:42.909 PM Medusa[6544]: File did not pass validation for ROM.
11/12/14 3:18:24.256 PM Medusa[6544]: Selected files: (
    "file:///Applications/BasiliskII/PERFORMA.ROM"
)
11/12/14 3:18:24.256 PM Medusa[6544]: File did not pass validation for ROM.

I don't understand it saying that File did not pass validation for ROM because I use these exact ROMs with my Virtual Machines that run just fine. and I've gotten several of them from different sources.
but in particular it failed on the one that was recruited from Redundant Robot that is mentioned in the Guides.

Hope this helps, thank you for this wonderful creation. :)

Re: Preferences manager for OSX

Wed Nov 12, 2014 9:32 pm

sentient06 wrote:Mac8a, it will take some time for me to get an updated OSX to test it properly, could you please check the logs?


Medusa seems to work perfectly under OS X 10.10 Yosemite. I can't imagine what's wrong in Mac8a's system. Everything works correctly here.

Re: Preferences manager for OSX

Wed Nov 12, 2014 9:41 pm

emendelson wrote:
sentient06 wrote:Mac8a, it will take some time for me to get an updated OSX to test it properly, could you please check the logs?


Medusa seems to work perfectly under OS X 10.10 Yosemite. I can't imagine what's wrong in Mac8a's system. Everything works correctly here.


That's both encouraging and discouraging, lol.
I'm glad to know it's working in Yosemite, I'm sad to learn that it doesn't work on my specific machine. I wish I knew the differences in setup that may be causing this discrepancy. Did you have to do any extra steps or change any configuration files? Do the ROMs have to be renamed to "Mac OS ROM"? I don't know if it matters, but I also installed the beta test of Mac ROMan also from sentient06

Re: Preferences manager for OSX

Wed Nov 12, 2014 9:49 pm

Mac8a wrote:
emendelson wrote:
sentient06 wrote:Mac8a, it will take some time for me to get an updated OSX to test it properly, could you please check the logs?


Medusa seems to work perfectly under OS X 10.10 Yosemite. I can't imagine what's wrong in Mac8a's system. Everything works correctly here.


That's both encouraging and discouraging, lol.
I'm glad to know it's working in Yosemite, I'm sad to learn that it doesn't work on my specific machine. I wish I knew the differences in setup that may be causing this discrepancy. Did you have to do any extra steps or change any configuration files? Do the ROMs have to be renamed to "Mac OS ROM"? I don't know if it matters, but I also installed the beta test of Mac ROMan also from sentient06


No special setup. No renaming. I just downloaded it and it worked.

Re: Preferences manager for OSX

Wed Nov 12, 2014 9:55 pm

emendelson wrote:
Mac8a wrote:
emendelson wrote:
Medusa seems to work perfectly under OS X 10.10 Yosemite. I can't imagine what's wrong in Mac8a's system. Everything works correctly here.


That's both encouraging and discouraging, lol.
I'm glad to know it's working in Yosemite, I'm sad to learn that it doesn't work on my specific machine. I wish I knew the differences in setup that may be causing this discrepancy. Did you have to do any extra steps or change any configuration files? Do the ROMs have to be renamed to "Mac OS ROM"? I don't know if it matters, but I also installed the beta test of Mac ROMan also from sentient06


No special setup. No renaming. I just downloaded it and it worked.

What machine are you running? Are you on 64 bit or 32 bit?

Re: Preferences manager for OSX

Wed Nov 12, 2014 10:08 pm

Mac8a wrote:What machine are you running? Are you on 64 bit or 32 bit?


MacBook Air 2012. Yosemite only runs 64-bit, I believe.

Re: Preferences manager for OSX

Wed Nov 12, 2014 10:18 pm

emendelson wrote:
Mac8a wrote:What machine are you running? Are you on 64 bit or 32 bit?


MacBook Air 2012. Yosemite only runs 64-bit, I believe.

My MacBook Air is one year behind yours. While Yosemite runs in 64-bit, apps can be 32-bit or set to run in 32-bit; AFAIK SheepSaver and BasiliskII are set to run in 32-bit mode by default. And from Mavericks onward seem to break if ran in 64-bit; you can tell this by right clicking one of the two mentioned apps (like SheepShaver) and clicking "Get Info" You'll notice a box ticked "Open in 32-bit mode"

Re: Preferences manager for OSX

Thu Nov 13, 2014 1:11 am

Mac8a wrote:
sentient06 wrote:Renegade, please update to build 3. This bug was already fixed.

Mac8a, it will take some time for me to get an updated OSX to test it properly, could you please check the logs?

In case you don't know how, you will probably find the application called "Console" in the "/Applications/Utilities" directory.
Open it, click on "clear display" and execute Medusa.

There are always some messages there to help debugging.

Image

Oh yes, to copy the log lines, use the menu Edit > Copy. Plain right-click doesn't work.


Sorry it took so long to reply; I guess I didn't have a subscription to this thread so I didn't know you had posted here. Anyways... I did as you instructed and below are the results:

Code:
11/12/14 3:16:55.740 PM Medusa[6544]: Current Version of .xcdatamodeld file: 1.2.0.2
11/12/14 3:16:55.916 PM Medusa[6544]: You must specify the URL of the appcast as the SUFeedURLKey in either the Info.plist or the user defaults!
11/12/14 3:16:55.945 PM Medusa[6544]: (
   0   CoreFoundation                      0x00007fff9a35064c __exceptionPreprocess + 172
   1   libobjc.A.dylib                     0x00007fff9aa446de objc_exception_throw + 43
   2   CoreFoundation                      0x00007fff9a3504fd +[NSException raise:format:] + 205
   3   Sparkle                             0x00000001000b5b99 Sparkle + 11161
   4   Sparkle                             0x00000001000b5c6f Sparkle + 11375
   5   Sparkle                             0x00000001000b5531 Sparkle + 9521
   6   Foundation                          0x00007fff950a1023 __NSFireTimer + 95
   7   CoreFoundation                      0x00007fff9a2a3b44 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
   8   CoreFoundation                      0x00007fff9a2a37d3 __CFRunLoopDoTimer + 1059
   9   CoreFoundation                      0x00007fff9a316d9d __CFRunLoopDoTimers + 301
   10  CoreFoundation                      0x00007fff9a260268 __CFRunLoopRun + 2024
   11  CoreFoundation                      0x00007fff9a25f838 CFRunLoopRunSpecific + 296
   12  HIToolbox                           0x00007fff97c0343f RunCurrentEventLoopInMode + 235
   13  HIToolbox                           0x00007fff97c031ba ReceiveNextEventCommon + 431
   14  HIToolbox                           0x00007fff97c02ffb _BlockUntilNextEventMatchingListInModeWithFilter + 71
   15  AppKit                              0x00007fff8eda8821 _DPSNextEvent + 964
   16  AppKit                              0x00007fff8eda7fd0 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
   17  AppKit                              0x00007fff8ed9bf73 -[NSApplication run] + 594
   18  AppKit                              0x00007fff8ed87424 NSApplicationMain + 1832
   19  Medusa                              0x00000001000011c4 start + 52
   20  ???                                 0x0000000000000001 0x0 + 1
)
11/12/14 3:16:56.166 PM sandboxd[6403]: ([429]) storeuid(429) deny mach-lookup com.apple.dock.server
11/12/14 3:17:19.508 PM Medusa[6544]: assertion failed: 14A389: libxpc.dylib + 97940 [9437C02E-A07B-38C8-91CB-299FAA63083D]: 0x89
11/12/14 3:17:42.909 PM Medusa[6544]: Selected files: (
    "file:///Users/ryan/Library/Application%20Support/Medusa/ROMs/QUADRA%20650.ROM"
)
11/12/14 3:17:42.909 PM Medusa[6544]: File did not pass validation for ROM.
11/12/14 3:18:24.256 PM Medusa[6544]: Selected files: (
    "file:///Applications/BasiliskII/PERFORMA.ROM"
)
11/12/14 3:18:24.256 PM Medusa[6544]: File did not pass validation for ROM.

I don't understand it saying that File did not pass validation for ROM because I use these exact ROMs with my Virtual Machines that run just fine. and I've gotten several of them from different sources.
but in particular it failed on the one that was recruited from Redundant Robot that is mentioned in the Guides.

Hope this helps, thank you for this wonderful creation. :)


@emendelson what does your Console look like? I've tried deleting and removing all traces of Medusa, reboot and attempted to reinstall, only to encounter the same results. Do you have any ideas or suggestions as to what could be the culprit causing the problem?

Re: Preferences manager for OSX

Thu Nov 13, 2014 11:43 am

Mac8a wrote:And from Mavericks onward seem to break if ran in 64-bit;

SheepShaver runs fine in 64-bit mode in Mavericks, but not in Yosemite.

Just a thought about the problem with Medusa:
In a discussion elsewhere about unrelated software, it appeared that Apple changed the alias format in Yosemite and as a result that software could not resolve aliases anymore. Could that issue be related to the problem with Medusa in your setup?

Re: Preferences manager for OSX

Thu Nov 13, 2014 3:51 pm

Ronald P. Regensburg wrote:
Mac8a wrote:And from Mavericks onward seem to break if ran in 64-bit;

SheepShaver runs fine in 64-bit mode in Mavericks, but not in Yosemite.

Just a thought about the problem with Medusa:
In a discussion elsewhere about unrelated software, it appeared that Apple changed the alias format in Yosemite and as a result that software could not resolve aliases anymore. Could that issue be related to the problem with Medusa in your setup?


When one drags and drops a new item into Medusa, it first checks for the file type, then proceeds with file parsing operations and saves an alias into the core-data. The alias is done with a library called "Aliases.h" and is pretty much pure C. The output is pretty much binary data.

Indeed one of the methods used is deprecated (FSNewAlias). [Update: Actually, the whole library is being dropped! Damn Apple, giving me headaches.]

The fact that the error says the file is invalid doesn't mean the rom file is invalid, but maybe it could not parse it because the alias could not be resolved. I'll make a better output to avoid confusion.

So, I'll try updating this code and let's see how it goes from there. It will take some time, so please be patient.

Oh yes, Basilisk II's and SheepShaver's ability to run in Yosemite is not connected to Medusa. Medusa is a Cocoa application, it simply calls the emulators' binary file and watches the process until it is terminated. It should work just fine in both 32 and 64 bit.

If you reeeally want to try it before I fix, old versions of Medusa don't use aliases. I don't recall which is the last version, but should be 1.1b or something similar. Any downgrades require the user to delete the system files, I suggest using AppZapper.

Re: Preferences manager for OSX

Thu Mar 12, 2015 7:39 am

I just tried to build Medusa. But there is a shellScript defined somewhere that wants to run ~/Library/MedusaBackup which I don't have.

Where can I get MedusaBackup or deactivate that shellScript?

Re: Preferences manager for OSX

Thu Dec 01, 2016 4:51 pm

Gentlemen, I'm resurrecting this topic for a while because I have an almost-stable version ready to go.

It is slightly easier to use, there were four releases with bug fixes and some polishing and I think I have something to show now. Some requests were implemented, some were delayed, some new stuff came up (like defining disk type and now you can access the application's help documentation! =D )

If you'd like to take it for a spin, I am preparing a final bug-fixing release later this month, it would be awesome to see if I missed something.

https://github.com/sentient06/Medusa/wiki/Software-history

https://github.com/sentient06/Medusa/releases/tag/v1.2.0rc5

Also, as always, if you have suggestions, requests and ideas, drop me a message and I will see what can be done.

I know there are two big bugs: the first is that Medusa is unable to recognise some ROM files in newer systems if the files are associated with a different application. The second bug is that Medusa cannot assess if some SheepShaver bundles are really SheepShaver (it is only recognising the 2009 bundle). I am already working on these.

Any more bugs, you are more than welcome to report here:

https://github.com/sentient06/Medusa/issues

The interface was made to be compatible with older versions of Mac OS X, so it can look a bit off in newer systems.

Crazy bugs related to ROM parsing and aliasing should be fixed at this point.

Thanks, everyone.
Post a reply