• Credit Cards Now Supported!

    Help keep AyakaMods servers running. You can now purchase Premium securely using credit cards via Patreon.

    🔥 Lifetime Premium is available for a limited time! Offer Expires November 9th, 2026.


    Get Premium & Support Us

HD2Runtime v0.40.1

A Mod for Helldivers 2
HD2Runtime akl_mod_preview_image
THIS PROJECT IS SHELVED IN FAVOUR OF FOCUSING DEVELOPMENT ON HELLFORGE


https://hf-mod.com













HD2Runtime requires BingusSharedLoader 18 or later

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


ABOUT PUBLIC MATCHMAKING
its enabled again. i apologies for any troubles the initial released had caused.

here be dragons

if you encounter crashes with this in public lobbies its highly likely to be some of the experimented features that REQUIRE everyone in the lobby to have runtime installed to work correctly and safely

GameGuard:
some people have reported the recent 0.30.0 releases of hd2r has caused gameguard to refuse to boot. this is likely due to the mouse scroll wheel hook and can be disabled in your mod loader
1791508707139.png




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




Recommended Runtime Mods




Recommended Mod Manager
from personal testing, Echelon Mod Manager has been the most reliable for using HD2Runtime




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.



Credits
Bans, for the True Lasgun Beam Overhaul, whose LAS beam research led to HD2Runtime's beam features.
https://ayakamods.com/members/bans.388863/





[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.

Using HD2Runtime in public lobbies can and will lead to crashes depending on what mods are used alongside it. i cannot fix this but i will do my best

LLMs were used during the development of this mod.
  • Like
Reactions: D-Glitch
5.9 MB
Log in or sign up to download
Uploaded by
SkyeShade
Downloads
17,845
Comments
321
Views
104,544
First release
Last update
Platform
PC 
Version
v0.40.1
Total Size
5.9 MB
Rating
4.24 star(s) 45 ratings

Uploaded by

  • 17,845
  • 104,544

Ratings

4.24 star(s) 45 ratings

More mods from SkyeShade

  • PC HD2R Editor

  • PC Buffed AR-23C Liberator Concussive

  • PC Vampiric Throwing Knives

Latest updates

  1. HD2Runtime v0.40.1 - Stability Mode, Armor Safety & Unlimited Custom Stratagems

    A stability update for everyone who had trouble with 0.40.0. - The speed-ups from 0.40.0 are...
  2. HD2Runtime v0.40.0 - Enemies, Spawning & Armor Perks

    The biggest update since 0.30.0: enemy and spawn controls, mission timers, and a lot more weapon...
  3. HD2Runtime v0.31.3 - LAS-22 Shear (partially), Exosuit Ammo and Shield Relay Recharg

    Another hotfix built from player reports. - Custom stratagems with warbond carriers: picking a...

sccribble

Members
Members
Sep 26, 2026
15
2
can you try using

https://www.nexusmods.com/helldivers2/mods/16735

and see if its really HD2Runtime that causes it or some other mod that tries to fight HD2R?
i had the same issue and normally when running without hd2 runtime it goes smoothly, but i ran all the mods i use with hd2 and here is log.

Mod Lag Watchdog mod list (v0.18.0, game build 6AB3B43F)
Session: 2 min, 37 FPS average; "(the game)" 0.0 ms/s average
Enabled in Arsenal: 33 mods
Timed one by one (hook the game's update): 16
GL-28 Belt-Fed Grenade Launcher - Shrapnel & Big Belt v1.1, GL-52 Shooter Exclusion v0.1.2,
HD2 Transmog Foundation, Helmet Durability Check 20 Demolition Force, JAR-5 Dominator: Rechambered,
Jump Pack Recharge, Las-98 Cannon: AP Ramp & Sweetspot, M-105 Stalwart Medium Penetration,
Meltagun 3500 / 3500 - 20m - Demo 40 v1.1, MG-43 Overhaul, Passive Picker v4,
R-6 Deadeye: No damage changes, just AP4, Reticle Ammo HUD, Scattergun AP5,
Vanilla Plus Megapack - v31, Warp Pack Cooling
Replace the game's own scripts (their cost shows as "(the game)"): 1
Bingus Shared Loader - v18 (1 script)
Lua that is not in the update: 11
APW1-AMR-Pack-v1, BR-14 Adjudicator Realistic v1.0.0, Cremator Native Flame v0.4.0,
GL-15 Evictor Heavy Pen + Pineapple Blast (Stock Projectile Visual),
M6C/SOCOM Pistol AP4 Durable 60 v2.0.0, M90A Shotgun Even More Lore Accurate v2.0.1,
MA5C Assault Rifle MA5B Conversion v1.0.0, MG-206 Heavy Machine Gun Realistic v1.0.0,
P-34 Breacher 6 Spare Ammo, Pistol Caliber Drag Pack, Reduce Excessive Ragdoll
No Lua (models, textures, sounds): 5
Miku Miku Beeeeeeeeam Loop v2-1403-1-7c, Nohearldcape, only pelican1, Quasar Auto Charge v0.2.2,
Vladilena Milizé Voice Pack (86 – Eighty-Six)
In the update but not in Arsenal: 10
ap4_public, apw1_overwatch, blitzer_heavy_pen, epoch_enhanced, evictor_gas_airburst,
free_movement_public, hotshot_heavy_pen, p40k_bolt_pistol_v20_r_menu_crash_fix, plas39_heavy_pen,
quasar_auto_charge_prototype

idk if that tells you anything cause i just copied the log from the ingame option. lmk if you need more info that might help you

also i think the mods that slow down fps for the most for some reason are:


 
Last edited:

mfrost96

Modder
Modder
Members
Sep 28, 2026
34
17
Hi SkyeShade,
I really appreciate the work you’ve put into this. While building my community patch, I thought of two features that could make it even more versatile:

  1. Reload speed adjustments for primaries and secondaries — the ability to make individual weapons reload faster or slower.
  2. Cloneable projectile types — the ability to give a weapon its own copy of a projectile, so changing its damage or penetration doesn’t affect other weapons that share it.
Would either of these be possible? Thanks again for making these tools available to the community!
 

aldarrin

Members
Members
Sep 15, 2026
28
6
In Bazzite (only Linux distro I run, don't know about anything else). There appears to be a bug when trying to add extra items to hellpod drops (e.g. backpacks to support weapons). I created a mod with HD2Runtime ModBuilder. Worked great in Windows, but when I rebooted into Bazzite it stopped working.
 

SkyeShade

Modder
Modder
Members
Sep 27, 2026
190
80
In Bazzite (only Linux distro I run, don't know about anything else). There appears to be a bug when trying to add extra items to hellpod drops (e.g. backpacks to support weapons). I created a mod with HD2Runtime ModBuilder. Worked great in Windows, but when I rebooted into Bazzite it stopped working.
working on it
 

SkyeShade

Modder
Modder
Members
Sep 27, 2026
190
80
Hi SkyeShade,
I really appreciate the work you’ve put into this. While building my community patch, I thought of two features that could make it even more versatile:

  1. Reload speed adjustments for primaries and secondaries — the ability to make individual weapons reload faster or slower.
  2. Cloneable projectile types — the ability to give a weapon its own copy of a projectile, so changing its damage or penetration doesn’t affect other weapons that share it.
Would either of these be possible? Thanks again for making these tools available to the community!
custom projectiles are upcoming in the next release ive been cooking up for the past 4 days, they allow for exactly this thing, i will add a "clone projectile" option for them for you to simplify it
 

ChocolateDerg

Members
Members
Sep 22, 2026
4
0
Hi! I wanted to make a mod that allows the ballistic shield to take the support slot instead of the backpack slot, but it doesn't seem that the tool you shared on github allows for such modifications, or am I missing something?

Thanks for the ressources
 

SkyeShade

Modder
Modder
Members
Sep 27, 2026
190
80
Hi! I wanted to make a mod that allows the ballistic shield to take the support slot instead of the backpack slot, but it doesn't seem that the tool you shared on github allows for such modifications, or am I missing something?

Thanks for the ressources
i have not looked into adding that yet. but thats a good idea! i will try and see if i can open up the possibility for modifying things to take up different slots.
 

ChocolateDerg

Members
Members
Sep 22, 2026
4
0
i have not looked into adding that yet. but thats a good idea! i will try and see if i can open up the possibility for modifying things to take up different slots.
That sounds awesome! Thank you!
 

Feed03

Members
Members
Sep 22, 2026
14
6
Really great tool, do you need any help for development?

There are no fields for call-in times, or number of salves for strikes, or number of projectiles for bombing strikes.
 

SkyeShade

Modder
Modder
Members
Sep 27, 2026
190
80
Really great tool, do you need any help for development?

There are no fields for call-in times, or number of salves for strikes, or number of projectiles for bombing strikes.
already in next release. just fixing everything up at the moment before im done. it includes some pretty complex things, like custom stratagems