Josh @ Dreamland
Prince of all Goldfish
 Joined: Feb 2008
Posts: 2,950
|
 |
Posted on: August 23, 2010, 06:35:44 AM |
|
|
|
I decided to implement backgrounds in the meantime, and dazappa has kept me busy with a number of interesting bug reports (the worst of which I have just worked out). I am not sure what is in the update-stable/ tag, but fixing it to actually work out of the box on at least Windows and Linux is priority one.
Ism has made great progress on the updater. From what I can tell it is finished, though it has an odd tendency to leave a console window open with a gray background for me.
RetroX has finished some packages, but we were discussing what the package should be responsible for vs what LGM should be responsible for. I believe right now, he's configured them to give 777 permissions to /opt/enigma, where it is installed. But it seems he includes the entire repository with the package, which means users could be downloading an outdated package from square one. Correct, RetroX?
As for the Windows release, I don't even think an installer is necessary. I think a zip file containing ENIGMA.exe, lgm16b4.jar, and the plugins folder will suffice. ENIGMA.exe and LGM will take care of the rest.
If you object to not having an installer for Windows, speak now, and I or someone else will make one. Retro, if you want to carry our discussion regarding the packages over here, please do so. Otherwise, I think ENIGMA.exe and the jar files will suffice, along with that dependency list you've already implemented.
I am going to finish dazappa's last few bug reports.
IsmAvatar, when you are content with the updater, please say so. RetroX, when you are done with the packages, please link all of them here, and I will rehost.
The release (And frantic workarounds for everything that goes wrong soon after) will begin as soon as the three of us are done.
|
|
|
Josh @ Dreamland
Prince of all Goldfish
 Joined: Feb 2008
Posts: 2,950
|
 |
Reply #1 Posted on: August 23, 2010, 06:40:15 AM |
|
|
|
Also, Ism. When winmake.txt reads this: \MinGW\bin\mingw32-make.exe
Java can't find it. I don't know what Java uses to make system calls, but it's apparently bad at life. Could you try to remedy that?
Also, seems the gray, open console box is fixed in the latest revision.
|
|
|
The 11th plague of Egypt
 Joined: Dec 2009
Posts: 274
|
 |
Reply #2 Posted on: August 23, 2010, 12:25:03 PM |
|
|
|
An installer would be cool, but if we just need to unzip a file to install it, then I'm ok with the zip. But if it's necessary to go through a complex procedure like installing a compiler, then it's needed IMHO.
|
|
|
RetroX
Master of all things Linux
 Joined: Apr 2008
Posts: 1,055
|
 |
Reply #3 Posted on: August 23, 2010, 01:01:14 PM |
|
|
|
My package downloads ENIGMA from the SVN and moves the lateralgm script, the MIME associations, and the desktop icon to their proper places. There are post-install scripts that will symbolically link the lateralgm script so that either "lateralgm" or "enigma-dev" can be typed in a terminal to start ENIGMA, and I've also made it so that whatever the hell that LGM's named, it will be linked to /opt/enigma/lateralgm.jar.
/opt/enigma will have 777 permissions for the time being because I don't know what files that ENIGMA modifies when it compiles the games. If I could receive more info on this, I could set some parts to 755 without breaking it, which would be a step in the right direction.
|
|
|
IsmAvatar
LateralGM Developer
 Joined: Apr 2008
Posts: 877
|
 |
Reply #4 Posted on: August 23, 2010, 01:42:18 PM |
|
|
Quote\MinGW\bin\mingw32-make.exe
Java can't find it. I don't know what Java uses to make system calls, but it's apparently bad at life. Could you try to remedy that? Even I can't make heads or tails of that location... Maybe if you omit the \ or something? I believe Java uses its own path variable to determine where to find things. Obviously, make isn't going to be included in that path. As far as that URL goes, I'm at a loss. Also, RetroX seems to have taken over the updater and make on Linux from me with his install script. He's had me disable my calls to the SVN and Make if the OS is Linux. In a way, this is similar to many Linux programs that are included in the linux repo (e.g. canonical), which have their update button grayed out because the repo handles updates for them.
|
|
|
RetroX
Master of all things Linux
 Joined: Apr 2008
Posts: 1,055
|
 |
Reply #5 Posted on: August 23, 2010, 01:46:08 PM |
|
|
|
Yeah, Josh was complaining to me about that last night. He still wants SVN updating. I told him that if he really wants, we'll do it for now, but in the future, full releases should be packages, and there should be no auto-updater.
Here's an idea that I had - separate ENIGMA into multiple packages under Linux and make repositories to hold them, and people can just add them to their list and type "sudo apt-get install enigma-dev" or something like that. One for the headers, one for the compiler binaries, and one for LGM. That way, if any one of those updated while the others didn't, you only had to download that part.
|
|
|
Josh @ Dreamland
Prince of all Goldfish
 Joined: Feb 2008
Posts: 2,950
|
 |
Reply #6 Posted on: August 23, 2010, 04:33:38 PM |
|
|
|
IsmAvatar: As on Unix, a beginning \ denotes root of the drive on Windows. So when you see \, just replace with the current drive letter if Java can't.
We'll discuss the updating on the IRC, if both of you are on.
|
|
|
RetroX
Master of all things Linux
 Joined: Apr 2008
Posts: 1,055
|
 |
Reply #7 Posted on: August 23, 2010, 05:28:38 PM |
|
|
|
Worst-case scenario, figure out the current working directory and parse it to remove everything besides the drive letter.
|
|
|
|
|
RetroX
Master of all things Linux
 Joined: Apr 2008
Posts: 1,055
|
 |
Reply #9 Posted on: August 23, 2010, 05:30:18 PM |
|
|
|
For an IDE, use Code::Blocks. I personally just use gedit and the G++ via command-line, but that's more suited for linux stuff.
|
|
|
|
|
|
|
|
|
IsmAvatar
LateralGM Developer
 Joined: Apr 2008
Posts: 877
|
 |
Reply #13 Posted on: August 26, 2010, 02:43:49 PM |
|
|
|
ERROR in parsing engine file: this is the worst thing that could have happened within the first few seconds of compile. / | | \ \ | | | \ / / \ \ | | | | | / /\ \ / / | /# \ | | | \ * ` \ \ / = # ` | | | # ___/ / / _`---^^^ `. | | .* # = | \ | = # __/ .\____-------^^ `. / # # \ | = = | \___ # #___--^ ^^^^^^^^^^^
#define __GNUC_PREREQ(maj, min) \ ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min)) Not found: __builtin_huge_val In file included from SHELLmain.cpp: Line 78, position 4: In #if expression at position 23: Expected operator at this point code snippet: /OpenGL/GSsprite.h" #elif ENIGMA_GS_OPENGLES #in<<>>clude "Graphics_Systems/OpenGLES/OPENGLStd.h" #in ------------------------------------------------
Also,
ismavatar@mct060d-ubuntu:~/enigma-dev$ pwd /home/ismavatar/enigma-dev ismavatar@mct060d-ubuntu:~/enigma-dev$ make clean cd CompilerSource && make clean make[1]: Entering directory `/home/ismavatar/enigma-dev/CompilerSource' rm -f ".eobjs/*" rm -f "../libcompileEGMf.so" make[1]: Leaving directory `/home/ismavatar/enigma-dev/CompilerSource' ismavatar@mct060d-ubuntu:~/enigma-dev$ ls CompilerSource/.eobjs/ bettersystem.o ext_iteration.o parser.o cfile_parse_macros.o eyaml.o parse_secondary.o cfile_parse.o file_find.o pcs.o cfile_pushing.o gcc_backend.o references.o checkfile.o handle_letters.o skipping.o collect_variables.o ideprint.o string.o compile_common.o JavaCallbacks.o syntax.o compile_includes.o keyword_operator.o template_handlers.o compile.o macro_functions.o textfile.o cparse_components.o main.o type_resolver.o cparse_shared.o module_write_backgrounds.o varnames.o cpmain.o module_write_sounds.o write_defragged_events.o crawler.o module_write_sprites.o write_event_code.o darray.o object_storage.o write_globals.o event_parser.o output_locals.o write_object_data.o expression_evaluator.o parse_and_link.o write_room_data.o externs.o parser_components.o ismavatar@mct060d-ubuntu:~/enigma-dev$ tail -5 CompilerSource/Makefile
clean: -$(CREMOVE) ".eobjs$(SLASHC)*" -$(CREMOVE) "$(ONAME)"
ismavatar@mct060d-ubuntu:~/enigma-dev$ because rm -rf doesn't like having quotes around the location.
|
|
|
|
|
|