The Sims - some hacks

H. Verbeet hverbeet at gmail.com
Wed Sep 5 09:03:54 CDT 2007


On 05/09/07, Stefan Dösinger <stefandoesinger at gmx.at> wrote:
> > First, there's the easy problem of the cursors not working.  This is
> > because Sims.exe calls LoadCursorFromFile on a bunch of files that
> > contain icons, not cursors.  As the only difference between the two is
> > that the cursor has a hotspot in front of it, I added some code to
> > treat the icon as a cursor with no hotspot.  Other programs may
> > benefit from this patch, as it seems it is something you can get away
> > with on Windows.
> I do not know this Function, but you can find out what really happens on
> windows by writing a test app that does the same with this function as The
> Sims. The test should be included in dlls/user32/tests/.
>
That's a known issue actually. My original cursor patchset solved that
by checking the file's magic in CURSORICON_LoadFromFile().



More information about the wine-devel mailing list