Page 1 of 1

Looking for a smaller cursor

Posted: Thu Aug 13, 2020 9:02 am
by Tchey
Hello,

I’m looking for a new cursor, for the "yellow arrow head with a engraved letter D".
It’s big and often hide a part of tooltips under it.

How can i replace it (with a simple dot-shape or something basic like that) ?

Thanks

Re: Looking for a smaller cursor

Posted: Thu Aug 13, 2020 9:08 am
by pango
Welcome to the forums, Tchey!

Are you using Linux, or maybe OSX?
Because there's a known issue, DREAM cursor in 64x64 pixels, but cursor logic in Daggerfall Unity only really handles 32x32. On Windows it works fine because Windows can also only handle 32x32, so it downsamples the cursor automatically, but that's not the case on Linux (I'm not sure about OSX).
That should be fixed in a future version, probably by explicitly downsampling cursors to 32x32 to get consistent results across platforms...
PR on Github: https://github.com/Interkarma/daggerfal ... /pull/1837

Re: Looking for a smaller cursor

Posted: Thu Aug 13, 2020 9:44 am
by Tchey
Ah, i see, thanks.

I’m on Linux, and this big pointer is exactly my issue.
There is no way to change it while waiting for a fix ?

Like, i found a small yellow dot for the main crosshair view, it’s just a .png to place into
/Daggerfall/DaggerfallUnity_Data/StreamingAssets/Textures/Crosshair.png

Nothing similar possible for the arrowhead pointer ?

I don’t understand on Github how he gets the big cursor, but with good alignment.

Re: Looking for a smaller cursor

Posted: Thu Aug 13, 2020 12:13 pm
by pango
Tchey wrote: Thu Aug 13, 2020 9:44 am I don’t understand on Github how he gets the big cursor, but with good alignment.
Well, that requires code changes, which is what this PR is all about. So no easy way for now.
Tchey wrote: Thu Aug 13, 2020 9:44 am I’m on Linux, and this big pointer is exactly my issue.
There is no way to change it while waiting for a fix ?

Like, i found a small yellow dot for the main crosshair view, it’s just a .png to place into
/Daggerfall/DaggerfallUnity_Data/StreamingAssets/Textures/Crosshair.png

Nothing similar possible for the arrowhead pointer ?
It's supposed to be /Daggerfall/DaggerfallUnity_Data/StreamingAssets/Textures/Cursor.png
However when I tried to change it, all I got was corrupted cursor graphic. I'm not sure if I'm missing something, or if it can only be changed by mods...

The best I can do for you at the moment is upload a version of DFU 0.10.24 compiled with a patch to downsample cursors (and dungeons automap water for good measure, because it looks so cool :) ):
https://ufile.io/pv18aojo
sha1sum: 7473cb0af1e8bdee629f6ca910b41a0518c66126

Re: Looking for a smaller cursor

Posted: Sat Jan 09, 2021 1:37 am
by pango
Last version of DREAM uses a 32x32 pixels cursor I believe, so it should be fixed on all platforms

Re: Looking for a smaller cursor

Posted: Sat Jan 09, 2021 4:45 pm
by King of Worms
pango wrote: Sat Jan 09, 2021 1:37 am Last version of DREAM uses a 32x32 pixels cursor I believe, so it should be fixed on all platforms
Yes :)