Login:    

useradd
more /root/Bugs/Does not load GM8 files on macs?.thread
2010-08-14 02:14:26rabid squirrel
Maybe it wasn't designed to work on macs in general, but, as far as I know, LGM opens on a mac but the .gmk won't load (GM8).

This would be very nice to have as the current mac GM is of version 7, and I assume there are many people who would like to open their GM8 creations on their macs without having to find a PC. (e.g. myself)

Edit: LGM apparently opens gm7 files on a mac, which I found surprising, but not gm8 files. I also understand that LGM opens GM8 files on the PC? Excuse me for being clueless in many areas!

Edit again: I just tried opening a GM8 file in LGM and it gave me an error and loaded sprites and sounds and nothing else. Is it not supposed to work for GM8 files, or should I give details about this error?

I really am clueless.

Edit a while later: I made sure that the swinglayout thing was in the same folder as LGM, and it still gives me the error. It's possible it's not working on my PC because it doesn't have java 6, but I shudder to think how much time that might take to get.

anyway, here's the error message:

Unhandled Exception:
org.lateralgm.file.GmFormatException - java.io.IOException: Unexpected end of file reached at filepos: 320598

Stack trace:
org.lateralgm.file.GmStreamDecoder.read(GmStreamDecoder.java:97)
org.lateralgm.file.StreamDecoder.read4(StreamDecoder.java:99)
org.lateralgm.file.GmStreamDecoder.readBool(GmStreamDecoder.java:123)
org.lateralgm.file.GmFileReader.readSprites(GmFileReader.java:490)
org.lateralgm.file.GmFileReader.readGmFile(GmFileReader.java:158)
org.lateralgm.main.Listener.openFile(Listener.java:108)
org.lateralgm.main.Listener.actionPerformed(Listener.java:386)
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
javax.swing.AbstractButton.doClick(AbstractButton.java:389)
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
java.awt.Component.processMouseEvent(Component.java:6348)
javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
java.awt.Component.processEvent(Component.java:6113)
java.awt.Container.processEvent(Container.java:2085)
java.awt.Component.dispatchEventImpl(Component.java:4714)
java.awt.Container.dispatchEventImpl(Container.java:2143)
java.awt.Component.dispatchEvent(Component.java:4544)
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618)
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282)
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
java.awt.Container.dispatchEventImpl(Container.java:2129)
java.awt.Window.dispatchEventImpl(Window.java:2478)
java.awt.Component.dispatchEvent(Component.java:4544)
java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
2010-08-15 21:24:43IsmAvatar
Please include your LGM revision number. Also, if you can provide a sample GMK that demonstrates this problem, that'd be great.
2011-04-17 22:59:32IsmAvatar
For now I'm closing this since I haven't gotten any feedback on this matter, and several revisions, including improvements to the filesaving/loading, have changed since this was originally posted. If you still experience this issue, please open a bug report with the requested information on our new bug tracker: https://sourceforge.net/apps/mantisbt/lateralgm/view_all_bug_page.php