Fixes
Change Spoiler default to True Set base rom to actually do the thing
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -25,6 +25,8 @@ weights/
|
||||
/Players/
|
||||
/QUsb2Snes/
|
||||
|
||||
base2current.json
|
||||
|
||||
resources/user/*
|
||||
!resources/user/.gitkeep
|
||||
|
||||
|
||||
4
CLI.py
4
CLI.py
@@ -165,10 +165,10 @@ def parse_settings():
|
||||
"ow_palettes": "default",
|
||||
"uw_palettes": "default",
|
||||
|
||||
# Spoiler defaults to FALSE
|
||||
# Spoiler defaults to TRUE
|
||||
# Playthrough defaults to TRUE
|
||||
# ROM defaults to TRUE
|
||||
"create_spoiler": False,
|
||||
"create_spoiler": True,
|
||||
"calc_playthrough": True,
|
||||
"create_rom": True,
|
||||
"usestartinventory": False,
|
||||
|
||||
10
Utils.py
10
Utils.py
@@ -334,15 +334,15 @@ def update_deprecated_args(args):
|
||||
else:
|
||||
args.no_hints = args.hints not in truthy # dest = !src
|
||||
|
||||
# Spoiler defaults to FALSE
|
||||
# Don't do: No
|
||||
# Do: Yes
|
||||
if "create_spoiler" in argVars:
|
||||
args.suppress_spoiler = not args.create_spoiler in truthy
|
||||
# Spoiler defaults to TRUE
|
||||
# Don't do: Yes
|
||||
# Do: No
|
||||
if "suppress_spoiler" in argVars:
|
||||
args.create_spoiler = not args.suppress_spoiler in truthy
|
||||
# Don't do: No
|
||||
# Do: Yes
|
||||
if "create_spoiler" in argVars:
|
||||
args.suppress_spoiler = not args.create_spoiler in truthy
|
||||
|
||||
# ROM defaults to TRUE
|
||||
# Don't do: Yes
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
"type": "bool"
|
||||
},
|
||||
"create_spoiler": {
|
||||
"action": "store_true",
|
||||
"type": "bool"
|
||||
"action": "store_false",
|
||||
"dest": "suppress_spoiler",
|
||||
"type": "bool",
|
||||
"help": "suppress"
|
||||
},
|
||||
"suppress_spoiler": {
|
||||
"action": "store_false",
|
||||
"dest": "create_spoiler",
|
||||
"help": "suppress"
|
||||
"action": "store_true"
|
||||
},
|
||||
"logic": {
|
||||
"choices": [
|
||||
|
||||
@@ -66,7 +66,7 @@ def generation_page(parent,settings):
|
||||
# FIXME: Translate these
|
||||
def RomSelect():
|
||||
rom = filedialog.askopenfilename(filetypes=[("Rom Files", (".sfc", ".smc")), ("All Files", "*")], initialdir=os.path.join("."))
|
||||
self.widgets[widget].storageVar.set(rom)
|
||||
self.widgets["rom"].storageVar.set(rom)
|
||||
# dialog button
|
||||
self.widgets[widget].pieces["button"] = Button(self.widgets[widget].pieces["frame"], text='Select Rom', command=RomSelect)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user