Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Goombert

Developing ENIGMA / Re: LateralGM
« on: November 05, 2014, 04:13:05 PM »
That's exactly what the 11th plague just requested, you're now the 4th person to suggest it, don't worry it is on my todo list.  (Y)

Developing ENIGMA / Re: LateralGM
« on: November 05, 2014, 04:08:59 PM »
Quote from: egofree
This is a screenshot of Enigma with the language set to English. As you can see, you can find labels in english and french, but i think i'ts because not all labels are translated. I am using Windows 7. And i started again the application, this doesn't change anything.
That's a really weird bug that should not be happening, I wonder if it has to do with RESOURCE_BUNDLE being static?

Quote from: egofree
For the 'Decorate windows borders', it works for the swing theme, but not for the windows native theme. I think this is a problem. I mean if this setting works only for some themes, the user interface doesn't give you any advices about this, and i am afraid the user will be lost.
It does, you have to restart, Switching from Swing theme to Native theme removes the Window borders, I can't do anything about that. It's because you started with decorations enabled which causes the frames to not even create a border but expand their size and have the look and feel paint it. So just restart and you should get native window borders, just like in the screenshot you just posted.

Ideas and Design / Re: In need of a Sonic fangame engine for Enigma
« on: November 05, 2014, 12:10:28 PM »
Quote from: HitCoder
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
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: HitCoder
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.
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.

Developing ENIGMA / Re: LateralGM
« on: November 05, 2014, 12:06:02 PM »
The 11th Plague, we've actually had another request for it recently, we will see down the line, I would personally like to see it in LGM/ENIGMA and I think it is a very important and useful feature. Thanks for your feedback, I also don't expect us to get refactoring in before major version 1.8.7, we haven't made any actual plans on implementing it just tossed around the idea.

Developing ENIGMA / Re: LateralGM
« on: November 05, 2014, 11:44:18 AM »
Another update, I have fixed a ton of JoshEdit issues. As always you can update using python or manually downloading the new jars.

1) The FindDialog will now be properly centered again as it always was.
2) Fixed a shift+tab issue with selected text where you could make the selection go out of bounds and throw an exception.
3) Fixed the final issue with centering the caret, JoshEdit was not settings its preferred size when initialized, the caret will now be properly in view if you double click a search result on the very last line of a source. I actually have two patches for this submitted, I am not sure which one Josh will go with.
4) Attempted to fix some glitchiness with selection when you drag left to right or top to bottom past the last line or character of a line outside the window. The view used to jump around because the mouse scroller update object was not being properly stopped and we needed a view bounds check on setting the viewport.

Off-Topic / Re: Contributor Status
« on: November 05, 2014, 10:34:27 AM »
I forgot to mention, we're also doubling your salaries 0$ * 2 ;D

Developing ENIGMA / Re: LateralGM
« on: November 05, 2014, 10:12:15 AM »
Quote from: egofree
For the resources tree, it makes sense to not expand it by default, as the user will likely not work on all resources.
Well Eclipse don't actually expand the whole tree, the expand the top most nodes and the very first one the whole way. I don't really feel I agree with expanding the entire tree because that can be laggy and the user may find that even more frustrating when they already know where they want to go to in the search tree.

Quote from: egofree
How do you expect testers (Well, anyway i am the only one really testing here ! :P) to achieve correctly their task if the application is filled with hidden and secret functions !  :o ;)
You can test it when it's ready to be tested.

Quote from: egofree
I don't see any difference when i switch the setting 'Decorate Windows Borders'. What is the the purpose of this setting ?
Left is Swing Look and Feel with decorated window borders. The right is Swing Look and Feel without decorated window borders. The point is some people may want their native window borders, like me. This setting does not effect the MDI area however.

Quote from: egofree
For hardware acceleration, what happens if i set to 'on' both Direct3D and OpenGl ?
Direct3D is always forced on regardless of whether your hardware supports it. If you set it for both OpenGL and Direct3D then only OpenGL is used. On Windows when OpenGL is forced on, Direct3D is forced off and so are framebuffers because the implementation is buggy on Windows. For instance when I tested OpenGL on Windows 8, all frames except the main JFrame were white, such as preferences and open/save dialogs until I disabled framebuffer objects. It's not a driver issue, it's an issue with Java's implementation, I use surfaces all the time in OpenGL namely ENIGMA.

Quote from: egofree
In general settings, the language is set to English, but i still see the french version. It doesn't seem to be taken into account. It is based only on the OS language.
No that is not the case, you have to restart for the Language pack to take effect. I just set the French version fine. Though I do hate how badly maintained these translation files are. It would be nice if someone could go through these and update the missing translations. This is specifically why I want to also move language files external to the program and only include English by default.

Quote from: egofree
Do you think you would have the time and motivation to do this Robert ?
Possibly after I finish JoshEdit fixes, printing, and other stuff, we are currently going through and fixing some regressions we introduced upstream and also fixing existing issues and exceptions I have been discovering and documenting.

Issues Help Desk / Re: LateralGM seems to have just... stopped compiling?
« on: November 04, 2014, 10:41:50 PM »
Hmm this is interesting, it was behaving completely different for me. What OS are you on?

I believe I may have a clue, it appears when I load this file and open game settings, changes are automatically detected for DESCRIPTION. I no longer get the fatal error message in my output even with the original, so that must have been a fluke.

It seems there are multiple issues with this project.

Edit: Scratch that, it was an unrelated bug which I just fixed and posted to the other topic.

So after that it just seems to be compiler issues with the project. Most likely the result of its heavy use of parenting, I bet that's where it's crashing.

Off-Topic / Contributor Status
« on: November 04, 2014, 09:03:55 PM »
I would like take to a moment and welcome sorlok and egofree both to official contributor status on the forums because of their awesome contributions to the project. You have both been immensely helpful to me, the project, and other users and forum members here. I like having you both as contributors of LGM and ENIGMA, you are both extremely personable and reasonable people and it has been a pleasure working with you both.

Congratulations, you've earned the title!  :D

Note: New assignments to git privileges are not being administered at this time.

Issues Help Desk / Re: LateralGM seems to have just... stopped compiling?
« on: November 04, 2014, 08:43:48 PM »
Ahhh yes it is still failing to compile, but this time it is straight up segfaulting when collecting variables. You aren't getting an error about the icon anymore are you? You should at least not have the icon error but instead...
Quote from: Output
# A fatal error has been detected by the Java Runtime Environment:

Issues Help Desk / Re: LateralGM seems to have just... stopped compiling?
« on: November 04, 2014, 08:18:55 PM »
Haha, don't worry about it I have to use GM8.1 for testing purposes, after using GM8.1 to replace the icon the file loads perfectly fine in ENIGMA.

I'm working on figuring out why the original icon doesn't work.  (Y)

Issues Help Desk / Re: LateralGM seems to have just... stopped compiling?
« on: November 04, 2014, 08:04:42 PM »
Ahhh, is it possible to ask him/her how they created the ico? For now just do what I said about GM8.1 and change the icon before loading it in ENIGMA, if you want I can replace the icon for you and upload it, just say so.

Developing ENIGMA / Re: LateralGM
« on: November 04, 2014, 05:23:20 PM »
Quote from: egofree
I was wondering if by default it would be more useful if the search results would be expanded ? I think that usually the user would like to see all results.
While this is what Eclipse IDE does, they don't have the option to Right Click->Expand All like LGM does. So I am a little undecided about expanding it completely by default.

Quote from: egofree
I've found a strange behavior in the user interface : if you want to shrink the main window from below, it is not possible to do it, except with the Resources panel. There is a kind of split bar, which seems to be useless, and which doesn't allow the user to change the window's size :
Don't worry about that yet, I am not ready to reveal what secrets that splitter is hiding.  ;)

You can update via the extra packages page or using python
NOTE: You will need to update both the new plugin and LateralGM jars!!!

1) Simple JoshEdit print support added, word wrapping is not yet supported like Studio and line numbers are not painted yet. Printing interface is designed to be Java/AWT/Swing compliant and implements the standard feature set.
2) Exception reporting has been improved for file loading errors, GmFormatException and ProjectFormatException were essentially throwing away half of the stack trace.
3) Fixed horizontal and vertical snap properties in the GMX writer where they were being written backwards.
4) Fixed transitivity in some toolbars.
5) Window decorations can now be disabled, this means the look and feel will not be able to decorate the window border if you don't want it to, this required fixing the toolbar transitivity first.
6) Hardware acceleration is no longer forced off, there are now preferences to force OpenGL or Direct3D on or off or let the Java system decide and there is a similar preference for antialiasing of control fonts. The JVM will detect if your hardware supports hardware accelerated rendering so I recommend keeping the settings left at "default" but for those of us that do have the capable graphics hardware this will seriously improve the speed of rendering for LGM. Testing sprite animation playback was a lot smoother and higher frequency once I implemented the preference to stop forcing it off for everyone, it also reduced CPU and RAM usage significantly.
7) Fixed a component transparency issue caused when using *.lib action libraries from GM, they were supposed to be taking the transparency color from the bottom left corner.
8) Fixed the EventPanel layout, it was setting it before actually laying out the components causing it to look incorrect under certain look and feels, specifically the new dark one.
9) Fixed an old mistake I made in the Game Settings frame mixing up the DESCRIPTION and INFORMATION properties.
10) JoshEdit regression with insert new line hiding the caret fixed.

On the left you can see me printing one of my scripts for Project Mario to OneNote, you can clearly see wordwrapping is not implemented and text will be cutoff horizontally just like when you print in Studio, I will fix this eventually, and also line numbers do not appear. I recommend sending your documents to OneNote or similar to preview them before actually sending them to your printer if you use this feature, just for the time being until we know my implementation is stable enough. On the right you can see the additional preferences that have been added to allow you to turn off window decorations and enable hardware acceleration.

Issues Help Desk / Re: LateralGM seems to have just... stopped compiling?
« on: November 04, 2014, 03:40:03 PM »
We've had issues before with our icon reading but sorlok fixed them. It's failing to load the icon, can I ask how you made the icon?

I've managed to extract the icon from the GMK and can confirm that it is the real problem, nothing to do with your project at all, Studio and GM8.1 seem to handle this icon fine.

Until I figure out why LGM can't handle this icon you could do the following:
1) Open your project in GM8.1
2) Go to game settings and replace the icon with one that will work in ENIGMA
3) Save As a copy of your project to be used with ENIGMA for the time being

Off-Topic / Re: Windows 10 Package Manager
« on: November 04, 2014, 03:38:37 PM »
Wow, hahahahah nice find Harri! He's right it is an open source project, maybe this isn't the doom and gloom for Open Source these tabloid reporters are trying to make it out to be.