Running into crashes only on Xenoblade Chronicles 2

Discussion in 'Switch - Exploits, Custom Firmwares & Soft Mods' started by Oracleofire, Sep 13, 2018.

  1. Oracleofire
    OP

    Oracleofire Advanced Member

    Newcomer
    3
    Mar 14, 2009
    United States
    A bit of a strange issue that seemingly no one else has (I've done some searching). I have a 1.0.0 switch choidujour'ed to 5.1.0 that runs atmosphere w/ sigpatches via hekate + tumGER's latest sdfiles. all of my software is installed onto the sd card through tinfoil as nsps acquired through cdnsp. of the 20 or so titles I have tested out, every single one of them performs flawlessly, every single one except XBC 2, the only title that gives me a strange and reproducible error and crashes.

    the game is locked into either docked or handheld mode. starting the game in one mode, then switching to the other (whether returning to the home menu, then dock/undocking and resuming, or going to sleep mode, dock/undocking, then resuming the game, or docking/undocking directly during gameplay, or any combination of those), throws up an error and crashes the system, 100% of the time. I can start the game in one mode, return to home menu, dock/undock and wake up the system without resuming, then dock/undock (reverting back to the first mode) and resume and the system won't crash. It seems to be XBC 2 itself, and specifically resuming it in a mode other than the mode the game was booted in, that crashes the system. I can put the system into sleep in one mode and safely resume in the same mode without a crash.

    The error is 2011-0301. Bizarrely, Google searches tell me this is an error that involves the wifi. I don't understand how this specific error would be triggered in the situations that cause the crash for me. Additionally, I have never added any wifi networks on my system, and the dock/undocking error behavior is consistent even if I have airplane mode on/off.

    Earlier, I discovered another trigger for the crashes. The system will crash if XBC 2 is running and I return to home menu and click the controllers tab. It will crash before the controllers screen opens, whether in docked or undocked mode, again, 100% of the time. It is the same error: 2011-0301.

    No other software I have installed behaves like this. They can all transition seamlessly between docked/undocked mode, open the controllers tab, etc. Needless to say, i'm quite confused about this issue. There are a lot of smart people on GBAtemp with much greater understanding of the system than myself. Does anyone have any idea what is going on? Am I the only one with this issue?
     
  2. crissal

    crissal GBAtemp Regular

    Member
    3
    Dec 3, 2017
    Italy
    Reinstall the game, probably there are corrupted data
     
  3. MorningBlunt

    MorningBlunt Member

    Newcomer
    2
    Jun 11, 2017
    Yeah try reinstall. Also try toggling wifi on/off and see what that does?
     
  4. ZachyCatGames

    ZachyCatGames GBAtemp Maniac

    Member
    7
    Jun 19, 2018
    United States
    Hell
    Disable LayeredFS, it can cause crashes
     
  5. Oracleofire
    OP

    Oracleofire Advanced Member

    Newcomer
    3
    Mar 14, 2009
    United States
    thanks for the replies guys. yeah i'll try reinstalling, it's something i know i should've tried but have been avoiding just because the file size is so big lol. i'll report back after it's done.

    thanks for this. could you tell me more about LayeredFS? The only thing I know about it is that it's something that can be used for mods and a very old method of backup loading. Is it enabled by default? How do i disable it?
     
  6. Fgamer

    Fgamer Advanced Member

    Newcomer
    3
    May 26, 2012
    The simple answer is to remove any fs_mitm.kip modules from your microSD card and LayeredFS will be disabled. Whether it's enabled by default or not depends on which cfw you are using and your config.
     
    Last edited by Fgamer, Sep 13, 2018
    Oracleofire likes this.
  7. ZachyCatGames

    ZachyCatGames GBAtemp Maniac

    Member
    7
    Jun 19, 2018
    United States
    Hell
    LayeredFS is for modding, but it’s kinda buggy and causes some games to crash (even when your not using mods). You can disable it by removing fs_mitm.kip from whatever launch option your using
     
    Oracleofire likes this.
  8. Oracleofire
    OP

    Oracleofire Advanced Member

    Newcomer
    3
    Mar 14, 2009
    United States
    You guys are awesome, i disabled LayeredFS and it seems to have solved the problem. thanks! i didn't know it could cause these kinds of issues even when not running mods. i have another question: is LayeredFS used for anything other than mods? Are there any downsides to leaving it disabled if i don't plan to run any mods in the near future?
     
    ZachyCatGames and Fgamer like this.
  9. Fgamer

    Fgamer Advanced Member

    Newcomer
    3
    May 26, 2012
    LayeredFS is designed to run modified versions of any files in the romfs of a title (where title data is located). For unknown reasons the current LayeredFS modules (fs_mitm.kip) are causing crashing in some games even if they aren't using LayeredFS. So if you aren't making use of any LayeredFS mods/translations/injections etc then it won't affect you to disable it.
     
    Last edited by Fgamer, Sep 13, 2018
  10. ZachyCatGames

    ZachyCatGames GBAtemp Maniac

    Member
    7
    Jun 19, 2018
    United States
    Hell
    It's only intended purpose is for mods, so if you don't intend on using mods there's no reason to have it enabled

    Actually it is known exactly what makes some games crash :P https://github.com/Atmosphere-NX/Atmosphere/issues/202
     
    Fgamer likes this.
  11. cac0714

    cac0714 Member

    Newcomer
    2
    May 26, 2018
    United States
    Are LayeredFS modules built into the SX OS?
     
Loading...