Add controller config, multi lang achievements, DLC to generate_emu_config.

This commit is contained in:
Mr_Goldberg 2022-08-07 23:10:03 -04:00
parent 5ce4ac8429
commit e0726f2e9d
No known key found for this signature in database
GPG key ID: 8597D87419DEF278
3 changed files with 207 additions and 115 deletions

View file

@ -4,8 +4,6 @@ import os
import json
language = 'english'
STAT_TYPE_INT = '1'
STAT_TYPE_FLOAT = '2'
STAT_TYPE_AVGRATE = '3'
@ -35,11 +33,6 @@ def generate_stats_achievements(schema, config_directory):
x = 'description'
if x == 'Hidden':
x = 'hidden'
if type(value) is dict:
if language in value:
value = value[language]
else:
value = ''
out[x] = value
out['name'] = ach['name']
if 'progress' in ach: