DS3: Add the Dark Souls 3 World into Archipelago (#769)

This commit is contained in:
Ludovic Marechal
2022-07-20 12:48:14 +02:00
committed by GitHub
parent 45aea2c8ff
commit 8ff2c1b6f3
9 changed files with 1172 additions and 0 deletions

View File

@@ -78,6 +78,8 @@ def download_slot_file(room_id, player_id: int):
fname = f"AP_{app.jinja_env.filters['suuid'](room_id)}_SP.apv6"
elif slot_data.game == "Super Mario 64":
fname = f"AP_{app.jinja_env.filters['suuid'](room_id)}_SP.apsm64ex"
elif slot_data.game == "Dark Souls III":
fname = f"AP_{app.jinja_env.filters['suuid'](room_id)}.json"
else:
return "Game download not supported."
return send_file(io.BytesIO(slot_data.data), as_attachment=True, attachment_filename=fname)