Encoding PSP movies with Wine.

2005-03-27 Thread Joshua Walker
Encoding PSP movies with wine.

Well, the Sony Playstation Portable (PSP) is out in
the U.S, and one of the cool things you can do with it
is encode movies for playback on the system. Sony
hasn't released their encoder yet, but you can use a
program called ffmpeg to convert videos to the quirky
PSP Mpeg4 format...

...kinda

The Linux version of ffmpeg can encode PSP movies,
however the id tag is hardcoded, and you don't get any
data about the Name of the movie or it's length or
anything. (It's just called "-" in the browser.

You have to pull from the cvs version, the homepage is
here...
http://ffmpeg.sourceforge.net/index.php

There is a Japanese fork of ffmpeg for win32. As it's
GPLed software, the source was released. This includes
all kinds of cool hacks for better streaming and also
support for the ID tag for the PSP. Sadly, the id tags
require Unicode, (As it's a Japanese machine) ,  and
the hack involves a call to MultiByteToWideChar() to
convert the title to something the PSP can display.
Last night I tried to backport the hack to the Linux
version using mbtowc() and failed horribly. My code-fu
is much too weak.

The Japanese fork is here
http://www.nurs.or.jp/~calcium/3gpp/sources/ffmpeg-050310-0.30.tar.gz


and a patch to update it to .31 
http://www.nurs.or.jp/~calcium/3gpp/sources/ffmpeg_patched_diff_031.tar.gz


You can also grab a compiled win32 version here.
http://www.nurs.or.jp/~calcium/3gpp/3GP_Converter031.zip

The program is located in the /cores dir.

So, I as I couldn't "fix" the Linux version, I gave
wine a spin and came up dead in the water. I'm afraid
I don't have the debug version of wine installed, but
here's what I can give you as output

[EMAIL PROTECTED]:~/temp/3GP_Converter031/cores> wine
./ffmpeg.exe
fixme:ver:VERSION_GetLinkedDllVersion Unknown EXE OS
version 4.0, please report !!
err:comm:GetCommState tcgetattr or ioctl error
'Invalid argument'
fixme:ntdll:NtQueryObject Unsupported information
class 1
fixme:ntdll:NtQueryObject Unsupported information
class 1
fixme:ntdll:NtQueryObject Unsupported information
class 1
Segmentation fault
[EMAIL PROTECTED]:~/temp/3GP_Converter031/cores>

Well, ending on a segfault is pretty much writes that
program off the list. I'm also noticing it's calling
an undocumented function in ntdll. Anyone want to take
a go at this to see what's happening?

It would be nice to get PSP encoding to work right
under Linux.

Oh, my version of wine is 20050310.

-Halkun




Re: saving winrash

2005-03-27 Thread Chris Morgan
Can we get winrash into the wine tree or is the plan to keep it separate?

Chris



On Friday 25 March 2005 1:16 pm, Robert Shearman wrote:
> Chris Morgan wrote:
> >>I have already sent links to documents on MSDN that state how to make a
> >>service run on an interactive desktop. As some of the tests are a little
> >>distracting graphically, we should probably do the dialog as you
> >>suggest. I guess this is really up to the people running the test
> >> machines. If the source to winrash was in the Wine tree I would already
> >> have fixed it by now.
> >
> >The source has been available on Sourceforge since the project started.
> >Patches welcome :-)
>
> Ah, ok. I've never seen a link to the project. Here's a patch that
> should fix the creating of a service so that it appears on an
> interactive window station.
>
> Rob



Re: Personal Family Assistant setup problem

2005-03-27 Thread Robert Shearman
Andrew Neil Ramage wrote:
Trying to install PAF 5.1 produced these results.  There was also a 
message box stating that the InstallShield engine could not be started.

err:ole:_get_funcdesc Did not find a typeinfo for reftype 0?
err:ole:xCall Did not find typeinfo/funcdesc entry for method 0!
err:ole:CoUnmarshalInterface Couldn't query for interface 
{91814ebf-b5f0-11d2-80b9-00104b1f6cea}, hr = 0x80004005
err:ole:_get_funcdesc Did not find a typeinfo for reftype 0?
err:ole:xCall Did not find typeinfo/funcdesc entry for method 2!
fixme:ole:CFProxy_CreateInstance CoMarshalInterface failed, 80004005
fixme:ole:CoCreateInstance no instance created for interface 
{91814ebf-b5f0-11d2-80b9-00104b1f6cea} of class 
{91814ec0-b5f0-11d2-80b9-00104b1f6cea}, hres is 0x80004005
[EMAIL PROTECTED] Default]$

Are you using CVS wine? We shouldn't be calling methods 0-2 any more as 
these are the IUnknown methods and we defer to the outer unknown for 
these now. Otherwise, please attach a +ole,+typelib,+olerelay log and 
I'll see if I get time to look at it.

Rob


Re: wine/ windows/scroll.c dlls/x11drv/scroll.c dl ...

2005-03-27 Thread Dimitrie O. Paun
On Fri, Mar 25, 2005 at 11:11:04AM -0600, Alexandre Julliard wrote:
> Modified files:
>   windows: scroll.c 
>   dlls/x11drv: scroll.c 
>   dlls/user/tests: win.c msg.c 
> 
> Log message:
>   Rein Klazes <[EMAIL PROTECTED]>
>   ScrollDC and X11DRV_SCROLLDC should scroll only pixels coming from
>   within the visible region, clipped to the clipping region if that
>   exists. Add the destination of pixels coming from the outside of this
>   region to the update region. With tests that depend on this.
> 
> Patch: http://cvs.winehq.org/patch.py?id=16854

Unfortunately, this patch doesn't fix bug 1091:
http://bugs.winehq.org/show_bug.cgi?id=1091

-- 
Dimi.



Re: Rename the process back to wine on 2.6 kernels

2005-03-27 Thread Boaz Harrosh
Mike Hearn wrote:
This makes us appear as "wine" again on 2.6 kernels, instead of appearing as
/usr/bin/wine-preloader. It works in ps, top, and killall which are the most
important. On kernels that don't support it, we will still appear as
wine-preloader though.
If this patch is accepted I might do another to move the [pk]thread switch
into an env var instead of the command line. Then we'd be back to
"wine foobar.exe" just like the good old days ;)
 

A "not so far" back, there was a patch that enabled embedding of the 
wineloader into the Winelib stub of a Winelib application. (That would 
than load itself). How would that patch affect these applications?

Free Life
Boaz



Re: ScrollWindow fix for windows with WS_CLIPCHILDREN style, with tests

2005-03-27 Thread Dmitry Timoshkov
"Rein Klazes" <[EMAIL PROTECTED]> wrote:

> -hDC = GetDCEx( hwnd, 0, DCX_CACHE | DCX_USESTYLE );
> +if( !(flags & SW_SCROLLCHILDREN &&
> +GetWindowLongPtrW( hwnd, GWL_STYLE) & WS_CLIPCHILDREN))

Window style is a 32-bit entity in both Win32 and Win64, there is no need
to use GetWindowLongPtr to retrieve it, GetWindowLong should work just fine.

-- 
Dmitry.




Personal Family Assistant setup problem

2005-03-27 Thread Andrew Neil Ramage
Trying to install PAF 5.1 produced these results.  There was also a 
message box stating that the InstallShield engine could not be started.

[EMAIL PROTECTED] Default]$ wine PAF5EnglishSetup.exe
fixme:ole:RegisterTypeLib Registering non-oleautomation interface!
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
fixme:ole:ITypeInfo_fnRelease destroy child objects
err:ole:_get_funcdesc Did not find a typeinfo for reftype 0?
err:ole:xCall Did not find typeinfo/funcdesc entry for method 0!
err:ole:CoUnmarshalInterface Couldn't query for interface 
{91814ebf-b5f0-11d2-80b9-00104b1f6cea}, hr = 0x80004005
err:ole:_get_funcdesc Did not find a typeinfo for reftype 0?
err:ole:xCall 

Max Payne 2 IDirect3DDevice8Impl_ActiveRender error

2005-03-27 Thread Tom Huckstep
Max Payne 2 works fine under the latest Wine CVS through all the 2D parts
(menus), but as soon as I start a new game and it gets to a 3D bit the
screen goes completely blank and I get lots of the following error on my
terminal:

err:d3d:IDirect3DDevice8Impl_ActiveRender cannot get valides GLXFBConfig for
...

Does anyone have any idea why this is?

Tom