Re: Screen mode retrieval/trace tool for Windows

2008-03-04 Thread mark cox
Perhaps use detours to hook the ChangeDisplaySettingsEx function and dump
the devmode structure to a file?
Regards,
mark


On Wed, Mar 5, 2008 at 9:09 AM, Denver Gingerich <[EMAIL PROTECTED]> wrote:

> I am trying to trace the sequence of screen mode
> (resolution/bpp/refresh rate) changes that occur when StarCraft is run
> in Windows so that I can make Wine emulate Windows' behavior.  Right
> now I'm trying to see exactly what resolution, bits per pixel, and
> refresh rate StarCraft is using.  Unfortunately, I can't just go into
> Display Properties while StarCraft is running because it switches the
> resolution back when you Alt-Tab out of the game.
>
> My current plan is to install an SSH or telnet server on the Windows
> machine and run a command line tool to check the current screen mode
> while StarCraft is running.   I have used a couple of command-line
> tools for changing the screen mode [1] [2], but neither of them have
> an option to list the current mode.  Does anyone know of a tool or can
> anyone quickly create a tool that will list the resolution currently
> in use from the command line?
>
> I have tried using StraceNT [3] to see the parameters passed to
> ChangeDisplaySettingsEx (which is the function StarCraft uses to
> change the resolution), but it does not let me look at the DEVMODE
> structure that is passed in.  Does anyone know of a trace tool that
> would let me do that?
>
> Based on my testing so far, there appears to be a discrepancy in how
> Windows and Wine set the refresh rate if none is specified on a
> resolution change.  Wine always picks the first mode with a matching
> resolution, while Windows does not.  My tests in Windows have shown
> that even though StarCraft asks for 640x480 and the first mode with
> that resolution has a 60 Hz refresh rate, Windows chooses a higher
> refresh rate.  Unfortunately, I don't know exactly which refresh rate,
> but I can verify by sight that 60 Hz is not being used (the screen
> doesn't flicker as it would at 60 Hz).  This discrepancy is why I wish
> to run further tests and acquire more precise information about the
> refresh rate being used.
>
> I am performing this testing according to a request in a previous
> thread [4].  If you have any questions about my testing, please let me
> know.
>
> Denver
>
>
> 1. http://www.vrdevelopers.de/content/view/15/44/
> 2. http://www.nirsoft.net/utils/nircmd.html
> 3. http://www.intellectualheaven.com/default.asp?BH=projects&H=strace.htm
> 4. http://www.winehq.org/pipermail/wine-devel/2008-March/063150.html
>
>
>



Re: Some thoughts about next GSoC

2007-11-22 Thread mark cox
the FFMpeg project was very successful with it's qualification tasks
http://guru.multimedia.cx/googles-summer-of-code-2007/

regards,
mark

On Nov 23, 2007 6:30 AM, Jesse Allen <[EMAIL PROTECTED]> wrote:

> On Nov 22, 2007 10:00 AM, Kai Blin <[EMAIL PROTECTED]> wrote:
> > On Thursday 22 November 2007 17:44:09 Jesse Allen wrote:
> >
> > > From my understanding, the SoC site specifically says that you do not
> > > have to work on a project that has to be completed in the allotted
> > > time. I think the idea is that google wants to encourage people that
> > > were already working on a project before to apply and to encourage
> > > people to continue working in the community after the session is
> > > complete. Now the mentoring organization could set their own
> > > requirements, based on difficulty and scope, but I would be concerned
> > > with making time a limiting factor.
> >
> > I'm not saying that we stop people from working on their stuff
> afterwards, nor
> > forcing them to e.g. implement the full dll if their project is "Start
> an
> > implementation of dll x". I was talking about shrinking their proposal
> so
> > they can actually manage to implement all the features they promise in
> their
> > proposal in the proposed timeframe. I know that this was really hard for
> me.
> >
> > > The best alternative to the quiz would be to have the student begin
> > > working on the project before the application. He can discuss it on
> > > the the mailing list and hopefully show some code. This would be a
> > > good way to judge coding skill and the project's scope. Now in order
> > > for this to work well, we would have to encourage people to get
> > > started early, which really hasn't happened before right?
> >
> > Well, depends on how you want to do this. I think this is overly
> restrictive,
> > unless you're just talking about a patch or two like Maarten proposed.
> >
>
>
> Well then it sounds like we want better written proposals. Yeah the
> goals for my project were very broad. I didn't intentionally do it
> that way, but it was more like at first, get it to work, sort of
> thing. And the design wasn't complete until a month in. The only way I
> could have done better was to have started earlier. Mind you, I
> actually did start in April almost two months early. If I get to do it
> again, I will probably have a much more interesting proposal and have
> goals that I will know will have specific results in the timeframe.
> This is what I'm already considering, but that is because I am
> experienced in the program already. For new people, we will have to
> reach out to them and help them get ready early because they won't
> know what to do. Maybe we need pre-SoC mentors?
>
> Jesse
>
>
>



Re: Fonts (+liberation again...)

2007-08-13 Thread mark cox
Louis, What about a wine-fonts package? That would avoid the gpl issue.

On 13/08/07, Alexandre Julliard <[EMAIL PROTECTED]> wrote:
>
> "Louis. Lenders" <[EMAIL PROTECTED]> writes:
>
> > Of course this patch lacks checking for presence of liberation, and
> > has ugly hard-coded path for the liberation-font, but that could be
> > worked on later on.
> >
> > Simple question: Could something like this be included in the
> > source, otherwise i'm not gonna spend any time improving it. Any
> > hints welcomed.
>
> No, it can't be included, the fonts are GPL not LGPL, and you don't
> want to silently insert them into the Wine binary packages.
>
> --
> Alexandre Julliard
> [EMAIL PROTECTED]
>
>
>



Re: New winetricks: add support for Red Hat's liberation fonts

2007-05-24 Thread mark cox

I added them to winetricks so people could experiment with
> them (slightly) more easily.
> - Dan

I'm pretty sure the proper place for these fonts is as a separate distro
package - perhaps one that Wine can depend on.

If the liberation fonts aren't yet being packed up in Ubuntu, I'll see
about adding a new package for them.



Scott, That wasn't what i was thinking when i suggested it to Dan. If users
tests the fonts with wine, which they can now do using winetricks, i was
hoping that the font names could be remapped/hacked so that the names of the
mscorefonts map to the redhat fonts. If that is successful, the fonts could
be included in wine and we wouldn't need mscorefonts anymore.
- mark



Re: how to edit wiki?

2006-05-30 Thread mark cox
Thanks, dunno how i missed that :)On 5/31/06, Daniel Remenak <[EMAIL PROTECTED]> wrote:
Bottom of the column at the left hand side of any page when you're notsigned in has a "Login" link under the heading "User Tools".  If youclick on it you have the option to "Create Profile" under the text
entry fields, along with instructions.--Daniel RemenakOn 5/30/06, mark cox <[EMAIL PROTECTED]> wrote:> There is no login option i can see (when using firefox) or info on how to
> create an account.> Regards,> mark>> On 5/31/06, Andrew Ziem < [EMAIL PROTECTED]> wrote:> >>> mark cox wrote:
> > When i search in google for 'cxtest', one of the hits is from winenq,> > but when i open the page http://wiki.winehq.org/CxTest, i get the> > message '* This page does not exist yet. You can create a new empty
> > page, or use one of the page templates. Before creating the page, please> > check if a similar page already exists.'.> > and an option to 'create a new empty page'. If i choose to create a new
> > page, i get the message ' *You are not allowed to edit this page.'. No> > indication is given as to how to sign in or what to do. Most wiki's have> > an option to 'sign in', or 'create a new account'.
> >> > I thought that the idea of wiki's was that were meant to be accessible> > without jumping through hoops, so what's going on?>> Because of wiki spam problems, some wikis require that you login before
> making changes.>>>> Andrew>>>>>>>>>>>>>



Re: how to edit wiki?

2006-05-30 Thread mark cox
There is no login option i can see (when using firefox) or info on how to create an account.Regards,markOn 5/31/06, Andrew Ziem <
[EMAIL PROTECTED]> wrote:mark cox wrote:> When i search in google for 'cxtest', one of the hits is from winenq,
> but when i open the page http://wiki.winehq.org/CxTest, i get the> message '* This page does not exist yet. You can create a new empty> page, or use one of the page templates. Before creating the page, please
> check if a similar page already exists.'.> and an option to 'create a new empty page'. If i choose to create a new> page, i get the message ' *You are not allowed to edit this page.'. No> indication is given as to how to sign in or what to do. Most wiki's have
> an option to 'sign in', or 'create a new account'.>> I thought that the idea of wiki's was that were meant to be accessible> without jumping through hoops, so what's going on?Because of wiki spam problems, some wikis require that you login before
making changes.Andrew



how to edit wiki?

2006-05-30 Thread mark cox
When i search in google for 'cxtest', one of the hits is from winenq, but when i open the page http://wiki.winehq.org/CxTest, i get the message '
This page does not exist yet. You can create a new empty page,
or use one of the page templates. Before creating the page, please
check if a similar page already exists.'. and an option to 'create a new empty page'. If i choose to create a new page, i get the message '
You are not allowed to edit this page.'. No indication is given as to how to sign in or what to do. Most wiki's have an option to 'sign in', or 'create a new account'. I thought that the idea of wiki's was that were meant to be accessible without jumping through hoops, so what's going on?
Regards,mark.



Missing wine documentation

2006-05-16 Thread mark cox
The documentation directory in cvs and in the tarball contains no documentation, i got cvs and did a find for '*.sgml'. Nothing to be found. Am i missing something?mark