Path does not match any mod

Place to get help with not working mods / modding interface.
Post Reply
NastyGamer
Burner Inserter
Burner Inserter
Posts: 7
Joined: Mon Jun 05, 2017 4:17 pm
Contact:

Path does not match any mod

Post by NastyGamer »

when I start Factorio, I get the error "Path __Chemfactory__/graphics/icons/reaction-chamber.png does not match any mod, however the patch is correct.

reaction-chamber.lua:

Code: Select all

data:extend({
{
    type = "assembling-machine",
    name = "reaction chamber",
    icon = "__chemfactory__/graphics/icons/reaction-chamber.png",
    flags = {"placeable-neutral","placeable-player", "player-creation"},
    minable = {hardness = 0.2, mining_time = 0.5, result = "reaction chamber"},
    fast_replaceable_group = "electrolyser",
    corpse = "big-remnants",
    collision_box = {{-1.4, -1.4}, {1.4, 1.4}},
    selection_box = {{-1.5, -1.5}, {1.5, 1.5}},
    max_health = 275,
    crafting_categories = {"oil-processing"},
    allowed_effects = {"consumption", "speed", "productivity", "pollution"},
    module_specification =
    {
      module_slots = 5,
    },
    crafting_speed = 2,
    ingredient_count = 6,
    energy_usage = "300kW",
    energy_source =
    {
      type = "electric",
      usage_priority = "secondary-input",
      emissions = 0.01 / 5
    },
    animation =
    {
      north =
      {
        filename = "__Chemfactory__/graphics/icons/reaction-chamber.png",
        width = 108,
        height = 130,
        frame_count = 1,
        shift = {0, -0.28125}
      },
      west =
      {
        filename = "__Chemfactory__/graphics/icons/reaction-chamber.png",
        width = 112,
        height = 120,
        frame_count = 1,
        shift = {0, -0.21875}
      },
      south =
      {
        filename = "__Chemfactory__/graphics/icons/reaction-chamber.png",
        width = 108,
        height = 130,
        frame_count = 1,
        shift = {0, -0.28125}
      },
      east =
      {
        filename = "__Chemfactory__/graphics/icons/reaction-chamber.png",
        width = 112,
        height = 120,
        frame_count = 1,
        shift = {0, -0.21875}
      }
    },
    working_sound =
    {
      sound = {
        {
          filename = "__base__/sound/chemical-plant.ogg",
          volume = 0.8
        }
      },
      idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.6 },
      apparent_volume = 1.5,
    },
  }
  })
item.lua:

Code: Select all

data:extend({
{
type = "item",
name = "reaction chamber",
icon = "__Chemfactory__/graphics/icons/reaction-chamber.png",
flags = {"goes-to-quickbar"},
subgroup = "ammo",
place_result = "reaction chamber", 
stack_size = 10 
}
})

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Path does not match any mod

Post by Klonan »

The path is case-sensitive

NastyGamer
Burner Inserter
Burner Inserter
Posts: 7
Joined: Mon Jun 05, 2017 4:17 pm
Contact:

Re: Path does not match any mod

Post by NastyGamer »

Klonan wrote:The path is case-sensitive
So that means what?
(Sorry I'm completely new to modding) :D

User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 2124
Joined: Thu Jun 12, 2014 3:05 am
Contact:

Re: Path does not match any mod

Post by Ranakastrasz »

capitalization must match
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16

Pandemoneus
Fast Inserter
Fast Inserter
Posts: 127
Joined: Fri May 08, 2015 2:25 pm
Contact:

Re: Path does not match any mod

Post by Pandemoneus »

If your mod is named chemfactory then the path has to start with __chemfactory__ too, and not __Chemfactory__.
My RSO+Bob's+Angel's modpack: Farlands (outdated)
Mods (current): Resource Labels
Mods (old): Biter Spires

NastyGamer
Burner Inserter
Burner Inserter
Posts: 7
Joined: Mon Jun 05, 2017 4:17 pm
Contact:

Re: Path does not match any mod

Post by NastyGamer »

Pandemoneus wrote:If your mod is named chemfactory then the path has to start with __chemfactory__ too, and not __Chemfactory__.
got it thanks

Post Reply

Return to “Modding help”