exelix11 / SwitchThemeInjector

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

NXTheme No Backgrounds, and Settings Crash #18

Closed FrameEnder closed 5 years ago

FrameEnder commented 5 years ago

I'm on FW 6.2 running ReiNX 2.0, and I'm using the latest 1.2 build of NXTheme, I have all my keys dumped, and I extracted the Home Menu to be able to install 6.x theme's, but whenever I do none of the backgrounds seem to show up, I don't see a common.szs in the title folder, only the resident menu layout changes, and for whatever reason if I try to install a NXtheme to the settings it crash's the console when I try to load into the settings app.

Here are the theme's I use, IDK what else to offer to resolve this issue.

Theme.zip

exelix11 commented 5 years ago

Mh... i never heard of a similar issue, which cfw do you use and is your sd exFat or Fat32 ? Tbh I'd say it's sd corruption but it seems a bit odd cause the layout and the bntx are in the same szs, it's unlikely that only the image is corrupted. Try deleting the systemData folder in the themes folder on your sd and dumping again the home menu. Then try this theme it's the one i use to test and it works for sure (Even tho the files you linked seem fine, this is just to be safe). About settings crashing after installing a theme it's known to happen if you don't reboot.

Edit: Also make sure your cfw is up to date.

FrameEnder commented 5 years ago

I'm using the latest 2.0 ReiNX, running ExFat (I'm using a 128gb SD, so no Fat32 support), I just tried the test NXTheme file, but like before the background didn't change just the layout, and so you know the settings only crashes in my case when I inject Any NXtheme files related to setting themes, and yes even after rebooting it would still crash, which somehow seems to be persistent even if I "delete" the theme with the option in NXTheme Installer, only being fixed when I manually delete the lyt folder on my SD Card.

if it helps here's the 0100000000001000 folder, I uploaded it after injecting a full set of NXTheme's, and tested to see if the same issues showed up, and they did, so maybe it'll be of some use?

EDIT: I also tested to see if the Settings Still crashed after I used the Delete Option, and it's still happening as of now, so it's repeatable on my end after rebooting several times.

FrameEnder commented 5 years ago

I also took sometime to setup another SD Card with Fat32 to see if my 128gb SD Card might have been corrupting as I dunno exfat has its issues, and I loaded up ReiNX 2.0, and Atmosphere 0.8.2, it still gave me similar issues [No Background IMG, and Settings Crashing] even when I rolled the NXTheme Installer version from from 1.2 to 1.1, and even 1.0

Here is the Atmosphere Crash Report, which should show what's at least going on with the settings app

00486032579_0100000000001000.log

Also Thread Info? Dunno just trying to supply you with ample info on whatever I find

dumps.zip

akaithemes commented 5 years ago

So I checked your 01000000001000 folder and I tested it, and I crashed on the settings and got the Homescreen withouth any image, and to fix this I just deleted the folder exefs (I'm using atmosphere) and I booted again and I got the background image back to the homescreen and when I opened the settings and I didn't crash again.

You really don't need that many things inside of the 0100000000001000 (other than some files that comes with atmosphere) the rest is just space used. Try deleting that folder.

FrameEnder commented 5 years ago

Thank-you deleting that folder fixed the issue, I guess it's a remanence of an earlier theme patching method, or SDFiles repack, TBH I've not changed my Switch SD since the scene started, so I guess that'll happen.. I dunno why I didn't think of just emptying my entire 0100000000001000 folder surely NXTheme Installer would fill in all the required files anyway.

Thanks Again, I suppose we can close this issue now then.