Zipping skins on a Mac.

The forum for designers and developers.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
catkiller
Posts: 6
Joined: 3. Dec 11, 19:06
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Zipping skins on a Mac.

Postby catkiller » 16. Dec 11, 00:13

Hi,

I've been having a hard time getting Silverjuke to "recognize" a zipped skin (I used a skin from the Forum, decompressed it and recompressed it and tried that).

I understand people have been having issues with Mac, as I found another thread that dealt with the problem and advised to use Winzip on Mac, or 7zip (not really available for Mac).

I tried the Unix (from Mac OS X) "zip" util, in both "store" and "deflate" mode with no luck: The archive is perfect, I can decompress it fine, but when I throw it in the Silverjuke skin directory it is not comning up on the Silverjuke preferences, even after a restart of Silverjuke.

When I try with a skin downloaded from here, it works fine.

I made sure to change the extension name to .sjs.

I also then tried the Mac OS X standalone zip tool, didn't work, tried Winzip in all modes (zip, zipx, lha), no luck.

Has anyone found a solution to compress skin files on a Mac?

Else, does anyone know which compression algorithm Silverjuke uses so that I can find a tool that will work?

Thanks a lot in advance for your help.

Cat'

User avatar
Service-Team
Posts: 2448
Joined: 7. Dec 04, 04:48
Location: Germany
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Zipping skins on a Mac.

Postby Service-Team » 16. Dec 11, 08:40

Hello catkiller,

a common mistake with zipping skins is, that the ZIP contains a folder with the files and not only the files.

The ZIP-File must have the following Structure:
skin.sjs/main.xml
skin.sjs/image.png
skin.sjs/etc.png

The following structure will not be recognizes as a skin:
skin.sjs/name-of-the-skin/main.xml
skin.sjs/name-of-the-skin/image.png
skin.sjs/name-of-the-skin/etc.png

Maybe this help ...

See also: http://www.silverjuke.net/sdk/skin-howto.html

Best regards,
Your Silverjuke-Team
Last edited by Service-Team on 19. Dec 11, 23:42, edited 1 time in total.

catkiller
Posts: 6
Joined: 3. Dec 11, 19:06
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Zipping skins on a Mac.

Postby catkiller » 19. Dec 11, 23:41

Thanks!

This was exactly the problem.

Thanks again for your help.

Cat'


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Developer Network”