And of course renamed the folder in the zip file (They both match if that's necessary). Then I launched Factorio and this time it blamed the next one (artillery_bunker_extension2) because I only changed the folder name of the first png then I assumed that changing the others will lead to success. But no luck again. It blames the same png file again. Also, before changing it (When I first encountered the error) There was another filename in the code but above... it had the same path. But why did it blame this one? Here's a little extended code
Those extra brackets under are for closing the part of the code above the shown.
Re: Does not match with any mod problem
Posted: Mon Apr 25, 2016 9:09 am
by DaveMcW
Don't put the version number in the filename.
Re: Does not match with any mod problem
Posted: Mon Apr 25, 2016 9:30 am
by wEight
Boy, that sure was hard to think about... thanks. But there really should be something to check if the folder contains uppercase letters or numbers then display it in the error before checking whether the folder's name (mod) exists.
Re: Does not match with any mod problem
Posted: Tue Apr 26, 2016 6:18 am
by doc
You are allowed uppercase letters and numbers, but the cases must all match. So if your mod name is ArtilleryBunkers then your zip should be ArtilleryBunkers_0.0.1.zip, the folder inside it should be ArtilleryBunkers_0.0.1, and then you can use __ArtilleryBunkers__ in your graphics paths in Lua. Everything in the game is case sensitive (also function and variable names, prototype names, everything.) For this reason it's probably easier to always keep everything lowercase so you never have to remember what was capitalised where!