Pages: 1 [2] 3
  Print  
Author Topic: What's happening now  (Read 5729 times)
Offline (Female) IsmAvatar
Reply #15 Posted on: October 14, 2010, 02:38:07 PM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 886

View Profile Email
http://enigma-dev.org/forums/index.php?topic=488.0

The de-facto standard game to test has become Catch the Clown.
Logged
Offline (Unknown gender) The 11th plague of Egypt
Reply #16 Posted on: October 14, 2010, 03:00:57 PM
Member
Joined: Dec 2009
Posts: 284

View Profile
Error
Quote
Building for mode (0)
Cleaning up from previous executions
Grabbing locals
Location in memory of structure: 0x8a56d968
File version: 800

COPYING SOME F*CKING RESOURCES:
Copying sprite names [2]
Copying sound names

Copying background names

Copying path names [kidding, these are totally not implemented :P]

Copying script names

Copying font names [kidding, these are totally not implemented :P]

Copying timeline names [kidding, these are totally not implemented :P]

Copying object names [2]
Copying room names [1]
SYNTAX CHECKING AND PRIMARY PARSING:
0 Scripts:
"Linking" scripts
`Linking' 0 scripts in 0 passes...
Completing script "Link"
Done.
2 Objects:
 obj_clown: 12 events:
  Event[0]:   Parsing 1 sub-events:
Check `obj_clown::create...Done. Starting parse...Done.
  Event[3]:   Parsing 1 sub-events:
Check `obj_clown::step...Done. Starting parse...Done.
  Event[8]:   Parsing 1 sub-events:
Check `obj_clown::draw...Done. Starting parse...Done.
 obj_wall: 12 events:
  Event[0]:   Parsing 1 sub-events:
Check `obj_wall::create...Done. Starting parse...Done.
  Event[8]:   Parsing 1 sub-events:
Check `obj_wall::draw...Done. Starting parse...Done.
"Linking" scripts into the objects...
"Link" complete.
Writing modes and settings
Writing object switch
Writing resource names and maxima
Writing events
Checking for default code in ev[0, 0.
Checking for default code in ev[8, 0.
Checking for default code in ev[3, 0.
Linking globals
Running Secondary Parse Passes
Writing object data
Writing local accessors
Running make from `make'
Full command line: make Game GMODE=Run GFLAGS="-O3 -s" GLINKS="-lz -lGL -lGLU -lopenal  " GRAPHICS=OpenGL PLATFORM=xlib OUTPUTNAME="/tmp/egm3158479706586988398.exe"
echo Okay.
Okay.
cd ENIGMAsystem/SHELL/ && make GMODE=Run GLINKS="-lz -lGL -lGLU -lopenal  " GFLAGS="-O3 -s" GRAPHICS=OpenGL PLATFORM=xlib OUTPUTNAME="/tmp/egm3158479706586988398.exe"
make[1]: ingresso nella directory «/opt/enigma/ENIGMAsystem/SHELL»
cd Graphics_Systems/OpenGL/     && make Run MODE=Run FLAGS="-O3 -s"
make[2]: ingresso nella directory «/opt/enigma/ENIGMAsystem/SHELL/Graphics_Systems/OpenGL»
mkdir .eobjs_Run
g++ -c graphics_object.cpp        -o .eobjs_Run/graphics_object.o -O3 -s
g++ -c GSbackground.cpp        -o .eobjs_Run/GSbackground.o -O3 -s
----Make returned error 512----------------------------------
In file included from GSbackground.cpp:29:
OpenGLHeaders.h:35: fatal error: GL/glu.h: Nessun file o directory
compilation terminated.
make[2]: *** [.eobjs_Run/GSbackground.o] Errore 1
make[2]: uscita dalla directory «/opt/enigma/ENIGMAsystem/SHELL/Graphics_Systems/OpenGL»
make[1]: *** [all] Errore 2
make[1]: uscita dalla directory «/opt/enigma/ENIGMAsystem/SHELL»
make: *** [Game] Errore 2
Logged
Offline (Male) RetroX
Reply #17 Posted on: October 14, 2010, 03:44:06 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
I tested the Ubuntu 32bit version and it works. I hope it will uninstall without leaving pieces behind.

Do you have a game to test?
It removes the symbolic links when it uninstalls, but it will probably will leave the /opt/enigma directory behind.  You can delete that if you want it to be fully removed.
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Male) RetroX
Reply #18 Posted on: October 14, 2010, 03:49:39 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
I've added GLU to the dependencies.  I'll build new packages soon.
« Last Edit: October 14, 2010, 04:08:05 PM by RetroX » Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Unknown gender) The 11th plague of Egypt
Reply #19 Posted on: October 16, 2010, 05:57:13 AM
Member
Joined: Dec 2009
Posts: 284

View Profile
Please make it this weekend, or I won't have that much time for testing.
Logged
Offline (Male) RetroX
Reply #20 Posted on: October 16, 2010, 01:23:06 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
They're built, now.  If you have any other package-related errors, let me know.  Otherwise, it's Josh's job.
« Last Edit: October 16, 2010, 01:56:49 PM by RetroX » Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Unknown gender) The 11th plague of Egypt
Reply #21 Posted on: October 17, 2010, 06:24:23 AM
Member
Joined: Dec 2009
Posts: 284

View Profile
Ubuntu Software Center didn't found the Enigma installation, so I had to use Package Manager, and do the work by hand. And removing Opt/Enigma folder requires root privileges, so it can't be done using the GUI. I had to install search the net for a Nautilus plugin to get those privileges, and once I "trashed" the folder, it just disappeared instead of going into the trash can.

I still have to install the new Enigma and I'm already fed up...

EDIT: it works, but the Enigma Progress Console doesn't close when the game starts.
« Last Edit: October 17, 2010, 06:48:10 AM by The 11th plague of Egypt » Logged
Offline (Male) Josh @ Dreamland
Reply #22 Posted on: October 17, 2010, 08:18:25 AM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2934

View Profile Email
We're working on that. By which I mean, I'm hinting to Ism every week or so that I hate it when that thing covers my game window.
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
Offline (Female) IsmAvatar
Reply #23 Posted on: October 17, 2010, 09:09:03 AM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 886

View Profile Email
Quote
We're working on that. By which I mean, I'm hinting to Ism every week or so that I hate it when that thing covers my game window.
You've never mentioned it.

I'm looking over my code, and it looks like I call compileEGMf from your dll, and then never execute the game myself - it seems you do that now from within compileEGMf. Obviously I have no way of telling when that single method is done one part and moving on to another, which means that the method would need to inform me. Which means that it's Josh's job. And since I provided josh with this wonderful toolkit of progress console methods, including one to close the console, I don't know what you're bitching to me about.

Although I am aware of a slightly separate, always-on-top problem which I'm still trying to fix I've now fixed in r504.
« Last Edit: October 17, 2010, 11:48:38 AM by IsmAvatar » Logged
Offline (Male) RetroX
Reply #24 Posted on: October 17, 2010, 12:29:01 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
Ubuntu Software Center didn't found the Enigma installation, so I had to use Package Manager and do the work by hand.
Download the package, right click the package > install.  Or something like that.  Eventually, a package repository will probably be put up or something, so that it will be automatically updated.  I'm not doing that until it's actually onto a stable release.

And removing Opt/Enigma folder requires root privileges, so it can't be done using the GUI. I had to install search the net for a Nautilus plugin to get those privileges, and once I "trashed" the folder, it just disappeared instead of going into the trash can.
I'll look into debian packages more.  I know that there's a purge configuration option in the package manager, which, when chosen, would fully remove configuration (in this case, /opt/enigma) after uninstall.  It's not done automatically with the package because you might want to uninstall and then reinstall explicitly, and that would delete your configurations without any undo.  Could you check the software center for me and see what kind of uninstallation options that there are?  I know that Synaptic has it, but I'm not sure that it can be done via the software center.

You have to realise that this is still a development version of ENIGMA.  It's not automated for Linux yet, but I'll try to do that.
« Last Edit: October 17, 2010, 01:13:05 PM by RetroX » Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Male) Josh @ Dreamland
Reply #25 Posted on: October 17, 2010, 12:44:24 PM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2934

View Profile Email
We may need to set up our own repository. I doubt ENIGMA will just waltz into the main Ubuntu repo (But never say never. I intend to try).
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
Offline (Male) RetroX
Reply #26 Posted on: October 17, 2010, 01:16:36 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
As a little update, I've made it so that for all of the packages, when ENIGMA is updated or uninstalled, this is run:
Code: [Select]
rm -rf /opt/enigma/blank.txt /opt/enigma/defines.txt /opt/enigma/redirfile.txt /opt/enigma/searchdirs.txt /opt/enigma/ENIGMAsystem/SHELL/Preprocessor_Environment_Editable /opt/enigma/ENIGMAsystem/SHELL/API_Switchboard.h
find /opt/enigma -type f -name "*.o" -exec rm {} \;
find /opt/enigma -type f -name "*.a" -exec rm {} \;
find /opt/enigma -type d -depth -exec rmdir {} --ignore-fail-on-non-empty \;

In English:
blank.txt, defines.txt, redirfile.txt, and searchdirs.txt are all deleted so that LGM can regenerate them.
ENIGMAsystem/SHELL/Preprocessor_Environment_Editable and ENIGMAsystem/SHELL/API_Switchboard.h are deleted.  These are generated when compiling and will be updated per-game, anyways.
All objects and static libraries are deleted.
All empty directories are removed.
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Female) IsmAvatar
Reply #27 Posted on: October 17, 2010, 03:12:51 PM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 886

View Profile Email
Quote
blank.txt, defines.txt, redirfile.txt, and searchdirs.txt are all deleted so that LGM can regenerate them.
Neither LGM nor the plugin are responsible for the generation or regeneration of any of these files. I believe you meant ENIGMA.
Also, redirfile.txt should be regenerated irregardless of its existence. It serves as a temporary active log of the output of `make game` when run from ENIGMA, which the plugin will then attempt to read and pipe to the progress console. I don't know of the nature of the other 3.
« Last Edit: October 17, 2010, 03:16:57 PM by IsmAvatar » Logged
Offline (Unknown gender) The 11th plague of Egypt
Reply #28 Posted on: October 17, 2010, 04:44:03 PM
Member
Joined: Dec 2009
Posts: 284

View Profile
I'll look into debian packages more.  I know that there's a purge configuration option in the package manager, which, when chosen, would fully remove configuration (in this case, /opt/enigma) after uninstall.  It's not done automatically with the package because you might want to uninstall and then reinstall explicitly, and that would delete your configurations without any undo.  Could you check the software center for me and see what kind of uninstallation options that there are?  I know that Synaptic has it, but I'm not sure that it can be done via the software center.

You have to realise that this is still a development version of ENIGMA.  It's not automated for Linux yet, but I'll try to do that.
It showed up under installed software only after I used the search function, here's a pick.
There's only one uninstall option, a Remove button.

BTW there's a typo in the description "EnvironmentAn"
« Last Edit: October 17, 2010, 04:48:40 PM by The 11th plague of Egypt » Logged
Offline (Male) RetroX
Reply #29 Posted on: October 17, 2010, 04:46:58 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
Quote
blank.txt, defines.txt, redirfile.txt, and searchdirs.txt are all deleted so that LGM can regenerate them.
Neither LGM nor the plugin are responsible for the generation or regeneration of any of these files. I believe you meant ENIGMA.
Also, redirfile.txt should be regenerated irregardless of its existence. It serves as a temporary active log of the output of `make game` when run from ENIGMA, which the plugin will then attempt to read and pipe to the progress console. I don't know of the nature of the other 3.
ENIGMA, whatever.  The point is that they're regenerated every single time and can be deleted after ENIGMA is removed.  In fact, I'll actually create them in the package so that they're removed automatically.
« Last Edit: October 17, 2010, 04:53:52 PM by RetroX » Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Pages: 1 [2] 3
  Print