Add save slots and stabilize dark-scene lighting #431
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-logs
old-names
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!431
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-431"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Boneless-Sans on GitHub · 2026-11-28 23:36 UTC · original
Boneless-Sans:codex/save-slots-dark-scenes→main· +60113 −5434 · 206 files · 660 commits · closed without mergingAdds -SaveSlot with existing progress at zero and independent save directories above zero. The off-RT ambient resolve and fog use tighter color bounds when local lighting is dark. Focused save isolation and shader tests passed in the rollback checkout. Verification in a known nighttime scene is pending. Upstream main already contains the sparse texture fix used on the rollback branch.
@Kal0s-design on GitHub · 2026-11-29 10:45 UTC · original · reviewed
Checked this out on Windows (
8914fdd). CI hasn't run on the branch, so here's what I ran by hand.cargo test -p victory-core -p victory-gpu: all pass, the newsave_slots_keep_existing_data_and_share_the_cacheincluded.cargo clippy -p victory-core -p victory-gpu --all-targets -D warningsandcargo xtask policyare clean.cs_5_1 /O1, the same ashost::compilewith flags 0, for each of DARK_COLOR_BOUND, LOCAL_COLOR_BOUND and neither. All 24 compile. I also looked at theclear_airdisassembly, since FXC without IEEE strictness can sometimes fold NaN checks away. It doesn't here: thene r, rand the 0x7f800000 compare are both still there.Two things before merging, I think:
DARK_COLOR_BOUNDunlessVICTORY_AMBIENT_COLOR_BOUND=0), but the description says the night scene check is still pending. That changes the picture for everyone without a before/after. Could it be opt-in until there's a capture, or split from the save slots, which are independent and look ready?VICTORY_AMBIENT_COLOR_BOUND=1is documented as a per-channel cap at every light level, butclear_airhas no LOCAL_COLOR_BOUND branch. With=1the air gets only the old luma cap, and onlyraisegets the per-channel one.Minor:
play.ps1always writesVICTORY_SAVE_SLOTfrom-SaveSlot(default0), so a slot set in the environment beforehand is ignored. That's fine if-SaveSlotis meant to be the only way in, but it might be worth a line in the README.AI-assisted: yes
@TaynanGT on GitHub · 2026-11-29 11:35 UTC · original
Thanks for the native tests and FXC checks. I agree that save slots and lighting should be evaluated separately. The lighting change needs an opt-in path or matched visual evidence before it becomes a default, and the documented LOCAL_COLOR_BOUND behavior needs to match clear_air as well as raise. Please also document the SaveSlot precedence.
@TaynanGT on GitHub · 2026-11-30 17:07 UTC · original
mainhas moved to a new line of the code and everything is now named Vice-Tay, so this PR no longer applies as it is (details in #468). If you'd like this change in, please rebuild it on the currentmainand open a new PR; I'll review it there.Pull request closed