Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion Monika After Story/game/overrides.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ python early in mas_overrides:
import renpy.savelocation as savelocation


def verify_data_override(data, signatures, check_verifying=True):
def verify_data_override(*args, **kwargs):
"""
Verify the data in a save token.

Expand All @@ -47,14 +47,28 @@ python early in mas_overrides:

The only difference here is that this skips over game savedirs and
'extra' save dirs (so just omissions)

TODO: Find a way to avoid overriding the entire function just
to disable 2 save locations, this is more bug prone
"""
savelocation.quit()
savelocation.quit_scan_thread = False

location = savelocation.MultiLocation()

# 1. User savedir.
location.add(savelocation.FileLocation(renpy.config.savedir))

# # 2. Game-local savedir.
# if (not renpy.mobile) and (not renpy.macapp):
# path = os.path.join(renpy.config.gamedir, "saves")
# location.add(savelocation.FileLocation(path))

# # 3. Extra savedirs.
# for i in renpy.config.extra_savedirs:
# location.add(savelocation.FileLocation(i))

# Scan the location once.
location.scan()

renpy.loadsave.location = location
Expand Down