alexzielenski / Mousecape

Cursor Manager for OSX
http://www.alexzielenski.com
Other
1.32k stars 165 forks source link

Get Mousecape cursors on Windows? #189

Open ChazChoppa opened 1 year ago

ChazChoppa commented 1 year ago

Newbie here, but I absolutely love the Svanslös Blue cursor pack by Max Rudberg but how can I get it on Windows 11? Is there any way to get the image files and convert them to CUR format?

NordJan commented 1 year ago

I think the Mousecape cursor sets are made up of .png files, so https://lmgtfy.app/?q=png+to+cur

ChazChoppa commented 1 year ago

How do you get the PNG files from the Mousecape file?

NordJan commented 1 year ago

That's a good question. I have looked, but found no export possibility from within Mousecape. On the other hand, the .cape files are xml-files, so there might be a way to load them into a xml editor and try to export from there. Good luck.

VisualisationExpo commented 1 year ago

A solution would be to view the raw output from this(there's a hyperlink on the screen that says "View raw") https://github.com/alexzielenski/Mousecape/blob/master/Mousecape/com.maxrudberg.svanslosbluehazard.cape

and then copy the data out from between

<array>
<data>
</data>

So that you can get each individual cursor. Be careful and pay attention as there's a huge list of these data and you might have copied too many of those at once, like I did the first time when I wanted to find a solution for you.

Next you open https://onlinepngtools.com/convert-base64-to-png and paste in the so-called base64 data in the left hand side blue-ish square and watch the output on the right hand side blue-ish square so that e.g the main arrow would look like this when pasted in

Screen Shot 2022-08-24 at 23 51 14

If there's any good base64 <-> png Windows software out there that makes this even more better, then that's of course more ideal than using a website.

I'm not sure how animations work with this, so feel free to experiment on your own time

Lastly I suggest looking at CursorCreate by Isaac Robinson - you can make a cursor set from this if it comes to that. https://github.com/isaacrobinson2000/CursorCreate

With all that said, Windows itself is much more forgiven than macOS and can much more easily replace cursors.