RngFix

版本 v2.3.3·更新於 2025-10-03

Makes seeded reruns way more consistent.

模組介紹 作者原文

Rng Fix

v2.0.0 Final major release(?)

v1.1.0 Limitation removed

v1.0.0 big changes, no time to log

v0.9 Oni sampling methods

Vanilla seeding is a clusterfuck. Encounters are path dependent, past choices affect future rolls, battle rngs are not isolated. Needless to say using the same seed will result in very different experience.

~~This mod roughly tries to ensure that n'th node of the same type will have the same rng state no matter where or when encountered. I.e. first 1-2 regular battle will always be the fixed for the same seed, including deck shuffle state and random enemy moves.~~

Probably the most algorithmically involved mod I've ever coded. Blog post about core ideas which make it work soon (perhaps).

What this fixes:

  • Pathing no longer affects encounters
  • Isolates battle and adventure rngs. Card discovery, shuffles etc. will not affect future encounters.
  • More consistent adventure queue.
  • Rare card rewards are unaffected by amount card rewards seen previously.
  • Consistent money rewards.
  • Random boss select is fixed by seed.
  • Much other rng dependence on player actions removed.

What this does not fix:

  • Should fix everything vanilla.
  • Modded entities will be assigned entity unique rngs when using vanilla getters.
  • Ensuring consistent sampling method is up to the modder, however.

Change log

2.3.3 Workshop update.

2.3.2 Fix IgnoreFactorsTable config not working when set to false. Thanks, Rokk

2.3.1 Small fix regarding 'unknown' card type.

2.3.0 Fix "place a card at the bottom of the drawpile when shuffling" interaction.

2.2.8 Update for LBoL 1.6.0 beta. Not compatible with previous versions.. Koishi cards not touched yet.

2.2.7 Fix RngFix not working with some jadeboxes.

2.2.6 Fix rng not being assigned properly for some modded entities.

2.2.4 Make fallback sampling more robust.

2.2.3 Fix some unintended enemy behavior changes, like all kedamas attacking on turn 1.

2.2.1 Fix rng state not being properly set for first adventures.

2.2.0 More consistent Shining Exhibit sampling, some fixes.

2.1.0

  • Make card and other entity sampling method fairer to the weights.
  • Fix some exhibits not having rng assigned. Requires starting a new run for fix to take effect.
  • Change logs location to rngFix_logs/ in LBoL.exe folder.
  • Minor fallback and consistency upgrades.

2.0.0 Greatly reduces manipulation possible via save/loading:

  • Consistent deck shuffling, independent from discard order.
  • Consistent card discovery, independent from play order.
  • Consistent random targeting.
  • Somewhat consistent random insertion into the draw pile.
  • Consistent enemy moves, damage, P and score drops.
  • Other miscellaneous improvements and fixes.

1.1.2 Logging softlock fix.

1.1.1 Fix softlock when restarting on reward screen. Fix no samples being found when majority of weights are very low (<0.01). Separate card logs for rewards and discovery.

1.1.0 The majority out of battle rng inconsistencies were dealt with.

  • Decouple total potential pool from affecting rolls. Some absolute number constraints were introduced as the consequence (more details to follow).
  • Fix heavy bias towards higher weights.
  • (Experimental) Elite card rewards use regular cardRng queue instead of separate one.
  • Extra card rewards from Blank card and Omikuji are using separate rng. Cheers, zekses.

1.0.1 Main branch debut hardlock bug fix.

1.0.0 Big update:

  • Consistent card rewards even with different mana bases.
  • Event queue which makes sense.
  • Logging. Logs run information at %APPDATA%\..\LocalLow\AliothStudio\LBoL\RngFix Enabled by default for this Seed of the Week cycle.
  • Other fixes and improvements.

0.9.0 Partly addresses the issues the mod hasn't addressed before:

  • Exhibits seen should be very consistent.
  • Elites have separate rng for card rewards.
  • Experimental encountered event queue.

0.8.2 Fix bug when restarting on battle reward screen.

0.8.1 Make supply station use separate rng for rolling exhibit.

0.8.0 Initial relea

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPackTeamNeo-Sideloader

檔案與校驗

檔案名稱
RngFix-2.3.3.zip
檔案大小
193.5 KiB