Extras Manager Extension

Justin

  • *
  • Posts: 4716
Extras Manager Extension (Beta)

Access the extras folder from within Stencyl.

It's late and I need to go to school early, so I'll update this thread properly later.

Screenshots: See attachments.

Notes:
- Make sure to go to the Extension Options page to set your image/text editors.
- Rename button doesn't do anything yet.
- No drag and drop yet.
- Lots of the GUI is really ugly right now.

Get it

- Use the following repository: http://www.polydes.com/repo

Version History

4/3/14 - Initial Beta Release
12/6/14 - Added some DnD, improved UI, everything keeps updated with the filesystem

« Last Edit: November 17, 2015, 05:07:50 pm by Justin »
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

Justin

  • *
  • Posts: 4716
Updated with a small change. Apparently using filenames that begin with a . was causing issues on Macs, so I changed how the img/txt templates are stored.

If you used the previous version, it's fine to delete the .templates folder from your extras directory.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

irock

  • *
  • Posts: 2891
Is this still being developed?

Justin

  • *
  • Posts: 4716
I've updated this extension.
- The UI is much cleaner. I've adapted the dark tree from my other extensions for this one.
- Renaming files works now.
- Everything should refresh now to keep current with the filesystem.
- If you use any of my other extensions, most of them store data in the extras folder. You can hide those folders from showing up in this extension by downloading the latest version of each of them.
- Files can be dragged in from the desktop/file browser, and within the extension, files can also be dragged around in the tree to the left. Dragging files in the main content area will arrive later.

For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

designpeg

  • *
  • Posts: 731
This gives an error every time i open a game:

Unexpected problem on thread AWT-EventQueue-0: null
java.lang.NullPointerException
   at stencyl.ext.polydes.extrasmanager.app.darktree.DTreeTransferHandler.dispose(DTreeTransferHandler.java:248)
   at stencyl.ext.polydes.extrasmanager.app.darktree.DarkTree.dispose(DarkTree.java:205)
   at stencyl.ext.polydes.extrasmanager.app.pages.MainPage.localDispose(MainPage.java:66)
   at stencyl.ext.polydes.extrasmanager.app.pages.MainPage.dispose(MainPage.java:58)
   at stencyl.ext.polydes.extrasmanager.app.MainEditor.disposePages(MainEditor.java:37)
   at stencyl.ext.polydes.extrasmanager.Main.onGameClosed(Main.java:221)
   at stencyl.sw.actions.Actions.gameClosed(Actions.java:690)
   at stencyl.sw.app.App.closeGame(App.java:2236)
   at stencyl.sw.app.callbacks.GameClosedCallback.callWhenDone(GameClosedCallback.java:15)
   at stencyl.sw.app.App.promptToCloseGame(App.java:2056)
   at stencyl.sw.app.App.actionPerformed(App.java:489)
   at stencyl.sw.actions.ActionManager.actionPerformed(ActionManager.java:67)
   at stencyl.sw.actions.SAction.actionPerformed(SAction.java:121)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
   at javax.swing.AbstractButton.doClick(AbstractButton.java:389)
   at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:95)
   at java.awt.MenuItem.processActionEvent(MenuItem.java:650)
   at java.awt.MenuItem.processEvent(MenuItem.java:609)
   at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:343)
   at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:331)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:720)
   at java.awt.EventQueue.access$400(EventQueue.java:82)
   at java.awt.EventQueue$2.run(EventQueue.java:676)
   at java.awt.EventQueue$2.run(EventQueue.java:674)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:97)
   at java.awt.EventQueue$3.run(EventQueue.java:690)
   at java.awt.EventQueue$3.run(EventQueue.java:688)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:687)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Looks great though, i could be really usfull to me, especially with the great new image blocks.

yoplalala

  • *
  • Posts: 1632
Just installed it.

Found a bug, when I enable this extension,
no blocks appear in the palette in the extension tab

Justin

  • *
  • Posts: 4716
Not happening for me. Logs?
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)


Donni11

  • *
  • Posts: 2181
Sorry for posting on a old thread but which folder do you place the java file " Engine Extensions " or " Extensions " ?
Peace

Justin

  • *
  • Posts: 4716
It goes in the "extensions" folder.

Or you can grab the latest Stencyl build, go to "Extensions > Get Extensions", add the repository "http://www.polydes.com/repo", and install the extension from there. :)
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

Donni11

  • *
  • Posts: 2181
It goes in the "extensions" folder.

Or you can grab the latest Stencyl build, go to "Extensions > Get Extensions", add the repository "http://www.polydes.com/repo", and install the extension from there. :)
Thanks Justin :) !
Peace

Donni11

  • *
  • Posts: 2181
@Justin, Hello :), I'm receiving a error when tying to use the extension :

full logs
Details :

unexpected problem on thread AWT-EventQueue-0: null
java.lang.NullPointerException
   at com.polydes.common.ui.darktree.DarkTree.validate(DarkTree.java:663)
   at com.polydes.common.ui.darktree.DTreeCellEditor.validate(DTreeCellEditor.java:180)
   at com.polydes.common.ui.darktree.DTreeCellEditor.insertUpdate(DTreeCellEditor.java:216)
   at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:201)
   at javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:748)
   at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:707)
   at javax.swing.text.PlainDocument.insertString(PlainDocument.java:130)
   at javax.swing.text.AbstractDocument.replace(AbstractDocument.java:669)
   at javax.swing.text.JTextComponent.setText(JTextComponent.java:1669)
   at com.polydes.common.ui.darktree.InlineTreeInput.setText(InlineTreeInput.java:138)
   at com.polydes.common.ui.darktree.DTreeCellEditor.getTreeCellEditorComponent(DTreeCellEditor.java:160)
   at javax.swing.plaf.basic.BasicTreeUI.startEditing(BasicTreeUI.java:2131)
   at com.polydes.common.ui.darktree.DTreeUI.mousePressed(DTreeUI.java:233)
   at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
   at java.awt.Component.processMouseEvent(Component.java:6532)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
   at java.awt.Component.processEvent(Component.java:6300)
   at java.awt.Container.processEvent(Container.java:2236)
   at java.awt.Component.dispatchEventImpl(Component.java:4891)
   at java.awt.Container.dispatchEventImpl(Container.java:2294)
   at java.awt.Component.dispatchEvent(Component.java:4713)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4522)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
   at java.awt.Container.dispatchEventImpl(Container.java:2280)
   at java.awt.Window.dispatchEventImpl(Window.java:2750)
   at java.awt.Component.dispatchEvent(Component.java:4713)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
   at java.awt.EventQueue.access$500(EventQueue.java:97)
   at java.awt.EventQueue$3.run(EventQueue.java:709)
   at java.awt.EventQueue$3.run(EventQueue.java:703)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
   at java.awt.EventQueue$4.run(EventQueue.java:731)
   at java.awt.EventQueue$4.run(EventQueue.java:729)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

 
Peace

Justin

  • *
  • Posts: 4716
What were you doing at the time
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

Donni11

  • *
  • Posts: 2181
Clicking on the selected file ( extra) and after that  renaming a new folder. I received this error message twice, one for each action.
Peace

Donni11

  • *
  • Posts: 2181
Okay , everything is working now, small bugs but everything seems to be going fine. Also just want to say this is one of my favriote extensions ever !! Super helpful !! Also suggestion : user should be able to move folder from different locations on their computer to the " extras" folder in this extension.
Peace