parser.add_argument('rom',help='The ROM to use as a basis for extracting data.')
parser.add_argument('project',help='The project folder to extract data to, or compile data from.')
parser.add_argument('tables',nargs='*',help='Specify which tables to extract or compile, separated by spaces. If left empty, nothing will be extracted, or all tables in a project will be compiled. See the labels in https://git.ufeff.net/birdulon/ChocolateBirdData/src/branch/master/5/addresses_SNES_PSX.tsv for a list of values which may be used, though bear in mind things such as graphics and maps are currently not supported in a sensible way.')
args=parser.parse_args()
ifargs.project:
project_folder=args.project.rstrip('/')+'/'
project_folder_len=len(project_folder)
fromglobimportglob
fromconfigparserimportConfigParser
config=ConfigParser()
config['TabComp.Project']={'Game':'Final Fantasy V','Platform':'SNES','Region':'any'}