exelix11 / SwitchThemeInjector

Create custom themes for the nintendo switch !
GNU General Public License v2.0
946 stars 60 forks source link

How to have better quality images? #146

Open Cartasiane opened 7 months ago

Cartasiane commented 7 months ago

I export my JPEG in high quality and have a good preview, but when I build & Upload the theme I have weird quality issue.

Example: Source: lock Result: 2024012316002600_s 2 jpg

exelix11 commented 7 months ago

That is not possible at the moment due to the image encoding format.

The wallpaper texture is encoded to dxt1 which is known to have that kind of artifacts on color gradients. Switch does support better encodings but last time I tried it would produce files too big and crash on boot.

I don't know if anything changed with recent firmwares, you can try your luck by manually editing the texture in the bntx file inside the theme szs that is produced after patching but your mileage may vary.