Skip to content

Implement seed-based save slots#425

Open
steven11sjf wants to merge 5 commits intorandovania:mainfrom
steven11sjf:separated-saves
Open

Implement seed-based save slots#425
steven11sjf wants to merge 5 commits intorandovania:mainfrom
steven11sjf:separated-saves

Conversation

@steven11sjf
Copy link
Copy Markdown
Contributor

  • Waiting on corresponding odr-exlaunch patch
  • Adds a patcher option configuration.cosmetic_options.split_saves
    • bool, default false
  • If this is true, generates a file "romfs:/RDVHASH" with a cstring "RDV_(Seed Identifier)_(Layout UUID)"
  • Exlaunch uses this file to store saves 1/2/3 in separate slots than the "profile0/1/2" folders
  • Added tests to ensure valid export for split_saves being missing, false or true

steven11sjf and others added 2 commits March 23, 2026 16:18
- Waiting on corresponding odr-exlaunch patch
- Adds a patcher option configuration.cosmetic_options.split_saves
  - bool, default false
- If this is true, generates a file "romfs:/RDVHASH" with a cstring
  "RDV_(Seed Identifier)_(Layout UUID)"
- Exlaunch uses this file to store saves 1/2/3 in separate slots than
  the "profile0/1/2" folders
- Added tests to ensure valid export for split_saves being missing,
  false or true
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.15%. Comparing base (160438b) to head (a3144d6).
⚠️ Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #425      +/-   ##
==========================================
+ Coverage   92.12%   92.15%   +0.02%     
==========================================
  Files          38       38              
  Lines        2160     2166       +6     
==========================================
+ Hits         1990     1996       +6     
  Misses        170      170              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread src/open_dread_rando/dread_patcher.py Outdated
return

save_key = f"RDV_{configuration['configuration_identifier']}_{configuration['layout_uuid']}"
editor.add_new_asset("RDVHASH", bytes(save_key, encoding="ascii"), in_pkgs=[])
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you use save_key.encode("ascii") instead?

@steven11sjf steven11sjf marked this pull request as ready for review April 23, 2026 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants