Skip to content

Fix Emscripten build, with support for mods and Hellfire#8583

Merged
glebm merged 5 commits into
diasurgical:masterfrom
HoofedEar:fix-emscripten
Jun 11, 2026
Merged

Fix Emscripten build, with support for mods and Hellfire#8583
glebm merged 5 commits into
diasurgical:masterfrom
HoofedEar:fix-emscripten

Conversation

@HoofedEar

Copy link
Copy Markdown
Contributor

These changes are what I had to do to get Emscripten to compile/build, as well as get Hellfire working on it, as before it didn't account for mods so it wouldn't do anything with the Hellfire .mpq files

Comment thread CMakeLists.txt Outdated
-lidbfs.js
--shell-file ${CMAKE_CURRENT_SOURCE_DIR}/Packaging/emscripten/index.html
)
if(TARGET hellfire_copied_assets)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this if necessary? I think the target should always be there?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call, I'll remove that this morning

@glebm glebm merged commit 421bb16 into diasurgical:master Jun 11, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants