Lateralus
|
|
Posted on: November 10, 2013, 10:17:27 am |
|
|
Joined: Nov 2013
Posts: 7
|
Hi there,
i've a problem with the enigma cli, which is needed to compile games under linux (since lateralgm doesn't provide the nice compile-button one has under windows).
To install, i've run
$ git clone git://github.com/enigma-dev/enigma-dev.git $ cd enigma-dev $ python install.py $ make
which runs all fine. But when I try to compile an example file (gm81 format), it just fails silently:
$ java -jar plugins/enigma.jar /path/to/file.gm81 Java Native Access (JNA) API Version 4 Version: 4.0.0 (b2) Native: 4.0.0 (1a6047467b59e8748f975e03016ce3d9) Prefix: linux-x86-64
Return code was 0.
Installing the 32bit version of java doesn't help. Result is:
$ java -jar plugins/enigma.jar /path/to/file.gm81 Java Native Access (JNA) API Version 4 Version: 4.0.0 (b2) Native: 4.0.0 (1a6047467b59e8748f975e03016ce3d9) Prefix: linux-x86
I think, this should not happen - it should at least have a return code != 0.
ps: lateralgm worked just fine.
Java version is 7 (openjdk). Also tried 6. System is Ubuntu 12.04, 64-bit. All needed libraries where installed (just how the wiki says).
|
|
« Last Edit: November 11, 2013, 02:58:07 pm by Lateralus »
|
Logged
|
|
|
|
|
time-killer-games
|
|
Reply #2 Posted on: November 10, 2013, 11:19:30 am |
|
|
"Guest"
|
I have wonderful news for you, I used this method on Ubuntu before CLI was released and it works just as it should...
Test run the game with the green arrow (instead of the orange one for debugging) and leave the game window opened, if you are running the game in full screen use the keyboard combination, Alt ->Tab to switch the window in focus to be the desktop. If you're using Ubuntu use the files and folder searcher which may be accessed via the icon at the top left corner of the screen on your taskbar.for other versions off Linux there should be something similar.
Search this text:
egm .tmp There must be a space between ego and .tmp otherwise you won't find what you're looking for. If the above text doesn't work try either "egm", ".tmp", or "tmp" It's been a while since I did this so my memory isn't perfect I'll update this post and let you know. Let me know if you get this working.
If you have test run the game multiple times recently, open the file location of one of those *.tmp files and you will see all your recent test run Linux applications which are prefixed with "egm", with a randomly generated number for the suffix, and the extent ion for all of them is obviously *.tmp.
To know which temp file is the Linux app you know is stable and you wish to distribute, use trial and error and the process off elimination and open each temp file until you find the build you were looking for, rename the file to whatever filename you want, usually should be the name of your game, and remove the tmp file extension (Linux apps AFAIK have no file extention). Take the app out of that temp directory and upload it for distributing where ever you normally would to share your game.
|
|
|
Logged
|
|
|
|
|
Lateralus
|
|
Reply #4 Posted on: November 10, 2013, 12:12:25 pm |
|
|
Joined: Nov 2013
Posts: 7
|
Nope, install.py works. It's the Packages.md5 file, which is wrong: main and jna are switched. https://raw.github.com/enigma-dev/ExtraPackages/master/Packages.md5: #Category:main - the main binary packages needed to run enigma lgm 1ba798a2e3eec2b68bc9db6943a4326f ./lateralgm.jar https://dl.dropboxusercontent.com/s/mlpqc3la3e23b69/lateralgm.jar none main a1e20e48a367063023db9137ceb7c63c ./plugins/shared/jna.jar https://dl.dropboxusercontent.com/s/xlhhp1z218ig3rr/enigma.jar jnaJar,lgm,mac jnaJar a4e89ff3ecc5eedb587816a6e3646ab3 ./plugins/enigma.jar https://dl.dropboxusercontent.com/s/d6wclq69jwbnhrj/jna.jar none
mac 318a525cca319f82a3f118de66884802 MacOS/build/Release/EnigmaXcode.app/Contents/Resources/English.lproj/MainMenu.nib http://dl.dropbox.com/u/5072558/EnigmaUpdater/MainMenu.nib alure
win.bat 9fdb86607d1b510c63875bb3257e5a34 run.bat http://dl.dropbox.com/u/5072558/EnigmaUpdater/run.bat main winbash 87524cc1c027ea62c38951b4b4e9d2ab windowsBash.epackage http://dl.dropbox.com/u/5072558/EnigmaUpdater/windowsBash.epackage none,zlib,ffi
alure 3dc81094e541729018102688a2a92eb7 ENIGMAsystem/additional/alure.epackage http://dl.dropbox.com/u/5072558/EnigmaUpdater/alure.epackage none zlib 076504649292013e4376b66daa7bd3d0 ENIGMAsystem/additional/zlib.epackage http://dl.dropbox.com/u/5072558/EnigmaUpdater/zlib.epackage none ffi 84b54e594d6a0035571e3e689f8066d2 ENIGMAsystem/additional/ffi.epackage http://dl.dropbox.com/u/5072558/EnigmaUpdater/ffi.epackage none
#Category:examples catch_the_clown 3601e3a3ad64e1705ac439d00472a5a5 examples/catch_the_clown.gmk http://dl.dropbox.com/u/5072558/EnigmaUpdater/Catch_the_Clown.gmk none
#Category:sdks androidSDK-darwin 387fed6cbdbd89958778c0395be7ce27 SDKs/androidSDK-darwin.epackage http://dl.dropbox.com/u/5072558/EnigmaUpdater/android-ndk-r7b.epackage none androidSDK-win32 c42b0c9c14428397337421d5e4999380 SDKs/androidSDK-win32.epackage http://dl.google.com/android/ndk/android-ndk-r7b-windows.zip none
#Category:extensions 39dylib 8ed6d2a7b8ce1b9be377b8c3777cbed6 ENIGMAsystem/SHELL/Universal_System/Extensions/39dylib.epackage http://dl.dropbox.com/u/5072558/EnigmaUpdater/39dylib.epackage none unimplemented e61518cbb2cbb7ce4be69d1cd4547825 ENIGMAsystem/SHELL/Universal_System/Extensions/Unimplemented.epackage http://dl.dropbox.com/u/5072558/EnigmaUpdater/Unimplemented.epackage none
#Category:misc lgmUtility bae0118866a8a5835782f0b13f5f2aaa plugins/LGMUtility.jar http://dl.dropbox.com/u/5072558/EnigmaUpdater/LGMUtility.jar none
|
|
|
Logged
|
|
|
|
|
|
Goombert
|
|
Reply #7 Posted on: November 10, 2013, 02:28:18 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
No the hashes are correct it was to make sure you download a newer version.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|
Goombert
|
|
Reply #9 Posted on: November 10, 2013, 06:51:56 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Ohhh I see what is the matter I reuploaded those without setting the checksum, can you give the checksum, sorry about that.
Edit: I put the correct MD5 sum but forgot to reupload the jar, it's all fixed now.
|
|
« Last Edit: November 10, 2013, 06:57:00 pm by Robert B Colton »
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
time-killer-games
|
|
Reply #10 Posted on: November 11, 2013, 01:01:29 pm |
|
|
"Guest"
|
You know, Lateralus , my suggestion works just fine while you're waiting for this bug fix.
|
|
|
Logged
|
|
|
|
|
|
Goombert
|
|
Reply #13 Posted on: November 11, 2013, 03:31:33 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Ohh I am sorry I did not know you still have compiling problems. But good news. undefined reference to `enigma_user::window_view_mouse_set(int, int, int)' The errors you are having are my fault it was from code I committed from Windows. It has been fixed, please git fetch git update from the repository and it should compile.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|
|