mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-19 16:17:49 -06:00
feat: hide an Android BIOS folder from the gallery
An install on Android leaves an empty .nomedia in the BIOS folder. MediaProvider hides a folder holding one and every folder below it (FileUtils.java:1587-1629, ModernMediaScanner.java:845-846, a183e2b9), and RetroArch writes none: the samples, overlays and videos of system/ showed in the gallery and music apps. --check and --dry-run write nothing.
This commit is contained in:
1 parent
ae5b6219bb
commit
ec407dfbdd
7 files changed
+113
-10
No files matched your search
@@ -101,6 +101,11 @@ Fill it from a computer or point `--from-pack` at your ZIP: [Without a network](
|
||||
`--from` copies BIOS files from an old card or backup:
|
||||
[Copy from an old card](installer.md#copy-from-an-old-card).
|
||||
|
||||
## BIOS pictures or sounds in my phone's gallery?
|
||||
|
||||
An empty file named `.nomedia` in the BIOS folder hides them. The installer
|
||||
adds it on Android: [Android](installer.md#android).
|
||||
|
||||
## My setup is not in the list
|
||||
|
||||
- Name your emulator's BIOS folder with `--dest`.
|
||||
|
||||
@@ -1461,6 +1461,13 @@ elsewhere. A custom BIOS directory is still named directly:
|
||||
python install.py --platform retroarch --dest /storage/emulated/0/RetroArch/system
|
||||
```
|
||||
|
||||
An install on Android leaves an empty `.nomedia` in the BIOS folder. Android's
|
||||
media scanner hides a folder holding one, and every folder below it
|
||||
(MediaProvider, `FileUtils.java` `isDirectoryHidden`), so the samples,
|
||||
overlays and videos of the BIOS folder stay out of the gallery and music
|
||||
apps. RetroArch writes none. A run that finds one already there leaves it,
|
||||
and `--check` and `--dry-run` write nothing.
|
||||
|
||||
## On a handheld { #on-a-handheld-the-retrobios-port }
|
||||
|
||||
RetroBIOS also runs on the handheld itself, in the
|
||||
|
||||
Reference in new issue
Block a user