egofree
 Joined: Jun 2013
Posts: 601
|
 |
Reply #180 Posted on: November 28, 2014, 08:18:02 PM |
|
|
Open game settings, click on ENIGMA setting, and click on cancel : Quote Operating System: Windows 7 Version: 6.1 Architecture: x86
Java Vendor: Oracle Corporation Version: 1.8.0_25
Available processors (cores): 8 Free memory (bytes): 233636688 Maximum memory (bytes): 1013645312 Total memory available to JVM (bytes): 259588096
File system root: C:\ Total space (bytes): 999964012544 Free space (bytes): 924335046656 Usable space (bytes): 924335046656
File system root: D:\ Total space (bytes): 0 Free space (bytes): 0 Usable space (bytes): 0
Stack trace: java.lang.NullPointerException at org.lateralgm.subframes.GameSettingFrame.actionPerformed(GameSettingFrame.java:887) at org.enigma.frames.EnigmaSettingsHandler.actionPerformed(EnigmaSettingsHandler.java:897) at javax.swing.JComboBox.fireActionEvent(Unknown Source) at javax.swing.JComboBox.setSelectedItem(Unknown Source) at org.enigma.frames.EnigmaSettingsHandler.setComponents(EnigmaSettingsHandler.java:742) at org.enigma.frames.EnigmaSettingsHandler.revertResource(EnigmaSettingsHandler.java:762) at org.lateralgm.subframes.GameSettingFrame.revertResource(GameSettingFrame.java:1023) at org.lateralgm.subframes.GameSettingFrame.actionPerformed(GameSettingFrame.java:875) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$400(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
|
|
|
egofree
 Joined: Jun 2013
Posts: 601
|
 |
Reply #181 Posted on: November 28, 2014, 08:24:00 PM |
|
|
Open LateralGm, and select menu Build -> design : QuoteOperating System: Windows 7 Version: 6.1 Architecture: x86
Java Vendor: Oracle Corporation Version: 1.8.0_25
Available processors (cores): 8 Free memory (bytes): 219113344 Maximum memory (bytes): 1013645312 Total memory available to JVM (bytes): 259522560
File system root: C:\ Total space (bytes): 999964012544 Free space (bytes): 924332777472 Usable space (bytes): 924332777472
File system root: D:\ Total space (bytes): 0 Free space (bytes): 0 Usable space (bytes): 0
Stack trace:
java.io.IOException: Unexpected end of file reached at filepos: 0 at org.lateralgm.file.GmStreamDecoder.read(GmStreamDecoder.java:102) at org.lateralgm.file.StreamDecoder.read4(StreamDecoder.java:99) at org.enigma.utility.EnigmaBuildReader.readChanges(EnigmaBuildReader.java:44) at org.enigma.EnigmaRunner.compile(EnigmaRunner.java:756) at org.enigma.EnigmaRunner.actionPerformed(EnigmaRunner.java:786) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(Unknown Source) at javax.swing.JMenuItem.fireMenuDragMouseReleased(Unknown Source) at javax.swing.JMenuItem.processMenuDragMouseEvent(Unknown Source) at javax.swing.JMenuItem.processMouseEvent(Unknown Source) at javax.swing.MenuSelectionManager.processMouseEvent(Unknown Source) at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(Unknown Source) at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Unknown Source) at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source) at java.awt.Toolkit.notifyAWTEventListeners(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$400(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
|
|
|
|
|
egofree
 Joined: Jun 2013
Posts: 601
|
 |
Reply #183 Posted on: December 02, 2014, 06:25:33 PM |
|
|
There are problems for importing tiles from a GM project. For testing purposes, in GM studio, i created a background, and i use it as a tileset. Then in a room, i put several tiles :  You can download this test case here : https://dl.dropboxusercontent.com/u/29802501/TilesGM.gmx.zipIf you open this project in Enigma, it is not possible anymore to move the tiles. Also, if you save the project and try again to open it in GM studio, you've an exception : 
|
|
|
egofree
 Joined: Jun 2013
Posts: 601
|
 |
Reply #184 Posted on: December 02, 2014, 08:23:58 PM |
|
|
I think i've found the problem for the exception within GM Studio : the name tag inside the tile element is always inst_ : Quote<tile bgName="bkg_0" colour="4294967295" depth="0" h="16" id="10000002" locked="0" name="inst_" scaleX="1.0" scaleY="1.0" w="16" x="144" xo="176" y="176" yo="112"/> In GM Studio it needs the id. You can put the tile's id, and it should be ok : Quotename="inst_10000002" But that doesn't fix the first problem where it's not possible to move tiles from a GM project.
|
|
|
egofree
 Joined: Jun 2013
Posts: 601
|
 |
Reply #185 Posted on: December 02, 2014, 08:41:08 PM |
|
|
|
I think i've found also the cause of the second problem. It seems to be related to depth : by default in GM studio the depth of tiles is 1000000. With this value it is not possible to move tiles within Enigma. By default it's zero in Enigma. If you set the tiles depth to zero and you save the project, it is possible again to move tiles.
|
|
|
TheExDeus
 Joined: Apr 2008
Posts: 1,860
|
 |
Reply #186 Posted on: December 03, 2014, 09:27:04 AM |
|
|
|
Newest LGM continues to freeze when "Run" is pressed. No errors or anything. Just freezes.
|
|
|
|
|
egofree
 Joined: Jun 2013
Posts: 601
|
 |
Reply #188 Posted on: December 03, 2014, 01:24:19 PM |
|
|
|
TheExdeus: Try 'Build->Rebuild All', and see if it can fix the problem. I had to re-install ENIGMA and i had similar problems, and it seems 'Rebuild all' command has helped to fix the problem.
|
|
|
Goombert
 Joined: Jan 2013
Posts: 2,991
|
 |
Reply #189 Posted on: December 03, 2014, 04:34:31 PM |
|
|
|
egofree I see your bugs but I don't have time to fix them atm, but I will get to them in my next update, I have another small feature I'm sneaking in.
Harri, Preferences->Appearance, what is hardware acceleration set to? As I said force it "off" that is the default in the newest version but you may have saved preferences and stuck it in as default. I too get the freezing but it seems to be only when hardware acceleration is allowed on. If you do have it off then I'll need to look into it further.
|
|
|
egofree
 Joined: Jun 2013
Posts: 601
|
 |
Reply #190 Posted on: December 04, 2014, 09:56:01 AM |
|
|
|
I've fixed the problem with the tile's name. Very easy to fix :
String tileId = Integer.toString((Integer) props.get(PTile.ID)); tileelement.setAttribute("id",tileId); tileelement.setAttribute("name","inst_" + tileId);
There is still the problem with the depth value.
|
|
|
egofree
 Joined: Jun 2013
Posts: 601
|
 |
Reply #191 Posted on: December 04, 2014, 01:34:18 PM |
|
|
|
For the depth, i've found the problem : you can move only tiles which have the same depth as the current layer. The depth of the layer is set in the 'add' tab. This not intuitive and logical for modifying tiles. I will add a depth field in the modify tab. It will be a drop down will all the depths of the tiles in the current room. It is implemented more or less this way in GM Studio.
|
|
|
egofree
 Joined: Jun 2013
Posts: 601
|
 |
Reply #192 Posted on: December 04, 2014, 07:14:38 PM |
|
|
|
As i understand the depth is useful to deal with tiles in the same position, but it should not be mandatory to select a tile. I would suggest that for selecting a tile first we test if there is a tile with the depth of the current layer and if no tiles are found we test if there is a tile regardless of its depth.
|
|
|
Goombert
 Joined: Jan 2013
Posts: 2,991
|
 |
Reply #193 Posted on: December 08, 2014, 06:52:11 PM |
|
|
Here's another quick update, I've included some fixes from egofree, and I've finally finished that image effects frame! You can update as usual using python install.py or manually from the Extra Packages page. http://www.enigma-dev.org/docs/Wiki/Install:Extra_Packages1) Image effects frame implemented and 12 basic effects including Colorize, Intensity, Outline, Emboss, Black and White, Invert Color, Remove Color, Remove Transparency, Sharpen, Blur, Opacity, and Edge detection. The little green spray paint can icon on the sprite and background frame will open the image effects frame. For sprites you can apply it to all selected subimages, otherwise just select 1 subimage, if no subimages are selected it will be applied to every subimage. https://github.com/IsmAvatar/LateralGM/commit/c2388c0b4efea5a1f571092f050bd7a076abc605https://github.com/IsmAvatar/LateralGM/commit/020ec6d7efbcc5b95ad9cfaa1e5c52bffb8642d2https://github.com/IsmAvatar/LateralGM/commit/c45c1aa5dcf872398a7b6d35ec70ae9fb8385087https://github.com/IsmAvatar/LateralGM/commit/a662aacbc0b5569754729d9266e242314547979bhttps://github.com/IsmAvatar/LateralGM/commit/c64fba1edc448393ff80599ed20404e905675593  2) Fixed a bug in the search feature, resource action arguments will now be searched by name, useful for finding all uses of a script for instance. https://github.com/IsmAvatar/LateralGM/commit/fec2200a92d2b761b60ece75eed4f5819d4e2a16 3) A fix was included by egofree for the GMX writer to give all tiles unique names using the id, which works with Studio though is less hash-like. A similar fix was previously included for instances by myself. https://github.com/IsmAvatar/LateralGM/commit/c6f7a9d9e56646c2a1a85c54d148e030c957be1f4) Fixed exception in instance list of the room editor when selected instance has a non-existant object reference. For example you create an instance of an object and then delete the object resource, the instance becomes of unlinked. https://github.com/IsmAvatar/LateralGM/commit/fe40e656d1a577d0556d29505aad3fe8548f1dac5) Moved transparency functions, such as for checkered patterns, to Utility class. https://github.com/IsmAvatar/LateralGM/commit/b00c81e5fe5b78218d271f65309c954b335e461c
|
|
|
|
|
|