Re: [Freevo-devel] zsnes won't load a file from command line

2004-08-29 Thread Michael Ruelle
Yes it is broken. Just found out when i upgraded during my latest
portage sync. I found a patch in the gentoo forums to get it to work.

use this ridiculous patch at your own risk.

patch it to zsnes-1.36/src/linunx/zloaderw.c

Mike Ruelle
[EMAIL PROTECTED]

On Fri, 2004-08-20 at 05:30, Ben Ford wrote:
> I'm trying to run zsnes with freevo, and for the life of me, I can't get 
> zsnes to actually load the games.  Freevo calls it with the game as a 
> parameter, but zsnes just opens up it's gui with the menu ready for you 
> to browse and load a game.
> 
> I even tried running zsnes manually under strace to see what was 
> happening, and it never even *tried* opening the file.
> 
> -- start strace --
> [EMAIL PROTECTED] ~ $ strace zsnes /home/ben/game.smc 2>&1 | grep smc
> execve("/usr/games/bin/zsnes", ["zsnes", "/home/ben/game.smc"], [/* 50 
> vars */]) = 0
> -- here is where it sat after zsnes loaded.
> 
> stat64("game.smc", {st_mode=S_IFREG|0644, st_size=3146240, ...}) = 0
> stat64("game.smc", {st_mode=S_IFREG|0644, st_size=3146240, ...}) = 0
> stat64("game.smc", {st_mode=S_IFREG|0644, st_size=3146240, ...}) = 0
> -- and this is after I opened the open file dialog
> 
> open("game.smc", O_RDONLY)  = 8
> -- and here is it finally loading the game after I selected it.
> 
> 
> Anybody know what's going on?  I even cut+pasted the command line from 
> the damn help output and it did the same thing.
> 
> zsnes 1.36 & 1.37_pre20040803
> gentoo linux
> 2.6.8.1 kernel
> 2 separate systems, one w/ reiserfs and one with jfs
> 
> -b
> 
327,328c327,328
< //	if  (optopt == '?')
< //	{
---
> 	if  (optopt == '?')
> 	{
336c336
< //	}
---
> 	}


Re: [Freevo-devel] cvs status update and design questions

2004-08-29 Thread Rob Shortt
Dirk Meyer wrote:
Recordserver: broken, Rob is on it.
Recordserver is semi-working now (at least for IVTV) and I have some 
more code to check in to make it better.  Fixing the generic_record.py 
plugin will be next.


Webserver: don't know, I guess it's also broken, let's wait until Rob
updated the recordserver. 
I've been updating the webserver thoughout all the recent changes and 
it's been working fine for me.  I've been away since Thursday so I'll 
take a look at it later this evening to make sure all is ok.


And last but not least: we need more output devices. Since we are not
independed from pygame, we don't need sdl hacks for the dxr3
anymore. The mevas interface gives you an imlib2 image, maybe someone
can write an output plugin for that. Most the work is coding in C. If
you want to help with any output plugin, please conatct me or Jason
(in IRC he has the nickname Tack). We need the following output
plugins: 

- xine: xine has an internal image to display above the video. We need
  a simple plugin to get our display image to xine.
- dxr3: maybe an interface to render the image to mpeg and display it
  on the dxr3
- dvb: the same as dxr3 for full featured dvb cards
AFAIK dxr3 and dvb both have real OSD interfaces as well as MPEG so 
converting frames to MPEG may not be neccessary.  Either output would 
make a fun project! (for someone with time and motivation for either).

- mga: a mga_vid.o interface would also be very cool.
Good idea.

- fb: basic framebuffer support without pygame
- imlib2: the imlib2 output support needs some code to handle X events
  to redraw and to handle pressed keys. This requires hacking some
  basic X stuff in pyimlib2/display.c
- directfb: glue between pydfb and mevas.
I am half into starting a directfb/pydfb mevas canvas.  Maybe we'll see 
some results this week. :)

-Rob

---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Re: cvs status update and design questions

2004-08-29 Thread Dirk Meyer
Gustavo Sverzut Barbieri wrote:
>  --- Dirk Meyer <[EMAIL PROTECTED]> escreveu: 
>> Audio: the audio player is also working, but most plugins are not.
>> The
>> next thing I want to fix is the detach plugin and the detachbar. And
>> the mplayervis plugin is completly broken, someone has to fix this. I
>> heard you want to go to libvisual, this sounds great. Keep in mind
>> that we don't use pygame anymore so you need to render in an imlib2
>> image. Contact me if you have questions about the integration. And
>> feel free to fix a plugin in the audio dir.
>
> Note about visualization stuff. at least my point of view.
>
> We should go with LibVisual, it rocks! It support the same mpav
> supports and even more, it's not tied to any output, we can get it the
> way we want. At this time, xmms and amarok are supported, I hope freevo
> is next ;)
>
> What have to be done is Python wrapper to access the C code, I have no
> experience with this... someone told me about PyRex and I'll try, but
> I'll wait a little more until the API is more stable.
>
> If someone has experience with C -> Python api, contact-me.

I have some. You can look at the ifoparser in mmpython. Or ask Jason,
he has experience in this with pyimlib2 and also knows imlib2 what you
will need to display.

>> Popupbox: most boxes are broken. I'm still thinking of a good
>> design. We need some sort of layoutmanager for mevas here. Every help
>> is welcome. If Freevo crashes for things I wrote it's working, maybe
>> it's because of the boxes. 
>
> I'm not aware of the current problems... could you open another topic
> and point them?

How to loyout the content? The old layoutmager? Or a new one with a
different logic? Either way, the old one is not working because now
the objects are CanvasObjects from mevas and the layoutmager needs to
be fixed. Anyone?

>> TV: the tv stuff is broken. But the guide should work. The guide is
>> very slow right now, it has not been optimized. And you can press
>> ENTER on a program to get a channel listing. But you can neither
>> watch or record now. IIRC Rob is fixing the recordserver right now.
>
> Why it's slow?

Because it's only a quick port from the old area code to the mevas
support. Right now it redraws everything on every event. That's bad,
but it's also a nice test to see Jasons speed up ideas for mevas when
he's done. 

> Also, how the guide will be? The 2-style thing was discussed before or
> the old-bloated we have?
>
> I'm for the 2-style (or more) guide and have some ideas to colorize
> items. We should mark past programs in another color, rank most viewed
> (need stats) and mark to be recorded/favorites/groups...

Right now, it is two style. You see the guide and press ENTER to go
into channel view. But still, I need more examples how you want to
look it like. What should it do and what keypress? Fire up gimp and
give me ideas.

>> Webserver: don't know, I guess it's also broken, let's wait until Rob
>> updated the recordserver. 
>
> Is it broken?
>
> Well, I looked at it a long time ago, but it was a pure hack (see
> optimizations done by Tack, to fix some hacks). We should instead use
> some page templates to separate the control from the view.  But I don't
> think I'll go in this area since I don't use it and it's boring to do
> the conversion (although easy).

Rob and I broke the channel design. The webserver itself may be
working, but I don't know about the epg. All tv/egp* files are gone
now so this may be a problem. 

> I have a bunch of ideas and I'll play with gimp as soon as I go home
> (monday).

Cool! Even people withot programming skills, send pics!



Dischi

-- 
Voodoo Programming:  Things programmers do that they know shouldn't work but
they try anyway, and which sometimes actually work, such as recompiling
everything.
-- Karl Lehenbauer


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel