Skip to content

Commit

Permalink
Merge branch 'content' into feature/locale-based-calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamscached committed Jan 17, 2025
2 parents efd7dfa + e32022e commit 49d05f5
Showing 1 changed file with 15 additions and 1 deletion.
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

0 comments on commit 49d05f5

Please sign in to comment.