
The sim engine
Every sim here runs on SimulationCraft, the open-source simulator for World of Warcraft, built to run in your browser. It is free software under the GNU General Public License, version 3, and so is this build of it: everything you need to make it yourself is on this page.
- Game data
- 12.1.5.70783
- What we changed
- Two things. We added healing sims: raid members who take damage shaped like real fights, and every healer spec checked against top players’ Warcraft Logs, for raids and Mythic+. And a browser build has no threads, while SimulationCraft normally reads the gear sets it compares (its profilesets) on a thread of their own, so a small patch reads them all before the sim starts. Damage sims are SimulationCraft’s own.
- How it is built
- Compiled to WebAssembly with Emscripten, without the test-realm data. Your browser runs one copy per CPU thread and splits the work between them.
- Complete source of this buildsimc-source-555d948.tar.xz, 29.9 MB
The code exactly as compiled for this site, with our patch applied and the build script in wowhub-build/.
- The licenceLICENSE.txt
GNU General Public License, version 3: what you may do with the engine and its source.
- Our fork on GitHubgithub.com/pushnarity/wowhub-simc-app
SimulationCraft with our healing sims, updated every week: what we changed, and the real fights we check the healers against.
- SimulationCraft’s own projectgithub.com/simulationcraft/simc
Where the engine is made, by its own developers. Bugs in damage sims belong there.
diff --git a/engine/sim/profileset.cpp b/engine/sim/profileset.cpp
index a7d0631..b50cc20 100644
--- a/engine/sim/profileset.cpp
+++ b/engine/sim/profileset.cpp
@@ -698,6 +698,13 @@ void profilesets_t::initialize( sim_t* sim )
m_init_index = sim -> profileset_map.cbegin();
+#if defined( __EMSCRIPTEN__ ) && !defined( __EMSCRIPTEN_PTHREADS__ )
+ // wowhub: browser builds have no threads, so parse every profileset up front
+ if ( ! parse( sim ) )
+ {
+ sim -> cancel();
+ }
+#else
for ( int i = 0; i < sim -> profileset_init_threads; ++i )
{
m_thread.emplace_back([ this, sim ]() {
@@ -707,6 +714,7 @@ void profilesets_t::initialize( sim_t* sim )
}
} );
}
+#endif
}
void profilesets_t::cancel()