From e44e8f16a5f08c041eb3e3e0575a2af6bd9c7a09 Mon Sep 17 00:00:00 2001 From: NCLanceman Date: Thu, 20 Nov 2025 00:55:02 -0600 Subject: [PATCH] minor planning --- doomstarter.py | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/doomstarter.py b/doomstarter.py index 7d27f50..f898009 100644 --- a/doomstarter.py +++ b/doomstarter.py @@ -3,11 +3,7 @@ import subprocess path = os.getcwd() -gameplaySettings = [] -mapsSettings = [] -miscSettings = [] -sourceSettings = [] -previousSettings = [] +# FIX: is this actually necessary? def menuPrinter(list): @@ -15,7 +11,6 @@ def menuPrinter(list): print(str(i) + ": " + list[i]) -# TODO: Make a single function that reads settings def settingsReader(mainDict, file): tempDict = {} currentSetting = "" @@ -44,6 +39,7 @@ def settingsReader(mainDict, file): elif (i == "[Last Used]"): currentSetting = "Previous" counter = 0 + # TODO: Compress/cut down this whole block if i: if (currentSetting == "Source Ports" and i[0] != '['): # sourcePortSettingsRead @@ -125,9 +121,6 @@ if not (os.path.isdir('gameplay') and os.path.isdir('maps') and os.path.isdir('m print("Folders Created! Now go forth and fill them! Return when you are ready to DOOM!") else: - # Load Config File - # settings = ((open("Settings.txt")).read()).splitlines() - # Load Config File and return populated settingsDict blankDict = { @@ -155,8 +148,7 @@ else: print(settingsDict) - # print("Sample Maps listing: ") - # menuPrinter(os.listdir("./maps/")) + # TODO: Now that I can read a settings file, create one # Store last configs for later use