Closed abrauchli closed 6 years ago
Interestingly enough, InitManagedMaterials
is called earlier as can be seen in the log - that was touched just 3 commits ago in 34e760bc4ff0cf0566319fd08560f1ce5e793e4d
Curious, either RoRConfig or the build scripts are being too clever on Ubuntu. From your RoR.log:
[RoR|GVar] sys_resources_dir: SetActive(), new: "/usr/local/games/RoR/resources"
Is that the actual resources location or something else?
Yes, it looks correct:
ls /usr/local/games/RoR/resources
airfoils.zip cubemaps.zip flags.zip hydrax.zip meshes.zip paged.zip skeleton.zip textures.zip
beamobjects.zip dashboards.zip glow.zip icons.zip mygui.zip particles.zip SkyX.zip wallpapers.zip
blur.zip dof.zip hdr.zip managed_materials.zip OgreCore.zip rtshader.zip sounds.zip
caelum.zip famicons.zip heathaze.zip materials.zip overlays.zip scripts.zip sunburn.zip
I also have a managed_materials
directory in the resources directory
Try to unzip managed_materials.zip
in there and run again
@tritonas00 good spot
@abrauchli Your RoR is looking for a managed_materials
directory while there's a ZIP:
Added resource location '/usr/local/games/RoR/resources/managed_materials/' of type 'FileSystem' to resource group 'ManagedMats'
Looks like a bug. All other resources correctly use the ZIPs
@only-a-ptr managed_materials
is the only folder that cant be zipped, see: https://github.com/RigsOfRods/rigs-of-rods/blob/master/source/main/resources/ContentManager.cpp#L361
Thanks @tritonas00, @only-a-ptr, @AnotherFoxGuy ! Indeed, unzipping the zip into managed_materials
, and it runs.. (at least a bit further to an unrelated issue)
Looks like an installer issue, it's both as zip and as uncompressed dir in the release dir but only the zip is installed:
ls /home/abr/rigs-of-rods-source/rigs-of-rods/0_build/RelWithDebInfo/bin/resources/
airfoils.zip caelum.zip dof.zip glow.zip hydrax.zip managed_materials.zip mygui.zip paged.zip scripts.zip sounds.zip wallpapers.zip
beamobjects.zip cubemaps.zip famicons.zip hdr.zip icons.zip materials.zip OgreCore.zip particles.zip skeleton.zip sunburn.zip
blur.zip dashboards.zip flags.zip heathaze.zip managed_materials meshes.zip overlays.zip rtshader.zip SkyX.zip textures.zip
Built with unmodified build scripts from https://github.com/RigsOfRods/ror-linux-buildscripts Linux (Ubuntu 18.04)
Running with mini-fix from #1541 applied to avoid that crash.