IsmAvatar / LateralGM

A free Game Maker source file editor
http://lateralgm.org/
Other
96 stars 25 forks source link

Error Opening GM81 Project File [u524] #56

Closed polygoned closed 11 years ago

polygoned commented 11 years ago

(Posted by time-killer-games on the ENIGMA forums)

So I try to open my gm81 project in Game Maker. It works. Then in LGM I get this:

org.lateralgm.file.GmFormatException: java.io.IOException: invalid boolean data: -2,147,483,648 at filepos: 36[56] at org.lateralgm.file.GmFileReader.readGmFile(GmFileReader.java:269) at org.lateralgm.file.GmFileReader.readGmFile(GmFileReader.java:157) at org.lateralgm.main.FileChooser$GmReader.read(FileChooser.java:360) at org.lateralgm.main.FileChooser.open(FileChooser.java:505) at org.lateralgm.main.FileChooser.open(FileChooser.java:491) at org.lateralgm.main.FileChooser.openNewFile(FileChooser.java:471) at org.lateralgm.main.FileChooser.open(FileChooser.java:479) at org.lateralgm.main.Listener.actionPerformed(Listener.java:221) 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.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$200(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)

IsmAvatar commented 11 years ago

Steps to reproduce?

polygoned commented 11 years ago

I don't know time-killer-games reported it on the ENIGMA tracker. He probably wont look here.

IsmAvatar commented 11 years ago

I'll try to email him.

IsmAvatar commented 11 years ago

His email address is incorrect, so I've left him a PM on the enigma forums (and also informed him of his incorrect email).

IsmAvatar commented 11 years ago

The user has provided me with a game file that hopefully reproduces this issue. If anyone else needs it, contact me or time-killer-games.

Additionally, hopefully the following loose set of steps will reproduce the issue: 1) Create a game in GM:Studio (it is unknown whether this game can be empty or will need some basic resources) 2) Save the game as a GM8 file. 3) Assert that the game opens in GM8.1. 4) Attempt to load the game into LGM Expected behavior: Game loads, similar to step 3 Observed behavior: LGM claims the game is corrupt (even though GM8 opens it)

IsmAvatar commented 11 years ago

Fixed with pull #58.

time-killer-games commented 11 years ago

I have no idea why this ticket was closed when I clearly still can't open my project after the last LGM update.

RobertBColton commented 11 years ago

Can you send me the GMK file? I am definitely able to open GMK files exported from Studio just fine. You need to make sure you got the LGM update that I literally just released, we closed the ticket before I released the jar.

RobertBColton commented 5 years ago

I actually figured this one out while doing #434. TKG had an include in his GM81 project. The old LateralGM doesn't properly respect the store option. It's fixed in the latest master.