2018-10-15 22:48:32 -04:00
# RetroUFO
2019-03-06 08:52:45 -05:00
[![Platform ](https://img.shields.io/badge/platform-linux%20%7C%20macos%20%7C%20windows-yellow.svg )](https://www.youtube.com/watch?v=NLGoKxh8Aq4)
2018-10-15 22:48:32 -04:00
[![Python Version ](https://img.shields.io/pypi/pyversions/Django.svg )](https://www.python.org/downloads/) [![License. ](https://img.shields.io/github/license/mashape/apistatus.svg )](https://opensource.org/licenses/MIT)
2018-10-15 22:54:53 -04:00
A ~~messy~~ Python script that grabs the latest version of every libretro core from the [build bot ](https://buildbot.libretro.com/ ).
2018-10-21 03:10:31 -04:00
2018-10-15 22:48:32 -04:00
***
2019-03-06 08:51:48 -05:00
### Usage-CLI
2018-10-15 22:48:32 -04:00
Just run the script with _Python 3_ :
```bash
python3 ./RetroUFO.py
```
2018-10-21 03:10:31 -04:00
It will then download and extract all the latest versions of each core to their default location based on `retroarch.default.cfg` for each platform
_(Which is only Linux & Windows for right now)_
If you are more of a advance user, and want to do things a bit more manually, you can view all the scripts arguments by:
```bash
python3 ./RetroUFO.py --help
```
2019-03-06 08:51:48 -05:00
### Usage-GUI
The GUI script uses [Qt for Python ](https://wiki.qt.io/Qt_for_Python ) ([PySide2](https://pypi.org/project/PySide2/)). So you can make sure you have that package installed by running:
```bash
pip3 install --user PySide2
```
After that you can just run the script like so:
```bash
python3 ./RetroUFO_GUI.py
```
You can then just click the `Grab Cores` button at the bottom and then you should be all set.
2019-03-06 09:13:17 -05:00
![](screenshots/grab_cores.gif)
2019-03-06 08:51:48 -05:00
If you would like to grab cores for a different platform or architecture you can override which supported cores it grabs.
2019-03-06 09:13:17 -05:00
![](screenshots/custom_platform.gif)
2019-03-06 08:51:48 -05:00
If you have your core directory set somewhere special you can override where the cores extract to.
2019-03-06 09:13:17 -05:00
![](screenshots/custom_location.gif)
2018-10-21 03:10:31 -04:00
2018-10-15 22:48:32 -04:00
***
### TO-DO
2018-10-21 03:10:31 -04:00
- Set where cores are downloaded
- ~~Set where cores are extracted for RA Usage~~
- ~~Choose which architecture you are downloading format~~
- ~~Choose what platform you are downloading format~~
- ~~Auto detect platform & architecture~~
2018-10-15 22:48:32 -04:00
- Download progress bar
2018-10-16 00:29:45 -04:00
- ~~Keep downloaded archives~~
2019-03-06 08:54:27 -05:00
- ~~Make GUI~~
2018-10-21 03:10:31 -04:00
- Real error handling
2019-03-06 08:51:48 -05:00
- Support for ARM detection