Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ninfs 2.0 doesn't mount any image files for the DSi NAND #82

Open
RayyanAnsari opened this issue May 23, 2021 · 7 comments
Open

ninfs 2.0 doesn't mount any image files for the DSi NAND #82

RayyanAnsari opened this issue May 23, 2021 · 7 comments
Labels

Comments

@RayyanAnsari
Copy link

With ninfs 2.0a5, the files mounted are:

-rw-r--r-- 1 me None   1024 Jan  7 17:25 diag_area.bin
-rw-r--r-- 1 me None     64 Jan  7 17:25 nocash_blk.bin
-rw-r--r-- 1 me None 318464 Jan  7 17:25 stage2_bootldr.bin
-rw-r--r-- 1 me None   1024 Jan  7 17:25 stage2_footer.bin
-rw-r--r-- 1 me None    512 Jan  7 17:25 stage2_infoblk1.bin
-rw-r--r-- 1 me None    512 Jan  7 17:25 stage2_infoblk2.bin
-rw-r--r-- 1 me None    512 Jan  7 17:25 stage2_infoblk3.bin

However (with the same NAND) on ninfs 1.6.1, this is:

-rw-r--r-- 1 me None      1024 Jan 25 16:25 diag_area.bin
-rw-r--r-- 1 me None        64 Jan 25 16:25 nocash_blk.bin
-rw-r--r-- 1 me None    318464 Jan 25 16:25 stage2_bootldr.bin
-rw-r--r-- 1 me None      1024 Jan 25 16:25 stage2_footer.bin
-rw-r--r-- 1 me None       512 Jan 25 16:25 stage2_infoblk1.bin
-rw-r--r-- 1 me None       512 Jan 25 16:25 stage2_infoblk2.bin
-rw-r--r-- 1 me None       512 Jan 25 16:25 stage2_infoblk3.bin
-rw-r--r-- 1 me None 215945728 Jan 25 16:25 twl_main.img
-rw-r--r-- 1 me None  34301440 Jan 25 16:25 twl_photo.img
-rw-r--r-- 1 me None    214528 Jan 25 16:25 twl_unk1.img

You can see that it is missing the twl_main, twl_photo, and twl_unk1 image files.

@ihaveamac
Copy link
Owner

The reason this happens is because newer commits removed the separate partition files, with the intention of having just one that contains all the partitions. With the 3DS nand mount this means it would have ctrnand_full.img and twlnand_full.img, unlike GodMode9 (which ninfs bases most of its filenames on). Keeping both around means weird things can happen if both the "full" and "separate" files are written to at the same time. What I forgot though is that the TWL nand mount never had a similar file.

I think for TWL I will just re-add the partition files. Unless there is a better solution for this. I'm not really involved in DSi hacking currently.

@ihaveamac
Copy link
Owner

Re-added in 8b94147, leaving this open though as a reminder just in case.

@mariomadproductions
Copy link

I still get this issue after updating with python3 -m pip install --upgrade --user https://github.com/ihaveamac/ninfs/archive/2.0.zip.

@ihaveamac
Copy link
Owner

Can you try cloning the repo and running it from there?

@mariomadproductions
Copy link

That worked. Although running setup.py install then running ninfs in the path didn't work.

@ihaveamac
Copy link
Owner

Can you explain "didn't work"?

@mariomadproductions
Copy link

It behaved as it did before - I guess it didn't update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants