help downloading scripts/mods

  • lolcat556
    27th Jul 2015 Member 0 Permalink

    I'm new to this and I'm trying to figure out how to download scripts/mods. Can anyone help me?

  • Lord_Bowserinator
    27th Jul 2015 Member 0 Permalink

    @lolcat556 (View Post)

     Mods are an exe file, so you just download and run them.

     For scripts just copy the text and save it in the same directory as your game in a file called autorun.lua

  • lolcat556
    27th Jul 2015 Member 0 Permalink

    @Lord_Bowserinator (View Post)

     well neither of those work because my computer is freaking out and wont download anything, and "autorun.lua" isn't the game file its the script file

  • belugawhale
    28th Jul 2015 Member 0 Permalink

    @lolcat556 (View Post)

     He means save the script as "autorun.lua" in the same directory as powder toy. For example, if my powder toy  was under Downloads\powder\, I would save the script as Downloads\powder\autorun.lua

  • boxmein
    28th Jul 2015 Former Staff 2 Permalink
    Click first bottom right corner of TPT user interface on the checkbox (✓), that should open up your Simulation Options view. In there, click on the Open Data Folder button:
    entire view of the simulation options menu

    (If, perchance, you get a command line for no reason like I did, then enter "explorer ." in the prompt:)
    command prompt with explorer . entered in the input

    That should get you into the TPT data folder. Put autorun.lua in this folder to be on the same level as Powder.exe .
    Edited 2 times by boxmein. Last: 28th Jul 2015
  • lolcat556
    28th Jul 2015 Member 0 Permalink

    @boxmein (View Post)

     Where exactly do i put it in the folder? do I make a text document with the script in it?

  • Lord_Bowserinator
    28th Jul 2015 Member 0 Permalink

    You make a text document in the same folder as your powdertoy.exe, put the script in it and rename the text file to autorun.lua (not autorun.lua.txt)

  • jacob1
    28th Jul 2015 Developer 1 Permalink
    You can also use the script manager. This has a lot of scripts users have submitted and I approved to show up. You just open it and go into the 'online' tab and can scroll through scripts.

    I wrote a simple script that downloads the script manager, go into the console and run this code then restart tpt:
    require("socket.http")s,f=socket.http.request("http://starcatcher.us/scripts/main.lua?get=1"),io.open("autorun.lua","w")f:write(s)
  • lolcat556
    28th Jul 2015 Member 0 Permalink

    @jacob1 (View Post)

     Sorry about being such a noob at this, but is the little black box i get when i click open data folders the console? and also i think this might nor work becuase i didn't dowload powder toy from this website, because me computer isn't letting me dowload exe. files. The different powder toy im using is called powder toy portable, but it seems to work the same

  • jacob1
    28th Jul 2015 Developer 0 Permalink
    @lolcat556 (View Post)
    I recommend using the official version.

    But anyway, that black box is the windows console, it is a bug that is shows up. Open data folder is supposed to open windows explorer.

    To get to the TPT console, press '~' or press the 'C' button in the corner.