I add more equipment for my game but I don't understand this problem. if I change the file of icon and start the game, this message appears " boost::filesystem::path codecvt to wstring: error"
For exemple :
Code: Select all
data:extend(
{
{
type = "technology",
name = "advanced-electronics-3",
icon = "__base__/graphics/icons/processing-unit.png",
effects =
{
{
type = "unlock-recipe",
recipe = "processing-unit-or"
},
},
prerequisites = { "advanced-material-processing-2", "advanced-electronics-2"},
unit =
{
count = 60,
ingredients = {{"science-pack-1", 1},{"science-pack-2", 1},{"science-pack-3", 1}},
time = 10
},
order = "c-c-c"
},
}
)
But if I change the icon's File
Code: Select all
data:extend(
{
{
type = "technology",
name = "advanced-electronics-3",
icon = "__Equipement_avancé__/graphics/icons/processing-unit.png",
effects =
{
{
type = "unlock-recipe",
recipe = "processing-unit-or"
},
},
prerequisites = { "advanced-material-processing-2", "advanced-electronics-2"},
unit =
{
count = 60,
ingredients = {{"science-pack-1", 1},{"science-pack-2", 1},{"science-pack-3", 1}},
time = 10
},
order = "c-c-c"
},
}
)
But the file is placed well
If you can help me plz
Thanks you for your time.