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

1186
Programming Help / Re: Project Extentions
« on: June 19, 2014, 05:35:47 PM »
GM does the same thing, this means our CLI or w/e will also only have to load PNG's. Anyway, as Harri said it's just a regular zip not a 7zip or anything, and since we've had this format since like '07 there's reason to believe we may have inspired GMZ.

1187
Issues Help Desk / Re: Linux & LGM
« on: June 19, 2014, 05:34:22 PM »
Why would I document that?

And no, I'll just turn back on loading of the action libraries.

Here's why:
GMK and GMX store the action kind, how it is executed, all of that information in your project, it's a tad unnecessary but it means you don't actually have to load the action libraries.
EGM does not save this information, just the action id and library id, so it requires the action library to be loaded.
When I originally did this I thought I could get away with not loading the action libraries making faster load times, but it appears we can't do that because of EGM.

So basically you can still use it, but LGM won't load any faster after I update it, but you'll be able to toggle dnd mode on and off without restarting again.

1188
Proposals / Re: A couple ideas (ENIGMA and LGM at the same time)
« on: June 19, 2014, 04:40:54 PM »
Heh, I usually follow that convention egofree, I didn't write that code.

I usually use uppcase for classes for classes, eg. MeshStruct, TextureStruct, and lower case for instances or pointers, eg. textureStruct, and lower case plural for collections, eg. texturestructs().

1189
Issues Help Desk / Re: Linux & LGM
« on: June 19, 2014, 04:23:45 PM »
Well the sad news is, there's no easy way to fix this, EGM does not save kind and all that information in the format making reflection when the library is not available damn near impossible. See my updated comments on GitHub.
https://github.com/enigma-dev/lgmplugin/issues/21

For the time being there is no easy way to fix this, so if you want the EGM format you'll have to leave drag and drop enabled for now.

1190
Programming Help / Re: Project Extentions
« on: June 19, 2014, 02:00:39 PM »
Every format has it's positives and negatives.

GMK: Been supported a lot longer, very stable, loads and saves the fastest because its just a strict binary stream, but does not support certain properties or settings such as ENIGMA settings or shaders.
GMX: Newer, uncompressed, easy to fix if a resource is corrupted, takes longer to parse, currently loads slower and uses more RAM because the XML has to be parsed but in the future this will be the opposite because it can be optimized as a result of being uncompressed. Supports the latest properties and settings and things like shaders, but does not support some ENIGMA things like ENIGMA settings, but can be expanded to do so.
EGM: Custom format, can save ENIGMA specific settings and properties, specification is not completely finished however and is subject to change as the engine grows. The format is also compressed, we will need to develop an uncompressed version of the format, IDE's should not work with compressed formats, this is why Studio has GMZ as an export option, not as a save option.

1191
Issues Help Desk / Re: Linux & LGM
« on: June 19, 2014, 11:58:11 AM »
Because the code is still an action, I just don't load the libraries but create the code action instead, so it should still be saving it. In fact I made this feature safe in that you can load a project with drag and drop without the action library being loaded, save it, reload it with DND enabled, and it will have kept the drag and drop just the way it was.

1192
Issues Help Desk / Re: Linux & LGM
« on: June 19, 2014, 01:16:02 AM »
Wow, apparantly it is the option that's causing that, let me see if it does it with GMK or GMX.

Edit: I just tested and apparently that feature is broken for saving under EGM, I will investigate tomorrow. I also filed a bug report.
https://github.com/enigma-dev/lgmplugin/issues/21

1193
Proposals / Re: A couple ideas (ENIGMA and LGM at the same time)
« on: June 19, 2014, 12:51:06 AM »
Knock yourself out, and by all means don't be afraid to ask questions, just post them in the right place.

Also I'd like to ask and reiterate to everyone, please try and stay on topic you guys. I don't like to be "that gay" but, this topic was about suggestions, and we got a little off track which is rude to the OP.

1194
Issues Help Desk / Re: Linux & LGM
« on: June 19, 2014, 12:45:09 AM »
I just fixed the above issue in the following commit to the plugin. You can now save empty sprites and backgrounds and reload them properly. Sorry for the inconvenience I was not aware of this bug.
https://github.com/enigma-dev/lgmplugin/commit/9943541e0ef002d5250bc88cc9fe37582861967b

The new plugin is available via install.py or by manually downloading and replacing it from the Extra Packages page. The Portable ZIP has also been patched.
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages#The_Plugin
https://www.dropbox.com/s/nlag2evgiiis476/ENIGMA%20Portable.exe

1195
Proposals / Re: A couple ideas (ENIGMA and LGM at the same time)
« on: June 19, 2014, 12:09:49 AM »
Quote
That's what I had in mind though I was aiming more for built in documentation, code assistant, etc.  This is something eventually that I would like to include in LGM, and also when time permits I could do a PDF.
Actually the Wiki has an XML dump feature built into it, anyone can run those through a document processor and turn them into other formats. For instance you can also download the Wiki, turn it into a CHM, and reupload it if you like. I just don't bother to maintain it, so I haven't done it yet, and as the Wiki states we are waiting for it to be more complete to do so.

Quote from: Documentation
We have not gotten the Wiki to a point yet where we feel it can be compiled into an offline version, but we're getting there. However we do have a page export extension installed that you can use to export pages if you so choose which you can find here.
http://enigma-dev.org/docs/Wiki/Documentation

Here is where you can export the entire Wiki to XML.
http://enigma-dev.org/docs/Wiki/Special:Export

1196
Issues Help Desk / Re: Linux & LGM
« on: June 19, 2014, 12:02:30 AM »
Ugh, I hate to say it, but I have to be able to reproduce it to fix it.

The random crashes have completely stopped for me though with the new error dialog, I haven't had LGM crash out on me completely since the last major release. I want to fix these issues for you so please try to find ways of getting me to be able to find them in the code and fix them, as hard as it may be, try narrowing down what causes the crash.

I have a theory it could be frequent saving since I added threading, perhaps the threads aren't being properly closed or something?

Edit: Aha! I just reproduced one.

As you can see I clearly had plenty of free memory too. It looks like saving blank sprites/backgrounds to an EGM is causing a crash. The error does not occur with GMX or GMK.


Edit 2: Your error is occurring in JoshText btw it is not an LGM issue. JoshText is a syntax highlighting text editor component for Java that is Open Source and customizable written by none other Josh. Please visit Josh's tracker and file a bug report on it because it is throwing an exception in a part of JoshText that I never changed.
https://github.com/JoshDreamland/JoshEdit

This is the line your error occurred on. I never touched anything related to the auto scroll.
https://github.com/IsmAvatar/LateralGM/blob/master/org/lateralgm/joshedit/JoshText.java#L1165

1197
Issues Help Desk / Re: Linux & LGM
« on: June 18, 2014, 11:05:51 PM »
What? what game are we talking about? I don't have that file, and that should no be occurring. If I can get the file I can tell you what's going on.

Edit: Wait a minute, that's not an out of memory error at all, that's the JVM being retarded. As you can clearly see there is several gigabytes of free memory remaining.
Quote
Free memory (bytes): 659878592

1198
Proposals / Re: A couple ideas (ENIGMA and LGM at the same time)
« on: June 18, 2014, 09:05:33 PM »
Quote
I like the way the yoyogames docs are made, this is something enigma needs.  I do like the layout of docs, but certain areas are so poorly documented.
That's something you can manage as well contributing too. You have a forum account, so you have a Wiki account, so start contributing to it if you think you can do a better job!

Quote
I managed to remove the gap keeping your code without affecting the background.  Though I am surprised you are still seeing the gap even with the rounding added to the fix.
I was not seeing the gaps before the other fixes, and I do not see if I remove the 0.01,0.01 offset.

1199
Proposals / Re: A couple ideas (ENIGMA and LGM at the same time)
« on: June 18, 2014, 08:06:08 PM »
egofree, try putting screen_refresh inside screen_redraw every time the view is incremented. I think the back buffer just needs flipped.

Also, I do agree GM is easy to learn, but I still think it could have been designed better while being just as easy to learn ego.

Quote from: Darkstar2
Or WHAT headers to use, when, how, etc.
I know math.h is required for certain functions like rounding :D ifstream fstream,
std ( who can forget std lol) -

BTW I notice in some programs to output text cout is used and other times printf, etc.  do they do the same thing ?
printf is for floating point precision. But yeah I don't really remember many headers either, I just usually know where to look for what I want, Google is a big help.

Quote
However it's interesting, I had vertical 1px gaps in my test, even without any offset fix.
So far so good with the rounding and offset I have not seen any issues, I tried with so many different combination of fonts, sizes, resolutions, etc it's all good, I was getting really annoyed with that bug and had this shit not worked I don't know what else left to try I was running out of options. :D
Because of that my prejudice is that it is my own code causing that gap, but I won't know until I test.

Quote
I will later PM you about it first just to make sure it is a viable method and not screwing something up :D
So PM me already, I'll be dead at this rate :P

1200
Issues Help Desk / Re: Linux & LGM
« on: June 18, 2014, 08:02:47 PM »
It sounds like he's on Linux. TKG there is currently no way to compile outside of the IDE I'm afraid, that's the CLI that I was talking about, which would also make LGM run faster/compile faster/better and use less memory.