boppreh / steamgrid

Downloads images to fill your Steam grid view
MIT License
675 stars 42 forks source link

Feature request: Extract EXE icon on linux #138

Open marco-calautti opened 1 year ago

marco-calautti commented 1 year ago

On Linux, when importing a non-steam game, steam does not seem to extract the exe icon and use it as the icon for the game. It would be very useful if steamgrid would also extract the exe icon and configure it as the icon of the non-steam games.

There are plenty of ways to extract the .ico file from an exe on linux. For example, using icoutils: wrestool -x -t 14 game.exe > exe_icon.ico

Would you consider adding this feature?

v00d00m4n commented 1 year ago

is there a windows compatible binary for wrestool?

marco-calautti commented 1 year ago

On windows you can use the native Win32 api. https://learn.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-extracticona