This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
361
Issues Help Desk / Re: Linux GMFormatException
« on: May 27, 2014, 11:28:28 am »Wow, I am stumped honestly edsquare, you have the latest LGM and it opens fine for me. I will have to go over and test Linux when I can to make sure it loads for me there as well.
I've also double checked the hash on the packages repo is correct, and it is.
https://github.com/enigma-dev/ExtraPackages/blob/master/Packages.md5
I thank you again for all your help and the hardwork you (and the team) put to give us this great tool, regarding my problem, no hurry, I can keep on going with the other formats until it's solved, what I found on google is several similar errors regarding java and java applications, so maybe it's not enigma but LGM?
362
Issues Help Desk / Re: Linux GMFormatException
« on: May 27, 2014, 12:17:31 am »Yes, but since LGM does not load GMZ, you'll have to extract it first using 7zip.
Sorry For the delay, life and my son got in the way
Anyway it made no difference, I keep getting the same error when trying to open your gmx file (After I extracted it ofcourse).
org.lateralgm.file.GmFormatException: java.lang.NullPointerException: null
at org.lateralgm.file.GMXFileReader.readProjectFile(GMXFileReader.java:323)
at org.lateralgm.file.GMXFileReader.readProjectFile(GMXFileReader.java:234)
at org.lateralgm.main.FileChooser$ProjectReader.read(FileChooser.java:378)
at org.lateralgm.main.FileChooser$1.run(FileChooser.java:550)
at java.lang.Thread.run(Thread.java:744)
Parafrasing someone:
A solution! A solution! My kingdom for a solution!
Ofcourse It's not that urgent, I can keep following the tutorials and saving as gmk, by the way I have the two GM books and from the images the interface is diferent, I'll open another thread asking for the differences one of this days.
Well I'm of to sleep, thanks again for your patience and help.
Edit1: The terminal output is this:
Code: [Select]
Java Version: 10700 (1.7.0_51)
Loading lib files in /home/eduardo/enigma/lateralgm.jar
01_move.lgl 02_main1.lgl 03_main2.lgl 04_control.lgl
05_score.lgl 06_extra.lgl 07_draw.lgl
Llamando `make eTCpath=""`
> make -j 3 -C CompilerSource
> make[1]: se ingresa al directorio «/home/eduardo/enigma/CompilerSource»
> make[1]: No se hace nada para «all».
> make[1]: se sale del directorio «/home/eduardo/enigma/CompilerSource»
0
Process terminated
Comenzando Enigma:
Failed to create make directory at /home/eduardo/.enigma/
Linking up to IDE
Implementing JDI basics
UnimplementedUnimplemented
Choosing language: C++
Reading GCC builtins
Read key `defines` as `cpp -dM -x c++ -E $blank`
Parsed `cpp` `-dM -x c++ -E "/home/eduardo/.enigma/enigma_blank.txt"`: redirect=yes
TRUE
*********** EXECUTE
`/usr/bin/cpp`
`-dM`
`-x`
`c++`
`-E`
`/home/eduardo/.enigma/enigma_blank.txt`
Call succeeded
Read key `searchdirs` as `gcc -E -x c++ -v $blank`
Parsed `gcc` `-E -x c++ -v "/home/eduardo/.enigma/enigma_blank.txt"`: redirect=yes
TRUE
*********** EXECUTE
`/usr/bin/gcc`
`-E`
`-x`
`c++`
`-v`
`/home/eduardo/.enigma/enigma_blank.txt`
Call succeeded
Searching for directories between "" and ""
Toolchain returned 30 search directories:
Creating parse context
Parsing settings...
TOINT: 0
TOINT: 0
TOINT: 1
TOINT: 0
TOINT: 0
Setting up IDE editables...
%e-yaml
---
treat-literals-as: 0
inherit-equivalence-from: 0
make-directory: "%HOME%/.enigma/"
scalar-precision: 0
angular-unit: 0
inherit-strings-from: 0
inherit-negatives-as: 0
inherit-escapes-from: 0
inherit-objects: true
inherit-increment-from: 1
target-networking: None
target-audio: OpenAL
target-windowing: xlib
target-compiler: gcc
target-graphics: OpenGL1
target-widget: None
target-collision: Precise
extensions: Universal_System/Extensions/Alarms,Universal_System/Extensions/Timelines,Universal_System/Extensions/Paths,Universal_System/Extensions/MotionPlanning,Universal_System/Extensions/DateTime,Universal_System/Extensions/ParticleSystems,Universal_System/Extensions/DataStructures
Creating swap.
Dumping whiteSpace definitions...
Opening ENIGMA for parse...
Successfully loaded builtin variant type
Successfully loaded builtin var type
Successfully loaded builtin varargs type
ERROR in parsing engine file: The parser isn't happy. Don't worry, it's never happy.
ERROR: UnknownContinuing anyway.
Creating dummy primitives for old ENIGMA
Initializing EDL Parser...
Grabbing locals...
Finding parent...Found parent scope
>> Checking ancestor object_collisions
>> Checking ancestor object_transform
>> Checking ancestor object_graphics
>> Checking ancestor object_planar
>> Checking ancestor object_basic
Determining build target...
Starting platform inspection
- ENIGMAsystem/SHELL/Platforms/Android/Info/About.ey: Opened.
- ENIGMAsystem/SHELL/Platforms/iPhone/Info/About.ey: Opened.
- ENIGMAsystem/SHELL/Platforms/Cocoa/Info/About.ey: Opened.
- ENIGMAsystem/SHELL/Platforms/Win32/Info/About.ey: Opened.
- ENIGMAsystem/SHELL/Platforms/General/Info/About.ey: Opened.
- ENIGMAsystem/SHELL/Platforms/xlib/Info/About.ey: Opened.
Done.
How do I put a scrollbox around the text?
363
Proposals / Re: Easy Cross-compiling?
« on: May 26, 2014, 12:20:48 am »Don't hold your breath for ENIGMA to be polished or usable ever.
I don't hold my breath for anything, as far as I can see it is usable and from at least 2 perspectives 100% better than GM:
1.- It's Opensource!
2.- It's free as in beer and as in speach!
3.- Instead of holding your breath or trolling, why don't you help make it "usable and polished"?
364
Proposals / Re: Easy Cross-compiling?
« on: May 26, 2014, 12:18:03 am »It worked before edsquare, I'm just postulating that it may have broken.
Okey will try it some day soon
365
Proposals / Re: Easy Cross-compiling?
« on: May 25, 2014, 10:21:04 pm »Actually, yes, cheeseboy built a cross-compiler patch so you could build for Win32 from Linux and it would launch the game in WINE.
http://enigma-dev.org/forums/index.php?topic=1254.0
It is however, unlikely to function at this point in time.
When it finally works will it be included in Enigma? so we simple mortals don't have to hunt it down, download it and then finally install it?
366
Issues Help Desk / Re: Linux GMFormatException
« on: May 25, 2014, 10:16:07 pm »Ok you only uploaded the main GMX, which only has the tree, that is useless because it contains no resource data. At any rate, I just downloaded the GMK, opened it in LGM, compiled it (ran fine), saved it as a GMX, reloaded it several times and successfully recompiled the game.
I have attached the GMX in a 7zip which I changed to GMZ because GMZ is simply a 7zip'd GMX.
Thank you for all your help, I already downloaded it, tomorrow morning first thing I will open it and see what happens. Wish me luck?
367
Proposals / Re: Easy Cross-compiling?
« on: May 25, 2014, 11:42:07 am »I don't think it works that way, if only it were really that easy There would probably need some changes hardcoded in ENIGMA itself (components), etc. Your compiled game is linked to an engine. There would have to be many changes in the engine to support other platforms. For example, currently OGL1, OGL3, DX9 is supported but no OGLES yet, that would be required for Android, etc.
Of course you'll need to hardcode some changes both to enigma and lgm, mainly the export to C++, the dropdown menu, and the configuration of the acctions of the menu in order to take the C++ code and compile it for the chosen platform.
Regarding all the APIs...
Why not switch to SDL: http://www.libsdl.org/ It supports mac, ios, android, windows and of course linux; only disadvantage it doesnt have a java binding but it does have C, C++, C#, Lua, Python and Pascal. (Which is why I'm using it to port ENIGMA-LGM to Lazarus-FPC)
Or SFML: http://www.sfml-dev.org/ It does have a Java binding among a host of others, only disadvantage it still doesn't support android nor ios
I think SDL would be a best choice since part of the code is in C++ anyway, also you could write that specific part in C++ and call it from your java code, anyway you end up mantaining only one API which must be tons of time saving (After the conversion of the code of course).
368
Proposals / Easy Cross-compiling?
« on: May 25, 2014, 09:33:37 am »
Since ENIGMA parses EDL to C++ and you can even use C++ to program your game...
I was thinking if it wouldn't be possible to pass that C++ code to GCC in order to compile it?
This way if you want to compile for a different platform you only choose it from a dropdown menu, ENIGMA takes the instructions atached to that option and your code and passes it to GCC who does the actual compiling.
I was thinking if it wouldn't be possible to pass that C++ code to GCC in order to compile it?
This way if you want to compile for a different platform you only choose it from a dropdown menu, ENIGMA takes the instructions atached to that option and your code and passes it to GCC who does the actual compiling.
369
Issues Help Desk / Re: Linux GMFormatException
« on: May 25, 2014, 09:00:24 am »
And here the GMX
370
Issues Help Desk / Re: Linux GMFormatException
« on: May 25, 2014, 08:59:42 am »
Here is the GMK:
371
General ENIGMA / Re: Ubuntu PPA
« on: May 25, 2014, 01:16:43 am »There is our Arch Linux package linked on the download page, but we don't maintain it. The author was here, you could try contacting him.
http://enigma-dev.org/docs/Wiki/Install:Linux
It appears his name was "lapingvino"
la pingüino? Ha! I'll try contacting him/she but aur packages can't be converted to deb (I think)
372
Issues Help Desk / Re: Linux 32 bits error saving a game (SOLVED?)
« on: May 25, 2014, 01:14:58 am »No then you do have my latest LGM, something else is going on, I can't tell without specifically seeing the GMK.
Here at the belly of the moon (México City) it's fifteen past one oclock in the morning, around ten or eleven this sunday morining I will upload a GMX file so you can see it, do you need something simple or complicated? a game with only a couple of sprites or one of the demos? Do you need the GMK also?
Good night (Or is it morning there?) and thanks for all your help, latter I'll keep bugging you
373
Issues Help Desk / Re: Weird sprite issue
« on: May 25, 2014, 12:55:46 am »Well that's simple, all you have to do is start with the English translation and replace it all. Then add yourself to the copyright and upload it somewhere and we will include it.
https://github.com/IsmAvatar/LateralGM/blob/master/org/lateralgm/messages/messages.properties
Downloaded and will start soon enough.
374
Issues Help Desk / Re: Linux 32 bits error saving a game (SOLVED?)
« on: May 25, 2014, 12:54:54 am »Oh it is also possible you aren't creating a folder, everybody makes this mistake with LGM. When you save a game in GMX, you must create a folder and save the game inside that folder.
Nope, I do create the folder even though ENIGMA does a good enough job of creatting them, maybe they don't chmod enigma?
375
Issues Help Desk / Re: Linux GMFormatException
« on: May 25, 2014, 12:52:45 am »No there aren't restrictions, the GMX writer/reader is just buggy obviously. But there is also differences in the format such as addition of shaders and things, you should bother trying to use the GMK format at all. If you send the GMK file I can further asses where the bug is occurring.
The GMK file? don't you mean the GMX file?
I'll open one of the examples and save it as GMX then atach it in a reply in this thread.