Goombert
 Joined: Jan 2013
Posts: 2,991
|
 |
Reply #75 Posted on: November 03, 2014, 09:21:04 PM |
|
|
Why does the splash screen say LateralGM? Because the IDE is LateralGM, it works without ENIGMA, ENIGMA only provides the ability to compile games and supplies the run buttons and stuff. The whole point is that LateralGM and ENIGMA are completely separate programs that can be used independently of each other which lets us appeal to a wider audience. Also you can now use a custom background image for the MDI area, create a folder called "lookandfeels" next to enigma-dev/lateralgm.jar and put an image called "lgmbackground.png" in the folder and restart if you already have LGM open and it will use your supplied image as the new background. This is so users can use a dark compatible background with dark look and feels, in addition to allowing you to simply customize it.   Edit: Quote from: HitCoder===========EDIT================= I got an error upon opening a save file, however, it does not allow me to access the window with the error, and therefore I could not copy to clipboard, however, I have the HS_ERR_PID file, I think it has the right details (if not, more details) Actually enigma-dev/output_log.txt is more useful in this case.
|
|
|
|
|
Goombert
 Joined: Jan 2013
Posts: 2,991
|
 |
Reply #77 Posted on: November 04, 2014, 12:10:16 AM |
|
|
|
We already have the code editor preferences outlined, look in the new preferences window, but don't set them they are not finished and are unlikely to work. It is expected to be finished before 1.8.7 major release
Second, can you PM me a download link to the project file so I can attempt it myself? The output log is getting mangled because it looks like you're loading it from the command line or file association.
Additionally, does this project work under the old LateralGM before you updated?
|
|
|
|
|
Goombert
 Joined: Jan 2013
Posts: 2,991
|
 |
Reply #79 Posted on: November 04, 2014, 07:06:41 PM |
|
|
This is really weird, I was able to open both of the project files perfectly fine and save them back to disk as well as compile them with no problems.  A couple of things: 1) Are you still able to reproduce the issue? 2) Try opening enigma.exe first, and then using the open dialog to open the file. 3) If that does not work try opening enigma.exe by itself and going to File->Recent Files->Clear and loading your project again. 4) Try changing the look and feel to something other than what you have it set to. 5) What look and feel were you using?
|
|
|
|
|
Goombert
 Joined: Jan 2013
Posts: 2,991
|
 |
Reply #81 Posted on: November 04, 2014, 07:31:28 PM |
|
|
Hahahaha, I think I know what is wrong. You only downloaded the new LGM but not the new plugin. Replace the plugin jar in enigma-dev/plugins/enigma.jar as well. http://enigma-dev.org/docs/Wiki/Install:Extra_PackagesThat should fix it.
|
|
|
|
|
Goombert
 Joined: Jan 2013
Posts: 2,991
|
 |
Reply #83 Posted on: November 04, 2014, 07:37:27 PM |
|
|
|
Try it I want to make sure that it works.
|
|
|
TheExDeus
 Joined: Apr 2008
Posts: 1,860
|
 |
Reply #84 Posted on: November 04, 2014, 07:38:57 PM |
|
|
|
That is a usual problem here. I also often forget about it. I think LGM should show an error saying "Have you downloaded the correct plugin.jar?" whenever ENIGMA .dll crashes.
|
|
|
HitCoder
 Joined: Aug 2014
Posts: 157
|
 |
Reply #85 Posted on: November 04, 2014, 07:44:01 PM |
|
|
It works, thank you.  EDIT: I don't mean to request anything impossible, or too much work to even bother with, but is there any way you can implement a feature that when an object is renamed, any scripts refferencing the object are updated? If you think it would freeze the program on some projects, why not make it optional? Just a request, I understand if it's impossible.
|
|
|
Goombert
 Joined: Jan 2013
Posts: 2,991
|
 |
Reply #86 Posted on: November 04, 2014, 07:46:20 PM |
|
|
Quote from: HitCoderIt works, thank you.  Good I am glad that fixed it! I am sorry I wasn't able to figure it out sooner, I am getting better at reading these exception logs lol.  Quote from: TheExDeusThat is a usual problem here. I also often forget about it. I think LGM should show an error saying "Have you downloaded the correct plugin.jar?" whenever ENIGMA .dll crashes. It's not actually the DLL failing Hari, it's loading all of the native methods perfectly fine, the problem is LGM is calling a new method or something that it expects to be in ENIGMA's Java plugin which is not there, hence AbstractMethodError and not segfault. The plugin however does show its own exception dialog. https://github.com/enigma-dev/lgmplugin/blob/master/org/enigma/EnigmaRunner.java#L109Currently the only place it is ever possible to get two exception dialogs is when both the plugin Jar and LateralGM have an exception, which is impossible because the exception dialog blocks all other exception dialogs so that you can still close the application, at least theoretically. You would want to change the plugin exception message. https://github.com/enigma-dev/lgmplugin/blob/master/org/enigma/messages/messages.properties#L2
|
|
|
HitCoder
 Joined: Aug 2014
Posts: 157
|
 |
Reply #87 Posted on: November 05, 2014, 05:06:31 PM |
|
|
When I had the error, the loading dialogue was in the way of the program, and I couldn't close it (the window) or the dialogue. I used task manager though, so it's all good. I'm just saying, as you said Quote from: Robert B Colton on November 04, 2014, 07:46:20 PMCurrently the only place it is ever possible to get two exception dialogs is when both the plugin Jar and LateralGM have an exception, which is impossible because the exception dialog blocks all other exception dialogs so that you can still close the application, at least theoretically. Also, did you miss this part, or ignore it? Quote from: HitCoder EDIT:
I don't mean to request anything impossible, or too much work to even bother with, but is there any way you can implement a feature that when an object is renamed, any scripts refferencing the object are updated? If you think it would freeze the program on some projects, why not make it optional? Just a request, I understand if it's impossible.
|
|
|
Goombert
 Joined: Jan 2013
Posts: 2,991
|
 |
Reply #88 Posted on: November 05, 2014, 05:10:28 PM |
|
|
Quote from: HitCoderWhen I had the error, the loading dialogue was in the way of the program, and I couldn't close it (the window) or the dialogue. I used task manager though, so it's all good. I'm just saying, as you said Actually, haha, I had that too because I went and replaced the plugin to test the issue. That only happens going from the last version to the new version because I added checking for changes to the close button, so all other exception dialogs you receive in the future, you should still get a chance to save/exit without having to go to task manager. It was just blocking you because when you went to close it was looking for the check for changes method which was causing the initial exception. So that is only a temporary bug  Quote from: HitCoderI don't mean to request anything impossible, or too much work to even bother with, but is there any way you can implement a feature that when an object is renamed, any scripts refferencing the object are updated? If you think it would freeze the program on some projects, why not make it optional? Just a request, I understand if it's impossible. I am sorry, you're now the third person to request it so it must have just slipped my mind. It is on the todo list, but I don't think it will be in 1.8.7 stable. It requires quite a bit of recoding and we haven't made plans on implementing it but I definitely want the feature implemented, I use refactoring all the time in Eclipse.
|
|
|
|
|
|