- Uređeno
Can't open sample files or import images
I just downloaded the Spine trial (3.8.97) for Mac (10.15.6) and I can't do anything with this software. When I open a sample file, it gives me an error, and when I try to import my own files, it gives me an error.
Here's the sample file error:
Spine Launcher 3.8.97 Trial
Esoteric Software LLC (C) 2013-2020 | http://esotericsoftware.com
Mac OS X x86_64 10.15.6
Starting: Spine 3.8.97 Trial
Spine 3.8.97 Trial
ATI Technologies Inc., AMD Radeon Pro Vega 64X OpenGL Engine, 2.1 ATI-3.10.16
Started.
OpenAL 1.1, Default audio device
WARNING: Error opening project:
gz: Error reading file: /Applications/Spine Trial/Spine Trial.app/../examples/spineboy/spineboy-pro.spine (Absolute)
at G.V(SourceFile:150)
at rR.V(SourceFile:643)
at pS.V(SourceFile:498)
at WA.run(SourceFile:279)
at sW.run(SourceFile:1183)
at Yb.V(SourceFile:488)
at ek.V(SourceFile:65)
at dK.V(SourceFile:98)
at dN.V(SourceFile:46)
at dN.V(SourceFile:49)
at dS.V(SourceFile:222)
at com.esotericsoftware.spine.editor.Editor.I(SourceFile:12186)
at f.V(SourceFile:287)
at f.I(SourceFile:244)
at le.I(SourceFile:114)
at l.run(SourceFile:200)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue.access$600(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: /Applications/Spine Trial/Spine Trial.app/../examples/spineboy/spineboy-pro.spine (No such file or directory)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(Unknown Source)
at java.base/java.io.FileInputStream.<init>(Unknown Source)
at G.V(SourceFile:146)
... 29 more
And the error when I try to import a folder of images (I made sure I selected Folder instead of JSON):
Spine Launcher 3.8.97 Trial
Esoteric Software LLC (C) 2013-2020 | http://esotericsoftware.com
Mac OS X x86_64 10.15.6
Starting: Spine 3.8.97 Trial
Spine 3.8.97 Trial
ATI Technologies Inc., AMD Radeon Pro Vega 64X OpenGL Engine, 2.1 ATI-3.10.16
Started.
OpenAL 1.1, Default audio device
ERROR: Error importing skeleton:
gz: Cannot open a stream to a directory: /Users/bocatv-joey/Desktop/bad sonic (Absolute)
at G.V(SourceFile:149)
at G.V(SourceFile:157)
at jJ.<init>(SourceFile:882)
at jI.V(SourceFile:137)
at kz.V(SourceFile:136)
at vc.V(SourceFile:301)
at vj.run(SourceFile:274)
at sL.V(SourceFile:1680)
at vc.B(SourceFile:267)
at ux.I(SourceFile:379)
at ev.V(SourceFile:92)
at fG.V(SourceFile:28)
at dK.V(SourceFile:188)
at dK.V(SourceFile:158)
at com.badlogic.gdx.scenes.scene2d.ui.Button.I(SourceFile:131)
at eo.V(SourceFile:94)
at fI.V(SourceFile:88)
at dQ.V(SourceFile:59)
at dS.I(SourceFile:351)
at COM3.I(SourceFile:124)
at v.I(SourceFile:91)
at lPT3.V(SourceFile:86)
at f.I(SourceFile:3135)
at le.I(SourceFile:114)
at l.run(SourceFile:200)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue.access$600(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: /Users/bocatv-joey/Desktop/bad sonic (Is a directory)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(Unknown Source)
at java.base/java.io.FileInputStream.<init>(Unknown Source)
at G.V(SourceFile:146)
... 38 more
I'm pretty sure I have all of the computer's security disabled for Spine. I see nothing preventing it from accessing my files or anything like that. I'm trying to do tutorials for this software and I can't even do the most basic things to get started. So what gives? How can I get this to work?
Sorry you are having trouble. Let's see if we can figure out what is going on!
How are you trying to open an example project? Are you clicking the example from the welcome screen, shown when Spine starts? It is looking here:
/Applications/Spine Trial/examples/spineboy/spineboy-pro.spine
Does the file exist at that path if you navigate there using Finder? If so, does it open if you use Open Project
and specify the example file that way?
For your second problem, it appears there is a bug when using Import Data
and specifying a folder. We've fixed this in v4. For now please try choosing a JSON or binary data file rather than a folder of data files.
Nate wroteSorry you are having trouble. Let's see if we can figure out what is going on!
How are you trying to open an example project? Are you clicking the example from the welcome screen, shown when Spine starts? It is looking here:
/Applications/Spine Trial/examples/spineboy/spineboy-pro.spine
Does the file exist at that path if you navigate there using Finder? If so, does it open if you use
Open Project
and specify the example file that way?For your second problem, it appears there is a bug when using
Import Data
and specifying a folder. We've fixed this in v4. For now please try choosing a JSON or binary data file rather than a folder of data files.
Hi thanks for the reply. I was trying to launch the sample projects from the Welcome screen. I checked that directory and nothing is in there but a readme, so it seems they didn't get installed with my trial edition for some reason.
As for the JSON file, I'm trying to animate 2D characters drawn in Photoshop, so what I have is PNG's or JPEG's. Is there something I can do to make JSON or binary files from those? Or is Spine not meant for this?
I see we can improve the welcome screen when the example files can't be found. We handle that in the menu that comes up when you single click the example item, but if you double click an item it tries to open even if the example file doesn't exist. We'll show an error dialog instead.
I'm not sure why you don't have the example files, but you can find them in the Spine download. You can also download them from the example web pages:
Spine: Example Projects
Those pages explain in detail how the projects are setup and how they work. That can be very helpful if you explore the project in Spine as you read the page for that project.
If you don't have a JSON or binary data file, then Import Data
is not what you want. There are two ways to get your images into Spine:
1) Set the path on the Images
node in the tree:
Images - Spine User Guide
Your images will then show up under the Images
node. You can drag them into the viewport or use the Set Parent
button. This is the manual process though, read on if you are using Photoshop.
2) You can run the PhotoshopToSpine script in Photoshop to generate a Spine JSON file. Then you can use Import Data
to bring your images into Spine at the same locations they were in Photoshop, which is more precise and saves a lot of time compared to positioning them manually.
Okay great, thanks for all the info! Last question because I didn't see it mentioned anywhere else: I've been using After Effects for a while and my favorite feature is how it dynamically updates your images as you edit them in Photoshop and save your project. This way I don't have to keep re-importing footage as I fix minor mistakes in my drawings. Is this possible in Spine with the PhotoshopToSpine script, or is this not possible with Spine?
Spine continuously monitors the image files in the folder set for the Images
node and instantly reloads the images if they change. It doesn't monitor your PSD file though, so if you move images around in the PSD you'll have to use Import Data
again (or manually move the images in Spine).
Nate wroteSpine continuously monitors the image files in the folder set for the
Images
node and instantly reloads the images if they change. It doesn't monitor your PSD file though, so if you move images around in the PSD you'll have to useImport Data
again (or manually move the images in Spine).
Okay so it sounds like I can have the same effect if I export my layers and just override the originals. That works for what I need. Thank you so much for everything!