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

1171
General ENIGMA / Re: GL3 lights fixes
« on: June 20, 2014, 09:09:21 PM »
Quote
This is not the case, but I run LGM through Enigma.exe which closes itself after starting LGM. And LGM's window does not contain this output.
Look in settings.ini you can stop that window from closing, you can also just find the info enigma-dev/output_log.txt

Quote
Although I do plan to make a topic about this - maybe it's time to ditch GM and it's rendering and go for something better? It will break compatibility slightly (especially 3D games), but would open a lot of doors for improvements.
That's what I keep trying to say Harri. At any rate, I am not for dumping GM compatibility altogether but having an ENIGMA spawn off project.

1172
Developing ENIGMA / Re: Command Line Interface
« on: June 20, 2014, 04:56:47 PM »
You wouldn't use the CLI to create the files, it's expected that the project will be created in an IDE. The command line will compile it. But yes it's possible to edit your resources outside the IDE using text editors and image editors, you can very easily open a sprite or background from a GMX and modify the resources, and you can open the object files and change the code and other properties. You can also edit scripts using notepad++ with the following extension.
http://enigma-dev.org/docs/Wiki/Plugins

1173
Developing ENIGMA / Re: Command Line Interface
« on: June 20, 2014, 04:27:34 PM »
No, it would actually make that a lot better, LGM crashes from saving frequently because it's accumulating more and more memory usage. Although you seem to be having other issues as well like bugs in JoshEdit, which aren't out of memory errors at all and make no sense.

Anyway TKG is one person who really wants it and so do I. And having it is better than not having it. This is literally the way practically all game engines and IDE's work. I can make the thing first and yall can decide later whether you want LGM to continue being a laggy Java program or you want it sped up.

On top of that, this lays the groundwork for a C++ IDE by getting a lot of the plugin redone in C.

1174
Developing ENIGMA / Re: Command Line Interface
« on: June 20, 2014, 03:54:46 PM »
Judging your comments indicates you didn't even bother to read my post. Currently LGM loads your entire project into memory as one giant ass binary and then uses JNA to send that memory to the compiler, which requires changing endianess and is extremely slow as hell. The IDE could use the CLI interface and just pass the file to it to compile, is the whole point of this. To speed up the IDE, not make it slower.

1175
Developing ENIGMA / Command Line Interface
« on: June 20, 2014, 03:00:37 PM »


So I decided to do some testing and get the command line interface I started working and building an empty game. The program I have dubbed "emake" boots in less than 3 seconds initializing the library and all, and can compile and run an empty game in about the same amount of time. It is significantly faster than loading the IDE and building an empty game from there.

This has a lot of implications, you can build games without an IDE, you can build games much quicker, especially extremely large games like TKG makes. This also means we could significantly improve the performance of LGM working with large projects. This would be done by only loading the resource tree at startup, and loading and unloading resources or as you edit them or we could also just cache them.

This would allow someone like TKG to load a 100mb game much quicker, probably about 5-10 seconds, and build the game much quicker. The way we would accomplish building the game without loading it is by simply passing the file path of the project to the CLI and telling it to build the project.

A lot of these ideas are already utilized by Studio and it has many of the same restrictions that follow which are actually the same for most other IDE's. But we have some issues:

1) LGM does not have a guaranteed format, it lets you save and load from all formats.
2) This would require that you create the project directory when you want to make a new game, like in Studio, you couldn't get away with adding resources and saving later because the IDE has to have it on disk.
3) GMK is damn near impossible to optimize as a result of it being one giant ass file, you can't easily skip through parts of it and write a single resource.
4) You probably would not be able to build without saving your changes. I believe Studio has this same restriction.

Some possible solutions are the following:
1) Treat formats like GMK as an import/export where you can import a GMK but it will automatically be converted to GMX or EGM whichever format you choose.

Here are some benefits:
1) Faster loading times
2) Faster compile times
3) Less out of memory errors
4) Can build projects without an IDE
5) Makes it much easier for 3rd parties to write IDE's and other interfaces for the program

So the question is, does the cost outweigh the benefit? I am fairly certain most of you would say yes, but feel free to express your ideas on the matter.

*** Update ***
See latest forum post, the CLI now builds projects.

1176
General ENIGMA / Re: GL3 lights fixes
« on: June 20, 2014, 02:38:07 PM »
Excellent work Harri lights are working good now in GL3 and it is working great altogether.

I only notice a few differences:
* OGL3 is marginally slower
* OGL3 lights appear darker

But we will work out these kinks, for now I would like you go ahead and merge your branch so that GL3 has working lights. I will work with it in the future to optimize it with you.



These are wonderful developments however, it will be relatively little effort to port this system to GLES and get a proper Android port working.

1177
Proposals / Re: A couple ideas (ENIGMA and LGM at the same time)
« on: June 20, 2014, 04:25:33 AM »
Very funny, but yes I swear I didn't write any of the room editor code. Use git blame if you don't believe me.

1178
Off-Topic / Re: what happened to...?
« on: June 19, 2014, 10:55:00 PM »
no fundies went to school, also he started enigger which is basically C++ GML API with no IDE, just meant to be used with Visual Studio, etc. he wrote it with SDL.

He still gets on IRC, specifically #awesome-toons on Rizon. But Josh banned him from IRC, I dnt remember why.

1179
Issues Help Desk / Re: Linux & LGM
« on: June 19, 2014, 10:53:07 PM »
I can't remember, did that one successfully compile on Windows? I can't remember but I could have swore that was the one with audio_music_* functions needing removed. If so can you send the updated version that compiles on Windows for me?

1180
Off-Topic / Re: what happened to...?
« on: June 19, 2014, 10:50:16 PM »
gra was just here like a week ago, I've never seen fede, DarkAceZ fell off his brony

1181
Issues Help Desk / Re: Linux & LGM
« on: June 19, 2014, 10:46:39 PM »
Actually it's not LGM is just not as optimized as Studio for several reasons.

But mainly, Studio's IDE has the same limitations ours does, GM is and has always been 32bit.

Edit: TKG, do I have this project on my desktop? I keep like all of the ones you send me because they are pretty big and I don't like downloading huge files, tell me which one.

1182
Issues Help Desk / Re: Linux & LGM
« on: June 19, 2014, 10:28:59 PM »
TKG, which project are we talking about? Is it a project you've sent me? I can try building it.

Darkstar2, were these usually experienced on Windows? You have to report them when you get them, I never get anything remotely like that.

1183
Issues Help Desk / Re: Linux & LGM
« on: June 19, 2014, 10:07:26 PM »
That was an issue in JoshText, I have no idea what it was about because JoshText is a clusterfuck.

1184
Issues Help Desk / Re: Linux & LGM
« on: June 19, 2014, 09:36:12 PM »
wtf

1185
Issues Help Desk / Re: Linux & LGM
« on: June 19, 2014, 09:27:28 PM »
The interface is mostly completed TKG, we just need functionality now.