Reiddsan
|
|
Posted on: April 21, 2014, 02:13:50 pm |
|
|
Joined: Apr 2014
Posts: 12
|
I get the following error every time I try to open a file made on LateralGM (this doesn't happen with files made by Game Maker): org.lateralgm.file.GmFormatException: java.lang.NullPointerException: null at org.lateralgm.file.GMXFileReader.readProjectFile(GMXFileReader.java:323) at org.lateralgm.file.GMXFileReader.readProjectFile(GMXFileReader.java:234) at org.lateralgm.main.FileChooser$ProjectReader.read(FileChooser.java:378) at org.lateralgm.main.FileChooser$1.run(FileChooser.java:550) at java.lang.Thread.run(Thread.java:745)
I already reported it here, https://github.com/IsmAvatar/LateralGM/issues/112#issuecomment-40942009And IsmAvatar said it's not a LateralGM issue, and that it was an issue with a plugin I was using. I did the following: reiddsan@reiddsan-HP-ENVY-dv6-Notebook-PC:~$ cd enigma-dev reiddsan@reiddsan-HP-ENVY-dv6-Notebook-PC:~/enigma-dev$ git fetch remote: Counting objects: 26, done. remote: Compressing objects: 100% (25/25), done. remote: Total 26 (delta 7), reused 0 (delta 0) Unpacking objects: 100% (26/26), done. From git://github.com/enigma-dev/enigma-dev c07e948..be8fc50 particle_fix -> origin/particle_fix reiddsan@reiddsan-HP-ENVY-dv6-Notebook-PC:~/enigma-dev$ git pull Already up-to-date.
To my understanding, this should have updated things. Yet I still continue to get an error. What am I doing wrong? I want to be able to resume the projects I start in ENIGMA. Should I give something else a try? Like saving under Game Maker 8 format?
|
|
|
Logged
|
|
|
|
Goombert
|
|
Reply #1 Posted on: April 21, 2014, 02:15:17 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
You pasted the ENIGMA error into the log, which no longer exists, she nor I saw the GMX loading exception, which is an issue.
Can you upload the GMX project?
Also, with LGM, when you save a GMX, you have to create a new folder, and save it inside that folder. It's impossible for LGM's save dialog to automatically create folders, Studio's does this because it does not let you save your projects wherever you want like older GM versions do.
|
|
« Last Edit: April 21, 2014, 02:18:32 pm by Robert B Colton »
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|
Goombert
|
|
Reply #3 Posted on: April 26, 2014, 04:57:23 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Where are the other files? This is only the main file? You probably didn't create a directory when you saved the game, people continue to make this mistake. When you save with the GMX format you have to create a folder and save the game in that folder, since LGM unlike Studio lets you save the projects anywhere you like.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|
Goombert
|
|
Reply #5 Posted on: April 26, 2014, 06:11:22 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
You don't have to with a GMK. Also, Studio has GMZ, which is basically just a ZIP of your GMX, but that requires use of proprietary code that I don't want to add in LGM, plus, Studio has a set folder where all your projects are created, so you can't just save anywhere like you can with LGM. The closest I can get is the Right Click->New folder option in the save dialog, I don't know what to do though because people like you keep coming here and being confused by this.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|
|
Goombert
|
|
Reply #8 Posted on: April 30, 2014, 04:01:10 am |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Well for one, git pull, only updates the engine code. To update LateralGM or the Plugin on Linux you do python install.py, on Windows you have to manually download and replace the jars. http://enigma-dev.org/docs/Wiki/Install:Extra_PackagesSecond of all, I can't tell you why LGM is erroring unless I have one of the projects that it is erroring when trying to load. I have updated LGM to automatically create folders when saving a GMX, please see my comments below. http://enigma-dev.org/forums/index.php?topic=1870.msg18519#new
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|