HD2Runtime v0.40.0

A Mod for Helldivers 2
HD2Runtime akl_mod_preview_image
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
15,377
Comments
301
Views
81,974
First release
Last update
Platform
PC 
Version
v0.40.0
Total Size
5.9 MB
Rating
4.50 star(s) 38 ratings

Uploaded by

  • 15,377
  • 81,974

Ratings

4.50 star(s) 38 ratings

More mods from SkyeShade

  • PC HD2R Editor

  • PC Buffed AR-23C Liberator Concussive

  • PC Vampiric Throwing Knives

Latest updates

  1. 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...
  2. 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...
  3. HD2Runtime v0.31.2 - No More Stutter, Four Statuses per Hit and more

    A hotfix built from player reports. - No more stutter: custom stratagems no longer cause a...

SkyeShade

Modder
Modder
Members
Sep 27, 2026
188
78
Oh no someone made something public and the public is having critical issues with the mod...ahh, the horrors of reviews and criticism.
im just one person living on my own. spending countless hours of my time. combine that with the volatile memory edits that all these mods do at runtime, there are countless issues that can cause crashes, countless. i cant patch and locate them all faster than people encounter them
 

SkyeShade

Modder
Modder
Members
Sep 27, 2026
188
78
Here’s what’s happening: when I launch the game, the game window disappears—just like it would during a typical crash—but the process remains visible in Task Manager. A similar crash has also occurred occasionally when finishing missions.

What should I do? This happens when using the updated HD2Runtime and HD2R Editor; however, if I enable ONLY those two along with Bingus Shared Loader, the crash doesn’t occur. What should I be looking for in the log file?

Sorry to bother you—it’s probably something trivial, but my eyes are starting to cross from staring at these logs, especially since I’m not even sure what I’m supposed to be looking for.

The log is over 400 lines long, so I don’t think I can just paste it into a comment. Could I send the log file to you via a private message?
seems a lot of mods are incompatible with the latest optimizations i did on runtime. they seem to mistake the buffer that hd2r uses as the real game memory which isnt ideal
 

Vhuz

Modder
Modder
Members
Sep 10, 2026
173
79
Hey Skye, I just wanted to ask a question, don't need to implement it!

Is unlocking the Squad limit possible with Runtime? Like having 5-6 helldivers in a mission/lobby for instance, This would crash the game yeah? the game's limit
 

SkyeShade

Modder
Modder
Members
Sep 27, 2026
188
78
Hey Skye, I just wanted to ask a question, don't need to implement it!

Is unlocking the Squad limit possible with Runtime? Like having 5-6 helldivers in a mission/lobby for instance, This would crash the game yeah? the game's limit
No its pretty hard coded in, you would need to rewrite a lot of the backend of the game. so its impossible with the current limited modding

(but i have an upcoming project that exposes the tools required to do it :3)
 

Vhuz

Modder
Modder
Members
Sep 10, 2026
173
79
No its pretty hard coded in, you would need to rewrite a lot of the backend of the game. so its impossible with the current limited modding

(but i have an upcoming project that exposes the tools required to do it :3)
Hohooo!!! Interesting-Interesting. Well I Figured as much, given there's only 4 hellpods in ship lobby, forcing more players would be weird as they'd have nowhere to go... Unless the system allows em to join mid-mission, would make more sense. Kinda like outer reinforcements of heavy seaf nature.
 

stslothboy84

Members
Members
Sep 14, 2026
28
5
Hey i found the issues. it seemed to be another mod and this one kind of fixed itself. It was causing issues on its own but now it just doesn't. I cant change my review but everything is working good now
 

Ostarion

Members
Members
Oct 1, 2026
5
0
I can't use this since it crashes but I'd like being able to set firemodes on things, specifically the WASP since it's burst fire in the original game it's from. Also being able to make guns two handed
 
Last edited:

Crazy mek Zgog

Members
Members
May 3, 2026
44
22
In the comments, it was suggested that the issue might have been caused by mods that replace projectiles. That turned out to be the case for me; the game was able to launch once those mods were removed.