Looking for a smaller cursor

Talk about the mods you'd like to see in Daggerfall Unity. Give mod creators some ideas!
Post Reply
User avatar
Tchey
Posts: 6
Joined: Thu Aug 13, 2020 8:55 am
Location: Terre ?
Contact:

Looking for a smaller cursor

Post 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
* Jeux1d100 ? Le blog Jeux1d100.net sur les jeux indécent et Linux, et la chaîne YouTube *

User avatar
pango
Posts: 3347
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Looking for a smaller cursor

Post 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
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
Tchey
Posts: 6
Joined: Thu Aug 13, 2020 8:55 am
Location: Terre ?
Contact:

Re: Looking for a smaller cursor

Post 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.
* Jeux1d100 ? Le blog Jeux1d100.net sur les jeux indécent et Linux, et la chaîne YouTube *

User avatar
pango
Posts: 3347
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Looking for a smaller cursor

Post 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
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
pango
Posts: 3347
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Looking for a smaller cursor

Post by pango »

Last version of DREAM uses a 32x32 pixels cursor I believe, so it should be fixed on all platforms
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
King of Worms
Posts: 4752
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Looking for a smaller cursor

Post 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 :)

Post Reply