• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Unable to bundle extension in ZXP, help

Community Beginner ,
Apr 28, 2017 Apr 28, 2017

Copy link to clipboard

Copied

Hey all,


So I've finished writing my first extension and I'm really exited! This tool I made can save so much time internally as I made a sprite sheet builder based off user layer comps. However I can't publish it and the docs I found are spiradic , i could really use advice on this I dont know the best place to ask. Hopefully you can give me feedback!

I have the extension with the normal layout, I built it in sublime with javascript
Layout

com.luckysprite.ext
->css
->CSXS
->font
->js
->jsx
index.html

WIth the manifest file, I tried to sign it with ZXPSignCmd like this

$ ./ZXPSignCmd -sign luckysprite luckysprite.zxp lucky.p12 password
But when I try to load it it says it's corrupted. I tried to verify it and it says it's fine. Something's wrong with my manifest file I think but I dont know what.
Manifest:

<?xml version="1.0" encoding="UTF-8"?>

<ExtensionManifest Version="5.0" ExtensionBundleId="com.luckysprite.ext" ExtensionBundleVersion="1.0.0"

  ExtensionBundleName="luckysprite" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <ExtensionList>

  <Extension Id="com.luckysprite.ext" Version="1.0" />

  </ExtensionList>

  <ExecutionEnvironment>

  <HostList>

          <Host Name="PHXS" Version="[15.0,22.9]" />

            <Host Name="PHSP" Version="[15.0,22.9]" />

  </HostList>

  <LocaleList>

  <Locale Code="All" />

  </LocaleList>

  <RequiredRuntimeList>

  <RequiredRuntime Name="CSXS" Version="5.0" />

  </RequiredRuntimeList>

  </ExecutionEnvironment>

  <DispatchInfoList>

  <Extension Id="com.luckysprite.ext">

  <DispatchInfo >

  <Resources>

  <MainPath>./index.html</MainPath>

  <ScriptPath>./jsx/hostscript.jsx</ScriptPath>

  </Resources>

  <Lifecycle>

  <AutoVisible>true</AutoVisible>

  </Lifecycle>

  <UI>

  <Type>Panel</Type>

  <Menu>Lucky Sprite</Menu>

  <Geometry>

  <Size>

  <Height>500</Height>

  <Width>200</Width>

  </Size>

                    <!--<MinSize>

                            <Height>550</Height>

                            <Width>400</Width>

                        </MinSize>

                        <MaxSize>

                            <Height>550</Height>

                            <Width>400</Width>

                        </MaxSize>-->

  </Geometry>

  <Icons>

  <Icon Type="Normal">./icons/iconNormal.png</Icon>

  <Icon Type="RollOver">./icons/iconRollover.png</Icon>

  <Icon Type="Disabled">./icons/iconDisabled.png</Icon>

  <Icon Type="DarkNormal">./icons/iconDarkNormal.png</Icon>

  <Icon Type="DarkRollOver">./icons/iconDarkRollover.png</Icon>

  </Icons>

  </UI>

  </DispatchInfo>

  </Extension>

  </DispatchInfoList>

</ExtensionManifest>

I tried to make it work on all versions of photoshop I could, from now till the future.

Does anyone have any guides on what I did wrong, and how I can make a private extension I can redistribute to users in my company. All using Photoshop CC to CC 2017?
Feedback would be greatly appreciated!

Thank you so much!

TOPICS
Actions and scripting

Views

1.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Beginner ,
Apr 28, 2017 Apr 28, 2017

Copy link to clipboard

Copied

The extension is at http://luckyde.com/Lp/luckysprite_v1.ext.zip
If anyone wants to see the manifest file

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Apr 29, 2017 Apr 29, 2017

Copy link to clipboard

Copied

Bad link. Page not found.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 29, 2017 Apr 29, 2017

Copy link to clipboard

Copied

Damn, try this link! http://luckyde.com/site/luckysprite_v1.ext.zip

And full directory you can browse online Index of /site/luckysprite_v1.ext

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 29, 2017 Apr 29, 2017

Copy link to clipboard

Copied

Sorry but it works for me

Could you put the error message that appears to you?

Schermata 2017-04-29 alle 18.33.29.png

You might want to know what this plug in

thank you

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 29, 2017 Apr 29, 2017

Copy link to clipboard

Copied

Wait can you explain exactly how you got it to work?

It told me the manifest XML file was corrupted when I tried to install​ it. Please let me know the steps you took to make it useable.

It works like this:

Make a layer composition, as many as you want(remember to have your file saved)  and press make me a Sprite sheet.

It will make a second file inn the same folder that converts the comps to a vertical or horizontal Sprite. So that's how it works

Please let me know what I'm doing wrong if possible, I'd like to aim for Photoshop cs6 and upwarss to 2017.. since the actions aren't specific to the new versions.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 30, 2017 Apr 30, 2017

Copy link to clipboard

Copied

Eventually do you get this error?

https://forums.adobe.com/thread/2270702

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 30, 2017 Apr 30, 2017

Copy link to clipboard

Copied

Yes I get this error   and I checked , and validated it... No luck

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
May 01, 2017 May 01, 2017

Copy link to clipboard

Copied

To resolve this problem, you need to change registry keys

And explained everything in the link

en joy

https://github.com/majman/adobe-scripts-panel/blob/master/README.md

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 01, 2017 May 01, 2017

Copy link to clipboard

Copied

The link contains a plugin that loads other plugins, is there a way to install a plugin without needing it?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 01, 2017 May 01, 2017

Copy link to clipboard

Copied

here's what it looks like when I try to drag the folder to /CEP/Extensions on any computer i install it on and then try opening the plugin panel in photshop

Screen Shot 2017-05-01 at 9.52.00 AM.png

and the only way to make it work is to go in terminal and :defaults write com.adobe.CSXS.7 PlayerDebugMode 1

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
May 01, 2017 May 01, 2017

Copy link to clipboard

Copied

It's the only way to get it done and that

Unfortunately photoshop has a bug that will solve in the next releases

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
May 01, 2017 May 01, 2017

Copy link to clipboard

Copied

Signature / Timestamping check (annoying as it might be) it can hardly be considered as a bug IMHO; can you share more about this to be solved in the next release? Thanks

Davide

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 02, 2017 May 02, 2017

Copy link to clipboard

Copied

Yeah I don't know where the bug really lies in Adobe but I tried to directly submit to the exchange the other day using a zip and also trying their beta zip and sign options. Both got stuck in processing.

I've alerted adobe and they've said the issue is on their end and to wait but that's all the info I have. I can update the topic if i get an update but if someone else has plugins that they've gone trough and submitted please let me know how you signed it!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 02, 2017 May 02, 2017

Copy link to clipboard

Copied

Saw something the other day about a dev who had a problem with the default timestamp server in the XZPSignCmd having been depricated and gone... couldn't find the OP I saw, but check the last post on the thread:

Cannot contact the chosen TSA while trying to create ZXP

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
May 02, 2017 May 02, 2017

Copy link to clipboard

Copied

LATEST

For that (timestamp server error), also have a look here:

HTML Panel Tips #24: Fixing ZXP Timestamping errors | Photoshop, etc.

I've had issues myself submitting to Adobe Add-ons yesterday (stalled while checking the upload), but now it seems fine.

Davide

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines