|
|
polygone
|
|
Reply #2 Posted on: May 17, 2012, 11:12:03 am |
|
|
Location: England Joined: Mar 2009
Posts: 794
|
Those errors you stated do not affect anything. Try running the game in debug mode to see if it shows the problem.
|
|
|
Logged
|
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
|
|
|
drummerkidd92
|
|
Reply #3 Posted on: May 17, 2012, 11:31:01 am |
|
|
Joined: May 2012
Posts: 7
|
well, i had the maze game still open in LGM so i reopend my gmk file for my game and recieved this message
"your file appears to be corrupted. You can still use what LGM has manages to read, the the tree has been rebuilt, so all grouping and order has been lost. If you think this was caused by a bug in LGM, please show us this error report and we;ll do our best to fix the problem. ERROR REPORT:
org.lateralgm.file.GmFormatException: java.io.IOException: Unexpected end of file reached at filepos: 208 at org.lateralgm.file.GmFileReader.readGmFile(GmFileReader.java:247) at org.lateralgm.main.FileChooser$GmReader.read(FileChooser.java:351) at org.lateralgm.main.FileChooser.open(FileChooser.java:496) at org.lateralgm.main.FileChooser.open(FileChooser.java:482) at org.lateralgm.main.FileChooser.openNewFile(FileChooser.java:462) at org.lateralgm.main.FileChooser.open(FileChooser.java:470) at org.lateralgm.main.Listener.actionPerformed(Listener.java:200) 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$000(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) "
fortunately i do have a back up file, and i had the foresight for this sort of thing.just a little inconvenient because its a few steps back.
anyway, once i repair my backup to the playable state i will try and debug and report back, in the meantime, any idea what happened here?
|
|
|
Logged
|
|
|
|
Josh @ Dreamland
|
|
Reply #4 Posted on: May 17, 2012, 11:41:37 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
It seems that either LGM or Game Maker failed to finish writing your file, and that's really Game Maker's trademark. Does your game contain MP3s?
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
polygone
|
|
Reply #5 Posted on: May 17, 2012, 11:46:46 am |
|
|
Location: England Joined: Mar 2009
Posts: 794
|
Does your game contain MP3s?
To add to that: does your game contain large backgrounds/sprites or in game settings constants or include files?
|
|
« Last Edit: May 17, 2012, 11:48:25 am by polygone »
|
Logged
|
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
|
|
|
drummerkidd92
|
|
Reply #6 Posted on: May 17, 2012, 11:58:37 am |
|
|
Joined: May 2012
Posts: 7
|
my game includes one .wav but i will be adding more soon. i have tried the sample games provided on the download page, the maze game has the same problem as mine does (stand alone player crashes immediately upon start up of RUN) but the Catch the Clown game works fine Custom built games can kind of be a hit or a miss - maybe you used some unsupported function, or maybe you used some functions in an order that we don't support yet, or something like that.
is there a list of currently unsupported functions that i missed? my biggest turn on to LGM and Enigma is the ability to convert to Java and C++ for websites. but if my main function that i need (3d3) supported then i need to continue my search for a program to use. i did try the K2 demo you guys have and the game loaded (it uses 3d3 which is why i bring it up) but it cannot display the map (map.3d3) and i ran it in GM:8 Pro and it worked. Does your game contain MP3s?
To add to that: does your game contain large backgrounds/sprites or in game settings constants or include files?
my biggest sprite is 500x500 on average i used 128x128 or 64x64 or 96x96
|
|
|
Logged
|
|
|
|
polygone
|
|
Reply #7 Posted on: May 17, 2012, 12:03:44 pm |
|
|
Location: England Joined: Mar 2009
Posts: 794
|
i did try the K2 demo you guys have and the game loaded (it uses 3d3 which is why i bring it up) but it cannot display the map (map.3d3) and i ran it in GM:8 Pro and it worked.
You mean the project k file I posted I presume? You need to put the map file in the main enigma directory for it to work. d3d is actually one of the most functional things in enigma at the moment, a lot of d3d games have been working for me after a little bit of editing. And I think you'll be very happy with the speed increase from GM to ENIGMA.
|
|
« Last Edit: May 17, 2012, 12:06:22 pm by polygone »
|
Logged
|
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
|
|
|
IsmAvatar
|
|
Reply #8 Posted on: May 17, 2012, 12:10:54 pm |
|
|
LateralGM Developer
Location: Pennsylvania/USA Joined: Apr 2008
Posts: 877
|
Since I'm the Exception person here, I suppose I'll just poke in to confirm what's already been said.
The error message of the exception says 'Unexpected end of file reached at filepos: 208', which means your file appears to be 208 bytes - way too small for a game. It got corrupted somehow, and the old MP3s trick isn't the culprit (first, LGM can load games with giant resources just fine. It's GM that complains. Second, giant resource games aren't actually corrupted. Third, even if they did, the corruption would be much further along than 208 bytes).
As for the sample games not working, unfortunately I'm not in a good position to help much more at this point because enigma doesn't work at all on my OS - so it may be broken, or it may not be - I can't attempt to reproduce your problem at this time. Maybe someone else here can try out the games you mentioned and see if they have the same issue.
Also, you mentioned converting your games. Be aware that at this time there are no plans to add conversion to Java. Some older projects (G-Java, G-Creator, Dolphin) were aiming for that, but they dissolved or have not been heard from again. Currently, we're aiming to do 1 thing, and do it well: C++. Once we get that working, then maybe later on down the road we can switch focus to other languages.
|
|
|
Logged
|
|
|
|
|
|
|
|
IsmAvatar
|
|
Reply #13 Posted on: May 17, 2012, 03:08:01 pm |
|
|
LateralGM Developer
Location: Pennsylvania/USA Joined: Apr 2008
Posts: 877
|
Let's focus on the example games, since you seem to be having trouble with them. Polygone confirmed that the Maze game works fine for him with the Git install. Which installation method did you use? At this time, we have 2 prominent install methods for Windows: * The Svn Install, which has been working for the longest, but is getting sorely outdated * The Git Install, which is brand new, since Josh just released the patch to get that working on Windows just a couple days ago. We're still working on formalizing this method, getting the wiki updated, etc. If you have the Svn install (e.g. downloaded the zip named blah_blah_SVN.zip), we'd like to encourage you to try out the Git install at this time: http://enigma-dev.org/docs/Wiki/Install:GitHopefully this will correct your problem.
|
|
|
Logged
|
|
|
|
|
|