So after the new update, 0.9, quite a lot of the textures in my map just broke. It worked great before the update, what has changed that could have impacted this? And how can I fix it again?
Looks like a corrupted game install. Please try the following: https://support.steampowered.com/kb_article.php?ref=2037-QEUH-3335&l=english Or a clean reinstall
It isn't one of the default maps, it is on my own map. The default maps all work fine for me. This is the map: https://www.beamng.com/resources/deserted-broken.1574/
So here's the issue: You had assets (be they textures or models) that were mapped to the Dry Rock Island folder. Since this map has been (stupidly imo) pulled from the game, all the links to the textures are broken. First and foremost, you must have the DRI textures copied into your art folder of your map. If you don't have them all or didn't do this, download DRI from the repo. Copy the art folder from DRI into your map's art folder, overwrite as necessary. For example, in my art/shapes/buildings/materials.cs file (you may have to do this in multiple files), you need to change the dependencies/file mapping to be referenced locally (from your map folder). So, for example, below is a texture mapped to a default folder; dry rock island: Code: singleton Material(ind_bld_extras2) { mapTo = "ind_bld__2__extras2"; diffuseMap[0] = "ind_bld_buildingextras2_d.dds"; doubleSided = "1"; translucentBlendOp = "None"; detailScale[0] = "2 2"; specularMap[0] = "ind_bld_buildingextras2_s.dds"; materialTag0 = "beamng"; useAnisotropic[0] = "0"; }; So, the game doesn't know where to pull the texture from. The fix is this: Code: singleton Material(ind_bld_extras2) { mapTo = "ind_bld__2__extras2"; -> diffuseMap[0] = "levels/YourMapHere/art/shapes/buildings/ind_bld_buildingextras2_d.dds"; doubleSided = "1"; translucentBlendOp = "None"; detailScale[0] = "2 2"; -> specularMap[0] = "levels/YourMapHere/art/shapes/buildings/ind_bld_buildingextras2_s.dds"; materialTag0 = "beamng"; useAnisotropic[0] = "0"; }; Omit the arrows, of course :) That covers one issue. Assuming you just copied over everything from the DRI art folder, you'll need to change all the file mappings to be referenced from your folder. In notepad++ or regular notepad, go into every materials .cs and do a find and replace for "dry_rock_island" (no quotes) and replace it with your map name exactly as it's read on the folder. Notepad++ is best because you can use 'Find in Files' and replace every instance of "dry_rock_island" with "/levels/YourMapHere/art/etc.etc./" in seconds Hope this helps!