"""Import a `kk-scene-package/1` or `/2` and run it as a scene. The counterpart of `scenes/tools/export_web_scene.py`: that one writes a package another simulator can import, this one reads one somebody else wrote. The format is the same in both directions, which is the point -- a room exported by scene-generator and a pitch exported from here are the same kind of file. python scripts/play.py --task go1_example --scene out/bedroom.scene python scripts/play.py --task go1_example --scene out/bedroom.scene.zip python scripts/play.py --task go1_example --scene library/maps/bedroom.map `/2` is what the map library format is written in: the `/1` world, plus the robot the map was authored around (`robot/`) and a thumbnail (`preview/`). Both are verified like every other file and neither is loaded -- the robot here is the task's own, the one the policy was trained on -- and `spawn` becomes required, which is what the next two sections are about. ## Simulation only An imported package is refused by `scripts/train.py`, and the refusal is the feature. The package is one room at the world origin; mjlab lays environments out on a grid by `env_spacing` and replicates nothing that is not an entity, so at 4096 environments exactly one robot would be indoors and 4095 would be walking on empty ground. Training runs, converges to something, and nothing anywhere reports a problem -- the same failure class as rough terrain with no height scan, and loud for the same reason. ## Attached, never spliced The world arrives as a whole MJCF written against its own compiler settings, so it is attached through `MjSpec.attach` rather than merged. Splicing was measured on mujoco 3.11, 3.13 and 3.14 alike to do three silent things to the host robot: joint limits reinterpreted as degrees, so +-1.57 rad becomes +-0.027 the robot's own mass and contacts rewritten -- 8.0 kg becomes 4.8