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)
2019-12-11 01:04:02 -05:00
[![Python Version ](https://img.shields.io/pypi/pyversions/Django.svg )](https://www.python.org/downloads/) [![PyPI license ](https://img.shields.io/pypi/l/ansicolortags.svg )](https://opensource.org/licenses/MIT) [![PyPI version ](https://badge.fury.io/py/RetroUFO.svg )](https://pypi.org/project/RetroUFO/)
2018-10-15 22:48:32 -04:00
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-12-11 00:33:48 -05:00
### Installation
The package can be installed via pip:
```bash
2019-12-11 00:37:00 -05:00
python -m pip install --user RetroUFO
2019-12-11 00:33:48 -05: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
2019-12-11 00:33:48 -05:00
RetroUFO
2018-10-15 22:48:32 -04:00
```
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
2019-12-11 00:33:48 -05:00
_(Which is only Linux, macOS, & Windows for right now)_
2018-10-21 03:10:31 -04:00
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
2019-12-11 00:33:48 -05:00
RetroUFO --help
2018-10-21 03:10:31 -04:00
```
2019-03-06 08:51:48 -05:00
### Usage-GUI
2019-12-11 00:33:48 -05:00
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 if you plan to run the script manually:
2019-03-06 08:51:48 -05:00
```bash
2019-12-11 00:37:00 -05:00
python -m pip install --user PySide2
2019-03-06 08:51:48 -05:00
```
2019-12-11 00:33:48 -05:00
2019-03-06 08:51:48 -05:00
After that you can just run the script like so:
```bash
2019-12-11 00:33:48 -05:00
RetroUFO_GUI
2019-03-06 08:51:48 -05:00
```
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
2019-12-11 00:33:48 -05:00
- ~~Make a PyPi package~~