Does not show icon.jpg on sideloaded .nro
iUltimateLP opened this issue · comments
Hey, when developing a homebrew app I recognized that the icon.jpg is not shown in the hbmenu (and instead a switch with an exclamation mark) when transferring it either via nxlink or placing the .nro on the SD card? Is that a bug or a mistake from my side? I do have a icon.jpg placed next to the makefile and also set the path in the makefile.
Thanks!
https://github.com/switchbrew/nx-hbmenu#credits This library doesn't ...
Hmm it's a totally normal .jpg I saved in Photoshop, and since when was JPG ever lossless? Strange...
aka "progressive"
It needs to be 256x256 https://github.com/switchbrew/nx-hbmenu/blob/master/icon.jpg
Thanks, that was it
Btw using fsInitialize/fsExit from an app is not needed, it's done automatically...(see fs/ examples)
Isn't capsaLoadAlbumFile/{caps*} usable for your use-case, instead of manually accessing Bis?
Thanks for the tip.
It would be usable, but there is no real advantage in copying over the data from capsaLoadAlbumFile into a buffer and then send it along the socket if the files are present (other than it might be more performant than finding the filenames right now since I haven't figured the game ID encryption in the screenshot filename out yet).
caps* is the proper way to access it though, and you're already using capsa anyway...