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 - Darkstar2

436
Programming Help / Re: Where do I find ENIGMA's API?
« on: August 02, 2014, 01:00:08 am »
Yes I was aware that procedures can us variables :P

BTW, you will have to re-teach me PASCAL :D

Yes I remember using the word procedure, I've done work in PASCAL back then :D
But did not pursue. I do remember READLN and WRITELN lol.  I could make a text version and console version of LGM lol!

Quote
Quote
By the way how can I know in C++ when something is a funtion or a procedure?, you see I also have a C++ to Pascal converter

Difference between function and procedure is very simply.

int addition (int a, int b)
(that's a function - it returns a value)

void decrypt (&bufferFile)
(executes code that will work directly
on bufferFile, nothing gets returned, note
that bufferFile is passed by reference).

Procedures are statements that get executed.  So I can for example code a procedure that will directly decrypt or encrypt a file buffer which was passed by reference, in this case nothing is returned back.  I just ran a procedure.  A function would return something back and usually has stuff that gets evaluated.

You could also run a procedure that executes tasks and passes back whether it was successful or not.  But using VOID, you are not returning any value.  Of course someone will correct me if i'm wrong.

In my upcoming projects I will be using both functions and procedures, :D

Lol  :D of course I know what a function does and what a procedure does, what I meant was if there was some clue that saved me from reading all that piece of code, like in pascal you put the word procedure or function according the case. And don't give me the variables as a clue, because a procedure can have variables only it doesn't return a value, it just uses the variables to do whatever it was written to do.

Guess not eh? well to read thousands of lines of code  ::) :-\

437
Programming Help / Re: Where do I find ENIGMA's API?
« on: August 02, 2014, 12:37:47 am »

The reason nobody takes the Java conversion seriously is because you simply can't expect a converter to just take Java code and spit out perfectly optimized C++ they are after all two completely different languages and a lot of the subtleties do make a difference. This is why for us seasoned developers it's easier to just rewrite it correctly from scratch ourselves than to piss around correcting all the issues with generated code. Not to mention if you

yes obviously I am aware of that, but I don't know fuck all about JAVA to even work with LGM's source :D

YET I know enough about C++ to do certain things, to a certain extent, though I am not to your level or Josh's level or Harri's level and so I could not contribute as much as I wanted, and I am NIL in terms of graphics programming so whenever I see stuff like Vertex, gl this Glthat, d3d this and that to me it's Chinese. :P

Where I CAN contribute is optimising LGM and making it more stable and less memory intensive, as it seems the issues are with enigma.jar, frequent testing/running will eventually cause out of memory and other crashes as I mentioned several times with logs etc, and we've established that the problem occurs at the plugin level not LGM itself without the plugin.  So my aim is to get ENIGMA accessing the folders/files directly as opposed to passing shit by memory, which I think is what is causing the issues we talked about in LGM......and besides, that's how Studio does it.

Try opening a really big project in LGM, it can be painfully slow and slow the IDE to a crawl, taking so long to compile, running into errors / crashes ,etc..... That's where I MIGHT, no promises, be able to help.
Imagine opening a multi gigabyte project at the speed of lightning, LGM being lightning fast, not  crashing, compiling being much faster, since it does not have to pack all the resources as they are already packed 1 time and accessed dynamically.  So faster IDE, reduced RAM usage, and being able to make really gigantic games. :D


438
Programming Help / Re: Where do I find ENIGMA's API?
« on: August 02, 2014, 12:29:27 am »
I'd love to try your converter when LGM works again in my pc.

It's going to be a fully C++ project, at first i'll make it a CLI and later add a GUI if people want to.  That will be a project separate from ENIGMA and I will support only EGM files.

Quote
Me a JAVA fan? No by the stars no and a million times no!  :D
Seriously, I don't know Java, if I wanted to use an interpreted language I would go for

Ok I was confusing you with another user by the name of egofree which contributed lots of fixes and features to LGM....Sorry :D

Quote
Python, tryed reading java code once or twice, and although people say its verbose because its easy to read I much preffer les verbose languages, C++ I'm studying right now so I can't really undertake such an

Only other languages I know are BASIC, ASM6502 - As far as PASCAL I did back in school, but forgot most of it, so I'm settling for C++, OR......a QBASIC version of the LGM lol ! or straight to ASM / binary code even that would be great :D

I'd love to thank YYG**mes for inspiring me to fuel my interesting for programming again without their rubbish I would still be using GM and D&D :P

Quote
different calls and so on.  :) Maybe Ill end up doing the python one and rebranding it as Quimera  ;)

lol.  Nice.

Quote
If the tool you're talkin is not TSS Java to C++ converter, then I would love to know the name, if only to see if it works better than the one I have.

Indeed it's TSS, though I never used it myself so I can't comment on it. From what I heard it does a decent job, and i'm sure nobody here is entering coding contests,
because ENIGMA's code is a mess in some areas and would not win any contest. So i'm ok in using a converter. 

Quote
By the way how can I know in C++ when something is a funtion or a procedure?, you see I also have a C++ to Pascal converter

Difference between function and procedure is very simply.

int addition (int a, int b)
(that's a function - it returns a value)

void decrypt (&bufferFile)
(executes code that will work directly
on bufferFile, nothing gets returned, note
that bufferFile is passed by reference).

Procedures are statements that get executed.  So I can for example code a procedure that will directly decrypt or encrypt a file buffer which was passed by reference, in this case nothing is returned back.  I just ran a procedure.  A function would return something back and usually has stuff that gets evaluated.

You could also run a procedure that executes tasks and passes back whether it was successful or not.  But using VOID, you are not returning any value.  Of course someone will correct me if i'm wrong.

In my upcoming projects I will be using both functions and procedures, :D

439
Programming Help / Re: Where do I find ENIGMA's API?
« on: August 01, 2014, 09:06:55 pm »
This is something I will touch when I get a bit more time, just fooling around with recreating an entire project outside LGM and compiling.  I already know how to generate the EGM file and based on options/system/chosen generate the folder structure and files along with the right source files to be compiled, though certain areas I am clueless about, the structure of RMG files (room files).

I have enough knowledge to help me build a converter which takes an EGM and converts it to a dynamic resource handling, meaning only the resources needed are loaded, meaning you can load projects several GB large and the IDE would be lightning fast and tiny, as the assets are stored externally and called dynamically, my converter would automatically convert an entire project into this, making much smaller files, and games take a fraction amount of memory, where resources are read directly into memory as needed. I plan on writing this entire in C++, and if I'm lucky integrating it to LGM as a plugin (new button / option under build).
But that's far in to the future !  Initially I will be using this for myself, and if all works well, offer it for release.

Also about functions, all the GML/EDL whatever function you use in ENIGMA are actually C++ functions.  Adding your own set of GML/EDL whatever FUNCTIONS to ENIGMA is easy, either as a function or based on  an extension, again, easy to do.

Also, if you are wondering where in the C++ source code you can find a specific function in ENIGMA it is very easy.....

You can use a tool called UltraFileSearch (Lite / FREE for personal use).   Set the starting folder pointing to main ENIGMA folder, search by criteria containing text
and type the function you are looking for,
and hit search.  It will list you all the source
files that contain the function you entered into the search.  So you can immediately know in which header and CPP files are stored the functions you want to modify/fix, saves a lot of time if you don't know where to look.

Also what I am aiming to do is doing like GM Studio does, as opposed to creating a single file, like EGM for example, content of which is passed to the plugin and processed, I would like to eventually be able to have an IDE create the folder structures and files, and have things processed from files stored on disk as opposed to passing along resources by memory.....this will resolve a lot of the stability issues in LGM, and that's how GM Studio does it.  You'd have to save your project first though before compiling or running, that combined with dynamic resource handling and you got yourself a rock solid IDE, smaller, faster, and consuming far less memory.

By your JAVA comment I reckon you are not a fan of JAVA or know JAVA programming ?

Neither do I, but there is apparently an amazing tool that can convert Java to C++ and C++ to JAVA, someone here used it and gave amazing results.  I'd love to get to write an entire IDE to C++ or port it to C++ along with dynamic resource handling and what I talked about above.  One can only dream.

But I thought you knew JAVA !?!?



440
General ENIGMA / Re: New functions available in the rooms editor.
« on: August 01, 2014, 12:16:38 am »
Very nice work there.

One minor thing,

I see some new features being added, I think those should be updated in the wiki documentation to reflect changes, removal, fixing or adding new functions, features, etc.

Also, why is LGM version frozen ?  With all the changes added to LGM lately shouldn't the version increment ?  Like 1.8.7 ?

You should also add your name in the about section in LGM. :D


441
Developing ENIGMA / Re: Font Pixel Alignment
« on: August 01, 2014, 12:13:15 am »
Yes as I said this is specifically to make it both clear and allow it to interpolate properly for scrolling text. Make a scrolling background and make the x and y values round() instead of being floating point or half integer and you'll notice the scrolling is much more abrupt, it goes directly to the next pixels instead of interpolating and blending
in between.

Oh yes that I know exactly what you mean, that blurring effects masks things.  And yes I know what you mean by abrupt transition, though people using LCD monitors as opposed to CRT, will have the natural "blending" effect, particularly on faster scrolls.

Quote
You've never seen because in your local copy before texture handling was made compatible with Studio I was blocking interpolation for fonts which is no longer feasible. And no this is probably directly related to the font anomalies you guys were having before, we duck tapped over it instead of fixing the underlying issue, remember?

Yes I remember how can I forget this shit, it was a nightmare and a pain in my arse! :D
But as I replied to your PM, the lines you've given me DID NOT fix the font artifacts. So I disagree this issue was unrelated, as when I applied your lines it had no effect.  Once you have this official and the option to turn it on/off in LGM because nobody wants forced crap a-la-YYG, then I'll test it without the fix and see, though I still think the issue was more complex.


442
Developing ENIGMA / Re: Font Pixel Alignment
« on: July 31, 2014, 11:49:08 pm »
It's weird I have never seen this font anomaly before....I thought we had fixed this before and it worked great for everyone, where did this come from all of a sudden ???

There is nothing worse than BLURRING shite.

Why would anybody want blurry fonts !?!?!?

Are you talking about the slight blurring only during movement of sprite, fonts etc ? I would personally not use anything that adds any type of blurring or scrolling anomalies in my games.

With or without interpolation I have never had the problems described in your screenshots.   Is this another graphic card specific issue?

443
Proposals / Re: Close file without closing LGM/ENIGMA
« on: July 31, 2014, 11:40:39 pm »
@TKG: Oh no! not multiple projects, that would be suicide in LGM. It gets unstable as it is with one bloody project (rather the ENIGMA plugin stability). 

I agree every IDE has a CLOSE function which leaves the IDE open but clears/closes the project.

And yes using the new project clears your ongoing project.


444
General ENIGMA / Re: Mipmapping Implemented
« on: July 31, 2014, 11:37:41 pm »
yeah that's the typical canned answer from yours truly, it takes efforts bla bla bla, that's what they are paid for FFS!

I thought most of the team here were not in talking terms with YYG ? Does he even know you are involved in ENIGMA ?

BTW, with new texture add, you should probably add a textures resource tree in LGM, to keep it tidy and separate from "backgrounds".


445
Off-Topic / Re: MacOS Counter-intuitive?
« on: July 31, 2014, 02:37:48 pm »
Steve is already there, since I mean he's dead so.. I've heared rumors of Bill's death, but I think it's just an internet prank.

:P
I think Bill will end up there first, not Steve :D  Bill for giving us Win VISTA and for all the scandals and fiasco he carried with it.  Guess we can't blame him for Wincrap 8 and the genius idea to merge mobile / tablet into PC desktop :P but anyhow.
Bill donated lot of money and did good so yeah, he's probably making some OSes in some parallel universe :D

Quote
Edsquare I completely agree with your above post. Most people do it out of the ignorance, "sexy" and "slick" look, and of course "bragging rights" associated with being well off and able to afford the expensive brandname.

Yeah the type of people who judge looks and what's on the outside and brag about their "b0x"....Can't stand those people.  I know people around me who spend more money on their bloody case than what's inside it's crazy......$1000 case, leds, lights, :P

I focus on what's INSIDE, my case is just a standard beige tower LOL! FUCK the bloody looks I rather brag about what's inside it than the outside look and whoever is not happy with it can kiss my arse! :D

Quote
As for the virus argument, if everything you want to download is on the Ubuntu Software Center, screw crapple, no virus issue just that easy (Linux has much less virus issues than Mac).

I agree with this 100%
:D

446
Off-Topic / Re: MacOS Counter-intuitive?
« on: July 31, 2014, 02:32:36 pm »
2.- You work as a graphic designer/digital artist/designing publications or something along those lines, the software you use works on MAC or on Windoze and you don't want to risk viruses and all the other fauna of windoze.

Actually this was quite true ages ago, and not only that, for film editors.   There was a time where you could never dare think of using NLE (non linear editing) software on a PC back in the days......MAC was industry standard for film makers. 

But things have changed quite a lot and software has gone long ways now.  I've personally been in that industry and done some very labour intensive work (audio/visual / non linear editing, rendering, etc....) on a PC and never had stability issues.  It all comes down to choosing the right PC components......quality power supply, quality RAM, quality motherboard & chipset, quality motherboard components, etc.etc.... Most people I know in the field used MACs, but a lot now use PCs, including myself.  But still know some people using MACs.

Quote
My humble opinion is that only number 2 is a real reason, but I could be wrong, and there could be other reasons why someone would buy a MAC.

Some people really amaze me when they use the virus/malware as an argument not knowing that it was a myth that MACs are immune from those, there is documented proof otherwise.....if MAC took a large part of the market things would be different.
There were valid reasons I agree, SHITTY OS, SHITTY stability for the part.  Luckily I had the means to buy decent hardware when I began doing audio, video, graphic, edit work.....but had I rewound many many years earlier I would have definitely done that on a MAC.


447
Off-Topic / Re: MacOS Counter-intuitive?
« on: July 31, 2014, 12:44:19 am »
lol - then you must not be a fan of WinBlowJobs 8....when they shafted desktop users by forcing a gay mobile interface down their bloody throats ..... I call it the N.O.M.M.F.D syndrome (Not On My MFing Desktop). Hopefully with Windows 9 coming out in 2015 they will have learned not to merge mobile fagness into desktop.  Long live windows 7.


448
Off-Topic / Re: NakedPaulToast
« on: July 30, 2014, 04:11:20 pm »
I've personally witnessed senior staff, admin and mods scold members because of their post and yet not warn other members for worse violations.  Seems they have preferential treatment and that some people are immune from the rules.  Perhaps they are YYG's alleged benefactors ?  ;D arse kissers or bother who knows.



449
Off-Topic / Re: MacOS Counter-intuitive?
« on: July 30, 2014, 12:49:10 am »
I don't recommend putting your dick on the keyboard Robert...... ;D

But yeah I agree, I cannot stand those gesture ridden ****ot operating systems.

Not an APPLE or MAC person myself, so yeah I agree with you home slice !  :pseudo:

450
Off-Topic / Re: NakedPaulToast
« on: July 29, 2014, 10:46:17 pm »
He's the supreme leader of the trollish army. Before I even initially joined the GMC dating back in like 2010-ish I've read many of his post and overall he's just a jerk for no logical reason to specify. That's not the kind of person who should stay on the GMC. If they keep me banned until I push up daisies and

Some people tend to suck up to YYG's thinking they gain brownie points or something.  Have not followed much of his posts concerned by this.

Quote
I'm surprised you guys seem to think he's actually worth anything. That's a big

Please don't put words in our mouths (or anything in our mouths for that matter  ;D ;D ;D)  I did not say he was worth anything, I said I haven't been following everything on GMC and the few posts I read from him I didn't notice anything out of the ordinary so I might have missed this whole thing. You probably were far more active in the forum than I was, so it's hard to comment.  I'd have to have read the concerned posts to comment.

Quote
mistake. But since you two aren't active over there it's not like it matters. It's like the mods and admins are oblivious to how abbrasive he is.

lol exactly, I'm not active there.  The short while I was I remember some drama, crap from other users, might have missed NPT's offending posts though.  but some people are serious and may come across to being rude or siding with YYG and defending them when a user makes a comment, but many users do that over there.  :P  Nobody is going to get a FREE license for sucking their cocks that's for sure.

Quote
He goes accusing multiple new members of being 12 year olds, with nothing to go by, he's sarcastic, arrogant, and when someone disagrees with him that makes them irrational and stupid.

I know exactly the type you describe, I believe you TKG, what you describe I have seen lots of that back in the GMC days from many users, one of them was a moderator too, no longer one now. :D

Quote
He'll try to convince them of that in the most rude ad cutting of ways. And everyone praises him for these things as if being a super annoying lunatic was a good thing.

And you wonder why he's not banned ? So long as you praise and agree with YYG you are safe....  But yeah you have types like that on every forum, it disgusts me to see how some new people are treated, that was back in the GMC days, I take quick look from time to time, but it's been years since I've really bothered reading most posts, I have better things to do than read the GMC :D

Quote
He's popular, so in his case they see him beneficial even though he's a mindless jerk who seriously claims to know everything. at least he thinks he does. I wasn't popular on the GMC, I verbally attacked 1 person (TV) and they instantly perma-banned me. What about NPT? Are they just going to let him slide because he can do jerky things the

Well apparently popularity and sucking up goes a long way with some companies :D
I guess rules apply only for some and not for others.  I guess nobody bothered reporting him or complaining !  So I am glad now that I didn't bother with GMC anymore, I didn't miss that much other than the drama :D

Quote
Places like the GMC are way too driven by everyone's popularrity and social status which is just plain stupid. 

The GMC ? more like social media as a whole and LIFE ....... :D

Sad reality.

Quote
NPT can insult the hell out of all these people but it's okay because all the cool people like him. God forbid I act like him for 1 day, that's why I was banned.

Well TKG, I've seen this in many places before, some of the popular/regulars violate rules in every one of their post and go untouched, yet another person daring to do the same and they get cut off.....

Though the few posts I read from him were nothing concerning.....  Guess some people get along with others, some people don't get along from the start, dats how it izzzz..... :D