Homebrew RELEASE IconGrabber - Custom game icons & Theme Teaser

Slluxx

GBATemp Mayor
OP
Developer
Joined
Jul 17, 2019
Messages
489
Trophies
0
XP
1,571
Country
Germany
Hello everyone,

this is IconGrabber. A homebrew that one can probably best describe as an unofficial steamgriddb.com client for the Nintendo Switch. You can search for games and then preview and download icons that you want. After that, you can apply any icon to any installed title of your switch and replace the original. In order for them to be displayed, you need to use sys-tweak though.

The Switch default icons are 256x256 but the tool will automatically resize any downloaded sizes to fit. This means you can use 512x512 or 1024x1024 icons (works best with 1:1 ratio). Once you applied a custom icon to a game, you need to restart the console for it to take effect.

To use this tool, you must create an API key here and use it. Otherwise you will not be able to find games or icons.

If you dont want to use the Switch keyboard to type the key, you can use/create the config file
Code:
/config/icongrabber/config.json
with the content:
Code:
{
"api_token": "",
"resolution_id": 5,
"style_id": 0
}



Download on Github

Note: The code isn't the cleanest. PRs are welcome!
Note: I was only able to test this on 2 consoles. I expect things to break. Please open an issue if it does.





Some of you might have noticed that this isn't new. Custom game icons existed for a while now and even tools to "generate" them. But they all required a PC to use and couldn't be operated just from the switch. The reason i created this is to have a more streamlined and easy way to change icons.

THEME TEASER

And there is another thing (and this is where the fun actually begins): There are some Vertical icon themes but the resources are quite old and are written very poorly. This tool probably works with them too but i never found docs on their aspect ratios and so on. This is why i am developing my own vertical icon theme (2:3 ratio). Here is a little teaser (with custom icons from IconGrabber):

2021081518192400-57B4628D2267231D57E0FC1078C0596D.jpg


The Icons were downloaded with a resolution of 600x900. you must have a special theme for it to work. The Theme is in active development and will be shared soon.
 
Last edited by Slluxx,

Slluxx

GBATemp Mayor
OP
Developer
Joined
Jul 17, 2019
Messages
489
Trophies
0
XP
1,571
Country
Germany
Setup my API, but when I search (manually or using the game names) no icons show up.
Either the API key is wrong or the game doesnt have any icons in the resolution you selected. What game are you trying to search icons for?


This is awesome tks!

Can you make so i can select an image file from sd?

you could place your icons in `sdmc:/gameIcons/full/` and they should appear in the local icons menu
 
Last edited by Slluxx,
  • Like
Reactions: Cardellos

lieder1987

Well-Known Member
Member
Joined
Sep 24, 2017
Messages
212
Trophies
0
XP
1,868
Country
United States
Either the API key is wrong or the game doesnt have any icons in the resolution you seleted. What game are you trying to search icons for?

I tried several games and several resolutions, and they all say there are none. Ill try and manually input the key, I made the JSON file, and see if that helps.

Also using the manual function worked great.
 
Last edited by lieder1987,

HoTsHoTz79

GIC-Developer
Member
Joined
May 9, 2018
Messages
322
Trophies
0
Age
38
XP
953
Country
Canada
Nice, glad to see another project for custom icons

There are some Vertical icon themes but the resources are quite old and are written very poorly. This tool probably works with them too but i never found docs on their aspect ratios and so on

If by any chance, you are referring to the themes / GIC Tool I made in the past; both @SodaSoba and I created quite detailed and thorough guides posted on github/gbatemp/reddit ... and as for the aspect ratios, I see that i've only had it documented on my reddit posts... please see below if it helps;

For this Vertical Theme:
256 x 422
X: 1.0, Y: 1.65
Y : 256 x 1.65 = 422
106550700-aa267b80-64e1-11eb-9995-b5a4d5637928.jpg


And for this Horizontal Theme:
256 Height x 400
106550927-228d3c80-64e2-11eb-8576-46dfdb7b9c0d.jpg
 
Last edited by HoTsHoTz79,

Slluxx

GBATemp Mayor
OP
Developer
Joined
Jul 17, 2019
Messages
489
Trophies
0
XP
1,571
Country
Germany
Nice, glad to see another project for custom icons



If by any chance, you are referring to the themes / GIC Tool I made in the past; both @SodaSoba and I created quite detailed and thorough guides posted on github/gbatemp/reddit ... and as for the aspect ratios, I see that i've only had it documented on my reddit posts... please see below if it helps;


Ah, well. I found several pages across several platforms and there has been enough information to get started but it wasnt in a good readable format (atleast in my personal opinion). Also the content/layout/how information is presented on each page i found was vastly different. And i still dont know why exactly you chose this resolution. Apart from that, i didnt like the themes. especially the rounded corners and large gap between image and cursor. I made my own theme in a 2:3 ratio and i hope this ratio (or atleast working with ratios in general) will be the future of this.

My plan is to release a few themes that work hand in hand with this tool and cover all kinds of styles.
 
  • Like
Reactions: lordelan

HoTsHoTz79

GIC-Developer
Member
Joined
May 9, 2018
Messages
322
Trophies
0
Age
38
XP
953
Country
Canada
yeah perfectly understand, everyone has different taste.

I just ran this tool and works smoothly, great job! Originally this was my idea as well; to make an nro that searches steamgriddb or mobygames and install directly, but couldn't program because of CPP

Question: Any plans to add more sites? (example; https://www.mobygames.com/info/api) or even google search?
 
  • Like
Reactions: lordelan and Slluxx

Slluxx

GBATemp Mayor
OP
Developer
Joined
Jul 17, 2019
Messages
489
Trophies
0
XP
1,571
Country
Germany
yeah perfectly understand, everyone has different taste.

I just ran this tool and works smoothly, great job! Originally this was my idea as well; to make an nro that searches steamgriddb or mobygames and install directly, but couldn't program because of CPP

Question: Any plans to add more sites? (example; https://www.mobygames.com/info/api) or even google search?

first i will add a true gallery instead of those tabs with tiny preview window. after that i think about rewriting it and supporting multiple hosts. google will probably not be supported because i can not filter it that good and their api seems to be overkill to have in a homebrew app.
 

ScarletDreamz

[Debug Mode]
Member
Joined
Feb 16, 2015
Messages
3,968
Trophies
1
Location
/dev/sda1
XP
4,308
Country
United States
first i will add a true gallery instead of those tabs with tiny preview window. after that i think about rewriting it and supporting multiple hosts. google will probably not be supported because i can not filter it that good and their api seems to be overkill to have in a homebrew app.
Just as a suggestion, how about adding google the way @Cluster did on Hakchi2? btw love the idea of this project :)
 
  • Like
Reactions: lordelan

HoTsHoTz79

GIC-Developer
Member
Joined
May 9, 2018
Messages
322
Trophies
0
Age
38
XP
953
Country
Canada
  • Like
Reactions: lordelan and Slluxx

Slluxx

GBATemp Mayor
OP
Developer
Joined
Jul 17, 2019
Messages
489
Trophies
0
XP
1,571
Country
Germany
oh very cool, I wasn't able to figure out how to resize icons in All Apps
looking forward to the finished thing so i can update my themes as well

Its really tricky, because if you remove the whole UI, the images have to move up to fill the blank space. but then the selection doesnt really work anymore because the switch expects the "current main row" to be dead center and not shifted, which causes weird bugs and the viewport jumps around. i have not fixed that yet
 
Last edited by Slluxx,
General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: Now I want to Google that but I'm afraid lol