This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Creates a list of all supported softlist systems in MAME/MESS using them with python. Quick and dirty | |
# As described here: https://forums.libretro.com/t/guide-play-non-arcade-systems-with-mame-or-mess/17728/ | |
# Using re, requests, and pandas | |
import pandas as pd | |
import re, requests, xmltodict | |
from pathlib import Path | |
with requests.get('https://github.com/mamedev/mame/tree/master/hash') as url: | |
hash_files = [x for x in re.findall('{"name":".*?","path":"hash/(.*?)","contentType":"file"}',url.text) if x.endswith('xml')] | |
softlists = list() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
._* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Creates dummy files for use with MAME software lists that can play games using them with python. Quick and dirty | |
# As described here: https://forums.libretro.com/t/guide-play-non-arcade-systems-with-mame-or-mess/17728/ | |
# Using pathlib and xmltodict https://pypi.org/project/xmltodict/ | |
from pathlib import Path | |
import xmltodict | |
import requests | |
folder = Path('.../neocdz/') #Path to where the dummy files should be generated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<datafile> | |
<header> | |
<emu_name>Dropbox Example</emu_name> | |
<emu_description>Dropbox Example</emu_description> | |
<emu_category>Nintendo, 8 Bit, My Test</emu_category> | |
<emu_version>01012019</emu_version> | |
<emu_date>01/01/2019</emu_date> | |
<emu_author>Zach Morris</emu_author> | |
<emu_visibility>visible</emu_visibility> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<datafile> | |
<header> | |
<emu_name>Google Drive Example</emu_name> | |
<emu_description>Google Drive Example</emu_description> | |
<emu_category>Nintendo, 8 Bit, My Test</emu_category> | |
<emu_version>01012019</emu_version> | |
<emu_date>01/01/2019</emu_date> | |
<emu_author>Zach Morris</emu_author> | |
<emu_visibility>visible</emu_visibility> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Simple python script to install latest retroarch cores from buildbot | |
#To use this script, edit the settings below and from the command line, call python "...path_to_file/download_buildbot_cores.py" | |
## Script settings | |
#Buidbot URL for your system | |
buildbot_url = 'http://buildbot.libretro.com/nightly/apple/osx/x86_64/latest/' | |
#Temporary directory to download files to, you must have write access to this directory | |
temp_directory = '/Users/enter_username_here/Downloads/temp_cores' | |
delete_temp_directory_after_complete = False |