KSP-CKAN / CKAN

The Comprehensive Kerbal Archive Network
https://forum.kerbalspaceprogram.com/index.php?/topic/197082-*
Other
1.97k stars 347 forks source link

[Feature]: Icons! #4073

Closed irasponsible closed 2 months ago

irasponsible commented 5 months ago

G'day,

I made up some new icons for the CKAN Client, Console, and Command prompt. Is it worth baking these into .ico files at the right sizes for CKAN and making a pull request?

Suggestion

CLIENT CONSOLE CMD
kerbal-space-program-ckan kerbal-space-program-ckan-console kerbal-space-program-ckan-cmdprompt

Additional context

I used these SVGs of the KSP logo on the Official KSP website. If we had permission from SQUAD for the current iteration, they'd probably be alright with use of the updated logo? I'm happy to put in the legwork to contact Intercept/PD about it.

These icons are based on the Papirus open-source icon theme. This is 64px, I've also done the other size svgs.

I also did some others up, which I plan to submit to Papirus at some point. Might even do up a full rainbow for people with too many KSP installs!

KSP 1 KSP 2 KSP RSS
ksp@64x64 kspdark@64x64 ksprss@64x64
HebaruSan commented 5 months ago

Hi, really neat work!

I have a couple of points of feedback to bring up:

HebaruSan commented 5 months ago

Looking at that link for Papirus, could we make it possible for icon libraries like that to set their own icons for CKAN? I haven't looked at the spec for this recently, but I would guess that could be done by changing the Icon property in the .desktop file from a path to a generic symbol?

Icon=/usr/share/icons/ckan.ico

Icon=ckan

If that worked, then we might be able to offload some of the "risk" of a derivative icon to such projects. I.e., if Papirus gets a C&D letter, that wouldn't affect us.

irasponsible commented 5 months ago

The current/old icon says "CKAN", and these don't. I think that'd be an important way to differentiate it from the KSP1 and/or KSP2 icons. If these were on my taskbar, I don't think I'd be able to tell what to click to launch CKAN vs the games.

I'll admit, this started out as me wanting a couple of different icons for different KSP1 instances. CKAN's default icon didn't show up very well at 24x24px so I was using a generic one. In my head the white/red vs red/white was enough of a distinction, but I was the one who made them, so of course I thought so!

I'll try and come up with something more CKAN specific, maybe just the "rocket plume lens flare" shape and "CKAN", which would pay some homage to the original but still be generic for if CKAN expands. Also neatly nips licencing questions in the bud.

How exactly are you imagining the CmdLine and ConsoleUI ones would be used? All three UIs live inside the same .exe file, which can only have one icon. We could probably set them up to show up in the system menus in Ubuntu/Fedora, since those are separate .desktop files that can reference whatever standalone icon files they want, but other than that I would not know where to put them.

I'm using Debian 12 with KDE, where they already show up as three separate options - I assumed that was how it showed up on Windows! I think since CKAN comes with three .desktops, it'll show three menu entries. It was the same on Linux Mint.

Looking at that link for Papirus, could we make it possible for icon libraries like that to set their own icons for CKAN?

I'm happy to do the digging to see how to set it up properly! It's also possible for a user to just set them manually (KDE and Mint have menu editors, or can just edit the .desktop in a text editor.)

irasponsible commented 5 months ago

Here's what I could come up with.

Client Console Command
template-ckan-light-red@64x64 template-ckan-green-dark@64x64 template-ckan-purple-dark@64x64
Wide Wide (alt)
ckan-wide-white@128x64 ckan-wide-wide@128x64

Tried to keep the current 'motif' as much as I could. Font is "Nasalization" by Typodermic, which has a licence that allows this use.

edit: oops, the font didn't render properly. i'll fix it later - I forgot to turn the text into a path, so it shows up as generic Arial or something at the moment.

edit 2: hopefully that works properly.