Pages: 1 2 3
Author Topic: What's happening now  (148,297 Views)
Offline (Unknown gender) IsmAvatar

LateralGM Developer
LGM Developer
Joined: Apr 2008
Posts: 877
View profile
Reply #15 Posted on: October 14, 2010, 07:38:07 PM
http://enigma-dev.org/forums/index.php?topic=488.0

The de-facto standard game to test has become Catch the Clown.
Offline (Unknown gender) The 11th plague of Egypt

Member
Joined: Dec 2009
Posts: 274
View profile
Reply #16 Posted on: October 14, 2010, 08:00:57 PM
Error
QuoteBuilding 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
Offline (Unknown gender) RetroX

Master of all things Linux
Contributor
Joined: Apr 2008
Posts: 1,055
View profile
Reply #17 Posted on: October 14, 2010, 08:44:06 PM
Quote from: The 11th plague of Egypt on October 14, 2010, 06:01:50 PM
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.
Offline (Unknown gender) RetroX

Master of all things Linux
Contributor
Joined: Apr 2008
Posts: 1,055
View profile
Reply #18 Posted on: October 14, 2010, 08:49:39 PM
I've added GLU to the dependencies.  I'll build new packages soon.
Offline (Unknown gender) The 11th plague of Egypt

Member
Joined: Dec 2009
Posts: 274
View profile
Reply #19 Posted on: October 16, 2010, 10:57:13 AM
Please make it this weekend, or I won't have that much time for testing.
Offline (Unknown gender) RetroX

Master of all things Linux
Contributor
Joined: Apr 2008
Posts: 1,055
View profile
Reply #20 Posted on: October 16, 2010, 06:23:06 PM
They're built, now.  If you have any other package-related errors, let me know.  Otherwise, it's Josh's job.
Offline (Unknown gender) The 11th plague of Egypt

Member
Joined: Dec 2009
Posts: 274
View profile
Reply #21 Posted on: October 17, 2010, 11:24:23 AM
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.
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #22 Posted on: October 17, 2010, 01:18:25 PM
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.
Offline (Unknown gender) IsmAvatar

LateralGM Developer
LGM Developer
Joined: Apr 2008
Posts: 877
View profile
Reply #23 Posted on: October 17, 2010, 02:09:03 PM
QuoteWe'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.
Offline (Unknown gender) RetroX

Master of all things Linux
Contributor
Joined: Apr 2008
Posts: 1,055
View profile
Reply #24 Posted on: October 17, 2010, 05:29:01 PM
Quote from: The 11th plague of Egypt on October 17, 2010, 11:24:23 AM
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.

Quote from: The 11th plague of Egypt on October 17, 2010, 11:24:23 AM
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.
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #25 Posted on: October 17, 2010, 05:44:24 PM
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).
Offline (Unknown gender) RetroX

Master of all things Linux
Contributor
Joined: Apr 2008
Posts: 1,055
View profile
Reply #26 Posted on: October 17, 2010, 06:16:36 PM
As a little update, I've made it so that for all of the packages, when ENIGMA is updated or uninstalled, this is run:
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.
Offline (Unknown gender) IsmAvatar

LateralGM Developer
LGM Developer
Joined: Apr 2008
Posts: 877
View profile
Reply #27 Posted on: October 17, 2010, 08:12:51 PM
Quoteblank.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.
Offline (Unknown gender) The 11th plague of Egypt

Member
Joined: Dec 2009
Posts: 274
View profile
Reply #28 Posted on: October 17, 2010, 09:44:03 PM
Quote from: RetroX on October 17, 2010, 05:29:01 PM
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"
Offline (Unknown gender) RetroX

Master of all things Linux
Contributor
Joined: Apr 2008
Posts: 1,055
View profile
Reply #29 Posted on: October 17, 2010, 09:46:58 PM
Quote from: IsmAvatar on October 17, 2010, 08:12:51 PM
Quoteblank.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.
Pages: 1 2 3