A Helldivers 2 mod that lets you change the numbers of the game from inside the game: damage, armor penetration, fire rate, recoil, magazines, explosions, stratagem cooldowns, sentry lifetime, backpack charges, shield and vehicle health, and more. Every value is set on its own, for one item at a time.
Download: dist/BYOG-v2.1.5.zip
- Helldivers 2, game build
release/01.007.101/19155. On any other build the mod loads, writes nothing, and says so inSTATUS.txt: a game update needs a new version of the mod. - Bingus Shared Loader v15 or newer, and a mod manager that installs addon packages (Arsenal).
- Add
BYOG-v2.1.5.zipto your mod manager, enable it, deploy. - Start the game. Press F9.
To remove it: disable the mod in the manager. Your settings stay in %LOCALAPPDATA%\BYOG; delete that
folder to forget them.
Four pages: Items (the values), Presets, Keys and Language. The keys below are the ones the menu starts with; every one of them can be changed on the Keys page, and the line at the bottom of the menu always shows the keys that are in use.
| Key | What it does |
|---|---|
| F9 | open / close |
| F6 / F7 | previous / next page |
| Up / Down, PageUp / PageDown | move (ten rows) |
| Tab | item list ↔ value list |
| Left / Right | in the item list: category. In the value list: lower / raise the value (Shift: ten times the step) |
| Enter (or Insert) | in the item list: open the search. On a value: type the number in. Confirms what was typed |
| Esc (or End) | cancel what is being typed; clear the search |
| Delete | back to the game's value |
| F3 | search in every category |
While you type (a search, a number, a preset's name) the keys go to the text only: nothing else in the menu moves. Backspace removes a letter.
A change is applied at once and kept in the active preset, so it is still there the next time you start the game. Some values are read by the game when a thing is created: a magazine size or a vehicle's health shows on the next weapon or vehicle, a stratagem's cooldown after its next use.
Presets. A preset is a full set of the values you changed: one for serious play, one for fooling
around with friends. Switching puts every value of the old one back to the game's own and applies the
new one. Each preset is a text file in %LOCALAPPDATA%\BYOG\presets, in the format of the config file,
so it can be given to someone else: put the file into that folder and it shows up in the list. What
v1.0 kept in menu.txt becomes the preset "Default" at the first start.
Block game input (Keys page, on by default). While the menu is open the game gets no key presses and no mouse: only the menu works. It is done by a small message filter that the mod puts on the game's window thread (a Windows hook, 68 bytes of code inside the game's process) and by taking the game's mouse registration away for as long. If you would rather not have that, switch it off on the Keys page: the game then reads your keys while the menu is open, as it did in v1.0.
Language. English and Simplified Chinese (menu texts and the names of the values; items keep their English names). Chinese is drawn with the game's own font for it, which the game only has loaded when the game itself is set to Chinese: with another game language the Language page says that no font can draw it. The translation was not checked by a native speaker.
| Category | Items | Values |
|---|---|---|
weapon |
113 primary, secondary, support and melee weapons | damage, durable damage, armor penetration per angle, demolition, stagger, push, fire rate, projectile speed / drag / gravity, pellets, blast radius and blast damage, magazine size and counts, recoil, spread, sway, ergonomics, heat, status effects |
throwable |
32 grenades, mines and the C4 charge | amounts, fuse, throw distance, blast radius and damage |
stratagem_weapon |
76: sentry, emplacement, drone, exosuit and Eagle guns (the flame ones too); orbital and Eagle shells | the same values as a weapon; lifetime and sight range of sentries |
stratagem |
149 | cooldown, uses |
backpack |
22 | charges, starting charges, refill; Jump Pack and Hover Pack: recharge, launch force, takeoff, steering, hovering time; Warp Pack: distance, reach, heat |
shield |
4 | health, radius, recharge delay and rate, lifetime of the relay |
vehicle |
14 | health, armor, and for every part its own health, armor and how much of its damage reaches the vehicle |
status |
71 status effects (fire, gas, stun, acid, bleed...) | how long the effect lasts, and the damage it does |
armor (v2.0.0, not yet tested in game) |
135 body armors, and helldiver |
per armor: weight class (light / medium / heavy) and which passive it has. helldiver: walking, jogging, sprinting and crawling speed, stamina (for every armor) |
attachment (v2.0.0, not yet tested in game) |
166 optics, muzzles, underbarrels and ammunition types | what the attachment does to the weapon it is fitted to: ergonomics, sway, recoil, spread. It holds for every weapon that carries it |
armor_passive (v2.0.0, not yet tested in game) |
the 31 armor passives (Med-Kit, Fortified, Siege-Ready...) | every number of the passive: extra stims and grenades, damage taken by kind, recoil, reload speed... |
enemy_weapon |
189: every enemy unit (health, armor and its parts: Hunter, Charger, Hulk, Voteless...), the weapons and grenades of the enemies, and 21 of their melee hits, the faction in front of the name (Automaton: soldier machinegun): automaton rifles and tank turrets, illuminate weapons, the bile spitter... |
the same values as a weapon |
unknown_weapon |
116 weapons whose name is not known (weapon_1a2b3c4d) and 333 damage rows no item uses (damage_row_571) |
the same values as a weapon. Tell us what they are: the damage, fire rate and magazine size usually give it away |
New in v2.0.0, none of it run in the game yet: the mouse works in the menu (the menu draws its own pointer; a click selects, a click on a number opens the box to type it); charge-up weapons (charge times and what a half or an over-charge does), wind-up, beam range and width, arc speed and chain; health and armor of sentries, emplacements and enemy units that carry their weapon; the damage of a status effect; how fast a sentry turns and how often it looks for a target; the pieces of shrapnel (their number, speed and damage); the Solo Silo's missile; attachments; armors and armor passives. Armors and passives are changed only where the game's own number is still there: what another armor mod has changed is left alone.
Many weapons share one round in the game's data (the Liberator and the Stalwart, a sentry and the MG-43). BYOG gives a weapon data of its own the moment you change it, so a change reaches that weapon only.
Everything the menu does can also be written in %LOCALAPPDATA%\BYOG\config.txt (created on first
run; F10 reads it again). catalog.txt in the same folder lists every item and value with the
game's own number and the allowed range. The format is described in
docs/CONFIG-FORMAT.md. A value set in the menu wins over the same value in
config.txt.
STATUS.txt says what happened: its first line is the verdict (OK - 5 values applied), and every
line of your config is listed with its result.
- Multiplayer. Tested by the authors in their own lobbies without problems. Use it with people who know you are using it; changing the game for strangers is not what this is for.
- Game updates. The mod checks the game's files before it writes anything. After an update it refuses until a new version is released.
- Keys. While the menu is open the game still receives the keys you press. Typing a search moves your character; use the menu on the ship or when it is safe.
- More than 1023 rounds. A weapon can start with more, but the game's resupply fills up to 1023 at most. The menu says so when you go above it.
- Names. Items the mod knows the game's name of are shown by that name, the others by the game's
internal name. The list is in
tools/display_names.txt; corrections are welcome. - Borrowed explosion rows. A few items share an explosion with something else. To separate them the mod reuses explosion entries that nothing in the game's data refers to. If some unrelated explosion ever looks like the weapon you edited, that is the cause: remove the edit and report it.
- Use at your own risk. The mod changes the running game's memory from inside the game. It is not made, approved or supported by Arrowhead Game Studios or Sony.
| Path | What |
|---|---|
src/tuner/tuner.lua |
the mod (one file, LuaJIT; version in src/tuner/version.txt) |
tools/ |
offline analysis and build tooling (Python 3.10+, standard library only) |
tests/ |
offline tests: a fake game, mutation tests, tests against the real Windows API |
docs/STAT-MAP.md |
every value: table, field, offset, type, how it was confirmed |
docs/CONFIG-FORMAT.md |
the config file format |
docs/test-rounds/ |
the checklists of the in-game test rounds (Turkish) |
src/recon/ |
the read-only diagnostic addon used at the start of the project |
python tools/build_catalog.py # every value resolved from the game's data -> data/catalog.json
python tools/pack_addon.py tuner # -> build/tuner.lua, dist/BYOG-v<version>.zip
python -m unittest tests.test_tuner tests.test_real_tuner tests.test_recon tests.test_real_ffi
The tests need lupa (a LuaJIT runtime for Python) in a virtual environment. data/, build/ and
reference/ (third-party repositories read for research) are not part of the repository.
Rules this project follows: game memory is only touched from inside the game, through the loader; no offset is guessed; nothing is written on a game build that was not verified; every write is range-checked, read back, and undone when it is no longer wanted. No code of other mods is used.
MIT, see LICENSE. The logo is not covered by it.
