Help please, how to install mods.

  • Punchin
    9th Nov 2013 Member 0 Permalink

    Im searching in powder how to install mods, and i dont know for the moment, no have one tutorial, so i asquing here.

     

    Someone can tell me how to install the mods, how to use... The programs i need or i dont know.

     

    Thanks.

     

    PD: Sorry if my english is bad, im spanish.

     

    Edited 2 times by Punchin. Last: 9th Nov 2013
  • boxmein
    9th Nov 2013 Former Staff 1 Permalink
    It depends on the mod type:

    1. C++ mods (.exe files)
    Those are easy - just run them like you would regular Powder Toy!
    2. Lua mods (.lua files)
    Those are not-so-easy: first you got to move the .lua file next to Powder.exe wherever you unpacked it, and second you have to open TPT and into the console write
    dofile('my-lua-mod.lua')
    where my-lua-mod.lua is actually the file's filename. If you want to not do the second step manually, get cracker64's lua mod manager
    Edited 3 times by boxmein. Last: 9th Nov 2013
  • mniip
    9th Nov 2013 Developer 0 Permalink
    >boxmein
    >table
  • Punchin
    9th Nov 2013 Member 0 Permalink

    @boxmein (View Post)

     

    I dont understand how to install the autorun, how to do it func whit powder, can you explain me?

    Edited 3 times by Punchin. Last: 9th Nov 2013
  • xetalim
    9th Nov 2013 Member 1 Permalink

    @Punchin (View Post)

    When installing lua mods you usually have a long script.

    Copy that script to your clipboard.

    Then make a text file in the directory where you have Powder.exe.

    Paste the script in that text file.

    Save the file as....

    Save the file as autorun.lua

    Dont forget to change "Save as type" to all files.

  • Pref
    1st Aug 2014 Member 0 Permalink

    but how do i know if the file is lua or not

  • dom2mom
    1st Aug 2014 Member 1 Permalink

    @Pref (View Post)

     It's lua if it's not an .exe file basically. It will appear as a bunch of code instead.

  • Protcom
    1st Aug 2014 Member 0 Permalink

    @Pref (View Post)

    Just select the file > Right-click > Click on "Properties" > Under "General" section, you should see

     

    For lua

    Type of file: LUA File (.lua)

    or for txt

    Type of file: Text Document (.txt)

    If you are wondering about exe file

    Type of file: Application (.exe)

     

    I'm using windows, I don't know if mac or linux work the same way but I'm sure they're not the same.

    Edited 2 times by Protcom. Last: 1st Aug 2014
  • whitefieldcat
    3rd Oct 2014 Member 0 Permalink

    I have a question, how would you install multiple mods?

     

    P.S. sorry if this has been posted already; I`m new to the forum

  • CeeJayBee
    4th Oct 2014 Member 0 Permalink
    @whitefieldcat (View Post)
    To install multiple lua mods you could do one of the following:
    1. Create a file called autorun.lua (see @xetalim 's post) in your Powder Toy folder, and paste the script into it. Press enter to leave a space, and paste the next script in. Repeat until all of your scripts are installed.
    2. Create autorun.lua and type this inside it: dofile("my-file-name.lua") Then, copy that line into another line (or however many lua mods you want) and rename the my-file-name section into the name of your lua mods. Save it, and when you run Powder Toy it should automagically mount all of the lua mods!
    So you could end up with a file like this.
    Edited once by CeeJayBee. Last: 4th Oct 2014
Locked by jacob1: necro