Atmosphere: fs mitm causes some games to crash upon launch

Created on 9 Sep 2018  路  9Comments  路  Source: Atmosphere-NX/Atmosphere

for example, the messanger is one that i know of.

Most helpful comment

Actually, a better work around would be just to not activate LayeredFS if there's no mods present on the SD card. Example tested and working here: https://github.com/Reisyukaku/NX_Sysmodules/blob/3c12add04883b893698cfa04451c834e34bcbe66/fs_mitm/source/fsmitm_service.hpp#L24-L33

Which honestly I think should be the default behavior anyway. Why should FSMITM be active if there's no files on the SD to redirect?

All 9 comments

It also causes some older games to crash if you have many files.

For example, simply extracting Splatoon 2's entire romfs and applying it back with layeredfs (no updates or dlc installed) will cause it to crash on startup.

Yeah, this is because fs.mitm doesn't use domains at present. It's planned for the future but a lot of work.

Also games can not start if there are 8 or more DLC installed.

Could we get a temporary work around? An anti-flag to disable LayeredFS on certain trouble titles?

        static bool should_mitm(u64 pid, u64 tid) {
            if tid >= 0x0100000000010000ULL && Utils::HasSdMitMDisFlag(tid)
                return false;
            return tid >= 0x0100000000010000ULL || Utils::HasSdMitMFlag(tid);
        }

we probably could, yeah

MITM causes the bedrock Minecraft to crush. If you touch the store. Would this workaround prevent that?

And if this can be configured through text file (I mean tid list) it can be perfect solution for now.

Actually, a better work around would be just to not activate LayeredFS if there's no mods present on the SD card. Example tested and working here: https://github.com/Reisyukaku/NX_Sysmodules/blob/3c12add04883b893698cfa04451c834e34bcbe66/fs_mitm/source/fsmitm_service.hpp#L24-L33

Which honestly I think should be the default behavior anyway. Why should FSMITM be active if there's no files on the SD to redirect?

This is even better!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MySTiXX666 picture MySTiXX666  路  4Comments

melsbacksfriend picture melsbacksfriend  路  3Comments

sigboe picture sigboe  路  3Comments

Skonikol picture Skonikol  路  4Comments

SciresM picture SciresM  路  4Comments