egofree
|
|
Posted on: January 18, 2014, 11:03:15 am |
|
|
Joined: Jun 2013
Posts: 601
|
Hello, I've installed Linux Mint on my PC, and i've installed the latest version ENIGMA. When i try to load my project 'Son of blagger', made with GM Studio, i've the following error message : 'There was an issue loading the project'. It seems it didn't load all the rooms. Here is a link to the game source code : http://www78.zippyshare.com/v/59487524/file.htmlAny help is welcome.
|
|
|
Logged
|
|
|
|
Goombert
|
|
Reply #1 Posted on: January 18, 2014, 12:09:07 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Hello egofree, I have just attempted to load your project and did so without any errors. There appeared to be no issues with the project and there were no exception messages reported in the output log. The rooms also appeared fine. Perhaps, you should try using the LGM from the extra packages page, something may be messed up and perhaps you obtained an older version. http://enigma-dev.org/docs/Wiki/Install:Extra_Packages
|
|
|
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.
|
|
|
|
Josh @ Dreamland
|
|
Reply #3 Posted on: January 18, 2014, 12:34:16 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Congrats, Robert; that was your 1337th post.
|
|
|
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
|
|
|
Goombert
|
|
Reply #4 Posted on: January 19, 2014, 03:05:13 am |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
egofree, this appears to have been the GMX Reader and Writer handling the GUID incorrectly, I fixed it now properly and thoroughly tested converting your game to an EGM and it works just as expected. Please update both LateralGM and the Plugin jars which you can obtain from the Extra Packages page. http://enigma-dev.org/docs/Wiki/Install:Extra_Packages#LateralGMIf you do not wish to manually replace the files, you can simply download the updated Portable Zip on Windows. http://enigma-dev.org/docs/Wiki/Install:WindowsI hope this fixes the issue, please let me know if it does.
|
|
« Last Edit: January 19, 2014, 03:41:56 am 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.
|
|
|
egofree
|
|
Reply #5 Posted on: January 19, 2014, 06:34:57 am |
|
|
Joined: Jun 2013
Posts: 601
|
Please update both LateralGM and the Plugin jars which you can obtain from the Extra Packages page. http://enigma-dev.org/docs/Wiki/Install:Extra_Packages#LateralGM
That's what i've done yesterday, but it didn't change anything. Anyway i've downloaded today the latest windows version, with your fix, and it's better. I can save the project to egm and i can open it again, but if i make a change to the code, and save it again, it's not possible to open again the egm project. I tried several times, same result. Here is my egm file : https://dl.dropboxusercontent.com/u/29802501/son_of_blagger.project.gmx.egmThere is also a a new egm.gb1 file in the directory. Is this important ?
|
|
|
Logged
|
|
|
|
Goombert
|
|
Reply #6 Posted on: January 19, 2014, 01:09:46 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
The issue is the path resource ego, I am working on fixing it now this is a really illusive bug.
Don't worry about the gb files, those are global backup files, or rather just GMK's that are saved each time you save your project in case of corruption, I am going to add a preference to turn it off.
|
|
|
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: January 19, 2014, 02:03:00 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
I just fixed it, it was a plugin bug, once again, egofree please update the LGM and plugin jar files with the fixed version. http://enigma-dev.org/docs/Wiki/Install:Extra_PackagesThis was the commit that fixed the paths causing the EGM corruption. https://github.com/enigma-dev/lgmplugin/commit/c5d181a1c76a1569554f23d2f7e425749e71b550I have also updated the Portable ZIP. http://enigma-dev.org/docs/Wiki/Install:WindowsAgain, let me know if the issue is fixed. But Harri, wow, I never realized that, but they aren't necessarily game backup either, every body on Google just says they are a backup, but I can't find anything on what the extension stood for. I wonder where I got the idea to call them global backup? But I guess game backup does make more sense. https://www.google.com/#q=gb1+fileI can't even find a result of IsmAvatar or LGM, though I could have swore she called them a global backup too.
|
|
« Last Edit: January 19, 2014, 03:25:29 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 #9 Posted on: January 20, 2014, 02:33:48 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
In addition to this ego, I hope my fix worked, but I just finally realized, Studio corrupted your project. A fresh extraction of your game and viewing the rooms/main.room.gmx you can see in the following code that there are a ton of instances placed with no object type. <instance objName="<undefined>" x="2896" y="64" name="inst_7EB3A43B" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/> <instance objName="<undefined>" x="2896" y="80" name="inst_4EF3260D" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/> <instance objName="arch_right_2" x="2896" y="112" name="inst_84826BAB" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/> <instance objName="arch_right_2" x="2896" y="192" name="inst_5A72409E" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/> <instance objName="arch_right_2" x="2896" y="304" name="inst_27403B1E" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/> <instance objName="arch_right_2" x="2896" y="400" name="inst_3DCE8317" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/> <instance objName="slide_left_1" x="2896" y="432" name="inst_9F6A0363" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/> <instance objName="slide_left_1" x="2896" y="464" name="inst_C8D4D44D" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/> <instance objName="arch_left_1" x="2896" y="560" name="inst_07B3E806" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/> <instance objName="wall_left" x="2896" y="672" name="inst_F96DAA20" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/> <instance objName="wall_left" x="2896" y="736" name="inst_3D5421DE" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/> <instance objName="<undefined>" x="2896" y="1040" name="inst_EBBBAA82" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/> <instance objName="<undefined>" x="2896" y="1056" name="inst_EB8C7F39" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
Now when I open up the GMX in ENIGMA, it becomes clear what happened. Studio placed a null instance of no object type, everywhere you placed a tile, notice I deleted some in the top left of the room to show the tiles underneath.
|
|
« Last Edit: January 20, 2014, 02:38:26 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.
|
|
|
egofree
|
|
Reply #10 Posted on: January 25, 2014, 05:00:03 am |
|
|
Joined: Jun 2013
Posts: 601
|
Robert, again, thanks for your help. I can import my old gmx with the windows version. I try now to fix the remaining bugs. I've several problems. For example, in the create event of objects i've declared counter variables, but i've the following error message: C:/ProgramData/ENIGMA/Preprocessor_Environment_Editable/IDE_EDIT_objectaccess.h: In function 'var& enigma::varaccess_counter(int)': C:/ProgramData/ENIGMA/Preprocessor_Environment_Editable/IDE_EDIT_objectaccess.h:564:70: error: 'struct enigma::OBJ_obj_display_level' has no member named 'counter' case obj_display_level: return ((OBJ_obj_display_level*)inst)->counter; I don't have this error with GM. Here is my EGM file : https://dl.dropboxusercontent.com/u/29802501/son_of_blagger.project.gmx.egm
|
|
|
Logged
|
|
|
|
Goombert
|
|
Reply #11 Posted on: January 25, 2014, 02:44:53 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Ok, about time, at least we got the LGM/plugin bugs out of the way. So now we are trying to compile with ENIGMA correct? Also, I am going to do something about that save dialog always screwing up the extensions on files, that's quite annoying, it should not be .project.gmx.egm, it should just be .egm This looks like more issues with ENIGMA parsing Drag and Drop actions. Here is the full compile log for anybody else taking a look. http://pastie.org/8667165
|
|
« Last Edit: January 25, 2014, 02:49:00 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 #13 Posted on: January 25, 2014, 03:34:35 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Try giving it a different name, counter might be used somewhere else in our engine and not namespaced properly, call it mycounter or something, see if that works.
|
|
|
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.
|
|
|
|
|