Pages: [1]
  Print  
Author Topic: Can someone explain how to use enigma  (Read 3629 times)
Offline (Unknown gender) Omega_red
Posted on: October 12, 2010, 02:57:03 AM
Member
Joined: Oct 2010
Posts: 11

View Profile
Can someone explain how to use  enigma, so far the ide runs.
but how do i compile.. or am i missing something?
Logged
Offline (Unknown gender) TGMG
Reply #1 Posted on: October 12, 2010, 04:50:04 AM

Developer
Joined: Jun 2008
Posts: 107

View Profile WWW Email
Create a game in the ide and go to the enigma menu: Enigma -> run

(its in between the Edit and File menu for me)
Logged
me
GMbed 2.0 :: Embed you gm games in websites.
Offline (Male) Josh @ Dreamland
Reply #2 Posted on: October 12, 2010, 07:50:16 AM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2946

View Profile Email
If you are on Windows, it may be that ENIGMA is still installing without telling you (Ism has yet to add a progress box during checkout).
But to compile, indeed you go to Enigma->Run.

The Compile button only works in the latest revisions, so if you are running from "Stable," I'd recommend sticking to "Run." (It was difficult coordinating an output filename, but our latest implementation made it a bit easier).

"Debug" doesn't do anything because its behavior is still subject to debate (and few things made in ENIGMA thus far have really needed debugging that wasn't done in GM), and Design mode is off because the set of functions used to create its interface became obsolete when we ported ENIGMA to many different operating systems. They will be reimplemented as soon as possible.

I haven't heard much from our Windows testers lately, and will probably make a trip back to Windows long enough to test the new build system on it shortly, but if you did choose "Stable" as the release version, that doesn't really affect you.

I'll see about putting out some kind of tutorial with our next update, which I hope won't be too long from now.
« Last Edit: October 12, 2010, 09:09:19 AM by Josh @ Dreamland » Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) Omega_red
Reply #3 Posted on: October 12, 2010, 01:37:39 PM
Member
Joined: Oct 2010
Posts: 11

View Profile
When ever i click run it tells me "enigma is not ready"
I'm using win7
Dammit now i feel like the odd one out thats not using linux.
« Last Edit: October 12, 2010, 03:36:43 PM by Omega_red » Logged
Offline (Male) Josh @ Dreamland
Reply #4 Posted on: October 12, 2010, 03:14:46 PM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2946

View Profile Email
Yeah, it's installing. Just give it plenty of time to finish before you run something.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) Omega_red
Reply #5 Posted on: October 12, 2010, 03:25:01 PM
Member
Joined: Oct 2010
Posts: 11

View Profile
I alreadi installed miniGW and java
it's asking to update.. when i click ok i get several error messages.


-------------------------------------------------------------------
at start up

After a fev seconds it asks to download stuff.. i click ok..


Unhandled Exception:
org.lateralgm.file.GmFormatException - org.tmatesoft.svn.core.SVNException: svn: Working copy 'C:\Users\DevilKiN\Desktop\ENIGMA' locked; try performing 'cleanup'


then error

Stack trace:
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
org.tmatesoft.svn.core.internal.wc.admin.SVNAdminArea14.lock(SVNAdminArea14.java:1562)
org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:370)
org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:274)
org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:267)
org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.openAnchor(SVNWCAccess.java:162)
org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:512)
org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:401)
org.enigma.EnigmaUpdater.update(EnigmaUpdater.java:205)
org.enigma.EnigmaUpdater.checkForUpdates(EnigmaUpdater.java:69)
org.enigma.EnigmaRunner.attemptUpdate(EnigmaRunner.java:362)
org.enigma.EnigmaRunner$1.run(EnigmaRunner.java:121)

then i click ok

another error
 
Unhandled Exception:
org.lateralgm.file.GmFormatException - java.io.IOException: Cannot run program "C:\MinGW\bin\make.exe" (in directory "C:\Users\DevilKiN\Desktop\ENIGMA"): CreateProcess error=2, The system cannot find the file specified

Stack trace:
java.lang.ProcessBuilder.start(Unknown Source)
java.lang.Runtime.exec(Unknown Source)
java.lang.Runtime.exec(Unknown Source)
org.enigma.EnigmaRunner.make(EnigmaRunner.java:166)
org.enigma.EnigmaRunner$1.run(EnigmaRunner.java:121)

then i click ok



-------------------------------------
sorry, my desktop is a inbox.
Hope this helps.
« Last Edit: October 12, 2010, 03:36:23 PM by Omega_red » Logged
Offline (Unknown gender) Omega_red
Reply #6 Posted on: October 12, 2010, 03:45:42 PM
Member
Joined: Oct 2010
Posts: 11

View Profile
Fixed the path to make.exe.. still no luck
Needs more vespene gas?

Stack trace:
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
org.tmatesoft.svn.core.internal.wc.admin.SVNAdminArea14.lock(SVNAdminArea14.java:1562)
org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:370)
org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:274)
org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:267)
org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.openAnchor(SVNWCAccess.java:162)
org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:512)
org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:401)
org.enigma.EnigmaUpdater.update(EnigmaUpdater.java:205)
org.enigma.EnigmaUpdater.checkForUpdates(EnigmaUpdater.java:69)
org.enigma.EnigmaRunner.attemptUpdate(EnigmaRunner.java:362)
org.enigma.EnigmaRunner$1.run(EnigmaRunner.java:121)
« Last Edit: October 12, 2010, 04:48:44 PM by Omega_red » Logged
Offline (Male) Josh @ Dreamland
Reply #7 Posted on: October 12, 2010, 07:08:20 PM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2946

View Profile Email
The SVN error is because you interrupted the checkout while the directory was locked and it was downloading. ENIGMA's installation takes a while, and Ism has yet to respond to my request to show a progress pane for its entirety. During the first couple minutes of ENIGMA's first run, it is downloading files it needs to work; a process Ism only vaguely hints is about to transpire. After that, it pops up a progress pane for actually working with those files and setting up ENIGMA.

Try redownloading (or unpacking the zip anew) and letting it run from start until it tells you it's all done. You'll probably get a small error at the end where it wants you to restart LGM--But errors instead of asking politely.

The process is messy,but Ism's free time lately is apparently scarce, and we're trying to ration it on more important matters than the installation.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) Omega_red
Reply #8 Posted on: October 13, 2010, 03:44:36 AM
Member
Joined: Oct 2010
Posts: 11

View Profile
NP.. thanx that worked, sorry for wasting your time.
All the best luck.
Logged
Offline (Male) Josh @ Dreamland
Reply #9 Posted on: October 13, 2010, 02:29:03 PM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2946

View Profile Email
No worries. It really is our fault; the download process of the installation takes far too long to go without a progress bar. People in general--myself included--are used to waiting seconds for something to propagate out unless they can see a progress dialog. I'd have closed it out myself in your shoes.

From here, I Just hope others see this topic instead of asking until we actually have an indicator going for that.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) Brett
Reply #10 Posted on: October 19, 2010, 08:45:14 PM

Member
Location: Canada!
Joined: Aug 2010
Posts: 25

View Profile Email
How much (size wise, in MB) does Enigma have to download after first running it? Also how big is Enigma (in MB approx). I have really slow internet, and I still havn't got it to work, I was waiting a little then popped back here and saw this. Thanks.

PS: I too am using Win7, 32bit.
Logged
GML Programmer Since 2005, C++ Programmer Since 2009
Offline (Female) IsmAvatar
Reply #11 Posted on: October 19, 2010, 10:44:20 PM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 891

View Profile Email
About 16 MB, sadly.
In fact, it doesn't even need to download pluginsource, but that would only save 400 KB. Most of the brute is in the source code for the game.
« Last Edit: October 19, 2010, 10:47:33 PM by IsmAvatar » Logged
Offline (Male) Josh @ Dreamland
Reply #12 Posted on: October 20, 2010, 08:14:30 PM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2946

View Profile Email
14. And yeah, That's quite a lot, especially on top of the GCC info. 'tis one of the few drawbacks to not using a pre-compiled runner. Some day, maybe we'll distribute compressed object code instead of the source, but right now, source is a really nice system.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Pages: [1]
  Print