Animated Cursor Support

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Sleaka J
Level 2
Level 2
Posts: 29
Joined: Wed Feb 27, 2008 7:43 am

Animated Cursor Support

Post by Sleaka J »

Is there an easier way of getting animated cursors rather than having to re-compile the whole thing?

I'm referring to Command & Conquer 3. I got it to work, but just no animated cursors.

The patching referred to in this article:
http://appdb.winehq.org/objectManager.p ... n&iId=7440

gives me errors. A number of the hunks fail and I eventually get this message:
Reversed (or previously applied) patch detected! Assume -R? [n]
What is -R, and do I assume it?

This is with Wine 0.9.56 and the cursor patch 20071223.

So back to the original question, is there an easier way?
Dan Kegel

Animated Cursor Support

Post by Dan Kegel »

On Wed, Feb 27, 2008 at 4:59 AM, Sleaka J <[email protected]> wrote:
Is there an easier way of getting animated cursors rather than having to re-compile the whole thing?

I'm referring to Command & Conquer 3. I got it to work, but just no animated cursors.
I think the thing to do is to vote for bug
http://bugs.winehq.org/show_bug.cgi?id=5828
and
http://www.codeweavers.com/compatibilit ... pp_id=2857
It wouldn't hurt to pledge a boatload of money to Codeweavers, either.
- Dan
Sleaka J
Level 2
Level 2
Posts: 29
Joined: Wed Feb 27, 2008 7:43 am

Post by Sleaka J »

In other words, that's a no. What's 1 vote going to accomplish?
It wouldn't hurt to pledge a boatload of money to Codeweavers, either.
If I had a boatload of money, I probably wouldn't give it to Codeweavers anyway.
Last edited by Sleaka J on Thu Feb 28, 2008 4:21 am, edited 1 time in total.
James McKenzie

Animated Cursor Support

Post by James McKenzie »

Sleaka J wrote:
In other words, that's a no.

For the present, you are correct. However, voting on a bug makes
developers aware that people want the problem fixed. So, vote on the
bug if you want it fixed quicker and if developers are available to work
on it.

James
Griswold
Level 1
Level 1
Posts: 6
Joined: Fri Feb 22, 2008 3:34 pm

Post by Griswold »

I am currently working on this bug. However, it is not easy at all to fix, so don't expect Wine to support animated cursors anytime soon. There are some pre-requisites that have to be met before it can be implemented.

Unfortunately, right now, you must recompile Wine to get animated cursor support.

Anyhow, just thought I would chime in, say hi, and let people know I will fix this, but as I am not as experienced as some other developers, and this is a very difficult problem, that it will take me a long time to get fixed.
Sleaka J
Level 2
Level 2
Posts: 29
Joined: Wed Feb 27, 2008 7:43 am

Post by Sleaka J »

I wasn't expecting you (or anybody) to fix it in a jiffy, just wanted to know if there was a better way, and the question was answered.

Which is a pity, I can't get Wine to compile after I apply the cursor patch. Might have something to do with the cursor patch giving me errors.

I voted for it. Let's see how that goes.
Alexander Nicolaysen S...

Animated Cursor Support

Post by Alexander Nicolaysen S... »

I wasn't expecting you to fix it in a jiffy, just wanted to know if there
was a better way, and you answered that question.

Which is a pity, I can't get Wine to compile after I apply the cursor
patch. Might have something to do with the cursor patch giving me errors.
The how-to in the AppDB is for an old version of WIne. So if you use the Wine
archive it links to, the patch should applly fine.

I'll see if I can't test the game with a newer Wine version and update the
guide.




Alexander N. Sørnes
Alexander Nicolaysen S...

Animated Cursor Support

Post by Alexander Nicolaysen S... »

Hi, and once again thanks for the patch! After a few people on wine-users
mentioned cursor patch problems, I decided to update the how-to with a
current Wine version (personally I'm quite happy with Wine 0.9.50 :) )

The patches didn't work; I only got a plain X11 cursor. Are they working for
you with current Wine?




Alexander

It's slow for me if I don't use fbo OffscreenRenderingMode. With fbo, I
can run low shaders at great frame rate, higher shader settings slow it
down.

On Tue, 2008-01-01 at 22:25 +0100, Alexander Nicolaysen Sørnes wrote:
On Tuesday 01 January 2008 09:11:29 you wrote:
Hello,

I've been tracking wine bug #5828 about adding animated cursor support
to wine for some time now. I noticed you've been fighting with the old
patch and current git. I've maintained H. Verbeet's patch in my local
git for quite some time now and I've had a little more luck in keeping
it working.

Attached is H. Verbeet's work hacked slightly so it works against
12/31/07 git. Remember to run tools/make_requests after applying it.

I have no idea how this code works, so I can't vouch for it in any way,
but animated cursors do work in C&C 3 with it applied. Feel free to do
whatever you want with it.

Thanks for all your AppDB and other wine contributions.

-Tony
Wow, thanks!

I'll upload it to BugZilla with your name. Is C&C 3 very slow for you in
current GIT? The change might only apply to some graphics settings, so
it would be nice to know.


Alexander
Sleaka J
Level 2
Level 2
Posts: 29
Joined: Wed Feb 27, 2008 7:43 am

Post by Sleaka J »

I realise that Wine is being developed to get Windows applications working under Linux, but from what I see a major part of Wine users are gamers and having the incorrect cursors is a big issue for me. I can't speak for everyone though. Seems to me that more and more games are using the animated cursors system. Shouldn't you elevate this?

Is this the best you can do? (an honest question, no flame intended). And how long do I have to wait before a game I bought a year ago (C&C3) or almost 3 years ago (Civ4) or god knows how long ago I bought C&C Generals before they work under Wine the same as they do under Windows?

Understand that I'm asking these questions, not with the intent to put anyone down, but hopefully to get serious and straight answers.
Griswold
Level 1
Level 1
Posts: 6
Joined: Fri Feb 22, 2008 3:34 pm

Post by Griswold »

Sleaka J wrote:I realise that Wine is being developed to get Windows applications working under Linux, but from what I see a major part of Wine users are gamers and having the incorrect cursors is a big issue for me. I can't speak for everyone though. Seems to me that more and more games are using the animated cursors system. Shouldn't you elevate this?

Is this the best you can do? (an honest question, no flame intended). And how long do I have to wait before a game I bought a year ago (C&C3) or almost 3 years ago (Civ4) or god knows how long ago I bought C&C Generals before they work under Wine the same as they do under Windows?

Understand that I'm asking these questions, not with the intent to put anyone down, but hopefully to get serious and straight answers.
I work on Wine in my free time, and am really not terribly experienced. To implement animated cursors, I have to alter some *very* important parts of Wine, and so my code has to be written pretty much perfectly. So, to answer your question, it is the best *I* can do. I have no idea how long it will take me to get animated cursors implemented. You are more than welcome to go ahead and implement them yourself or hire someone to do it for you, though. :)
Sleaka J
Level 2
Level 2
Posts: 29
Joined: Wed Feb 27, 2008 7:43 am

Post by Sleaka J »

Griswold wrote:You are more than welcome to go ahead and implement them yourself or hire someone to do it for you, though. :)
You know, it would just be cheaper for me to stick with my XP install as that works fine, and I really don't have any idea on how to implement animated cursors myself.

Looks like Linux/Wine just isn't for me. Good luck though.
Griswold
Level 1
Level 1
Posts: 6
Joined: Fri Feb 22, 2008 3:34 pm

Post by Griswold »

Sleaka J wrote:
Griswold wrote:You are more than welcome to go ahead and implement them yourself or hire someone to do it for you, though. :)
You know, it would just be cheaper for me to stick with my XP install as that works fine, and I really don't have any idea on how to implement animated cursors myself.

Looks like Linux/Wine just isn't for me. Good luck though.
Good luck to you too! Linux and Wine are not right for everyone right now. Best advice is to use what works best for you and just check back every year or so and see what progress is made.

To clarify: I will get animated cursors implemented, they are just, at least for me, really difficult to get correct enough to be included into Wine. It will happen, though. :)
Locked