Skip to content

Releases

BB Reroll 4.5.2

Choose a tag to compare

@Trikpatknd Trikpatknd released this 14 Nov 09:12

Seeds from 4.0.0 to 4.5.1 stay valid: nothing changed in how the brothers or the maps are made.

Trade routes

Tick Trade routes in the Map view to see where to make money at the start. The map window and the map picture then show the 3 best trade loops of the seed, each in its own colour:

  • the towns in walking order and the days of one lap,
  • the crowns per lap and per day,
  • the best goods to buy and sell, and where.

A loop has 2 to 5 towns, and no town is in two loops. A dashed line is a short ship passage between two ports; its fare is taken from the profit. The crowns are before wages and food, with your starting company's prices, neutral relations and no town events. Shops restock every 3 days, so a lap counts at least 3 days. The days are approximate.

The routes are for the first campaign after you start the game, and only on the checked setups. BB Reroll compared the towns' shops and prices with the game on 20 Legends maps and 20 Vanilla maps, and the travel speed with the game in both setups. The box is off by default.

Update check

One time each day, when BB Reroll starts, it asks GitHub for the newest release. When there is a newer one, the Updates button says Update to X.Y.Z, and a banner tells you one time. The button opens the releases page; BB Reroll does not download or install anything. GitHub sees your IP address. To stop the check, clear Check for updates under the button.

Other changes

  • The window now starts on one monitor. Before, a window placed low on a small screen could put Search below the screen.

Install

Download bb_reroll_gui.exe (attached to this release), put it anywhere and double-click it.
SHA-256: eefa5df96764d730541e0edf6f4d66010279c7d77b0a41a0be5096e4efa53446

Optional: bb_reroll_pypy-4.5.2.zip (attached), unpacked next to the exe. It holds PyPy with its licence. The 4.5.1 zip does not work with the 4.5.2 exe.
SHA-256: 026d9aaddbd50883482d227743f1555e1f107e4e687fd808237ef0f21d3902d6

BB Reroll 4.5.1

Choose a tag to compare

@Trikpatknd Trikpatknd released this 10 Nov 21:38

Seeds from 4.0.0 to 4.5.0 stay valid: nothing changed in how the brothers or the maps are made.

Legends 19.4.23

Legends 19.4.23 is now a checked setup, with Legends assets 19.4.23. Map results say that they are verified, and you can search Deserters.

BB Reroll compared 19.4.23 with 19.4.22 file by file. 19.4.23 changes two combat skills, the draw layer of four helmets and its version number. It changes nothing that runs when a campaign starts. On the same seeds, both versions give the same brothers (34 origins, 30 seeds each, also with the perk trees), the same maps and the same Deserters starts. This was not compared in the game.

Closest seed with its map

With brother conditions and map conditions, the closest seed now gets its map. The card shows the ports and towns that are short, and Show map opens the map. Before, the card showed only the brothers, and a seed with a bad map could show as the closest one. A map takes about 25 seconds. If you stop the search before the closest seed has its map, the card says that BB Reroll did not check the map conditions.

You set when the closest seed shows

Two new fields are next to Workers:

  • Closest seed after (seeds): the default is 35,000 seeds.
  • Closest seed after (maps): for searches that build a map for each seed (map conditions only, or Deserters). The default is 100 maps.

On a slow computer, use smaller numbers. BB Reroll saves them with your other settings.

Other changes

  • Build map on the closest seed builds the map one time and shows that it is building. The map then goes on the card.

Install

Download bb_reroll_gui.exe (attached to this release), put it anywhere and double-click it.
SHA-256: 42bccbd4c37ae6d66a21b2cb0f4541333b12c4a0833a6080949b84f23fd3bb4f

Optional: bb_reroll_pypy-4.5.1.zip (attached), unpacked next to the exe. It holds PyPy with its licence. The 4.5.0 zip does not work with the 4.5.1 exe.
SHA-256: 66bdbd5ddba8a0fa57c254af587edf11431a9293d1ac9bfb617d1b67d88cc8d2

BB Reroll 4.5.0

Choose a tag to compare

@Trikpatknd Trikpatknd released this 03 Nov 16:54

Seeds from 4.0.0 to 4.4.0 stay valid: nothing changed in how the brothers or the maps are made.

The first start after this update reads each origin again (about 2 minutes, one time only).

Closest seed

Some conditions are very rare. When no seed matches after 35,000 seeds (with a map for each seed: after 100 maps), or when a search ends with no match, an amber card shows the closest seed and how it differs. The search goes on: a nearer seed replaces the card, and a match removes it.

"Closest" has a fixed order: first the trait and background differences, then the stars and stat rolls that are short, then the ports and towns that are short.

Map picture

Copy map picture copies the map for Discord. Save map picture saves a PNG file. The picture shows the seed and the origin under the map.

Faster searches

A seed now stops at the brother that decides it. You get the same seeds.

Measured on one test PC (Core Ultra 9 285K), 8 workers 4.4.0 4.5.0
Trading Caravan, Legends, RES 3 on brother 1 33 seeds per second 48 seeds per second
Trading Caravan, Legends, RES 3 and MSK 2 on brother 1, no Dumb 37 seeds per second 58 seeds per second
A New Company, Legends 22 seeds per second 29 seeds per second
Peasant Militia, base game 20 seeds per second 48 seeds per second

Your PC will give other numbers. Strict conditions on the first brothers gain most. Legends' Peasant Militia and Gladiators do not gain: these origins change or read their brothers later.

Optional PyPy download

Searches that need a map for each seed can run in PyPy: map conditions with no condition on the brothers (a ticked trait is a condition), or Deserters. You get the same seeds.

Measured on the same PC, 200 maps Python 3.15 PyPy
Map search, 8 workers 15 maps a minute 41 maps a minute
Map search, 18 workers 31 maps a minute 62 maps a minute
Deserters, 8 workers 14 maps a minute 43 maps a minute
Deserters, 18 workers 30 maps a minute 49 maps a minute

Download bb_reroll_pypy-4.5.0.zip and unpack it next to the exe, so that the folder bb_reroll_pypy is beside it. The Map view then shows Search with PyPy. Each worker uses about 1.5 GB of memory (about 1 GB without PyPy). The zip must be of the same version as the exe. A folder of another version or a damaged folder is not used, and the Map view says why.

Other changes

  • The window warns when the workers do not fit your free memory or use all processor threads. You decide. A running search also tells you when the memory is almost full.
  • The window stays usable with very many results. The list shows the newest ones, and the status line gives the number of all matches.
  • A search no longer waits for ever when a worker process dies with no message.

Checked in the real game

New seeds found by the new search on 12 Legends origins: 12 of 12 starts match. New seeds on 12 more Legends origins, with Deserters, compared in PyPy: every map, road and start matches, and all 11 rosters. Base game on PyPy: the 7 searchable origins of the earlier check match.

Install

Download bb_reroll_gui.exe (attached to this release), put it anywhere and double-click it.
SHA-256: e6ead7fc3b30ae462d30db2b84d342493a57a103645ceb43912252a876143188

Optional: bb_reroll_pypy-4.5.0.zip (attached), unpacked next to the exe. It holds PyPy with its licence.
SHA-256: 01ac3f36b4595e0474489ab24c17d5bc61676799a6f1be7f6097f4b65afe0b72

Or build from source: build_exe.bat → dist\bb_reroll_gui.exe. The PyPy zip: python tools\build_pypy_addon.py. Pillow is a new dependency (requirements.txt).

BB Reroll 4.4.0

Choose a tag to compare

@Trikpatknd Trikpatknd released this 02 Nov 16:21

BB Reroll 4.4.0

Seeds from 4.0.0 to 4.3.0 stay valid: nothing changed in how the brothers or the maps are made.

Faster

BB Reroll now runs on Python 3.15. You do not install anything new: the exe has its own Python.

Measured on one test PC (Core Ultra 9 285K) 4.3.0 4.4.0
Search for brothers, 8 workers 18 seeds per second 33 seeds per second
Search for brothers, 18 workers 34 seeds per second 55 seeds per second
Maps, 8 workers 8 maps a minute 15 maps a minute

Your PC will give other numbers. On the test PC, workers also start faster (about 10 seconds) and a map takes about 25 seconds. The wait texts in the program now use these numbers.

The results stay the same. Checked in the real game with new seeds: 12 Legends origins and 7 base game origins, including Deserters. Every map, road, town and start square matches, and so does every brother.

For people who build from source

  • build_exe.bat needs Python 3.15 from python.org. It stops on any other version.
  • requirements.txt now pins the versions that were tested: customtkinter 5.2.2, plyer 2.1.0, PyInstaller 6.22.3.
  • Dev mode (python gui.py) also runs on Python 3.10 or later, but slower.

Install

Download bb_reroll_gui.exe (attached to this release), put it anywhere and double-click it.
SHA-256: bed48e853dd5353b23ee8c803913a2d29ad3f2b79b3c664c57afc47d3bfd6fac

Or build from source: build_exe.bat → dist\bb_reroll_gui.exe.

BB Reroll 4.3.0

Choose a tag to compare

@Trikpatknd Trikpatknd released this 01 Nov 16:09

BB Reroll 4.3.0

Seeds from 4.0.0 to 4.2.0 stay valid: nothing changed in how the brothers are rolled. Maps of 4.2.0 stay valid too.

New

Deserters can be searched. Deserters makes its brothers after it finds a start tile on the map, so its brothers
depend on the seed and on the map. BB Reroll now builds the whole map for each Deserters seed (about 50 seconds per
seed on one worker; the GUI says how fast the search will be).

  • Offered only on the two setups that were checked in the game: game 1.5.2.3 with Legends 19.4.22 (Legends assets
    19.4.3, MSU 1.9.0, Modern Hooks 0.6.0, no other mod), and game 1.5.2.3 with all DLCs and no mods. On other setups
    the origin info says why it is not in the list.
  • Checked against the real game: 100 Deserters starts (40 Legends with the player's Map Options, 20 Legends with the
    default Map Options, 40 base game). On all 100, every brother and the start tile match.
  • With Legends, use the same Map Options in the game, and start the seed as your first campaign after you start the
    game. Each result and the seed post say so.
  • The stars of the three Deserters are always the same (HP 1 FAT 1 MSK 2 / RES 1 MSK 2 MDF 1 / INIT 1 RSK 2 RDF 1):
    set traits and backgrounds instead.

The start on the map. Show map draws a yellow star on the square where your company starts. Checked against
the real game: 96 campaign starts (every searchable origin, Legends and the base game), all on the same square. Only on
the checked setups; with Legends, for the first campaign after you start the game. Command line: --map prints
Start: x, y.

Roads on the map; roads and names match the game. Show map now draws the roads (on the checked setups). The
roads, the region names, the faction names and the city-state names of a map now match the game (checked on 356 maps
made by the game). City-state names no longer say "name not verified" on the
checked setups.

Fixes

  • Mods that use stdlib (for example Autopilot) load now: function calls without commas between the arguments are
    read as the game reads them.
  • Clever Recruiter works now: every seed failed with "acall requires an array with at least the environment".
  • "Cannot read what the origins can roll" goes away after you fix the cause (for example, remove a broken mod):
    BB Reroll tries again when the mods or the game folder change, or when you pick an origin.
  • The status line no longer counts the seeds that could not be tested as tested: "N seeds tested in T, … M seeds could
    not be tested."

Install

Download bb_reroll_gui.exe (attached to this release), put it anywhere and double-click it.
SHA-256: af897ee91740e6f592f3ed69e6543a65ad3e6459dc5cfa9f22318b2758c6e93b

Or build from source, as before: build_exe.bat → dist\bb_reroll_gui.exe.

BB Reroll 4.2.0

Choose a tag to compare

@Trikpatknd Trikpatknd released this 24 Oct 22:59

BB Reroll 4.2.0

Seeds from 4.0.0 and 4.1.0 stay valid: nothing changed in how the brothers are rolled.

New

Map search. BB Reroll now also makes the world map of a seed, with the game's own map scripts, and searches by it.
Open the new switch Map above the grid and set the minimum number of ports, southern ports (city states with a
port), northern ports (in the top part of the map that you set) and towns of each type (city states, strongholds,
villages, towns, cities).

  • Works with Legends and with the base game with all DLCs. With a DLC missing, the Map view stays closed and
    says why: the map of the base game depends on the DLCs.
  • Checked against the real game: 40 maps of Legends 19.4.22 and 40 maps of the base game 1.5.2.3 (all DLCs, no mods),
    made by the game itself. Every town matches in kind, tile, size and port, and the land before the roads matches
    too. Roads and some names are not exact yet: no condition uses them.
  • Show map on a result draws the map of the seed: terrain, towns, ports, the north band. Point at a town to read
    its name.
  • Copy seed post adds a Map: line and, with Legends, the Map Options. A post of the base game names the DLCs
    (DLCs: all).
  • Conditions that no map can meet are named before the search starts. An estimate shows after 30 maps.
  • Command line: --ports, --ports-south, --ports-north, --north-band, --towns TYPE=N, and --map SEED
    (--svg for a picture).

Your Map Options are read from the game. With Legends the map depends on the seven Map Options (Land Mass Ratio,
Water, Snowline, Settlements, Factions, Decked Out Citadels, All trade buildings available). BB Reroll reads them from
your saved Mod Options when it starts, and when you click Read my Mod Options. The fields stay editable, for
example to search for the Map Options of a friend. Values you typed yourself are not overwritten: the Map view says
when they are not the same as your saved Mod Options.

Background conditions. A third switch, Backgrounds, sets the background a brother must have, for the origins
that let the seed pick it (Legends' Free Company and Random Party / Trio / Solo, and Peasant Militia in both games).
Row Any brother asks that at least one brother has it. With Stat rolls this asks for strong stats outright:
Hedge Knight + MSK high. Command line: --background 3 "hedge_knight swordmaster".

Notes

  • Maps are slow: about 40 seconds per map on one worker. Set brother conditions too: then a map is built only for
    the seeds whose brothers match.
  • Legends: start the seed as your first campaign after you start the game. Towns, ports and the land are the same
    in every campaign; other details can change in a later campaign of the same game session.
  • Deserters is still not offered: its brothers depend on the roads of the map, which are not exact yet.

Fixes

  • The last result in the list can be scrolled into view.

Install

Build from source, as before: build_exe.bat → dist\bb_reroll_gui.exe. No binaries are attached.

BB Reroll 4.1.0

Choose a tag to compare

@Trikpatknd Trikpatknd released this 15 Oct 17:47

BB Reroll 4.1.0

Seeds from 4.0.0 stay valid: nothing changed in how the brothers are rolled.

New

Star limits per origin. BB Reroll now reads from the game's own scripts what each brother of an origin can get at all, and shows it above the stars grid ("What Berserker gives: fixed stars HP 3, MSK 3, and 2 random stars").

  • Stars that the origin fixes are shown in the grid and locked. They are no condition, so row All still applies to that brother.
  • A cell offers only what is possible. Closed cells show why they are closed: fixed by the origin, all random stars of the brother are in use, or not possible for this brother.
  • Conditions that no seed can meet are named before the search starts (for example: the Scaling Beggar can have stars in a maximum of 3 stats, and never on HP or RES).
  • The built-in table of fixed stars missed 12 Legends origins (for example A New Company). Corrected.

Stat rolls. A second grid (switch "Stars | Stat rolls") searches by where a base stat landed in what that brother's background can roll: mid = middle third or better, high = top third. On 15,000 real recruits, the background decides most of a stat; the seed changes it only in this range, so this is what a search can choose. "Set row" sets a whole row at once. Command line: --tier 1 "msk:high".

More in the results.

  • Details: each brother's stat rolls (MSK 48 high (45-50)) and, with Legends, his perk trees.
  • Point to a trait in the trait lists to see its effects, from the game's own tooltip (▲ good, ▼ bad).
  • The seed post has a Bros: line with each brother's stars, and Game version: / Mods: lines, so others can see if the seed works for them.

Search.

  • A live estimate: "Approximately 1 in 3,400 seeds matches. At this speed, that is 1 match in approximately 1m15s."
  • A notice when a brother did not match his conditions in 300 seeds.
  • Origins that other installed mods add to the game's menu are listed.

Look. A new, calmer window. All program texts follow the writing rules of ASD-STE100 (Simplified Technical English).

Note

The first start after you install or update the game or a mod takes approximately 2 minutes longer (Legends): BB Reroll reads what each origin can roll and what each trait does, one time, in the background. You can search during this time.

Install

Build from source, as before: build_exe.bat → dist\bb_reroll_gui.exe. No binaries are attached.

BB Reroll 4.0.0 — offline seed search

Choose a tag to compare

@Trikpatknd Trikpatknd released this 13 Oct 20:08

Why this is a new major version

Seeds found by 1.x–3.x only reproduced while BB Reroll's mod was installed, so they could not be shared with players who did not have it. Seeds found by 4.0 are ordinary campaign seeds: anyone with the same game version, mods and recruit-related Mod Options gets the same brothers by typing the seed into the New Campaign screen.

What's new

  • Search without the game — no REROLL seed, no frozen screen, no crash-and-restart after a match
  • Vanilla and Legends — the Game setup list offers what is installed; the base game's scripts and your mod zips are read in place, in the versions you actually play (nothing is extracted or copied into the game)
  • Full roster for every match — names, backgrounds, talent stars, traits, stats and gear, with copy buttons for the seed, the roster and a Legends Discord seed post
  • Check a seed — type any seed and see the brothers it gives
  • A Stop button that works, live progress and speed, parallel worker processes
  • Command line: python -m bbseed.search --profile legends --origin trader_scenario --stars 1 "res2 fat2" --count 3

Upgrading from 3.x

Delete mod_bb_reroll_dump.zip from Battle Brothers/data/. While that old mod is installed the game rolls different brothers for every seed, so seeds found with 4.0 would not match. The GUI warns about it and offers to remove the file.

The in-game method is gone from 4.0. If you want it, use v3.4.7.

Checked against the real game

  • Battle Brothers 1.5.2.3, unmodded
  • Battle Brothers 1.5.2.3 + Legends 19.4.22 + MSU 1.9.0 + Modern Hooks 0.6.0 — 96 campaign starts across every searchable origin reproduced exactly

Other versions are read the same way and will usually just work, but they are unverified until someone compares a seed in the game. Seeds are specific to the game and mod versions they were found with.

Known limits

  • Deserters is not offered — its recruits depend on the generated map, not on the seed text alone
  • Only Legends' Battle Sisters can be set among Mod Options; other mod settings are taken at their defaults
  • Origins added by mods other than Legends are not listed
  • A mod the tool cannot run stops the search with an error instead of giving wrong results
  • About 0.8 GB of memory per search worker with Legends; ~3 seeds per second per worker

Install

Build from source (Windows, Python 3.10+): clone the repo and run build_exe.bat → dist\bb_reroll_gui.exe. Or pip install -r requirements.txt and python gui.py.

v3.4.7 — Discord seed-report generator

Choose a tag to compare

@Trikpatknd Trikpatknd released this 21 Jun 11:54
  • New: "📋 Copy seed share" button on each match. Copies a ready-to-paste
    Legends Discord seed post: Legends version + build, the real origin being
    played, the seed, Battle sisters, the full Map Options block, your typed
    description, and a BB Reroll footer.
  • All values auto-detected from the running game (mod logs them); origin name
    comes from the live scenario, so it's always the origin you're actually playing.
  • Fix: log-line parsing (strip_html) no longer collapses entries onto one
    line, which had let following log text bleed into the report.

v3.4.6 — performance release + GUI fixes

Choose a tag to compare

@Trikpatknd Trikpatknd released this 18 Jun 04:14

Mod (the big one): the brute-force loop now runs the full criteria check
(stars + banned + required) on the cached world every iteration, and rebuilds
the world only to confirm a candidate before declaring a match. The
per-iteration ~9s world rebuild is gone from the hot path — roughly 14× faster
for hardcoded-stars trait hunts. Declared matches are still rebuild-verified, so
there are no false positives.

GUI

  • Fixed the window going blank/transparent on a second monitor with mixed DPI
    scaling (process is now DPI-unaware + a periodic repaint keeps it painted while
    Battle Brothers has focus).
  • Tighter default window size; removed a dead empty band under the action bar.
  • Status wording now matches the loop ("scanning seeds" / "confirming") and the
    verify LED works again.

Compatibility: spawn mechanism re-verified against Legends 19.3.41 (intact).
Note: legends_mage_scenario was removed from Legends after 19.3.27 — if a mage
origin still exists under a renamed class it won't get the deterministic reseed
until the hook list is updated. Pin Legends if you want guaranteed reproduction.

Install: build from source (build_exe.bat) per the README; ensure Legends +
MSU + the hook frameworks are in Battle Brothers/data/ first.