You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
engine is looking for irt_core-x86_64.nexe nacl_helper_bootstrap and nacl_loader in libpath #99
I noticed that the engine build system is building irt_core-x86_64.nexe, nacl_helper_bootstrap and nacl_loader in engine's build path, but the engine runtime is looking for them in libpath (i.e. the game's build path).
Basically, if you don't build the engine as a submodule (which is handy to not mess with it), you get this file layout:
Aren't engine things these nacl loader, helper and core nexe? Wouldn't makes more sense to have the engine looking for them in engine directory?
The issue does not occurs on default build scenario (engine as submodule) because the build directory is common, but it's a legit usage for an user to only build the engine (for example if he needs engine fixes only) to load a prebuilt vm, and in this case the user would have to copy the nacl/core nexe files from the engine build directory to the directory where he extracted the prebuilt vm (or the directory where the updater extracted the game). To me it looks better if the engine looks for those nacl loader, helper and core nexe in engine directory to not have to mess with game files.
Note that I don't know if the bug is having engine looking for irt_core-x86_64.nexe, nacl_helper_bootstrap and nacl_loader in libpath or the buildchain writing irt_core-x86_64.nexe, nacl_helper_bootstrap and nacl_loader in engine path.
The engine support binaries like the NaCl loader being in the same directory as the engine makes perfect sense. But what's annoying is that the gamelogic, when not inside a pak, has to be in the same directory as the engine. I think what we want is a gamelogic dir option that sets the path to look for the cgame/sgame binary when vm.cgame/sgame.type is nonzero.
Activity
illwieckz commentedon May 13, 2018
Note that I don't know if the bug is having engine looking for
irt_core-x86_64.nexe,nacl_helper_bootstrapandnacl_loaderin libpath or the buildchain writingirt_core-x86_64.nexe,nacl_helper_bootstrapandnacl_loaderin engine path.slipher commentedon Dec 31, 2021
There is a CMake option
NACL_RUNTIME_PATHwhich can be used as a workaroundslipher commentedon Dec 1, 2026
The engine support binaries like the NaCl loader being in the same directory as the engine makes perfect sense. But what's annoying is that the gamelogic, when not inside a pak, has to be in the same directory as the engine. I think what we want is a gamelogic dir option that sets the path to look for the cgame/sgame binary when
vm.cgame/sgame.typeis nonzero.