|
Josh @ Dreamland
|
|
Reply #1 Posted on: November 27, 2012, 12:23:15 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Through cmd, yes. Without Java, no.
If you're using GCC on the machine, it will build fine for that machine.
ENIGMA won't have a Java-free CLI until I decide to write an EGM loading library in C++. Which is very low on my priority list.
A cross-compiler is likely to exist.
|
|
|
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
|
|
|
|
|
TheExDeus
|
|
Reply #4 Posted on: November 27, 2012, 07:02:38 pm |
|
|
Joined: Apr 2008
Posts: 1860
|
C:\Users\Daedalus\Desktop\enigma-git-newest\plugins>java -jar enigma.jar enigma: no input file
C:\Users\Daedalus\Desktop\enigma-git-newest\plugins>java -jar enigma.jar test.gmk Loading lib files in C:\Users\Daedalus\Desktop\enigma-git-newest\lgm16b4.jar 01_move.lgl 02_main1.lgl 03_main2.lgl 04_control.lgl 05_score.lgl 06_extra.lgl 07_draw.lgl time taken to load file: 16 ms Exception in thread "main" java.lang.NullPointerException at org.enigma.EnigmaCli.initailize(EnigmaCli.java:134) at org.enigma.EnigmaCli.main(EnigmaCli.java:73) So yeah, it tries to load the gmk, but fails. Doesn't output any other arguments. --help and -? prints profanities.
|
|
« Last Edit: November 27, 2012, 07:08:54 pm by HaRRiKiRi »
|
Logged
|
|
|
|
|
|
|
|
TheExDeus
|
|
Reply #9 Posted on: November 28, 2012, 01:20:13 pm |
|
|
Joined: Apr 2008
Posts: 1860
|
I still got this: C:\Users\Daedalus\Desktop\enigma-git-newest>java -jar plugins/enigma.jar plugins /test.gmk Loading lib files in C:\Users\Daedalus\Desktop\enigma-git-newest\lgm16b4.jar 01_move.lgl 02_main1.lgl 03_main2.lgl 04_control.lgl 05_score.lgl 06_extra.lgl 07_draw.lgl time taken to load file: 29 ms Exception in thread "main" java.lang.NullPointerException at org.enigma.EnigmaCli.initailize(EnigmaCli.java:134) at org.enigma.EnigmaCli.main(EnigmaCli.java:73)
Where the gmk is in the same dir as the plugin. I tried it in another place but still didn't work. And maybe I will just create another account. edit: I also tried with full path. No cigar.
|
|
« Last Edit: November 28, 2012, 01:57:59 pm by HaRRiKiRi »
|
Logged
|
|
|
|
|
|