[Bug 17625] New: Hardware Cursor does not work with OpenGL(look here for a workaround)

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Mar 5 20:41:28 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=17625

           Summary: Hardware Cursor does not work with OpenGL(look here for
                    a workaround)
           Product: Wine
           Version: 1.1.16
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: eiffel56 at gmail.com


Created an attachment (id=19812)
 --> (http://bugs.winehq.org/attachment.cgi?id=19812)
A workaround for the non-existing hardware cursor in World of Warcraft

First: This is _not_ a bug of Wine, Blizzard just doesn't implement that
feature. I've created this bugreport to share the workaround.
The workaround is based on the work of
SKLP(http://ubuntuforums.org/showthread.php?t=1051483), I just enhanced it a
bit and posted it here as I don't think developing it in a
distribution-specific forum is a good idea.

This workaround implements a "fake" hardware cursor. You still can't tick the
"Hardware Cursor" option in the WoW settings, but thats not necessary. What it
does is to ignore if the game instructs to hide your normal cursor. In addition
it hides your normal cursor if you press the left or right mouse button. You
can also replace your normal cursor(e.g. to look like the WoW cursor). It ships
a blank cursor for WoW, so the ingame cursor doesn't always lag behind your
normale one. All together, it mostly feels like a real hardware cursor. There
is only one exception: If your WoW cursor would change, e.g. if you're pointing
on an attackable mob, the changed icon will be shown below your normal one. I
think its possible to hide them, but I don't know which filename WoW
expects(have to look around).

I've attached the patch together with four files. The first, blank.blp, is a
blank cursor for WoW. Copy it as "Point.blp" to WOWFOLDER/Interface/Cursor.
This is allowed by Blizzard, its the official way of changing the ingame cursor
icon.
The second one, "normal", is an XCursor you can use. It looks exactly like the
usual ingame cursor. The other two ones are the sources for "normal", you can
regenerate it with "xcursorgen config > normal". I've taken the cursor from
http://zanowin.deviantart.com/art/WoW-Cursors-28331812.

Just set the environment variable "WOW_CURSOR" to the XCursor you want to use,
for example 
 export WOW_CURSOR="$HOME/.winewow/normal"
If you don't set it, it will use your pre-set cursor.

Maybe someone discovers a way of determining which cursor the game is
displaying(for example, the sword if you're pointing on an attackable mob).
This would end up in an illusion of a real hardware cursor(actually, it would
be a real hardware cursor).


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list