Pages: 1
Author Topic: Can someone explain how to use enigma  (71,747 Views)
Offline (Unknown gender) Omega_red

Member
Joined: Oct 2010
Posts: 11
View profile
Posted on: October 12, 2010, 07:57:03 AM
Can someone explain how to use  enigma, so far the ide runs.
but how do i compile.. or am i missing something?
Offline (Unknown gender) TGMG

Developer
Joined: Jun 2008
Posts: 107
View profile WWW
Reply #1 Posted on: October 12, 2010, 09:50:04 AM
Create a game in the ide and go to the enigma menu: Enigma -> run

(its in between the Edit and File menu for me)
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #2 Posted on: October 12, 2010, 12:50:16 PM
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.
Offline (Unknown gender) Omega_red

Member
Joined: Oct 2010
Posts: 11
View profile
Reply #3 Posted on: October 12, 2010, 06:37:39 PM
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.
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #4 Posted on: October 12, 2010, 08:14:46 PM
Yeah, it's installing. Just give it plenty of time to finish before you run something.
Offline (Unknown gender) Omega_red

Member
Joined: Oct 2010
Posts: 11
View profile
Reply #5 Posted on: October 12, 2010, 08:25:01 PM
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.
Offline (Unknown gender) Omega_red

Member
Joined: Oct 2010
Posts: 11
View profile
Reply #6 Posted on: October 12, 2010, 08:45:42 PM
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)
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #7 Posted on: October 13, 2010, 12:08:20 AM
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.
Offline (Unknown gender) Omega_red

Member
Joined: Oct 2010
Posts: 11
View profile
Reply #8 Posted on: October 13, 2010, 08:44:36 AM
NP.. thanx that worked, sorry for wasting your time.
All the best luck.
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #9 Posted on: October 13, 2010, 07:29:03 PM
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.
Offline (Unknown gender) Brett

Member
Joined: Aug 2010
Posts: 25
View profile
Reply #10 Posted on: October 20, 2010, 01:45:14 AM
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.
Offline (Unknown gender) IsmAvatar

LateralGM Developer
LGM Developer
Joined: Apr 2008
Posts: 877
View profile
Reply #11 Posted on: October 20, 2010, 03:44:20 AM
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.
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #12 Posted on: October 21, 2010, 01:14:30 AM
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.
Pages: 1