ENIGMA Forums

General fluff => Announcements => Topic started by: Zekian on August 08, 2008, 08:08:08 PM

Title: Enigma R3 Released
Post by: Zekian on August 08, 2008, 08:08:08 PM
Enigma R3 has been released, Get it here:

Zips:
Enigma R3 With Core Zip (http://enigma-dev.org/downloads/index.php?id=7)
Enigma R3 Zip (http://enigma-dev.org/downloads/index.php?id=2)
Enigma Core Zip (http://enigma-dev.org/downloads/index.php?id=3)

7z:
Enigma R3 With Core 7z (http://enigma-dev.org/downloads/index.php?id=8)
Enigma R3 7z (http://enigma-dev.org/downloads/index.php?id=1)
Enigma Core 7z (http://enigma-dev.org/downloads/index.php?id=4)

a2hedit:
http://enigma-dev.org/dl.htm

Note:

If there's one thing I'd like you all to know, it's that this is still an alpha, even though it seems to be stable. It still has a lot missing, and still could use some debugging, but it will not catch or freeze to my knowledge.

Please work with us. Test what we have, and try to find and isolate any problems. R4 is the next huge release, but updates will be given on an as-needed basis.

Big Note:

If the compiler immediately returns -6, download the core and install it properly.
Biggs:
Linx are fixed.

Joshedit

Let me also encourage users to join the forums. They will be totally merged soon, and I would appreciate the traffic.

If you are having any problems, please thoroughly read this first.


If after reading this, you still have a problem, PLEASE submit a bug report. I am still and always paranoid about the first 3 days of a release.

Okay all, Josh here. Gonna give you all some probably well needed info on the release.
First note that the progress page on this site is, as usual, out of date. All functions can be found in fnames.txt.

I'll update this topic as I type, so keep refreshing till I say not to. (I'm going to forget to tell you to stop, just so you know)

For starters, welcome to the official alpha for ENIGMA. It was made public because I take everything public, because it's open source.

If you downloaded the thing as soon as the link appeared, you may need to know the CORE has been uploaded to.

The core is GCC, and only needs to be downloaded once. It will remain static throughout. The core does contain two files that not every GCC download will come equipped with, so you may need to download even if you already have GCC. (This has not changed since R2, so no need to redownload if you can just patch R2)

On the topic of patching R2, simply delete ENIGMAsystem\SHELL and the contents of the folder above ENIGMAsystem. (not including ENIGMAsystem itself, of course), then unpack the 7z or zip file in the top level.


If you are downloading the core fresh, extract it right to ENIGMAsystem.

==

Now, I never write release notes, but here are a couple:

1) Be advised, Build Mode's undo and redo appear to not work. This is because I totally neglected to do anything about them. However, everything else there should work. You resume by pressing "ENTER". I will get right to work on adding a resume button as well as adding the functionality behind undo. Fact is, no one's ever really needed them yet.

2) Sorry Linux users, I had to postpone the Linux and Mac distro. It should work sometime tomorrow or late tonight, but I can't promise the release date yet.

3) I know a lot of GM users tend to adore the function place_free(). As such, it is one of three operable collision functions for this release. (The other two are collision_point and collision_bbox_rect(). ) Also, no collision event has been added yet: please test out place_free for general purposes, then assuming that goes well, we will add in the collision event.

4) It has come to my attention that LGM's color coding for functions may be borked. That will also be fixed shortly

5) The release is still missing lots of resources. However; with(), scripts, and most other aspects of the scripting language have proven to work. Additions include cpp{}, asm{}, and typenames. global has a few bugs, which have totally dumbfounded me, but once more, that will be online shortly. Also, switch() is totally untested. Meaning it probably doesn't work, though it should at least compile.

6) show_message() is implemented. draw_text() is broke. external_define() will take more research than I could do for it so far, but should be in relatively soon.

7) It is not recommended that you try converting an existing game at this time.

Extended information:

R3 adds a collision system, and much needed stability to R2. It has not had much forward progress, aside from Build Mode, but has had a lot of reconstruction on the inside. A lot has been reorganized.

In fact, I doubt a single line of code is in the same place as it was in R2.

A lot of last minute renovations were made before the release.

R4 will contain many, many more functions than R3, and I intend to support at least seven of the nine GM resources. Along with DLLs, when I figure out that system.

If you have any problems, please do not hesitate to post a bug report.

Title: Re: Enigma R3 Released
Post by: TGMG on August 08, 2008, 08:17:09 PM
Links are broken but easy to fix.

thanks for uploading, did you give up with sourceforge upload?
Title: Re: Enigma R3 Released
Post by: Zekian on August 08, 2008, 08:19:16 PM
Sorry my fault, they are fixed now.
Title: Re: Enigma R3 Released
Post by: OniLink10 on August 08, 2008, 08:20:55 PM
Lol, I looked at the URL and saw they were pretty messed up. XD
Title: Re: Enigma R3 Released
Post by: RetroX on August 08, 2008, 08:24:49 PM
=DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
Title: Re: Enigma R3 Released
Post by: OniLink10 on August 08, 2008, 08:34:20 PM
=DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
Geez, you're even more excited than me. XD
Title: Re: Enigma R3 Released
Post by: RetroX on August 08, 2008, 08:40:45 PM
>_>
<_<
No.
Title: Re: Enigma R3 Released
Post by: Austin on August 08, 2008, 08:44:22 PM
All I get when making a blank room is a 640 by 480 window with a blue background...Even though I made the room 320 by 240 with an orange background.
Title: Re: Enigma R3 Released
Post by: RetroX on August 08, 2008, 08:46:02 PM
It won't even compile for me.  I get a -6 error.
Title: Re: Enigma R3 Released
Post by: TGMG on August 08, 2008, 08:47:49 PM
Overwrite your old enigma folder with this one and it works perfectly!
Title: Re: Enigma R3 Released
Post by: RetroX on August 08, 2008, 08:49:28 PM
I'll do that then.
Title: Re: Enigma R3 Released
Post by: OniLink10 on August 08, 2008, 08:56:38 PM
This Code Returns an Error. Lol.
cout<<fps<<"/"<<room_speed;
Title: Re: Enigma R3 Released
Post by: Chris94 on August 08, 2008, 08:59:26 PM
This Code Returns an Error. Lol.
cout<<fps<<"/"<<room_speed;
FPS is not a string. Maybe that's why it wont. (Nor is room_speed.)

Also, ENIGMA always returns a -6 compilation error, even when there is no code, just a room (with and without an object). Any help?

Chris94
Title: Re: Enigma R3 Released
Post by: Josh @ Dreamland on August 08, 2008, 09:03:24 PM
This Code Returns an Error. Lol.
cout<<fps<<"/"<<room_speed;

Well, COUT is mostly for console applications. Try show_message().
However, ENIGMA tries to isolate C++ from EDL, to preserve compatibility.

To use raw C++, use cpp {}.

Though, in this case, that won't work, as enigma does not make use of iostream.h.

Chris- Download the Core
Title: Re: Enigma R3 Released
Post by: RetroX on August 08, 2008, 09:04:30 PM
I submitted this bug report:
http://enigma-dev.org/bugtracker/bug/15/

Ohboi, Joshy is paranoid.

Well, anyways, hope it gets resolved soon, and a patch of the core is soon released.

EDIT: Also, while this may get you very pissed off, I will ask anyways - when will R4 be released?  A month?  Two Months?  Four Months?
Title: Re: Enigma R3 Released
Post by: ludamad on August 08, 2008, 09:06:45 PM
I need to write a guide on using C++ in ENIGMA sometime, these guys seem confused (cout is only defined in a header ENIGMA doesn't have included).
Title: Re: Enigma R3 Released
Post by: RetroX on August 08, 2008, 09:07:31 PM
Could someone please do me a favor and write a proper readme file?
Title: Re: Enigma R3 Released
Post by: basil on August 08, 2008, 09:08:13 PM
This Code Returns an Error. Lol.
cout<<fps<<"/"<<room_speed;
FPS is not a string. Maybe that's why it wont. (Nor is room_speed.)

Also, ENIGMA always returns a -6 compilation error, even when there is no code, just a room (with and without an object). Any help?

Chris94

Be sure to also download the Core and extract those files to the "ENIGMASystem" folder.
Title: Re: Enigma R3 Released
Post by: Chris94 on August 08, 2008, 09:12:59 PM
@Josh @ Dreamland  &  basil
Thanks! I'll give that a try... I was wondering why the file size was so small!  :D (Will edit)

Chris94
Title: Re: Enigma R3 Released
Post by: OniLink10 on August 08, 2008, 09:17:37 PM
You guys are getting a -6 Error? Mine seems to be Bug-Free!
Title: Re: Enigma R3 Released
Post by: Zekian on August 08, 2008, 09:18:54 PM
@RetroX Download both the Enigma Core and Enigma and extract them to the same place. If you don't put them in the same place you will get G++ error. Compile failed (-6)
Title: Re: Enigma R3 Released
Post by: Chris94 on August 08, 2008, 09:20:21 PM
You guys are getting a -6 Error? Mine seems to be Bug-Free!
I forgot to download the core, that's why it didn't work for me! (It is working now though! Thanks basil and Josh @ Dreamland!) That's why most people are probubly getting the error.

Chris94
Title: Re: Enigma R3 Released
Post by: OniLink10 on August 08, 2008, 09:28:17 PM
Oh, ok!
Title: Re: Enigma R3 Released
Post by: RetroX on August 08, 2008, 09:34:24 PM
If you don't put them in the same place you will get G++ error. Compile failed (-6)
I did that, and I got the same result.
Title: Re: Enigma R3 Released
Post by: OniLink10 on August 08, 2008, 09:40:52 PM
K, I'm trying the Count to 100,000,000 Test. I'll Update this once I'm done.

VAR Version: 1609 Milliseconds
INT Version: 172 Milliseconds
Title: Re: Enigma R3 Released
Post by: RetroX on August 08, 2008, 09:42:35 PM
Using smileys in the way you just did is also not cruise control for cool.
*adds to "not cruise control for cool" list.*
Title: Re: Enigma R3 Released
Post by: Zekian on August 08, 2008, 09:44:20 PM
Just posted something i made a while ago to show off enigma but never posted it, have a look. (It's at the bottom of the news post) Feedback would be nice.

@RetroX: So you copied the EnigmaSystem folder from Core, and placed it in the Other enigma folder?
Title: Re: Enigma R3 Released
Post by: OniLink10 on August 08, 2008, 09:45:14 PM
Using smileys in the way you just did is also not cruise control for cool.
*adds to "not cruise control for cool" list.*
Oops, I meant to do 3 ?s to symbolize that I hadn't tested that one yet. Sorry. D:
Title: Re: Enigma R3 Released
Post by: RetroX on August 08, 2008, 09:47:17 PM
So you copied the EnigmaSystem folder from Core, and placed it in the Other enigma folder?
I did that and it didn't work, so I erased it and put just the R3 stuff into it.  I did what Josh said as well, and it still didn't work.
*sigh*
Will I ever get it right?

@OL10: There's a checkbox to disable smileys, I believe.
Title: Re: Enigma R3 Released
Post by: OniLink10 on August 08, 2008, 09:54:15 PM
So you copied the EnigmaSystem folder from Core, and placed it in the Other enigma folder?
I did that and it didn't work, so I erased it and put just the R3 stuff into it.  I did what Josh said as well, and it still didn't work.
*sigh*
Will I ever get it right?

@OL10: There's a checkbox to disable smileys, I believe.
Thanks. Also, my Log of the Var and Int Counting is complete. Next Test: Max FPS

What it does? It draws the FPS/Room Speed in the Window Caption, and that's all! A nice way to test how fast ENIGMA can run!
Max FPS: 343/9999
Title: Re: Enigma R3 Released
Post by: Zekian on August 08, 2008, 10:03:02 PM
OpenGL can limit the room speed, So i understand, so if you really want to test speed, try to do everything in one frame. E.g. a for loop, or a while loop.
Title: Re: Enigma R3 Released
Post by: notachair on August 08, 2008, 10:04:36 PM
https://sourceforge.net/project/showfiles.php?group_id=230668

Download page will be updated soon.

EDIT: http://enigma-dev.org/dl.htm
Title: Re: Enigma R3 Released
Post by: RetroX on August 08, 2008, 10:24:40 PM
if you really want to test speed, try to do everything in one frame. E.g. a for loop, or a while loop.
Make a 1x1 room with only one object that is optimized with all of the variables turned off (except room_speed and fps) and then set the caption. 
Title: Re: Enigma R3 Released
Post by: Josh @ Dreamland on August 08, 2008, 10:31:28 PM
GM will be able to run faster than ENIGMA in a blank room as long as ENIGMA is OpenGL.

However, try testing ENIGMA and GM under some stress, like lots and lots of lines. You'll find ENIMGA can easily outdo Game Maker there, as long as your GL drivers meet the stone age specification.
Title: Re: Enigma R3 Released
Post by: Nighthawk on August 08, 2008, 11:13:23 PM
I downloaded the version that has everything in the right place, and I still keep getting this error when I click "Run":

Quote
Sending Enigma resource names
Sending Enigma resource data
Executing Enigma...
Failed, Enigma not found

I did rename the Lateral GM file to "LGM.jar" if that has anything to do with it. Since I can't seem to run JARs normally, and it's a pain to type everything in command prompt, I renamed it to make it so I could open it faster. Though since it's having trouble finding ENIGMA, which I didn't rename, I wouldn't think this would be the problem. Anyone know what it is?
Title: Re: Enigma R3 Released
Post by: RetroX on August 09, 2008, 08:42:27 AM
Rename it back.  The file name is used during the execution, I believe.

Seriously, when you make the patch, include a proper installation readme.
Title: Re: Enigma R3 Released
Post by: TGMG on August 09, 2008, 08:57:56 AM
Run the .bat file in the same directory as the jar and rename it back.
Title: Re: Enigma R3 Released
Post by: ANGRY OBELISK on August 09, 2008, 03:40:21 PM
SO CONFUSING
Title: Re: Enigma R3 Released
Post by: RetroX on August 09, 2008, 04:01:02 PM
If you can't say anything nice, then GTFO.

Code: [Select]
Sending Enigma resource names
Sending Enigma resource data
Executing Enigma...
Loaded fnames successfully.
Read 122 constants
Read 33 globals
Reading 1066 bytes of locals...
Read 1066 bytes of locals
Read locals successfully.
Opened file.
File is valid.
Read icon data.
Exported icon.
Read script names.
Read object names.
Read room names.
Read sprite names.
Wrote resource names.
Exported object switch.

LOTSA CODE

Loaded and parsed all events.
Read room data.
Wrote event declarations.
Wrote event code.
Wrote inherited locals.
Wrote with and script code.
Wrote mode data.
Wrote room data.
Starting compile. This may take a minute.
The system cannot find the path specified.
Compile failed. [1]
G++ error. Compile failed (-6)
Title: Re: Enigma R3 Released
Post by: TGMG on August 09, 2008, 04:05:16 PM
@ANGRY OBELISK - You went to all the bother of signing up to say that  :o
Title: Re: Enigma R3 Released
Post by: RetroX on August 09, 2008, 04:09:00 PM
Registering isn't that hard.
Title: Re: Enigma R3 Released
Post by: basil on August 09, 2008, 04:20:22 PM
If you can't say anything nice, then GTFO.

Code: [Select]
Sending Enigma resource names
Sending Enigma resource data
Executing Enigma...
Loaded fnames successfully.
Read 122 constants
Read 33 globals
Reading 1066 bytes of locals...
Read 1066 bytes of locals
Read locals successfully.
Opened file.
File is valid.
Read icon data.
Exported icon.
Read script names.
Read object names.
Read room names.
Read sprite names.
Wrote resource names.
Exported object switch.

LOTSA CODE

Loaded and parsed all events.
Read room data.
Wrote event declarations.
Wrote event code.
Wrote inherited locals.
Wrote with and script code.
Wrote mode data.
Wrote room data.
Starting compile. This may take a minute.
The system cannot find the path specified.
Compile failed. [1]
G++ error. Compile failed (-6)

Did you use alarms?
Title: Re: Enigma R3 Released
Post by: RetroX on August 09, 2008, 04:24:14 PM
No alarms whatsoever.  Although I am using parent objects, it that's a problem.  Source GM6:
http://willhostforfood.com/access.php?fileid=30037

If someone would be willing to compile it, please tell me if it works.  I know the slopes don't work because I haven't implemented them, but...
Title: Re: Enigma R3 Released
Post by: basil on August 09, 2008, 04:39:53 PM
I have no idea what your problem is but I changed the jumping to make it smoother.

Don't worry, it still has variable jumping.
I took out your grav variable too.

http://willhostforfood.com/?Action=download&fileid=30040
Title: Re: Enigma R3 Released
Post by: RetroX on August 09, 2008, 04:48:15 PM
LOL, thanks. XD  I actually like that jumping better.

But anyways, could someone who can compile games upload the entire thing with the CORE included, just to make sure it's not me putting it in the wrong place?
Title: Re: Enigma R3 Released
Post by: basil on August 09, 2008, 04:50:52 PM
Well since uploading would take forever, I'll just tell you where to extract the files. Make sure you extract all the files of the core zip or 7z into "ENIGMA/ENIGMAsystem".

And no problem. =)

Edit:

Also, I tried running your game in ENIGMA and it failed. My ENIGMA is properly installed too, so it's not ENIGMA; it's your game.
Title: Re: Enigma R3 Released
Post by: RetroX on August 09, 2008, 04:55:44 PM
Yeah, they're in the ENIGMAsystem folder.  Something isn't working. =(

EDIT: Also, get working on an EXE interface.  I hate having to open LGM as opposed to double-clicking a .gm6 file.
Title: Re: Enigma R3 Released
Post by: basil on August 09, 2008, 04:58:33 PM
Try to download the patch and re-download the core.
Title: Re: Enigma R3 Released
Post by: notachair on August 09, 2008, 04:58:44 PM
If you can drag a gm6 file onto lgm to make it open then I believe you can just assign gm6 files to open with it.
Title: Re: Enigma R3 Released
Post by: basil on August 09, 2008, 04:59:47 PM
The thing is, you can't drag a gm6 file into LGM.
Title: Re: Enigma R3 Released
Post by: notachair on August 09, 2008, 05:04:19 PM
I meant the actual lgm file itself.
Title: Re: Enigma R3 Released
Post by: Zekian on August 09, 2008, 05:06:53 PM
Retro, I added a download with the core included >___>
if you need a link, here (http://enigma-dev.org/downloads/index.php?id=7)
Title: Re: Enigma R3 Released
Post by: nbeerbower on August 09, 2008, 05:07:01 PM
You cant assign gm6 files to LGM because it's not considered a "valid Win32 application".
Title: Re: Enigma R3 Released
Post by: RetroX on August 09, 2008, 05:15:46 PM
Heh, figured it out.  Apparently, defining variables isn't good enough.  You have to use the var statement.

Also, you can only assign file types to open in EXEs, not JARs.

It compiled!  But I keep getting this:
Code: [Select]
Error in No particular event for object -3:
Trying to retrieve width of unexisting sprite 15
Hmm, methinks sprite-less objects are buggy.
Also, parents don't work either.  I'm unhappy, having to put "solid=1" in my 10 objects now.

EDIT: It runs, although ENIGMA doesn't like my gradient sprites.  It seems to be rendering them in 16-bit, or something.
EDIT2: Make precise collisions so I can make slopes, plz.  It seems to be going bounding box-wise, and not very pretty.
Title: Re: Enigma R3 Released
Post by: basil on August 09, 2008, 05:45:29 PM
D=
Title: Re: Enigma R3 Released
Post by: TGMG on August 09, 2008, 05:54:22 PM
You can make lgm into an exe using an exe wrapper tool, if lgm is set to get the game from the parameter than it will work.
Title: Re: Enigma R3 Released
Post by: OniLink10 on August 12, 2008, 09:50:12 PM
When I compile it returns -6. This is pobably the Cause:
if room+1!=4
    {room+=1;}
else
    {room=0;}
That's the only way to move between rooms, as room_goto is broken.
Title: Re: Enigma R3 Released
Post by: nbeerbower on August 13, 2008, 08:35:36 AM
When I compile it returns -6. This is pobably the Cause:
if room+1!=4
    {room+=1;}
else
    {room=0;}
That's the only way to move between rooms, as room_goto is broken.

Submit it to Bugtracker and Josh will add it to his todo list.
Title: Re: Enigma R3 Released
Post by: Homo Mechanicus on August 21, 2008, 09:05:00 AM
Dear friends,
[my first post and hope this is the place]

I'm wondering if MAC users will get the R3 version compiled soon. Other game creation options in apple machines are really bad compared to PC apps, and Enigma will be our patform to escape the bored gaming situation in Mac computer market.

I'm really anxious in begin to work with Enigma on my iMac.

Thanks, and have a nice day !
Title: Re: Enigma R3 Released
Post by: indecom on August 21, 2008, 08:05:27 PM
for the next release, i recommend adding support to load custom static c++ library files into the compiler, so we can further expand on the c++ compiling aspects of enigma.
Title: Re: Enigma R3 Released
Post by: notachair on August 22, 2008, 11:48:13 PM
This is not the feedback board.
Title: Re: Enigma R3 Released
Post by: RetroX on September 13, 2008, 04:04:48 PM
Just curious... how will it work for MAC/Linux?  Neither supports EXE or anything like it, and don't they require installing?

Even if it was EXE, there isn't WINE for MACs.
Title: Re: Enigma R3 Released
Post by: OniLink10 on September 13, 2008, 10:48:38 PM
Good Question Retro. I'll look into Applications in Macs and Linux.
Title: Re: Enigma R3 Released
Post by: Game_boy on September 19, 2008, 11:10:16 AM
Just curious... how will it work for MAC/Linux?  Neither supports EXE or anything like it, and don't they require installing?

Even if it was EXE, there isn't WINE for MACs.

Mac/Linux still have binaries. I'm not sure about Mac, but the usual way to install stuff in Linux is to download a 'package' which installs itself (e.g. DEB, RPM).

And there is Wine for Mac OS X (but ENIGMA won't use it, obviously). It's called Darwine.