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