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 - Josh @ Dreamland

General ENIGMA / Re: Proper working directory and output messages
« on: August 15, 2013, 04:16:14 pm »
The working directory shouldn't be where the EXE is, unless CreateProcess is broken. It should be where ENIGMA.exe is run from. But I don't really care; I can pass any working directory to CreateProcess/execvp. I just need that directory from the IDE.

The behavior on Arch Linux should be the same, yes. Though the behavior you're getting was not anticipated.

Off-Topic / Re: I think some software has crazy prices....
« on: August 15, 2013, 02:05:38 pm »
Companies charge what the market will bear. In the case of game development, there is a number of markets to target. You'll see people ranging from hobbyist game developers wanting to roll out a simple game, to expert developers looking to assemble teams and construct huge games or engines. Recently, the Game Maker staff have been attempting to target members closer the latter group, despite the fact that the lifeblood of their company is a constant influx of children who tend toward the former group. I don't think it will end well for them.

Unity, however, is in a reasonable position to charge for their engine; hobbyists can use the free version, which is still quite powerful; professionals purchase the full version when they are ready. Yoyo had attempted this, but ended up limiting the engine so far as to exacerbate its already obvious limitations. Also not a good strategy.

We keep ENIGMA free because it goes well with being GPL, which is invaluable for allowing people to contribute.

General ENIGMA / Re: Proper working directory and output messages
« on: August 15, 2013, 10:48:59 am »
I promise you, not one single person will manage to fuck it up Josh
I realize I am talking to a wall, but let me again emphasize that I know multiple people who have done it, one of whom I held in very high esteem.

when the IDE itself with the Java threads was causing a race condition which could have led to hard drive failure on someones PC.
Java's issues aren't my fault. Nothing the JVM does should ever lead to hard drive failure; that's the entire point of a fucking JVM. If there's such a problem, contact Oracle.

If slojanko who is 12 can load a game with models and make an FPS Josh, I am pretty sure the kids can manage the fucking working_directory
Slojanko is 16. He'll be 17 in a few months. I realize I am talking to a wall, but let me again emphasize that I know multiple people who have ruined their games directory, one of whom I held in very high esteem.

Quote from: Harri
And your solutions is what exactly?
My solution is to default to a subdirectory of the project as the default working directory, or, at the user's option, to ~/LateralGM. Any files you want access to, copy them there.

to make it work I either have to copy all my resources to temp directory
The temp directory thing should not be the case. I don't recall changing the working directory. Right now, as far as I know, the working directory is your ENIGMA folder. I have no idea where you people keep getting that you have to copy it there; my guess is that I don't change the working dir, and no one has ever tried copying anything to temp. But anyway, that behavior was never my intention.

The best thing of course would be just a freaking setting in LGM.
This is what I've asked Ism and told Robert to do sixteen times. I prefer that the default location *not* be the folder of the EGM/GMK/GM6. That way, people have to take responsibility for their own actions.

Most of the weapons fire exchange revolving around this topic has been due to polyfuck not realizing that the operating system maintains an environment for each application containing a working directory. The bastard had, at one point, hard-coded the entire engine to prefix a string working dir to all unqualified filenames. I'm not unreasonable, I just start to get irritated when people do something that stupid.

General ENIGMA / Re: Default Font Glyph
« on: August 14, 2013, 08:25:16 am »

General ENIGMA / Re: Proper working directory and output messages
« on: August 14, 2013, 07:42:09 am »
Well, congrats. This is the stupidest thread I've seen in a long time.

1) Don't lump issues. I don't want to hear about any result of this poll if you're pulling a politician and trying to force your agenda on an all-or-nothing basis. That's not how things are run, here. Creating a poll wherein the votes for an option effect a positive outcome for a group of people and a neutral outcome for nigh everyone else is simply a loaded question.

2) I know multiple people who have fucked up their game directory with file_find_ and file_bin_open. I'll just reply to anyone who stages a complaint or posts a blog about doing so with that little remark from you.

Yes, hi, sorry to hear about your loss. I saw it coming six months ago, but according to our developers, if you can manage to fuck something up with that working directory as a source directory, you are a retard, and you shouldn't be programming, you should be fucking shot. Oop, I guess I'm not sorry about your loss; you should be shot because you're a retard and that's what you get.

3) If you want to remove profanity from the error messages for the sake of "professionalism," that's fine. I personally tend to agree with Torvalds on "professionalism," but I'll grant you a G-rated output log considering our userbase is likely to comprise young children. My code, however, is rated PG-13. Most code is rated PG-13, especially collaborative code wherein the decisions of others negatively impacts code quality, and workarounds need written.Fortunately, ENIGMA's engine is granular enough to just rewrite or dump stupid components, except the instance system, which the new compiler should help with. By this virtue, we don't have flamewars in code comments. We do, however, have snide comments regarding stupid problems in our own code and in API code. I don't see any problem with that. If you are under the age of thirteen and are reading my code, and you are offended by the occasional language, go ahead and send me a note. But then, any 12-year-old who can read C is probably mature enough not to get his panties in a bunch because my code says something distasteful about WinAPI.

Proposals / Re: Urgent! A way to scale collision masks.
« on: August 14, 2013, 07:15:39 am »
If you're loading it using Ism's methodology, it will not be very successful. You'll have to load the entire file into memory at once, just like all the serial formats. While I guess it's better than nothing (and technically necessary right now due to ENIGMA's inherently poor support for external resource management), it ultimately should not be done that way.

For some reason, the default is working and the about.ey version is not. Someone remind me to figure out why.


Most of the compile time isn't ENIGMA, it's LGM packing resources. You can't kill a process spawned by a thread (eg, the game).

No. I want him to run it in a terminal.

lfcesar: Just open a terminal (from your applications menu, or maybe with control-alt-T). Enter that line and run it with Enter. Then try replacing "#include <...> search starts here:" with the translation it prints.

General ENIGMA / Re: MSYS No Longer Bundled with MinGW
« on: August 11, 2013, 11:01:34 am »
From its GitHub project page.

In the event that it isn't corrected there, drop me a note and I'll see what I can do. Or drop me a pull request.

General ENIGMA / Re: Default Font Glyph
« on: August 10, 2013, 07:21:13 am »
Well, I thought about it, Harri, and by my algorithm, the largest amount of empty space between packed glyphs is bounded by the difference in dimension of rectangles packed in a given column or row (which I minimize by sorting up front) multiplied by the largest opposite dimension of textures in the next row or column (counter-respectively). In practice, you'll never have room for more than a 2*16 rectangle, anywhere, and that's if the sorting algorithm can do basically nothing to help the situation.

The best thing we could do to optimize space is flip the texture by 90°.

General ENIGMA / Re: MSYS No Longer Bundled with MinGW
« on: August 09, 2013, 10:27:56 pm »
That thing has been failing since its conception. It's a short matter of time before everyone is sick of maintaining it.

Also, post 2468. I win.

General ENIGMA / Re: MSYS No Longer Bundled with MinGW
« on: August 09, 2013, 08:34:27 pm »
Thanks for the notice.

I'm going to end up writing a package manager for this nonsense. I can't put up with their awful means of distribution any longer. It's impossible to regulate this junk, existing package managers (mingw-get) are terrible, and this MinGW nonsense is the entire reason for how damn difficult it is to install ENIGMA on Windows.

Proposals / Re: GL3 changes from immediate to retained mode
« on: August 09, 2013, 03:15:07 pm »
Then how's that memory usage getting so big? You don't use one giant fixed size, do you?