When loading game mod throws no errors, and doesn't load

Place to get help with not working mods / modding interface.
Peacerino
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Aug 05, 2018 4:25 am
Contact:

When loading game mod throws no errors, and doesn't load

Post by Peacerino »

At the title suggests my mod is a dud. It doesn't do anything unfortunately. Any help is the big appreciate. Additionally I was following this tutorial by Klonan.TV https://www.youtube.com/watch?v=8lPNOOVYeMU
Attachments
ez_electric_furnace_0.1.rar
(2.85 KiB) Downloaded 62 times
PyroGreg
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sun Aug 05, 2018 10:31 am
Contact:

Re: When loading game mod throws no errors, and doesn't load

Post by PyroGreg »

Hi !
At first look, you have made many mistakes :

- In your "info" file : Your extention is wrong : you make a .lua, but you need a .json;
- Inside the info file, you forgot to indicate the game version and the dependencies;
- In your /local/en folder, you have a local.cfg, rename it to config.cfg

It's just a rapid look, try to fix that et feed back ^^


For your info file :

Code: Select all

{
    "name": "ez_electric_furnace",
    "version": "0.1",
    "title": "EZ Electric Furnace",
    "author": "Gurekaperson",
    "contact": "",
    "homepage": "",
    "factorio_version": "0.16",
    "dependencies": ["base >= 0.16"],
    "description": "adds an easy electric furnace."
}
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2905
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: When loading game mod throws no errors, and doesn't load

Post by darkfrei »

PyroGreg wrote:- In your /local/en folder, you have a local.cfg, rename it to config.cfg
Why?
PyroGreg
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sun Aug 05, 2018 10:31 am
Contact:

Re: When loading game mod throws no errors, and doesn't load

Post by PyroGreg »

darkfrei wrote:
PyroGreg wrote:- In your /local/en folder, you have a local.cfg, rename it to config.cfg
Why?
Maybe his "local.cfg" work, but in this tutorial https://wiki.factorio.com/Tutorial:Modd ... sir#Locale, he says to name the file like that !
In the mod folder, create a folder called locale, then create another folder inside that called en, then a file called config.cfg.
Bilka
Factorio Staff
Factorio Staff
Posts: 3470
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: When loading game mod throws no errors, and doesn't load

Post by Bilka »

PyroGreg wrote:Maybe his "local.cfg" work, but in this tutorial https://wiki.factorio.com/Tutorial:Modd ... sir#Locale, he says to name the file like that !
In the mod folder, create a folder called locale, then create another folder inside that called en, then a file called config.cfg.
The name doesn't matter, the tutorial is just an example, you also don't have to follow the folder structure etc.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
User avatar
steinio
Smart Inserter
Smart Inserter
Posts: 2638
Joined: Sat Mar 12, 2016 4:19 pm
Contact:

Re: When loading game mod throws no errors, and doesn't load

Post by steinio »

The file needs to be a zip not a rar...
Image

Transport Belt Repair Man

View unread Posts
Peacerino
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Aug 05, 2018 4:25 am
Contact:

Re: When loading game mod throws no errors, and doesn't load

Post by Peacerino »

I found an old version of my mod on a dropbox! How do I close this thread?
Post Reply

Return to “Modding help”