Slluxx / IconGrabber

GNU General Public License v3.0
30 stars 8 forks source link

Error trying to apply an icon in Mario Odyssey #5

Open mxarment opened 1 year ago

mxarment commented 1 year ago

"Se ha cerrado el programa debido a un error" The program was closed due to an error

Slluxx commented 1 year ago

Not much i can do with that little information. Did you try a different icon?

mxarment commented 1 year ago

Yes, every icon make the game crash but only that game, I had no problem with others I also try to reinstall the game and to try another version of it but nothing works Just opening an issue here in case you know of this because i think the problem has to be the game itself IMG_20230803_012328

Slluxx commented 1 year ago

I will test this later with the game.

sodasoba1 commented 1 year ago

This a very unusual error, are you using the latest version of sys-tweak

mxarment commented 1 year ago

This a very unusual error, are you using the latest version of sys-tweak

yes, I think so. I'm fairly new, I hacked the switch and install everything just a week ago but I dont remember how I installed sys-tweak but Im 99% sure is the last one

Slluxx commented 1 year ago

yes, I think so. I'm fairly new, I hacked the switch and install everything just a week ago but I dont remember how I installed sys-tweak but Im 99% sure is the last one

Where did you get it from? sys-tweak is not downloadable from the original repository for months now so wherever you got it from, it very well can be an outdated version.

Attached is a private build i made 2 weeks ago.

Download, extract, rename to exefs.nsp and overwrite yours in /atmosphere/contents/00FF747765616BFF/ sys-tweak.nsp.zip

mxarment commented 1 year ago

thank you for the file. I just updated it and it still gives me the same error :/ Because it is a very specific problem with a game only It doesnt matter if we cant figure out the issue

Thank you for giving me support and for the app :)

rlaphoenix commented 1 year ago

Can you try go into Data Management -> Software -> Mario Odyssey -> Check for Corrupted Data and see if that is the reason?

mxarment commented 1 year ago

Can you try go into Data Management -> Software -> Mario Odyssey -> Check for Corrupted Data and see if that is the reason?

I'm sorry I didn't answer sooner, I finally managed to solve it. For some reason square resolutions other than 256*256 trigger the error, I tried it in another game and the same thing happened. Captura de pantalla 2023-08-06 004732 (Right side is the icon that fails to load, the other ones are the icon of another games I used to compare)

Changing the resolution and with 24 bits of depth I put the icon in the folder of mario oddysey, in atmosphere/contents/0100000000010000 with the name of «icon». Captura de pantalla 2023-08-06 011311

Doing this manual change everything worked perfectly, thank you very much for the help these days.

rlaphoenix commented 1 year ago

While this is expected, it's not expected for the icon file downloaded by IconGrabber to be anything other than 256x256. Are you saying IconGrabber downloaded and saved the icon as 400x400?

Slluxx commented 1 year ago

@mxarment just like @rlaphoenix said, this is expected behavior and has nothing todo with icongrabber unless icongrabber actually did not convert the size.