From 821e0a93fd0b2b0b1a77c59a3313e1617bc582dc Mon Sep 17 00:00:00 2001 From: "theo@manjaro" Date: Sat, 11 Nov 2023 13:37:44 -0500 Subject: [PATCH] Added a more explicit message in case of missing slot number --- SaveExtractor/saveextractor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SaveExtractor/saveextractor.py b/SaveExtractor/saveextractor.py index 3898183..49fce43 100644 --- a/SaveExtractor/saveextractor.py +++ b/SaveExtractor/saveextractor.py @@ -89,6 +89,8 @@ if __name__ == "__main__": if len(args) < 3 or isHelp(args): print(f"USAGE: python {args[0]} path/to/persistengamedata.dat slotnumber") + if len(args)==2: + print("ERROR: It seems like you forgot to specify the slot number you're importing from.") print("This will generate the following files:") print("\t- eid_savegames.lua , used by External Items Description (to be placed in EID's script folder)") print("\t- saveX.dat , used by Dead God Helper (to be placed in Dead God Helper data folder)")