Skip to content

RolltheSpire2 1.4.0

Choose a tag to compare

@FalseOcean FalseOcean released this 29 Oct 01:45
· 11 commits to main since this release

RolltheSpire2 1.4.0

这次更新为 RT2 做了一轮较完整的打磨:重新整理界面与百科,扩展筛种条件,也让局内预测开始跟随实际操作和路线继续推演。

从 1.3.5 升级后,设置条件、寻找种子、查看与保存结果,仍然是熟悉的使用流程。这次希望在容纳更多需求的同时,让日常使用也更舒服一些。

界面与百科

主面板统一采用夜蓝配色,重新调整字体、对象图片、选中状态、间距与页面层级,也改进页面准备和长列表刷新,减少反复创建带来的负担。

多篇百科重新编写,在机制说明之外加入具体需求、例子与取舍:为什么筛选中指定的奖励会被视为实际选择,为什么事件队列不等于问号房顺序,以及哪些问题适合高速筛种、哪些更适合交给路线预测。

资料库与可复用牌集

种子库更名为资料库,在收藏、预设与历史之外,新增独立保存的牌集。

牌集可以跨角色编辑,按名称、ID、卡池、稀有度和类型筛选。目前支持:

  • 战斗奖励排除:要求开局后检查的前 1–6 场普通战斗初始卡牌奖励不包含牌集成员。
  • 路线奖励高亮:在局内路线总览中突出你关心的卡牌,同时保留完整奖励。

查询会保存选用时的牌集成员快照。之后编辑或删除原牌集,不会悄悄改变已经保存的查询;需要时可以主动更新。

更多筛种条件与地图路线要求

标准单人筛种新增宝箱遗物条件,可以指定第一个、第二个,或前两个宝箱中的任意一个。宝箱按实际遇到的顺序计数,包括问号房生成的宝箱。

第一幕普通问号房新增前缀条件,可以要求前几次普通问号判定连续出现事件。

地图筛选保留三幕总计和分幕入口,并加入绘制模式:按希望遇到的顺序排列怪物、问号、商店、精英和休息点,也可以将内部顺序不限的房间组成一组。这些要求必须由同一条完整路线满足,途中允许经过额外房间。

完整地图生成与检查减少了重复探索和临时工作。另有默认关闭的有损预筛,支持部分原版标准单人条件的 CPU/GPU 加速。

有损预筛可能漏掉符合要求的种子。 保留下来的候选仍会进行完整地图检查;宽松条件也不一定能从预筛中获益。

局内操作与路线预测

已支持的原生选项、奖励、遗物、商店、变牌与药水,可以从当前状态继续查看预测结果,包括部分重掷顺序、连续献祭、获取后效果和商店补货。药水预览也会区分使用顺序。

在实际对局的地图上,可以使用原生画笔、右键绘线与橡皮表达当前章节的路线,查看沿途遭遇、事件、商店和奖励。节点中的选牌、跳过、事件分支与购买会参与后续推演,修改选择后重新计算;实际推进后,则从真实进度与状态继续。

路线预测目前面向单人实际当前章节。战斗结算仍有明确前提,不模拟整场战斗的出牌过程;实际选择与额外随机消耗也可能改变后续结果。

水晶球助手

继续改进目标组合、金币方案与翻格指引:

  • 不选择卡牌等目标时,也可以寻找金币方案。
  • 保留奖励目标时,继续考虑可共同获得的金币。
  • 分别显示候选检查、可行方案与最高金币证明的完成情况。
  • 保留已经验证的方案,同时继续处理尚未解决的问题。
  • 减少复杂遗物状态下的重复计算与显示工作。

搜索执行与兼容性

部分搜索路径优化了 CPU 批量预筛、开局随机计算、奖励池准备、候选状态复用,以及 GPU 批量提交与数据传输。

开始搜索前,可以查看自动执行顺序,或切换手动模式调整筛选家族的先后顺序。具体收益随查询、设备和启动状态而异,稀有度与预计时间仍是估算。

修复部分 GPU 环境下随机状态旋转计算异常,改用等价的双 32 位实现,可能改善部分骨骰查询长时间无可用结果或漏种的问题。这不代表所有设备和驱动问题都已解决。

结果处理也进一步区分:

  • 已确认结果:通过最终模型检查。
  • 未校验候选:保留暂时无法确认的范围与原因,可以保存并再次校验。
  • 执行故障:保留原始原因与待处理工作,不当作条件不满足。

同时继续完善收藏、历史、条件恢复、重启复用及反馈诊断。

其他改进

  • 设置按功能、偏好、高级与诊断重新组织。
  • 新增独立的单人局内测试控制台,方便实验和复现问题。
  • 改善内容名称、外部卡面及部分 Mod 共存时的显示。
  • 关于页新增长期保留的“贡献者与致谢”章节。

致谢

感谢 James Zhou(@JamesZhou233)。

James 更早向我展示并交流了 GPU 执行与数据传输方向的优化,提供了具体实现和对照材料。这些工作帮助 RT2 改进批量提交、缓冲复用和候选数据传递,相关思路随后结合当前版本的执行与恢复方式作了独立适配。

查看 James 的优化方案与 PR

感谢 Egoistic今宵(@shion0528)。

他提供的 CPU/GPU 筛选与开局模拟优化实现、测速和验证材料,为批量预筛、随机计算复用、奖励池准备与候选状态复用带来了有价值的参考。相关方法经过当前版本的适配与验证,进入了适用的搜索路径。

查看 shion 的研究版本与实现

两位都从公开的 1.3.5 出发,认真研究并带着自己的实现回来交流,让 RT2 有机会继续改进。很感谢这样的帮助,也感谢这一轮提供实际体验、种子、存档和日志的玩家。


English

RolltheSpire2 1.4.0

This update gives RT2 a thorough round of refinement: a reorganized interface and encyclopedia, more search conditions, and in-run prediction that starts to follow your actual choices and routes.

After upgrading from 1.3.5, setting conditions, finding seeds, viewing results and saving them will still feel familiar. I hope this round makes everyday use more comfortable while accommodating more complex needs.

Interface and encyclopedia

The main panel now uses a consistent night-blue palette, with refined fonts, object images, selection states, spacing and page hierarchy. Page preparation and long-list refreshes have also been adjusted to reduce repeated creation work.

Several encyclopedia articles have been rewritten with practical needs, examples and trade-offs alongside the mechanics: why specified rewards count as intended choices, why event queues do not determine question-mark room order, and which problems suit high-speed search or route prediction.

Library and reusable card collections

The Seed Library is now the Library, adding independently saved card collections alongside favorites, presets and history.

Collections can span characters and be filtered by name, ID, card pool, rarity and type. They currently support:

  • Combat reward exclusions: Require the initial card rewards from the first 1–6 normal combats checked after the opening to contain no collection members.
  • Route highlights: Highlight cards you care about in the in-run route overview while retaining complete rewards.

Queries save a snapshot of collection members when selected. Editing or deleting the original collection does not silently change saved queries; you can explicitly update them when needed.

More search conditions and map route requirements

Standard single-player searches can now target relics in the first chest, second chest, or either of the first two. Chests are counted in encounter order, including those generated by question-mark rooms.

Ordinary Act 1 question-mark rooms also have a prefix condition: require the first few ordinary rolls to produce events.

Map search retains three-Act totals and per-Act entries, with a new drawing mode. Arrange Monster, Unknown, Shop, Elite and Rest nodes in the order you want, and group rooms whose internal order does not matter. One complete route must satisfy all requirements, with extra rooms allowed along the way.

Complete map generation and evaluation now use less repeated exploration and temporary work. An optional lossy prefilter, off by default, provides CPU/GPU acceleration for supported vanilla standard single-player conditions.

The lossy prefilter can miss matching seeds. Remaining candidates still receive complete map evaluation, and broad conditions may not benefit from prefiltering.

In-run operation and route prediction

Supported native options, rewards, relics, shops, transformations and potions can show predictions from the current state. This includes some reroll orders, continued sacrifices, effects after acquisition and shop restocks. Potion previews also distinguish use order.

On the map during an actual run, use the native pen, right-click drawing and eraser tools to express your route through the current Act, then inspect encounters, events, shops and rewards. Card selections, skips, event branches and purchases feed into later predictions. Changing a choice recalculates subsequent outcomes; advancing in the actual run continues from real progress and state.

Route prediction currently focuses on the actual current Act in single-player. Combat resolution retains explicit assumptions and does not simulate an entire battle’s card plays. Actual choices and additional random consumption may also change later outcomes.

Crystal Sphere assistant

Further improvements to target combinations, gold plans and reveal guidance:

  • Find gold-oriented plans without selecting card or other reward targets.
  • Consider compatible gold gains while retaining reward targets.
  • Distinguish candidate evaluation, feasible plans and proof of maximum gold.
  • Keep verified plans while continuing unresolved work.
  • Reduce repeated computation and display work with complex relic states.

Search execution and compatibility

Applicable search paths have received optimizations to CPU batch prescreening, opening random calculations, reward-pool preparation, candidate-state reuse, GPU batch submission and data transfer.

Before searching, inspect automatic execution order or switch to manual mode and rearrange filter families. Benefits vary by query, device and startup state; rarity and time estimates remain approximate.

Fixed incorrect random-state rotation calculations in some GPU environments using an equivalent implementation with two 32-bit halves. This may improve Bones searches that return no usable results or miss matching seeds. It does not resolve every device or driver issue.

Result handling further distinguishes:

  • Confirmed results: Pass the final model check.
  • Unverified candidates: Retain the scope and reasons that cannot yet be confirmed, and can be saved and checked again.
  • Execution failures: Preserve original causes and pending work instead of being treated as conditions not matching.

Favorites, history, condition restoration, reuse after restart and feedback diagnostics have also received further improvements.

Other changes

  • Settings are organized into Features, Preferences, Advanced and Diagnostics.
  • A separate single-player in-run Test Console supports experiments and issue reproduction.
  • Improved content names, external card art and presentation alongside some other mods.
  • About now includes a permanent Contributors & acknowledgements chapter.

Acknowledgements

Thank you, James Zhou (@JamesZhou233).

James shared and discussed GPU execution and data-transfer optimizations with me earlier, providing concrete implementations and comparison material. This work helped RT2 improve batch submission, buffer reuse and candidate data transfer. The ideas were then independently adapted to the current version’s execution and recovery behavior.

See James’s optimization proposal and PR

Thank you, Egoistic今宵 (@shion0528).

His CPU/GPU filtering and opening-simulation optimizations, benchmarks and validation material provided valuable references for batch prescreening, random-computation reuse, reward-pool preparation and candidate-state reuse. After adaptation and validation for the current version, these methods entered applicable search paths.

See shion’s research version and implementation

Both started from the public 1.3.5, studied it carefully, and returned to discuss their own implementations, giving RT2 opportunities to keep improving. I am grateful for that help, and for the players who shared real experiences, seeds, saves and logs during this round.