EMU-driver icon indicating copy to clipboard operation
EMU-driver copied to clipboard

Control panel cannot find skins

Open emrecelikten opened this issue 8 years ago • 17 comments

I am using a fresh install of OS X Sierra with case-sensitive FS enabled.

Control panel is not displayed properly - I presume it might be caused by case sensitivity of the file system. Nothing is displayed under Skins menu.

Here is what it looks like: https://i.imgur.com/UBSN7xI.png

(Thanks for the driver.)

emrecelikten avatar Nov 29 '16 11:11 emrecelikten

@emrecelikten
Thanks for reporting.

FAIK Creative never released the source code of the control panel so i can not fix anything in there. We will have to figure out what is breaking it in the OS, OR write a new panel from scratch (I'd rather avoid that)

Did you try if the 'case-sensitive FS' setting influences this behaviour? Eg did you try disabling the setting?

Wouter1 avatar Nov 29 '16 11:11 Wouter1

It seems it is not very easy to convert the file system back to case insensitive (and back again), so I'd rather not do that.

I tried renaming Skins folder to skins and SKINS, but it did not fix the problem. Moved it to an exFAT external drive, still the same problem. There are no errors on terminal whatsoever.

exFAT should be case insensitive, perhaps the issue is something else. I guess we will see if this is a common issue or not in a couple of months. Are you using Sierra?

emrecelikten avatar Nov 29 '16 12:11 emrecelikten

@emrecelikten Thanks for trying some potential workarounds.

I don't have Sierra yet so I can't test this here.

It's also a problem that there are no errors appearing. Did you also look in system.log and kernel.log?

Wouter1 avatar Nov 29 '16 12:11 Wouter1

tail -f on /var/log/system.log shows these sometimes after launching, doesn't really seem related to the application:

Nov 29 14:56:32 ammit logd[54]: _handle_cache_delete_with_urgency(0x7fcc27630a90, 3, 0) Nov 29 14:56:32 ammit com.apple.xpc.launchd[1](com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit Nov 29 14:56:32 ammit logd[54]: _handle_cache_delete_with_urgency(0x7fcc29021ea0, 3, 0) Nov 29 14:56:32 ammit logd[54]: _handle_cache_delete_with_urgency(0x7fcc2756e6d0, 3, 0) Nov 29 14:56:37 ammit logd[54]: _handle_cache_delete_with_urgency(0x7fcc29152e60, 3, 0)

Nothing on kernel log either.

The driver works completely fine though, so this is not really an issue for me, at least.

emrecelikten avatar Nov 29 '16 12:11 emrecelikten

@emrecelikten If it's related at all, no it does give much clues about what's the problem.

I think it's a problem: how can you now check the data rate and settings of the driver?

Wouter1 avatar Nov 29 '16 13:11 Wouter1

True. But it is possible to configure CoreAudio settings using audio hosts, which is what I do. For the rest, I personally don't mind default settings. Of course that would not work for everyone.

Let us see if someone else encounters the same problem.

emrecelikten avatar Nov 29 '16 14:11 emrecelikten

@emrecelikten I'll leave this open and give it a try when I get to Sierra

Wouter1 avatar Nov 29 '16 14:11 Wouter1

Thanks. Please let me know if I can help in any way.

emrecelikten avatar Nov 29 '16 15:11 emrecelikten

@emrecelikten did you run the ControlPanel in its original directory ? Or did you copy it to a new location? If you copied, did you copy the Skins directory along with it?

Wouter1 avatar Dec 01 '16 21:12 Wouter1

It's original:

➜ ControlPanel pwd
/Users/emre/Downloads/EMU-driver-4.0.0/ControlPanel
➜ ControlPanel tree
.
├── E-MU\ USB\ Audio\ Control\ Panel.app
│   └── Contents
│       ├── Info.plist
│       ├── MacOS
│       │   └── E-MU\ USB\ Audio\ Control\ Panel
│       ├── PkgInfo
│       └── Resources
│           ├── EMU.icns
│           └── English.lproj
│               ├── InfoPlist.strings
│               └── MainMenu.nib
└── Skins
    ├── BlueSilver
    │   ├── Background.png
    │   ├── CheckBox.png
    │   ├── ComboBox.png
    │   ├── InfoBar.png
    │   ├── LargeBackground.png
    │   ├── StatusLight.png
    │   ├── TextBox.png
    │   ├── bg_AboutBox.png
    │   ├── skin.xml
    │   └── strings.xml
    ├── Classic
    │   ├── Background.png
    │   ├── CheckBox.png
    │   ├── ComboBox.png
    │   ├── InfoBar.png
    │   ├── LargeBackground.png
    │   ├── StatusLight.png
    │   ├── TextBox.png
    │   ├── bg_AboutBox.png
    │   ├── skin.xml
    │   └── strings.xml
    ├── Default
    │   ├── Background.png
    │   ├── CheckBox.png
    │   ├── ComboBox.png
    │   ├── InfoBar.png
    │   ├── LargeBackground.png
    │   ├── StatusLight.png
    │   ├── TextBox.png
    │   ├── bg_AboutBox.png
    │   ├── skin.xml
    │   └── strings.xml
    └── ProteusX
        ├── Background.png
        ├── CheckBox.png
        ├── ComboBox.png
        ├── InfoBar.png
        ├── LargeBackground.png
        ├── StatusLight.png
        ├── TextBox.png
        ├── bg_AboutBox.png
        ├── skin.xml
        └── strings.xml

10 directories, 46 files

Also, when I copied to the external drive, I also copied the Skins directory, as instructed.

emrecelikten avatar Dec 01 '16 21:12 emrecelikten

@emrecelikten Yes that looks fine.

Wouter1 avatar Dec 01 '16 21:12 Wouter1

Very strange, it now works properly when started from the terminal. I was trying to see if I could find anything by setting a breakpoint to functions like opendir with LLDB.

I wonder what I did differently last time as I remember seeing the same issue when run from terminal.

Currently, double clicking the application does not work, but running it from the terminal works. I did not check if it is able to actually change the settings as I don't have access to the audio device temporarily, but the skins are loading fine.

emrecelikten avatar Dec 01 '16 21:12 emrecelikten

Runs fine from terminal but not double-clicked? Might it be something with the run settings (Finder File/Get Info)?

Wouter1 avatar Dec 02 '16 09:12 Wouter1

@emrecelikten do you still have this problem?

I'm on Sierra now and here the control panel works fine. my FS is case insensitive and I would not know even how to change that.

On sierra, we need to use the Console application to see reported errors, as most errors are not logged anymore to system.log (Apple changed this since Sierra). Maybe you can check if you see some errors in Console?

Wouter1 avatar Jan 10 '17 20:01 Wouter1

Sorry for the very late reply.

Since it can be run from the terminal, it became a non-issue for me.

I have reinstalled the OS with non-case sensitive file system now. I do not remember any errors in the console though. I haven't installed the sound drivers yet, will report if I have any problems.

Thanks again. You can close the issue I guess.

emrecelikten avatar Nov 27 '17 14:11 emrecelikten

@emrecelikten thanks for coming back to this. I close this issue !

Wouter1 avatar Nov 27 '17 14:11 Wouter1

Doing tests on Mojave now.

This skin issue appears here too.

If you open the Controlpanel package contents (right click) and then go to Contents/MacOS/EMU USB Audio Control Panel, it does start with the skin correctly

Also, yo can make an alias to this file and then the alias also works correctly.

This all sounds like the system does not set up the home directory properly or something else that is there when run from terminal but not when run as app

Wouter1 avatar Aug 28 '19 19:08 Wouter1