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
Daybreak will fail to validate Updates with Mac OS ._ files present #1487
Comments
Add Nintendo Switch drive to MacOS exception list so it won't index files on sdcard. |
Yeah, this is one of those cases where the best I can say is "don't use macOS", macOS also sets archive bits on atmosphere/nintendo folders silently which breaks shit. |
In case it came off wrong: I don’t need support in getting it to run using Mac OS, everything is working fine for me. I was merely proposing a way to prevent future users for running into that gotcha, if only via a note in the readme :) |
You can use the free CleanMyDrive for example. |
Windows by itself doesn't create files on external drives by default. So it would happen only because user has screwed configuration or it's using some external app. |
Yeah, windows/Linux don't create files that way. |
Again, I do not need help in deleting hidden files or software recommendations, I've already solved this problem for me and even provided a solution in my first post.
From my what I've gathered, not only Mac OS, but also Windows and some Linux Desktop distributions at least have the potential to create hidden files in some configurations. Those could easily be copied to the external drive by accident. Users might also get the update files from an aggregator that provides a readme.txt or something like that. Daybreak already manually catches the |
Officially windows doesn't create index files inside folders. It creates only one db file for folders with images that have created thumbnails. But update folder doesn't have images, so this point is not touching daybreak. If something is created inside folders except for this file, then this is not Windows fault.
Daybreak supports only dumps from user's Switch itself. Any other source is out of scope for daybreak development. |
I want to apologise if my suggestion has offended you or anyone else here. There is no need to be defensive, I never wanted to imply that there was something wrong with any part of Atmosphere or your OS of choice. |
So, rather than continuing this passive aggressive approach where you submit an issue and apparently expect something to be done perhaps you could submit a PR to this open source project with the changes you'd like to see. |
I am perfectly willing to do so if within my skills, but unsure which approach - if any - is the right one, hence this ticket and me asking which solution would be preferred. I am not a native speaker, so I probably worded some things in a way that made it seem like a support request.
|
This works like a charm with 12.0.3! :) |
This response is far more passive agressive than anything else being send in this thread. A user encountered a problem, they were told and explained the reason and the answer, they are trying to help find a way to fix it so that other users don't encounter it. They aren't even necessarily asking for a software change, just for this to be documented somewhere or to not have it happen again. I see no passive agressiveness here besides your comment. As for potential solutions; wouldn't it be possible to make daybreak only scan for files with an nca/meta.nca extension in it's respective folders and that have a valid filename (since valid filenames are just hashes, that would just mean checking for a limited subset of characters)? That would be the cleanest and would help avoid any sort of random file generation due to systems trying to index folders/file managers trying to store extra information about a folder. That would in my eyes be the cleanest way to avoid this from being a problem. |
I don't actually think there's a problem here -- Daybreak is a strict reimplementation of the official gamecard update partition installation process, and fails on the same cases that official gamecard update installation would fail. Keeping it this way is my preference. Frankly, my advice is as before: don't use macOS, which already causes other issues with archive bits. If you wanted to PR a special warning message in Daybreak when there are extra files, that would probably be accepted. I also found the OP's comments to be passive aggressive, on the record, particularly in the context of their necro-ing a closed issue from over a month ago. |
What's the issue you encountered?
Daybreak will throw an error of "Failed to get update information, Result: 0x00234a02" when selecting a valid update folder if Mac OS metadata files (
._filename
) are present.How can the issue be reproduced?
Copy update folder from a Mac OS HFS+ partition to an ExFat/FAT32 SD card, try to run update.
Crash Report
N/A
System Firmware Version
10.0.4
Environment?
Additional context?
Not sure if altering the validation routine to ignore those kind of meta files is feasible or might even be dangerous - maybe the error message could be amended to provide information that unexpected additional files were detected?
Maybe it could be documented somewhere for Mac users to run
dot_clean /Volumes/SDCARD
after copying, or at least to be on the lookout for those kind of hidden junk files.The text was updated successfully, but these errors were encountered: