Pages: 1 2 3 4 5 6 7
Author Topic: In need of a Sonic fangame engine for Enigma  (498,502 Views)
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
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.
Offline (Unknown gender) HitCoder

Member
Joined: Aug 2014
Posts: 157
View profile WWW
Reply #76 Posted on: November 03, 2014, 11:51:57 PM
Here's the output log :P

Also, can you allow users to change the code editor font, and add a dark theme to the code editor? It's just a couple suggestions, they're not important, but... it'd look nicer. Also, I understand you'd have to go through every single colouring of each type of function, statement, etc... but it'd work better with dark themes.
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
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?
Offline (Unknown gender) HitCoder

Member
Joined: Aug 2014
Posts: 157
View profile WWW
Reply #78 Posted on: November 04, 2014, 04:48:32 PM
I sent you the project, and yes it worked before the update. none of the project files for the game, even older backups, open in Enigma any more.
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
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?
Offline (Unknown gender) HitCoder

Member
Joined: Aug 2014
Posts: 157
View profile WWW
Reply #80 Posted on: November 04, 2014, 07:15:51 PM
1) Yes it happens every time I open any project file.
2) How else do I load project files? If I try to open the project file from the file, I have always received errors.
3) Clearing recent files does absolutely nothing.
4) I am using the same theme as I did in the previous version
5) I am using Synthetica Black Eye.

I will try a different theme and post an edit as soon as I have received results.

EDIT - I tried the Native theme, didn't make a difference.
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
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_Packages

That should fix it.
Offline (Unknown gender) HitCoder

Member
Joined: Aug 2014
Posts: 157
View profile WWW
Reply #82 Posted on: November 04, 2014, 07:35:08 PM
Oh, I assumed it was the same as the last version, I just saw it was an October release. Hahahaha.
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #83 Posted on: November 04, 2014, 07:37:27 PM
Try it I want to make sure that it works.
Offline (Unknown gender) TheExDeus

Developer
Joined: Apr 2008
Posts: 1,860
View profile
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.
Offline (Unknown gender) HitCoder

Member
Joined: Aug 2014
Posts: 157
View profile WWW
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.
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
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.  (Y)

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#L109

Currently 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
Offline (Unknown gender) HitCoder

Member
Joined: Aug 2014
Posts: 157
View profile WWW
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.
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
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  (Y)

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.
Offline (Unknown gender) HitCoder

Member
Joined: Aug 2014
Posts: 157
View profile WWW
Reply #89 Posted on: November 06, 2014, 06:39:03 PM
Oh, that's excellent! I can't wait for this feature! Lol. Good luck coding it.
Pages: 1 2 3 4 5 6 7