Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
  Print  
Author Topic: LateralGM 1.8.6.844  (Read 42443 times)
Offline (Male) Goombert
Reply #210 Posted on: January 11, 2015, 09:05:02 AM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3110

View Profile
Another quick update here egofree has used the official vectored versions of the room icons and I have implemented the configuration manager for multiple configs. In addition to the previous room changes by egofree you can now have multiple constants and configurations. GMK will only read and write your first configuration and its associated constants. EGM still does not save constants, and will only save the first configuration like the GMK format. So for now you must use the GMX format to save multiple configurations and constants. You must always have 1 configuration and you get 1 default constants page plus a constants page associated with every configuration just like in GM: Studio.

Here is a screenshot of the new configuration manager. You must use this frame to work with multiple configs and the constants associated with them. The configuration selected on the main toolbar will be the configuration the game builds with, just like GM: Studio. Opening constants using the main toolbar or the tree node will give you the constants that are written for every configuration.


You can update just like always with the python install.py script or manually from the extra packages page, I will build a new portable when the EGM format is fixed, I can't do it myself as school is starting and I am busy studying.
http://enigma-dev.org/docs/Wiki/Install:Extra_Packages

This was the commit where I fixed the icons to use Josh's official exported ones that are not aliased.
https://github.com/IsmAvatar/LateralGM/commit/4276803806c22632efaf48751a6775e8936f7b27
« Last Edit: January 11, 2015, 10:03:03 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.

Offline (Unknown gender) TheExDeus
Reply #211 Posted on: January 12, 2015, 04:20:59 PM

Developer
Joined: Apr 2008
Posts: 1872

View Profile
How about adding default options? Like right now by default when you create a Shader you get it as glsles and precompile false. How about a way for me to say the default to be glsl and precompile true? This is less of a problem when I actually create a shader, but when I load non-egm files. Like I open a GM example and all the shaders have defaulted to GLSLES and False, so I have to open 10 shaders and reset them all.

They probably shouldn't be saved in configurations as they are not project specific, but user preference specific.
Logged
Offline (Unknown gender) TheExDeus
Reply #212 Posted on: January 14, 2015, 07:34:49 AM

Developer
Joined: Apr 2008
Posts: 1872

View Profile
The new LGM (from the Download page) keeps crashing (when pressing the Run button, just like before), but it also trows errors when opening an egm file:
Quote
Operating System: Windows 8.1
Version: 6.3
Architecture: x86

Java Vendor: Oracle Corporation
Version: 1.8.0_25

Available processors (cores): 8
Free memory (bytes): 16148096
Maximum memory (bytes): 259522560
Total memory available to JVM (bytes): 57532416

File system root: C:\
Total space (bytes): 255506509824
Free space (bytes): 161634590720
Usable space (bytes): 161634590720

File system root: D:\
Total space (bytes): 499967324160
Free space (bytes): 489319682048
Usable space (bytes): 489319682048

File system root: E:\
Total space (bytes): 500101541888
Free space (bytes): 493137895424
Usable space (bytes): 493137895424

Stack trace:
java.lang.NullPointerException
   at org.enigma.file.EFileReader.readResource(EFileReader.java:666)
   at org.enigma.file.EFileReader.processEntries(EFileReader.java:644)
   at org.enigma.file.EFileReader.readNodeChildren(EFileReader.java:622)
   at org.enigma.file.EFileReader.readEgmFile(EFileReader.java:560)
   at org.enigma.file.EFileReader.readEgmFile(EFileReader.java:538)
   at org.enigma.file.EgmIO.read(EgmIO.java:56)
   at org.lateralgm.main.FileChooser$1.run(FileChooser.java:564)
   at java.lang.Thread.run(Unknown Source)
Then when I try to open some resources I get:
Quote
Operating System: Windows 8.1
Version: 6.3
Architecture: x86

Java Vendor: Oracle Corporation
Version: 1.8.0_25

Available processors (cores): 8
Free memory (bytes): 12028024
Maximum memory (bytes): 259522560
Total memory available to JVM (bytes): 57532416

File system root: C:\
Total space (bytes): 255506509824
Free space (bytes): 161598521344
Usable space (bytes): 161598521344

File system root: D:\
Total space (bytes): 499967324160
Free space (bytes): 489319682048
Usable space (bytes): 489319682048

File system root: E:\
Total space (bytes): 500101541888
Free space (bytes): 493137895424
Usable space (bytes): 493137895424

Stack trace:
java.lang.NullPointerException
   at org.lateralgm.subframes.ResourceFrame.<init>(ResourceFrame.java:151)
   at org.lateralgm.subframes.InstantiableResourceFrame.<init>(InstantiableResourceFrame.java:50)
   at org.lateralgm.subframes.ShaderFrame.<init>(ShaderFrame.java:93)
   at org.lateralgm.subframes.ResourceFrame$DefaultResourceFrameFactory.makeFrame(ResourceFrame.java:108)
   at org.lateralgm.components.impl.ResNode.openFrame(ResNode.java:210)
   at org.lateralgm.components.impl.ResNode.openFrame(ResNode.java:194)
   at org.lateralgm.main.Listener$MListener.mouseReleased(Listener.java:798)
   at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$400(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
And when I press Save it corrupts the egm.

Added the egm to this post.
Logged
Offline (Male) Goombert
Reply #213 Posted on: January 15, 2015, 08:21:24 AM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3110

View Profile
We already have default options though I never considered an interface for changing them. All resources have a default property map.

But yes precompile should be set to true I suppose, since in ENIGMA we actually check the string type to make sure it can compile, in other words we only compile GLSL in GL. Right now it is false, but we can definitely change it, I have no problem with that because even if we didn't check them the shader compilers fail silently, not necessarily silently, but it won't crash the app if you accidentally compile an HLSL shader with the GLSL shader compiler.
https://github.com/IsmAvatar/LateralGM/blob/master/org/lateralgm/resources/Shader.java#L38

I am also aware the EGM format is broke in this release thus why it does not appear in a new portable zip yet. Fixing the EGM format the correct way is something I do not have time for, but we have a ticket posted on GitHub. You should still be able to run GMK/GMX just fine.
https://github.com/enigma-dev/lgmplugin/issues/29
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.

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
  Print