• Important Notice: Please review our guidelines regarding cheating, game balancing, and mods for Helldivers 2. Read the full notice here before downloading or uploading mods.

HD2Runtime v0.28.1

A Mod for Helldivers 2
HD2Runtime akl_mod_preview_image
HD2Runtime requires BingusSharedLoader 18 or later
https://ayakamods.com/mods/bingus-shared-loader.3861/


A modding runtime that maps many Helldivers 2 values into an easier and safer API for creating mods with much less manual reverse engineering and guesswork.

Join the HD2Runtime Discord
For support, development discussion, modding help, updates, and community projects


Always Give Bingus Shared Loader Higher Load Priority Than HD2Runtime




Support Development

Enjoying HD2Runtime or ModBuilder? If you'd like to support continued development, you can support me on Ko-fi




Making a Mod with HD2Runtime

HD2Runtime is installed once and shared by mods that use it.

Creating a mod

Recommended Tool:

https://github.com/SkyeShade/HD2Runtime-ModBuilder/releases

1790642443139.png

Runtime Modbuilder is a tool i made specifically to lower the barrier of entry to modding this game.

Warning:
Some features are still experimental, and a few values may not map perfectly yet.


Manual Option:

1. Download and extract HD2Runtime-ModTemplate-<version>.zip from the github release page
2. Open the extracted folder in Rider or another code editor
3. Edit hd2runtime.json
- Change the mod name
- Change the resource ID to something unique, for example:
mods/yourname/my_mod
- Set the required HD2Runtime version for the features you use
4. Edit src/addon.lua
5. Run build.cmd
6. Import the ZIP created in the build folder into Arsenal or your mod manager
7. Enable Bingus Shared Loader, HD2Runtime, and your mod, then deploy and restart the game

Very Basic example

1790594165038.png

expect is the vanilla value Runtime expects before writing. Copy it from the SDK capability metadata; don’t guess it.

This changes the Liberator Concussive fire rate from its expected vanilla value of 400 RPM to 1100 RPM.

How do I know what values I can edit?

Download the HD2Runtime SDK from the github release and look inside its capability files.

Useful files include:

PlayerWeaponAuthoringCapabilities.json -> primary and secondary weapons
SupportWeaponAuthoringCapabilities.json ->support weapons
StratagemAuthoringCapabilities.json -> stratagems and deployed entities
VehicleAuthoringCapabilities.json -> vehicles
BackpackAuthoringCapabilities.json -> backpacks
MagazineAttachmentCapabilities.json -> magazine attachments

These files tell you:

- supported object names
- editable fields
- vanilla/default values
- whether a field is writable
- whether the edit affects shared data
- whether special safety acknowledgement flags are required

The expect value should normally come from the published baseline in these files. Do not guess it.

HD2Runtime checks the expected value before writing. If the game updated, another mod changed the value, or the target no longer matches what Runtime expects, the write is rejected instead of blindly modifying memory.

Useful operations

hd2.patch(...) -> applies one guarded change.

hd2.ensure(...) -> keeps a change applied if the game later resets it.

hd2.transaction(...) -> changes several fields on the same object together.

hd2.plan(...) -> coordinates changes across multiple objects.

Logs

If your mod does not work, check:

%LOCALAPPDATA%\CowboyBingus\Helldivers2\Logs\

Useful files:

BingusSharedLoader.log
HD2Runtime.log

APPLIED means Runtime successfully changed the value.

ALREADY_DESIRED means the value was already what your mod requested.

Full developer guide

See the HD2Runtime GitHub documentation for target navigation, safety flags, vehicles, backpacks, magazine attachments, plans, transactions and troubleshooting.

Github Link: https://github.com/SkyeShade/HD2Runtime



Found a bug?
Bugs are inevitable in a project as large as HD2Runtime, especially while it is still in early development.

If you find a bug or incompatibility, please reach out to me or submit an issue report on GitHub so I can investigate it and, if possible, implement a fix.



Missing feature?
If you think HD2Runtime is missing a feature or you have an idea for a new addition, feel free to reach out to me here. Please avoid opening GitHub issues for feature requests unless the request is specifically related to an existing issue.


[Disclaimers]

HD2Runtime does not support public matchmaking.

HD2Runtime is intended for private, friends only, invite only, and other controlled modded sessions where all participants have chosen to use mods.

Running HD2Runtime with gameplay modifying mods while playing with people who are not running the same mod setup may cause crashes or other unpredictable behavior for you, other players, or both.

In future versions Runtime will prevent a game running HD2Runtime from hosting or entering public matchmaking.

The goal is to keep Runtime mods from silently affecting players who did not choose to participate in a modded session, and to keep HD2Runtime focused on experimentation, custom content, and private modded gameplay rather than becoming a public-lobby advantage framework.

Private/invite-only sessions remain supported.

LLMs were used during the development of this mod.
1.3 MB
Log in or sign up to download
Uploaded by
SkyeShade
Downloads
4,052
Comments
136
Views
17,964
First release
Last update
Platform
PC 
Version
v0.28.1
Total Size
1.3 MB
Rating
5.00 star(s) 8 ratings

Uploaded by

  • 4,052
  • 17,964

Ratings

5.00 star(s) 8 ratings

More mods from SkyeShade

  • PC Buffed AR-23C Liberator Concussive

  • PC Vampiric Throwing Knives

Latest updates

  1. HD2Runtime v0.28.1 - SDK Compatibility Hotfix

    HD2Runtime v0.28.1 - Added backwards compatibility for mods authored against SDK 0.27.x when...
  2. HD2Runtime v0.28.0 - Events, Enemies, Programmable Ammo & More

    Biggest HD2Runtime update so far. 0.28.0 adds event/action scripting, projectile composition...
  3. HD2Runtime v0.27.0 - Automatic Asset Loading

    HD2Runtime v0.27.0 Added automatic asset/package loading for supported cross-package reference...

coolmen43022

Members
Members
Sep 19, 2026
85
23
This mod or modloader or whatever you call it makes my game run like crap, what the fuck man.
 

SkyeShade

Members
Members
Sep 27, 2026
61
16
This mod or modloader or whatever you call it makes my game run like crap, what the fuck man.
odd, it shouldnt impact performance that much. it performs most of its logic in the first minute at the very start of booting up the game

can you send me the log file? it will help me see if its some weird bug i can fix easily
 
Last edited:

coolmen43022

Members
Members
Sep 19, 2026
85
23
[HD2Runtime] ensure gui-object-3a011589c1bd57b6595accd0 scheduled interval=60
[HD2Runtime] ensure gui-object-ac1c82e5201d6452ed56df33 scheduled interval=60
[HD2Runtime] transaction gui-object-ac1c82e5201d6452ed56df33 targets resolved
[HD2Runtime] magazine.capacity 20 -> 40
[HD2Runtime] magazine.magazines_from_supply 5 -> 4
[HD2Runtime] magazine.spare_magazines 5 -> 4
[HD2Runtime] non_target_bytes_unchanged=true
[HD2Runtime] protection_restored=true
[HD2Runtime] transaction gui-object-ac1c82e5201d6452ed56df33 APPLIED
[HD2Runtime] ensure gui-object-ac1c82e5201d6452ed56df33 verified status=APPLIED cycle=1 next=60 steady=byte-check
[HD2Runtime] patch gui-object-3a011589c1bd57b6595accd0 target resolved
[HD2Runtime] weapon.fire_rate 350 -> 450
[HD2Runtime] non_target_bytes_unchanged=true
[HD2Runtime] protection_restored=true
[HD2Runtime] patch gui-object-3a011589c1bd57b6595accd0 APPLIED
[HD2Runtime] ensure gui-object-3a011589c1bd57b6595accd0 verified status=APPLIED cycle=1 next=60 steady=byte-check


Here.
 

SkyeShade

Members
Members
Sep 27, 2026
61
16
[HD2Runtime] ensure gui-object-3a011589c1bd57b6595accd0 scheduled interval=60
[HD2Runtime] ensure gui-object-ac1c82e5201d6452ed56df33 scheduled interval=60
[HD2Runtime] transaction gui-object-ac1c82e5201d6452ed56df33 targets resolved
[HD2Runtime] magazine.capacity 20 -> 40
[HD2Runtime] magazine.magazines_from_supply 5 -> 4
[HD2Runtime] magazine.spare_magazines 5 -> 4
[HD2Runtime] non_target_bytes_unchanged=true
[HD2Runtime] protection_restored=true
[HD2Runtime] transaction gui-object-ac1c82e5201d6452ed56df33 APPLIED
[HD2Runtime] ensure gui-object-ac1c82e5201d6452ed56df33 verified status=APPLIED cycle=1 next=60 steady=byte-check
[HD2Runtime] patch gui-object-3a011589c1bd57b6595accd0 target resolved
[HD2Runtime] weapon.fire_rate 350 -> 450
[HD2Runtime] non_target_bytes_unchanged=true
[HD2Runtime] protection_restored=true
[HD2Runtime] patch gui-object-3a011589c1bd57b6595accd0 APPLIED
[HD2Runtime] ensure gui-object-3a011589c1bd57b6595accd0 verified status=APPLIED cycle=1 next=60 steady=byte-check


Here.
this looks like a perfectly fine log from HD2R.. hmm

do you have any other mods installed at the same time?
maybe one of them clashes with runtime for some odd reason

can you provide me with the BingusSharedLoader.log file as well?
 

coolmen43022

Members
Members
Sep 19, 2026
85
23
Bingus Shared Loader loader-v18; API 1
Discovery: 73 declared entries
LuaJIT cache: expanded 16384 KB / 8000 traces; flushes 0, growth 0; watcher on
mods/codex/amr_ergo40: loaded
mods/codex/double_freedom_heavy_pen: loaded
mods/etxp/projectile_contact_11_experiment: loaded
mods/ryanb/operation_filter_gloom: loaded
mods/codex/autocannon_flak_explosion: loaded
mods/cowboybingus/wide_angle_stratagems: not installed
mods/mwta0043/sh32_shield_boost: loaded
mods/cowboybingus/vehicle_stability: not installed
mods/cowboybingus/mod_bindings_menu: loaded
mods/shodan/m90a_even_more_lore_accurate: loaded
mods/ryanb/refresh_operations: loaded
mods/cowboybingus/hellpod_steering_unlocked: loaded
mods/cowboybingus/mod_options_menu: loaded
mods/cowboybingus/consistent_vaulting: loaded
mods/codex/dual_ar_ergo: loaded
mods/codex/gl15_evictor_ammo_selector: loaded
mods/codex/gun_calibration: loaded
mods/cowboybingus/enemy_intelligence: loaded
mods/cowboybingus/hover_pack_cancel: loaded
mods/cowboybingus/flame_damage_fixed: loaded
mods/codex/stalwart_medium_ap: loaded
mods/cowboybingus/galactic_menu_hotkey: loaded
mods/codex/solo_vehicle_driver: loaded
mods/arcweapons/blitzer_heavy_pen: loaded
mods/ryanb/operation_filter_fluctuations: loaded
mods/maccu2515/weapon_no_sway_pick_all_sidearms: loaded
mods/codex/ar23p_damage_ap4: loaded
mods/codex/ar11_medium_60_ergo: loaded
mods/codex/autocannon_flak_damage: loaded
mods/cowboybingus/better_lobby_management: loaded
mods/codex/tenderizer_damage: loaded
mods/max/maelstrom_traverse: loaded
mods/codex/dcs_hyena_ergo10: loaded
mods/codex/autocannon_flak_shrapnel: loaded
mods/ryanb/operation_filter_spores: loaded
mods/joelc/jar5_buff_speed_225: loaded
mods/shodan/evictor_tuning: loaded
mods/auden/speargun_programmable_gas_default: loaded
mods/joelc/jar5_buff_firemode_auto: loaded
mods/cowboybingus/shallow_water_dive: loaded
mods/codex/purifier_heavy_pen: loaded
mods/codex/lift850_controls_v110: loaded
mods/driverhud/driver_hud: loaded
mods/cremator_boost/cremator_boost: loaded
mods/cowboybingus/arc_thrower_auto: loaded
mods/cowboybingus/armory_preview_cache: loaded
mods/ryanb/operation_filter_plotting: loaded
mods/community/passive_picker_v4: loaded
mods/cowboybingus/better_stratagem_bounce: loaded
mods/codex/exo_launcher: loaded
mods/cowboybingus/corpse_collision_repair: loaded
mods/ymir/laser_cannon_ramp: loaded
mods/lasercannon/scythe_medium_pen_damage_plus: loaded
mods/joelc/jar5_buff_pen_heavy: loaded
mods/skyeshade/hd2runtime: loaded
mods/cowboybingus/sentry_aim_retention: loaded
mods/codex/amr_explosion: loaded
mods/maccu2515/weapon_no_sway_level_70: loaded
mods/arcweapons/blitzer_heavy_pen_opt_ohdough: loaded
mods/cowboybingus/vanilla_plus_megapack: loaded
mods/lasercannon/scythe_medium_pen: loaded
mods/maxigun/free_movement_public: loaded
mods/cowboybingus/reinforcement_beacon_fix_data: loaded
mods/toritte/vehicle_multiselect: loaded
mods/rexsybimatw/gl21_heavy_pen: loaded
mods/cowboybingus/clickable_scrollbars: loaded
mods/chatgpt/wasp_p33_projectile: loaded
mods/codex/tenderizer_magazine_40: loaded
mods/maccu2515/weapon_no_sway: loaded
mods/maccu2515/weapon_no_sway_pick_all_primaries: loaded
mods/auden/speargun_programmable_gas_default_impl: loaded
mods/maxigun/heavy_penetration_ap4: loaded
mods/joelc/jar5_buff_damage_300: loaded
mods/bigfart102/vg70_medium_pen: loaded
mods/arcweapons/blitzer_heavy_pen_opt_arc_range: loaded



This has a list of all of my mods. :p
 

SkyeShade

Members
Members
Sep 27, 2026
61
16
Bingus Shared Loader loader-v18; API 1
Discovery: 73 declared entries
LuaJIT cache: expanded 16384 KB / 8000 traces; flushes 0, growth 0; watcher on
mods/codex/amr_ergo40: loaded
mods/codex/double_freedom_heavy_pen: loaded
mods/etxp/projectile_contact_11_experiment: loaded
mods/ryanb/operation_filter_gloom: loaded
mods/codex/autocannon_flak_explosion: loaded
mods/cowboybingus/wide_angle_stratagems: not installed
mods/mwta0043/sh32_shield_boost: loaded
mods/cowboybingus/vehicle_stability: not installed
mods/cowboybingus/mod_bindings_menu: loaded
mods/shodan/m90a_even_more_lore_accurate: loaded
mods/ryanb/refresh_operations: loaded
mods/cowboybingus/hellpod_steering_unlocked: loaded
mods/cowboybingus/mod_options_menu: loaded
mods/cowboybingus/consistent_vaulting: loaded
mods/codex/dual_ar_ergo: loaded
mods/codex/gl15_evictor_ammo_selector: loaded
mods/codex/gun_calibration: loaded
mods/cowboybingus/enemy_intelligence: loaded
mods/cowboybingus/hover_pack_cancel: loaded
mods/cowboybingus/flame_damage_fixed: loaded
mods/codex/stalwart_medium_ap: loaded
mods/cowboybingus/galactic_menu_hotkey: loaded
mods/codex/solo_vehicle_driver: loaded
mods/arcweapons/blitzer_heavy_pen: loaded
mods/ryanb/operation_filter_fluctuations: loaded
mods/maccu2515/weapon_no_sway_pick_all_sidearms: loaded
mods/codex/ar23p_damage_ap4: loaded
mods/codex/ar11_medium_60_ergo: loaded
mods/codex/autocannon_flak_damage: loaded
mods/cowboybingus/better_lobby_management: loaded
mods/codex/tenderizer_damage: loaded
mods/max/maelstrom_traverse: loaded
mods/codex/dcs_hyena_ergo10: loaded
mods/codex/autocannon_flak_shrapnel: loaded
mods/ryanb/operation_filter_spores: loaded
mods/joelc/jar5_buff_speed_225: loaded
mods/shodan/evictor_tuning: loaded
mods/auden/speargun_programmable_gas_default: loaded
mods/joelc/jar5_buff_firemode_auto: loaded
mods/cowboybingus/shallow_water_dive: loaded
mods/codex/purifier_heavy_pen: loaded
mods/codex/lift850_controls_v110: loaded
mods/driverhud/driver_hud: loaded
mods/cremator_boost/cremator_boost: loaded
mods/cowboybingus/arc_thrower_auto: loaded
mods/cowboybingus/armory_preview_cache: loaded
mods/ryanb/operation_filter_plotting: loaded
mods/community/passive_picker_v4: loaded
mods/cowboybingus/better_stratagem_bounce: loaded
mods/codex/exo_launcher: loaded
mods/cowboybingus/corpse_collision_repair: loaded
mods/ymir/laser_cannon_ramp: loaded
mods/lasercannon/scythe_medium_pen_damage_plus: loaded
mods/joelc/jar5_buff_pen_heavy: loaded
mods/skyeshade/hd2runtime: loaded
mods/cowboybingus/sentry_aim_retention: loaded
mods/codex/amr_explosion: loaded
mods/maccu2515/weapon_no_sway_level_70: loaded
mods/arcweapons/blitzer_heavy_pen_opt_ohdough: loaded
mods/cowboybingus/vanilla_plus_megapack: loaded
mods/lasercannon/scythe_medium_pen: loaded
mods/maxigun/free_movement_public: loaded
mods/cowboybingus/reinforcement_beacon_fix_data: loaded
mods/toritte/vehicle_multiselect: loaded
mods/rexsybimatw/gl21_heavy_pen: loaded
mods/cowboybingus/clickable_scrollbars: loaded
mods/chatgpt/wasp_p33_projectile: loaded
mods/codex/tenderizer_magazine_40: loaded
mods/maccu2515/weapon_no_sway: loaded
mods/maccu2515/weapon_no_sway_pick_all_primaries: loaded
mods/auden/speargun_programmable_gas_default_impl: loaded
mods/maxigun/heavy_penetration_ap4: loaded
mods/joelc/jar5_buff_damage_300: loaded
mods/bigfart102/vg70_medium_pen: loaded
mods/arcweapons/blitzer_heavy_pen_opt_arc_range: loaded



This has a list of all of my mods. :p
damn thats definitely a list.

idk if this is too much to ask. but can you try only running HD2Runtime and 1 mod that requires HD2Runtime and report back to me if that still causes the immense fps drops?

if it still does then its definitely something i can at least attempt to work on. if it doesnt then i bet the performance issue comes from some kind of mod interactions
 

coolmen43022

Members
Members
Sep 19, 2026
85
23
damn thats definitely a list.

idk if this is too much to ask. but can you try only running HD2Runtime and 1 mod that requires HD2Runtime and report back to me if that still causes the immense fps drops?

if it still does then its definitely something i can at least attempt to work on. if it doesnt then i bet the performance issue comes from some kind of mod interactions
I can't tell if you're being sarcastic or not.

I will try running with only one of the mods that requires it though.