asrbic / Procedural_Ore_Generator

Other
15 stars 5 forks source link

`MOD_ERROR: Resource not found` for custom made mod with generator #11

Open ThaDaVos opened 3 years ago

ThaDaVos commented 3 years ago

I made a custom mod with your generator but it seems it doesn't work as I cannot find any ore in the world and checking the logs I find lots of these errors:

2021-09-10 21:29:49.443 - Thread:   1 ->     Loading planet definition Extreme Ores
2021-09-10 21:29:49.444 - Thread:   1 ->     MOD_ERROR: Extreme Ores
2021-09-10 21:29:49.444 - Thread:   1 ->       in file: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Data\Pertam.sbc
2021-09-10 21:29:49.444 - Thread:   1 ->       Resource not found, setting to null. Resource path: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Textures/Models/Environment/Sky/EarthFarClouds.dds
2021-09-10 21:29:49.445 - Thread:   1 ->     MOD_ERROR: Extreme Ores
2021-09-10 21:29:49.445 - Thread:   1 ->       in file: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Data\Pertam.sbc
2021-09-10 21:29:49.445 - Thread:   1 ->       Resource not found, setting to null. Resource path: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Textures/Models/Environment/Sky/Landsky_texture.dds
2021-09-10 21:29:49.445 - Thread:   1 ->     MOD_ERROR: Extreme Ores
2021-09-10 21:29:49.445 - Thread:   1 ->       in file: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Data\Pertam.sbc
2021-09-10 21:29:49.445 - Thread:   1 ->       Resource not found, setting to null. Resource path: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Textures/Models/Environment/Sky/Landsky_texture.dds
2021-09-10 21:29:49.446 - Thread:   1 ->     MOD_ERROR: Extreme Ores
2021-09-10 21:29:49.446 - Thread:   1 ->       in file: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Data\Pertam.sbc
2021-09-10 21:29:49.446 - Thread:   1 ->       Resource not found, setting to null. Resource path: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Textures/Models/Environment/Sky/Landsky_texture.dds
2021-09-10 21:29:49.447 - Thread:   1 ->     MOD_ERROR: Extreme Ores
2021-09-10 21:29:49.447 - Thread:   1 ->       in file: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Data\PlanetGeneratorDefinitions.sbc
2021-09-10 21:29:49.447 - Thread:   1 ->       Resource not found, setting to null. Resource path: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Textures/Models/Environment/Sky/EarthFarClouds.dds
2021-09-10 21:29:49.447 - Thread:   1 ->     MOD_ERROR: Extreme Ores
2021-09-10 21:29:49.447 - Thread:   1 ->       in file: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Data\PlanetGeneratorDefinitions.sbc
2021-09-10 21:29:49.447 - Thread:   1 ->       Resource not found, setting to null. Resource path: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Textures/Models/Environment/Sky/Landsky_texture.dds
2021-09-10 21:29:49.447 - Thread:   1 ->     MOD_ERROR: Extreme Ores
2021-09-10 21:29:49.447 - Thread:   1 ->       in file: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Data\PlanetGeneratorDefinitions.sbc
2021-09-10 21:29:49.447 - Thread:   1 ->       Resource not found, setting to null. Resource path: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Textures/Models/Environment/Sky/Landsky_texture.dds
2021-09-10 21:29:49.447 - Thread:   1 ->     MOD_ERROR: Extreme Ores
2021-09-10 21:29:49.447 - Thread:   1 ->       in file: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Data\PlanetGeneratorDefinitions.sbc
2021-09-10 21:29:49.447 - Thread:   1 ->       Resource not found, setting to null. Resource path: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Textures/Models/Environment/Sky/Landsky_texture.dds
2021-09-10 21:29:49.449 - Thread:   1 ->     MOD_ERROR: Extreme Ores
2021-09-10 21:29:49.449 - Thread:   1 ->       in file: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Data\PlanetGeneratorDefinitions.sbc
2021-09-10 21:29:49.449 - Thread:   1 ->       Resource not found, setting to null. Resource path: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Textures/Models/Environment/Sky/AlienSky.dds
2021-09-10 21:29:49.449 - Thread:   1 ->     MOD_ERROR: Extreme Ores
2021-09-10 21:29:49.449 - Thread:   1 ->       in file: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Data\PlanetGeneratorDefinitions.sbc
2021-09-10 21:29:49.449 - Thread:   1 ->       Resource not found, setting to null. Resource path: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Textures/Models/Environment/Sky/AlienSky.dds
2021-09-10 21:29:49.449 - Thread:   1 ->     MOD_ERROR: Extreme Ores
2021-09-10 21:29:49.449 - Thread:   1 ->       in file: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Data\PlanetGeneratorDefinitions.sbc
2021-09-10 21:29:49.449 - Thread:   1 ->       Resource not found, setting to null. Resource path: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Textures/Models/Environment/Sky/AlienSky.dds
2021-09-10 21:29:49.451 - Thread:   1 ->     MOD_ERROR: Extreme Ores
2021-09-10 21:29:49.451 - Thread:   1 ->       in file: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Data\PlanetGeneratorDefinitions.sbc
2021-09-10 21:29:49.451 - Thread:   1 ->       Resource not found, setting to null. Resource path: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Textures/Models/Environment/Sky/MartianSky.dds
2021-09-10 21:29:49.451 - Thread:   1 ->     MOD_ERROR: Extreme Ores
2021-09-10 21:29:49.451 - Thread:   1 ->       in file: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Data\PlanetGeneratorDefinitions.sbc
2021-09-10 21:29:49.451 - Thread:   1 ->       Resource not found, setting to null. Resource path: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Textures/Models/Environment/Sky/MartianSky.dds
2021-09-10 21:29:49.451 - Thread:   1 ->     MOD_ERROR: Extreme Ores
2021-09-10 21:29:49.451 - Thread:   1 ->       in file: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Data\PlanetGeneratorDefinitions.sbc
2021-09-10 21:29:49.451 - Thread:   1 ->       Resource not found, setting to null. Resource path: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Textures/Models/Environment/Sky/MartianSky.dds
2021-09-10 21:29:49.452 - Thread:   1 ->     MOD_ERROR: Extreme Ores
2021-09-10 21:29:49.452 - Thread:   1 ->       in file: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Data\PlanetGeneratorDefinitions.sbc
2021-09-10 21:29:49.452 - Thread:   1 ->       Resource not found, setting to null. Resource path: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Textures/Models/Environment/Sky/MartianSky02.dds
2021-09-10 21:29:49.452 - Thread:   1 ->     MOD_ERROR: Extreme Ores
2021-09-10 21:29:49.452 - Thread:   1 ->       in file: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Data\PlanetGeneratorDefinitions.sbc
2021-09-10 21:29:49.452 - Thread:   1 ->       Resource not found, setting to null. Resource path: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Textures/Models/Environment/Sky/MartianSky02.dds
2021-09-10 21:29:49.452 - Thread:   1 ->     MOD_ERROR: Extreme Ores
2021-09-10 21:29:49.452 - Thread:   1 ->       in file: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Data\PlanetGeneratorDefinitions.sbc
2021-09-10 21:29:49.452 - Thread:   1 ->       Resource not found, setting to null. Resource path: {%appdata%}\SpaceEngineers\Mods\Extreme Ores\Textures/Models/Environment/Sky/MartianSky.dds

Any idea why this happens?

ThaDaVos commented 3 years ago

My config:

{
    "planetDataPath": "{PATH_TO_STEAM_LIBRARY}\\steamapps\\common\\SpaceEngineers\\Content\\Data\\PlanetDataFiles",
    "planetGeneratorDefinitionsPathArray": [
        "{PATH_TO_STEAM_LIBRARY}\\steamapps\\common\\SpaceEngineers\\Content\\Data\\PlanetGeneratorDefinitions.sbc",
        "{PATH_TO_STEAM_LIBRARY}\\steamapps\\common\\SpaceEngineers\\Content\\Data\\Triton.sbc",
        "{PATH_TO_STEAM_LIBRARY}\\steamapps\\common\\SpaceEngineers\\Content\\Data\\Pertam.sbc"
    ],
    "countExistingTiles": true,
    "surfaceAreaMultiplier": 1.21,
    "patchSizeVariance": 0.64,
    "maxOreTiles": 2147483647,
    "maxOrePatches": 128,
    "loadSurfaceHintMaps": true,
    "makeColouredMaps": false,
    "testColourHex": "FFFFFF",
    "density": 1.21,
    "p": 0.0,
    "avoidIce": true,
    "shape": 2,
    "surfaceHintProbability": 1.0,
    "surfaceHintMaps": true,
    "surfaceHintColour": 128,
    "seed": 25121996,
    "surfaceArea": 50,
    "planetMaterialsFilePath": "./PlanetGeneratorDefinitions.sbc",
    "mappingFileColourInfluence": 15,
    "mappingFileTargetColour": "#616c83",
    "oreTemplates": [
        {
            "id": 1,
            "type": "Iron_02",
            "surfaceArea": 2000,
            "startDepth": 140,
            "depth": 120,
            "testColourHex": "E00000",
            "centreOreTile": 2
        },
        {
            "id": 2,
            "type": "Iron_02",
            "surfaceArea": 24,
            "startDepth": 2,
            "depth": 12,
            "shape": 6,
            "density": 1.0,
            "p": 0.0,
            "testColourHex": "00E0E0"
        },
        {
            "id": 24,
            "type": "Nickel_01",
            "surfaceArea": 1600,
            "startDepth": 200,
            "depth": 90,
            "testColourHex": "FF9741",
            "centreOreTile": 25
        },
        {
            "id": 25,
            "type": "Nickel_01",
            "surfaceArea": 24,
            "startDepth": 2,
            "depth": 12,
            "shape": 6,
            "density": 1.0,
            "p": 0.0,
            "testColourHex": "40A9FF"
        },
        {
            "id": 48,
            "type": "Silicon_01",
            "surfaceArea": 1440,
            "startDepth": 240,
            "depth": 60,
            "testColourHex": "C44DFF",
            "centreOreTile": 49
        },
        {
            "id": 49,
            "type": "Silicon_01",
            "surfaceArea": 24,
            "startDepth": 2,
            "depth": 12,
            "shape": 6,
            "density": 1.0,
            "p": 0.0,
            "testColourHex": "FF6A4D"
        },
        {
            "id": 72,
            "type": "Cobalt_01",
            "surfaceArea": 1360,
            "startDepth": 640,
            "depth": 46,
            "testColourHex": "0033FF",
            "centreOreTile": 73
        },
        {
            "id": 73,
            "type": "Cobalt_01",
            "surfaceArea": 24,
            "startDepth": 2,
            "depth": 12,
            "shape": 6,
            "density": 1.0,
            "p": 0.0, 
            "testColourHex": "FF00B3"
        },
        {
            "id": 96,
            "type": "Silver_01",
            "surfaceArea": 480,
            "startDepth": 460,
            "depth": 36,
            "testColourHex": "A0A0A0",
            "centreOreTile": 97
        },
        {
            "id": 97,
            "type": "Silver_01",
            "surfaceArea": 24,
            "startDepth": 2,
            "depth": 12,
            "shape": 6,
            "density": 1.0,
            "p": 0.0,
            "testColourHex": "5f0707"
        },
        {
            "id": 120,
            "type": "Magnesium_01",
            "surfaceArea": 1260,
            "startDepth": 1200,
            "depth": 76,
            "testColourHex": "958CFF",
            "centreOreTile": 121
        },
        {
            "id": 121,
            "type": "Magnesium_01",
            "surfaceArea": 24,
            "startDepth": 2,
            "depth": 12,
            "shape": 6,
            "density": 1.0,
            "p": 0.0,
            "testColourHex": "FF8CBC"
        },
        {
            "id": 168,
            "type": "Gold_01",
            "surfaceArea": 580,
            "startDepth": 1350,
            "depth": 68,
            "testColourHex": "FFD800",
            "centreOreTile": 169
        },
        {
            "id": 169,
            "type": "Gold_01",
            "surfaceArea": 24,
            "startDepth": 2,
            "depth": 12,
            "shape": 6,
            "density": 1.0,
            "p": 0.0,
            "testColourHex": "00FF59"
        },
        {
            "id": 144,
            "type": "Uraninite_01",
            "surfaceArea": 244,
            "density": 0.7,
            "startDepth": 1520,
            "depth": 36,
            "surfaceHintProbability": 0.2,
            "testColourHex": "00FF00",
            "centreOreTile": 145
        },
        {
            "id": 145,
            "type": "Uraninite_01",
            "surfaceArea": 24,
            "startDepth": 2,
            "depth": 12,
            "shape": 6,
            "density": 0.7,
            "p": 0.0,
            "testColourHex": "0080FF"
        },
        {
            "id": 192,
            "type": "Platinum_01",
            "surfaceArea": 284,
            "density": 0.6,
            "startDepth": 1640,
            "depth": 24,
            "surfaceHintProbability": 0.2,
            "testColourHex": "5D188E",
            "centreOreTile": 193
        },
        {
            "id": 193,
            "type": "Platinum_01",
            "surfaceArea": 24,
            "startDepth": 2,
            "depth": 12,
            "shape": 6,
            "density": 0.6,
            "p": 0.0,
            "testColourHex": "8F2218"
        }
    ],
    "planets": [
        {
            "name": "Alien",
            "surfaceHintColour": 160,
            "maxOreTiles": 50000,
            "ores": [
                {
                    "id": 1,
                    "p": 0.0
                },
                {
                    "id": 24,
                    "p": 0.0
                },
                {
                    "id": 48,
                    "p": 0.0
                },
                {
                    "id": 72,
                    "p": 0.0
                },
                {
                    "id": 96,
                    "p": 0.0
                },
                {
                    "id": 120,
                    "p": 0.0
                },
                {
                    "id": 168,
                    "p": 0.4
                },
                {
                    "id": 144,
                    "p": 1.0,
                    "surfaceArea": 84
                },
                {
                    "id": 192,
                    "p": 0.0
                },
                {
                    "id": 2
                },
                {
                    "id": 25
                },
                {
                    "id": 49
                },
                {
                    "id": 73
                },
                {
                    "id": 97
                },
                {
                    "id": 121
                },
                {
                    "id": 169
                },
                {
                    "id": 145
                },
                {
                    "id": 193
                }
            ]
        },
        {
            "name": "EarthLike",
            "surfaceHintColour": 144,
            "ores": [
                {
                    "id": 1,
                    "p": 0.4
                },
                {
                    "id": 24,
                    "p": 0.2
                },
                {
                    "id": 48,
                    "p": 0.2
                },
                {
                    "id": 72,
                    "p": 0.4
                },
                {
                    "id": 96,
                    "p": 0.02
                },
                {
                    "id": 120,
                    "p": 0.15
                },
                {
                    "id": 168,
                    "p": 0.0
                },
                {
                    "id": 144,
                    "p": 0.008
                },
                {
                    "id": 192,
                    "p": 0.0
                },
                {
                    "id": 2
                },
                {
                    "id": 25
                },
                {
                    "id": 49
                },
                {
                    "id": 73
                },
                {
                    "id": 97
                },
                {
                    "id": 121
                },
                {
                    "id": 169
                },
                {
                    "id": 145
                },
                {
                    "id": 193
                }
            ]
        },
        {
            "name": "Europa",
            "surfaceHintColour": 128,
            "ores": [
                {
                    "id": 1,
                    "p": 0.1
                },
                {
                    "id": 24,
                    "p": 0.05
                },
                {
                    "id": 48,
                    "p": 0.05
                },
                {
                    "id": 72,
                    "p": 0.0
                },
                {
                    "id": 96,
                    "p": 0.2
                },
                {
                    "id": 120,
                    "p": 0.0
                },
                {
                    "id": 168,
                    "p": 0.6
                },
                {
                    "id": 144,
                    "p": 0.01
                },
                {
                    "id": 192,
                    "p": 0.0
                },
                {
                    "id": 2
                },
                {
                    "id": 25
                },
                {
                    "id": 49
                },
                {
                    "id": 73
                },
                {
                    "id": 97
                },
                {
                    "id": 121
                },
                {
                    "id": 169
                },
                {
                    "id": 145
                },
                {
                    "id": 193
                }
            ]
        },
        {
            "name": "Mars",
            "surfaceHintColour": 128,
            "ores": [
                {
                    "id": 1,
                    "p": 0.5,
                    "surfaceArea": 3200
                },
                {
                    "id": 24,
                    "p": 0.05,
                    "surfaceArea": 164
                },
                {
                    "id": 48,
                    "p": 0.05,
                    "surfaceArea": 120
                },
                {
                    "id": 72,
                    "p": 0.005,
                    "surfaceArea": 132
                },
                {
                    "id": 96,
                    "p": 0.0
                },
                {
                    "id": 120,
                    "p": 0.1
                },
                {
                    "id": 168,
                    "p": 0.0
                },
                {
                    "id": 144,
                    "p": 0.0
                },
                {
                    "id": 192,
                    "p": 0.6,
                    "surfaceArea": 322
                },
                {
                    "id": 2
                },
                {
                    "id": 25
                },
                {
                    "id": 49
                },
                {
                    "id": 73
                },
                {
                    "id": 97
                },
                {
                    "id": 121
                },
                {
                    "id": 169
                },
                {
                    "id": 145
                },
                {
                    "id": 193
                }
            ]
        },
        {
            "name": "Moon",
            "surfaceHintColour": 176,
            "ores": [
                {
                    "id": 1,
                    "p": 0.1
                },
                {
                    "id": 24,
                    "p": 0.05
                },
                {
                    "id": 48,
                    "p": 0.3
                },
                {
                    "id": 72,
                    "p": 0.0
                },
                {
                    "id": 96,
                    "p": 0.4
                },
                {
                    "id": 120,
                    "p": 0.05
                },
                {
                    "id": 168,
                    "p": 0.2
                },
                {
                    "id": 144,
                    "p": 0.0
                },
                {
                    "id": 192,
                    "p": 0.005
                },
                {
                    "id": 2
                },
                {
                    "id": 25
                },
                {
                    "id": 49
                },
                {
                    "id": 73
                },
                {
                    "id": 97
                },
                {
                    "id": 121
                },
                {
                    "id": 169
                },
                {
                    "id": 145
                },
                {
                    "id": 193
                }
            ]
        },
        {
            "name": "Pertam",
            "surfaceHintColour": 144,
            "ores": [
                {
                    "id": 1,
                    "p": 0.4
                },
                {
                    "id": 24,
                    "p": 0.2
                },
                {
                    "id": 48,
                    "p": 0.2
                },
                {
                    "id": 72,
                    "p": 0.4
                },
                {
                    "id": 96,
                    "p": 0.02
                },
                {
                    "id": 120,
                    "p": 0.15
                },
                {
                    "id": 168,
                    "p": 0.0
                },
                {
                    "id": 144,
                    "p": 0.008
                },
                {
                    "id": 192,
                    "p": 0.0
                },
                {
                    "id": 2
                },
                {
                    "id": 25
                },
                {
                    "id": 49
                },
                {
                    "id": 73
                },
                {
                    "id": 97
                },
                {
                    "id": 121
                },
                {
                    "id": 169
                },
                {
                    "id": 145
                },
                {
                    "id": 193
                }
            ]
        },
        {
            "name": "Titan",
            "surfaceHintColour": 128,
            "ores": [
                {
                    "id": 1,
                    "p": 0.2
                },
                {
                    "id": 24,
                    "p": 0.7
                },
                {
                    "id": 48,
                    "p": 0.2
                },
                {
                    "id": 72,
                    "p": 0.0
                },
                {
                    "id": 96,
                    "p": 0.2
                },
                {
                    "id": 120,
                    "p": 0.0
                },
                {
                    "id": 168,
                    "p": 0.0
                },
                {
                    "id": 144,
                    "p": 0.1,
                    "surfaceArea": 196
                },
                {
                    "id": 192,
                    "p": 0.3
                },
                {
                    "id": 2
                },
                {
                    "id": 25
                },
                {
                    "id": 49
                },
                {
                    "id": 73
                },
                {
                    "id": 97
                },
                {
                    "id": 121
                },
                {
                    "id": 169
                },
                {
                    "id": 145
                },
                {
                    "id": 193
                }
            ]
        },
        {
            "name": "Triton",
            "surfaceHintColour": 144,
            "ores": [
                {
                    "id": 1,
                    "p": 0.4
                },
                {
                    "id": 24,
                    "p": 0.2
                },
                {
                    "id": 48,
                    "p": 0.2
                },
                {
                    "id": 72,
                    "p": 0.4
                },
                {
                    "id": 96,
                    "p": 0.02
                },
                {
                    "id": 120,
                    "p": 0.15
                },
                {
                    "id": 168,
                    "p": 0.008
                },
                {
                    "id": 144,
                    "p": 0.0
                },
                {
                    "id": 192,
                    "p": 0.0
                },
                {
                    "id": 2
                },
                {
                    "id": 25
                },
                {
                    "id": 49
                },
                {
                    "id": 73
                },
                {
                    "id": 97
                },
                {
                    "id": 121
                },
                {
                    "id": 169
                },
                {
                    "id": 145
                },
                {
                    "id": 193
                }
            ]
        }
    ]
}
ThaDaVos commented 3 years ago

I checked the color-maps and there seems to be enough ore generated, just cannot find it and hoping it's due the errors

mkaito commented 2 years ago

The dds errors are harmless and expected. This is because you're defining planets, but the definitions reference textures that are not included in your mod. This is fine. When this happens, it falls back to vanilla textures with the same path. This is just Keen generating an error when it should have been a warning at most.