Show Posts

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.


Messages - Fabrice

Pages: [1] 2
1
OpenLase Discussion / Re: Level nearly completed ...
« on: December 07, 2015, 03:34:10 PM »
Mapod,

Everything runs finally perfectly, i'm very happy !

Building this laser projector is quite an old dream and i would like to sincerely thanks you for all the help you provide to me ... I would never have been able to see sucha nice result wihout your assistance and your patience, so once again thank you ...

Next adventure will be with RGB Lasershark isn't it ?

Have a great day Macpod

 

2
OpenLase Discussion / Re: Level nearly completed ...
« on: December 04, 2015, 04:51:34 AM »
Hi Macpod,
A very big thank for your patience and your support...
A big step was taken ... Putting all the .01 and .02 files into a directory called asteroid in the roms directory allows the game to start ...  :) :) :) but,  ???, it seems that the game could not be started as pressing the '1' key does not launch it ... It would have been to easy isn't it ?
I can read a message on the mame screen warning that a file can be corrupted but Asteroid launch properly, stars and asteroids scroll perfectly.

I have re-check the Makefile within the of xmame-0.106 directory and  the line:
JOY_STANDARD = 1
is still commented.
Others keys seem to work properly ("pause", "tab",...) .

The goal is close ....

3
OpenLase Discussion / Re: Level nearly completed ...
« on: November 25, 2015, 12:22:39 PM »
Macpod, please apologize...

I have modified the rompath as you mentionned ,

I have renamed the 4 files as terminal expects

skappy@skappy-portable:~$ cd ..
skappy@skappy-portable:/home$ ls
skappy
skappy@skappy-portable:/home$ cd skappy
skappy@skappy-portable:~$ cd .xmame
skappy@skappy-portable:~/.xmame$ ls
cfg  diff  hi  inp  mem  nvram  rc  roms  sta  xmamerc
skappy@skappy-portable:~/.xmame$ cd roms
skappy@skappy-portable:~/.xmame/roms$ ls -l
total 32
-rw-rw-r-- 1 skappy skappy  256 déc.  24  1996 034602-01.c8
-rw-rw-r-- 1 skappy skappy 2048 déc.  24  1996 035127.02
-rw-rw-r-- 1 skappy skappy 2048 déc.  24  1996 035143.02
-rw-rw-r-- 1 skappy skappy 2048 déc.  24  1996 035144.02
-rw-rw-r-- 1 skappy skappy 2048 déc.  24  1996 035145.02
-rw-r--r-- 1 skappy skappy 7752 nov.  21 11:25 asteroid.zip
-rw-r--r-- 1 skappy skappy  730 mai   19  2014 readme.html
skappy@skappy-portable:~/.xmame/roms$ ^C
skappy@skappy-portable:~/.xmame/roms$


but terminal is still returning

skappy@skappy-portable:~/Bureau/mame/openlase-mame/xmame-0.106$ padsp ./xmame.x11 asteroid
info: trying to parse: /usr/local/share/xmame/xmamerc
info: trying to parse: /home/skappy/.xmame/xmamerc
error: unknown option doublebuf, on line 52 of file: /home/skappy/.xmame/xmamerc
   ignoring line
error: unknown option grabinput, on line 53 of file: /home/skappy/.xmame/xmamerc
   ignoring line
error: unknown option joydevname, on line 62 of file: /home/skappy/.xmame/xmamerc
   ignoring line
error: unknown option lirc, on line 65 of file: /home/skappy/.xmame/xmamerc
   ignoring line
info: trying to parse: /usr/local/share/xmame/xmame-x11rc
info: trying to parse: /home/skappy/.xmame/xmame-x11rc
info: trying to parse: /usr/local/share/xmame/rc/asteroidrc
info: trying to parse: /home/skappy/.xmame/rc/asteroidrc
loading rom 0: 035145.02                       
loading rom 1: 035144.02                       
loading rom 2: 035143.02                       
loading rom 3: 035127.02                       
done
035145.02    NOT FOUND
035144.02    NOT FOUND
ERROR: required files are missing, the game cannot be run.
skappy@skappy-portable:~/Bureau/mame/openlase-mame/xmame-0.106$


I can't understand what is needed, previously 4 files were not found and now only two are still missing...

4
OpenLase Discussion / Re: Level nearly completed ...
« on: November 24, 2015, 12:12:49 PM »
Dear MacPod,
Very sorry for been such a pain ...
I do not understanf what is going on ...

I have put the xmamerc file into the .xmame directory, change the rompath with

rompath         $HOME/skappy/.xmame/roms

and here is the path to my roms

skappy@skappy-portable:~$ ls
avirer.py                 examples.desktop  Modèles    Téléchargements
Bureau                    helloworld.py     Musique    test_twitter.py
Documents                 hershey-fonts     openlase   tweet.py
essai_compilation_c       Images            Public     Vidéos
essai_compilation_python  jd2               pylase.so
skappy@skappy-portable:~$ cd .xmame
skappy@skappy-portable:~/.xmame$ ls
cfg  diff  hi  inp  mem  nvram  rc  roms  sta  xmamerc
skappy@skappy-portable:~/.xmame$ cd roms
skappy@skappy-portable:~/.xmame/roms$ ls
034602-01.c8   035143-02.j2   035145-04e.ef2  readme.html
035127-02.np3  035144-04e.h2  asteroid.zip

I'm a bit lost !!!

Thx Macpod

5
OpenLase Discussion / Re: Level nearly completed ...
« on: November 21, 2015, 07:09:58 AM »
Dear MacPod,
the goal is near ...
Terminaly finally returns now

skappy@skappy-portable:~/Bureau/mame/openlase-mame/xmame-0.106$ padsp ./xmame.x11 asteroid
info: trying to parse: /usr/local/share/xmame/xmamerc
info: trying to parse: /home/skappy/.xmame/xmamerc
info: trying to parse: /usr/local/share/xmame/xmame-x11rc
info: trying to parse: /home/skappy/.xmame/xmame-x11rc
info: trying to parse: /usr/local/share/xmame/rc/asteroidrc
info: trying to parse: /home/skappy/.xmame/rc/asteroidrc
loading rom 0: 035145.02                       
loading rom 1: 035144.02                       
loading rom 2: 035143.02                       
loading rom 3: 035127.02                       
done
035145.02    NOT FOUND
035144.02    NOT FOUND
035143.02    NOT FOUND
035127.02    NOT FOUND
ERROR: required files are missing, the game cannot be run.
skappy@skappy-portable:~/Bureau/mame/openlase-mame/xmame-0.106$


I have created a roms directory in /mame/openlase-mame/xmame-0.106/
And i have put asteroid.zip in it (I have also decompress the zip files into this roms directory).

Do you have any idea of what i'm doing wrong Macpod ?

Have a great week end




6
OpenLase Discussion / Re: Level nearly completed ...
« on: November 18, 2015, 01:15:17 PM »
MacPod,
I have erase the mame directory from the last installation and start the process from the beginning , installed a new stuff by myself  8) (it was sudo apt-get install libxv-dev)


But now terminal returns ....

(...)
Compiling src/chdcd.c ...
src/chdcd.c: In function ‘cdrom_parse_toc’:
src/chdcd.c:153:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
   fgets(linebuffer, 511, infile);
        ^
[OSDEPEND] Compiling src/unix/osd_tool.c ...
Linking chdman...
Compiling src/xml2info.c ...
src/xml2info.c: In function ‘process_error’:
src/xml2info.c:232:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘XML_Size’ [-Wformat=]
  fprintf(stderr, "%d:%s:%s\n", XML_GetCurrentLineNumber(state->parser), tag, msg);
  ^
Linking xml2info...
Compiling src/jedutil.c ...
Linking jedutil...
skappy@skappy-portable:~/Bureau/mame/openlase-mame/xmame-0.106$


Help once again is really welcome  :P

Thx MacPod



7
OpenLase Discussion / Re: Level nearly completed ...
« on: November 17, 2015, 02:52:59 AM »
Dear MacPod,

Everything goes well until the 'make' command ... :'(

Terminal returns :

skappy@skappy-portable:~/Bureau/mame/openlase-mame/xmame-0.106$ export LD_LIBRARY_PATH=/home/skappy/openlase/libol:$LD_LIBRARY_PATH
skappy@skappy-portable:~/Bureau/mame/openlase-mame/xmame-0.106$ make
Compiling src/chd.c ...
src/chd.c:13:18: fatal error: zlib.h: Aucun fichier ou dossier de ce type
 #include <zlib.h>
                  ^
compilation terminated.
make: *** [xmame.obj/chd.o] Erreur 1

skappy@skappy-portable:~/Bureau/mame/openlase-mame/xmame-0.106$

It seems that it does not find the zlib.h files ...
 :-[ still a little help MacPod ?  :-[

Thank you so much !

---- LAST MINUTE NEWS ---
Magic has operated ...
I have put the 2 missing files in the main directory and compilation starts ...  ;)
But .. that was too easy ...
Terminal finally returns

src/unix/video-drivers/xv.c:14:31: fatal error: X11/extensions/Xv.h: Aucun fichier ou dossier de ce type
 #include <X11/extensions/Xv.h>
                               ^
compilation terminated.
make: *** [xmame.obj/unix.x11/video-drivers/xv.o] Erreur 1


And this time, the Xv.h file is not in the neighborhood  :'( so I still need help MacPod  :-[ :-[

Thx

8
OpenLase Discussion / Re: Level nearly completed ...
« on: November 11, 2015, 01:48:01 PM »
Dear McPod,

Today is a GREAT day !!!

I think that i'm as good at photo than at programming but despite the poor quality of the photo i'm very happy to announce you that tweet.py is running fine ...I would like to thanks you very much for your help and your assistance... I can not help but look at the scrolling messages ...

I do not want to abuse your patience and kindness but may i ask one last thing please MacPod ?

May i ask you how i should proceed in order to compile the  jv4779 code please ? I would like to test asteroids game it would remind me great time  ;) I encountered difficulties with Xmame when trying to compile ... I have installed VMplayer under Windows and runs a 10.04 Ubuntu version. The main problem is that Ubuntu 10.04 is the last version of Ubuntu which has Xmame. When trying to install jackd2 library 
via "sudo apt-get install libjack-jackd2-dev" system answers that it does not exist ...

Have a great day,

Thank you for all MacPod,  :)

9
OpenLase Discussion / Re: Level nearly completed ...
« on: November 09, 2015, 02:12:13 AM »
Hi MacPod,

Sorry to bother you, I have re-installed the twitter api once again, modified the code in the following manner

# Access token
#token = ''
# Access token secret
#token_key = ''
# Consumer key
con_secret = 'myvalue'
# Consumer Secret
con_secret_key = 'myvalue'

 and i finally obtain

skappy@skappy-portable:~/Bureau/MacPod/openlase/examples$ python tweet.py test
  File "tweet.py", line 42
    def __init__(self):
      ^
IndentationError: expected an indented block


Can you please help me to understand the meaning of this error message...

May I ask you if I can try a another argument than 'test' in

python tweet.py test

Thank you very much and sorry once again  :-[

10
OpenLase Discussion / Re: Level nearly completed ...
« on: November 08, 2015, 06:04:23 AM »
MAcPod,

As you have recommended me, i have used the command

sudo pip install twitter

And I can found in

]/usr/local/lib/python2.7/dist-packages

the following files

twitter  twitter-1.17.1.dist-info

Is it what should be expected ?

Thx MacPod






11
OpenLase Discussion / Re: Level nearly completed ...
« on: November 07, 2015, 05:28:29 PM »
"python-twitter" has been uninstalled but i still have the same message error when executing

python tweet.py test

Do you still have an idea MacPod ?  :-\

12
OpenLase Discussion / Re: Level nearly completed ...
« on: November 07, 2015, 08:22:56 AM »
Hi MacPod,
That was it !
it now compiles without error , the goal is very near but please let me ask you one lasr request please ?
The execution of

"python twitter.py test"

gives back the follwing error message

'Api' object has no attribute 'search' Fetch error

I do not have any idea about what that means , it may be a mis understanding of the twitter.py program ...

Really sorry to abuse your kindness MacPod,

Have a great week end


 

13
OpenLase Discussion / Re: Level nearly completed ...
« on: November 06, 2015, 06:12:21 AM »
Dear MacPod,

Thank you so much for your help, I can now stop to pull my hair  :)
I have never imagine that the command should be used as you explain... Thank for that Macpod...
I will immediately visit the link you mentionned, and, of course, i say YES to the update you propose as my level in python is increasing really very slowly  ;)

Thank you for your assistance MacPod, have a great day ...

14
OpenLase Discussion / Re: Level nearly completed ...
« on: November 02, 2015, 03:03:37 AM »
Dear Macpod,

Thank you for your fast answer , sorry to be such a lamer but it seems that I have everything to learn ...

May I abuse from your patience once again please ?

1° I have installed the python wrapper for the twitter API. I have done it via
 'sudo easy_install python-twitter'

Then, under the terminel,
'python twitter.py'

The python compiler returns

Traceback (most recent call last):
  File "tweet.py", line 114, in <module>
    search = sys.argv[1]
IndexError: list index out of range


From this point i really need help  ;) i'm trying to learn python but not fast enough it seems ...

2° I understand that Xmame does not natively support Openlase, the main problem comes from the fact that the Xmame package is no more available under the last version of Ubuntu . I do not know how to compile the jv4779's sources under Ubuntu 14.04. jv4779 wrote in the GitHub that Ubuntu 10.04 was the last Ubuntu version with Xmame. I have tried to install openlase under Ubuntu 10.04 (VM player) but the jackd2 library is not available under this ubuntu version  :'(

May I ask you if you remember how you had proceed for compiling the jv4779's sources please ? 

Thank you very much for your help Macpod and sorry to be painful...


15
OpenLase Discussion / Level nearly completed ...
« on: October 30, 2015, 04:46:46 AM »
Dear Macpod and all others Lasershark Aficionados !

I have finally succeed in making my green laser projector based on lasershark working really fine under Ubuntu 14.04 ! Thank you very much for all the support that the macpod.net website is offering ...
I would like to go one step further and, sorry for that, i will need your help once again  :)

2 questions haunt me...

-1- I'm totally newbie in the programmation field, I'm starting to learn Python but i'm very curious if discovering the 'tweet.py' application. I have tried to compile it but it does not run properly . Have I miss something ?

-2- I have installed VMplayer under Windows and runs a 10.04 Ubuntu version in order to be able to discover  the Jeremy van Grinsven project (https://github.com/jv4779/openlase-mame).The main problem is that Ubuntu 10.04 is the last version of Ubuntu which has Xmame. When trying to install jackd2 library 
via "sudo apt-get install libjack-jackd2-dev" system answers that it does not exist ...
I do not want to update the Ubuntu Version because i would then lost the possibility of Xmame ... May I ask you how i should proceed please ?

Thank you very much for your help and your patience? Sorry for writing such a long post  ;)

Have a great day

PS. Can't wait for the laserShark RGB Version ...

Pages: [1] 2