Page 1 of 1
Installing mods
Posted: Sat May 17, 2014 2:29 am
by bird2750
I found a great and simple guide on installing mods on the wiki, but it's a little hard to find. So here it is:
https://forums.factorio.com/wiki/inde ... lling_Mods
Re: Installing mods
Posted: Sat May 17, 2014 2:51 pm
by FreeER
It should be noted that the images are only for the XP install (not Windows Vista/7/8, Mac, or Linux)
Re: Installing mods
Posted: Fri Jun 06, 2014 3:19 pm
by bird2750
Yes, but you can still get to it on mac with the same file path. Just right click on factorio in finder, click show package contents, then the data file is contents/data.
Hope this helps.
Re: Installing mods
Posted: Sun Jun 08, 2014 6:51 pm
by ssilk
Re: Installing mods
Posted: Tue Oct 04, 2016 2:15 pm
by luc
How safe is it to install mods from an untrusted source? I read elsewhere that you can't make a mod to display the current (real world, not game world) time because it can't do system calls or something like that, but what can it do? As far as I know, Lua is a proper programming/scripting language, so how are mods restricted from doing things like accessing the file system?
Re: Installing mods
Posted: Tue Oct 04, 2016 2:32 pm
by aubergine18
The modding environment in the game is safe as far as I can tell - There's nothing that allows mods to do arbitrary stuff with your system. Also, the mods are plain text so you can just look at their source code to see what they are doing.
Re: Installing mods
Posted: Tue Oct 04, 2016 7:19 pm
by luc
Thanks for the answer. Still I wonder, what prevents anyone from doing system calls? I don't know much about Lua, but for example in PHP shared webhosts disable functions like `shell_exec()`. Are similar policies set for Lua (functions disabled by name), or is there another method of limiting what mods can do?
Re: Installing mods
Posted: Tue Oct 04, 2016 8:55 pm
by Rseding91
luc wrote:Thanks for the answer. Still I wonder, what prevents anyone from doing system calls? I don't know much about Lua, but for example in PHP shared webhosts disable functions like `shell_exec()`. Are similar policies set for Lua (functions disabled by name), or is there another method of limiting what mods can do?
The APIs are disabled - trying to call them just results in "function doesn't exist".
Re: Installing mods
Posted: Tue Oct 04, 2016 10:52 pm
by luc
Okay, thanks!
Re: Installing mods
Posted: Thu Oct 05, 2017 12:10 pm
by olafthecat
This is very outdated
Re: Installing mods
Posted: Thu Oct 05, 2017 12:13 pm
by Bilka
olafthecat wrote:This is very outdated
Why are you necroing it then? The linked wiki pages are up to date, this thread is just old, which is you know.. normal?
Re: Installing mods
Posted: Thu Oct 05, 2017 1:21 pm
by Koub
Bilka wrote:olafthecat wrote:This is very outdated
Why are you necroing it then? The linked wiki pages are up to date, this thread is just old, which is you know.. normal?
[Koub] Outdated, thus locked