From 0c80cd017f6213a5480c2e3e0e407bdb98b9afc2 Mon Sep 17 00:00:00 2001 From: jtoyoda Date: Sat, 21 May 2022 11:28:31 -0600 Subject: [PATCH] Adding in error message for FF1 if player name is empty in the ROM --- FF1Client.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/FF1Client.py b/FF1Client.py index f9f4d00e..2b406ceb 100644 --- a/FF1Client.py +++ b/FF1Client.py @@ -187,6 +187,9 @@ async def nes_sync_task(ctx: FF1Context): asyncio.create_task(parse_locations(data_decoded['locations'], ctx, False)) if not ctx.auth: ctx.auth = ''.join([chr(i) for i in data_decoded['playerName'] if i != 0]) + if ctx.auth == '': + logger.info("Invalid ROM detected. No player name built into the ROM. Please regenerate" + "the ROM using the same link but adding your slot name") if ctx.awaiting_rom: await ctx.server_auth(False) except asyncio.TimeoutError: