RiiConnect24/RiiTag-RPC

Support game names for non-Wii consoles

malmeloo opened this issue · 1 comments

Right now RiiTag-RPC only fetches the GameTDB database for Wii titles, which means that it will simply show the game ID whenever it encounters another title. This can be fixed by downloading the database for other consoles as well, and adapting the shown image to be an image of the proper console instead.

Relevant strings of code:

def download_titles(self):
if not path.exists("cache/titles.txt"):
f = open("cache/titles.txt", "w", encoding='utf8')
f.write(requests.get(TITLES_URL, headers=HEADERS).text.encode('utf8').decode('ascii', 'ignore'))
f.close()

'large_image': 'console_wii',

WiiTDB databases:

Only Wii U should be done because 3DS-RPC can do 3DS games without you having to run a program.