https://github.com/theypsilon/_arcade-organizer
A script for organizing _Arcade for MiSTer
https://github.com/theypsilon/_arcade-organizer
Last synced: 11 months ago
JSON representation
A script for organizing _Arcade for MiSTer
- Host: GitHub
- URL: https://github.com/theypsilon/_arcade-organizer
- Owner: theypsilon
- License: gpl-3.0
- Created: 2020-05-27T21:42:50.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-18T21:53:25.000Z (about 2 years ago)
- Last Synced: 2024-06-19T03:55:25.625Z (about 2 years ago)
- Language: Python
- Size: 942 KB
- Stars: 36
- Watchers: 7
- Forks: 6
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# _arcade-organizer [](https://twitter.com/josembarroso) 
> [!IMPORTANT]
> This repository is archived and will no longer be updated. To use the latest Arcade Organizer, please access it via [Update All](https://github.com/theypsilon/Update_All_MiSTer). The new documentation is available [here](https://github.com/theypsilon/Update_All_MiSTer/blob/master/docs/arcade_organizer.md).
A simple script to automate organizing MiSTer's \_Arcade directory based on your MRA files.
These scripts do not duplicate any cores or mra files; only soft symlinks are used.
_Note: These sylinks only work on MiSTer. If you mount your SD card outside of MiSTer, these symlinks will not work._
This script looks at what MRA files you have, and the information in them, to organize MiSTer's `\_Arcade` directory.
If the XLM tags for _Year, Manufacturer, and Category_ are included in the MRA file, this script will create an `\_Organized` Directory in `\_Arcade` and will create the following sub-directories with soft sysmlinks to organize it:
```
_Organized
├── _1 A-E
├── _1 F-K
├── _1 L-Q
├── _1 R-T
├── _1 U-Z
├── _2 Year
├── _3 Manufacturer
└── _4 Category
```
## Features
**You can browse by:**
* Region
* Rotation (0-90-180-270 ± flip)
* Resolution (15-24-31kHz)
* Platform
* Series
* Move Inputs (8-way, 4-way, 2-way)
* Special Controls (spinner, wheel, etc)
* Number of Players
* Number of Buttons
* Decades
* Best-of Lists
* Homebrew
* Bootleg.
**"Top Additional Directories" toggle:**
Allows you to include the extra folders that you choose in the top level of the organized directory: Platform, Core, Year
**"Chronological Sorting at the Botom" toggle:**
By enabling this, every directory will include an additional chronologically sorted index at the bottom of the list.
**_Clean Folders_ sub-script:**
Can be run to delete all the Arcade Organizer folders
**MAD metadata support:**
- Support for the MAD metadata format allows improving the metadata of a game without having to change the game's MRA, being thus more flexible and lightweight.
- MAD database option: The new MAD_DB ini field allows you to you use different MAD databases with different metadata (for example, different categories).
- For resources for creating your own MAD database see: https://github.com/theypsilon/MAD_Database_MiSTer
## Instructions
Download the update_arcade-organizer.sh to the Scripts directory and run.
Alternately, run the [update_all.sh script](https://github.com/theypsilon/Update_All_MiSTer), and press Up on the keyboard to enter options, and access the arcade organizer suboptions which will look like this:

You can optionally toggle to activate/deactivate specific folders. Deactivating unwanted folders will boost the speed of the script.
**_Disclaimer:_**
You should back up your \_Arcade directory before running this script. Use at your own risk. This script comes with no warranty.
**_Note if you use non-default folder paths:_**
This script uses:
a DEFAULT LOCATION for `_Arcade` at `/media/fat/_Arcade`
_and_
a DEFAULT LOCATION for `\_Organized` at `/media/fat/_Arcade/_Organized`
If your `\_Arcade` directory is in a different location you MUST use a `/media/fat/Scripts/update_arcade-organizer.ini` file
If you're not using the default locations for `\_Arcade` and `\_Organized`, you must add their locations in `/media/fat/Scripts/update_arcade-organizer.ini`
## FAQ
**Q: How can I set my own custom locations for MRA and \_Organized Directories?**
A: A `/media/fat/Scripts/update_arcade-organizer.ini` file may be used to set custom location for your MRA files (Scans recursivly) and \_Organized files.
Add the following line to the ini file to set a directory for MRA files: `MRADIR=/top/path/to/mra/files/_Arcade`
Add the following line to the ini file to set a directory for Organized files: `ORGDIR=/path/to/organized/files/_Organized`
**Q:Will this script over write files I already have?**
A: NO, This script will not clober files you already have.
**Q: What If I get new MRA/Core files?**
A: You need to re-run the script to have them included in the Organized files.