"TPT Version Maker"

  • boxmein
    18th Sep 2014 Former Staff 4 Permalink

    Hi! Guess who here.

    Anyway, this time I've made a thing! The thing lets you pick files on the client-side, fetches them from the server-side, and assembles them together into a neat zip-file for you to download! And, the files you can pick are TPT!

    Ahem. What I meant was, I made a site that you can go on, and click a few buttons, and get a custom-picked Powder Toy executable out of.

    You can pick stuff like which operating system you use, which architecture (64-bit, 32-bit) you need, which C++ mod you want to use (more on that later), and even which Lua mods you want to pre-install.

    It then generates a .zip file on your own browser for that purpose, and downloads it!




    Now for what I'll ask you guys to do.


    1. Test the site, try and break it! :D
    2. Use the site for a quick zipfile of your favorite mods! (to be added!)
    3. Fire conversations/posts at me, so I could update the site with:
      • More C++ mods
      • More Lua mods
    Edited once by boxmein. Last: 18th Sep 2014
  • KB
    18th Sep 2014 Member 1 Permalink

    @boxmein (View Post)

     Add Jacob1's Mod as a base executable! Very Cool Idea And implementation. +1

    Edited once by KB. Last: 18th Sep 2014
  • jacob1
    19th Sep 2014 Developer 1 Permalink
    It gave me an empty zip file with no .exe

    Maybe relevant:generated with boxmein/tpt-maker, on Fri, 19 Sep 2014 02:00:10 GMT. build description below in JSON.

    {
    "OS": "win",
    "base": "official",
    "luamods": [
    "element-fractal.lua"
    ],
    "filelist": [
    "data/bases/official/stuff/README.txt",
    "data/bases/official/stuff/LICENSE.txt",
    "data/luas/element-fractal.lua"
    ]
    }

    Other bugs I noticed: You can click the right arrow and it sends you back to the beginning, that file I just posted doesn't have the right newlines on windows. Maybe I would test more if it worked :P, i'll test on linux later.

    Also definitely add my mod :D
    Edited once by jacob1. Last: 19th Sep 2014
  • jenn4
    19th Sep 2014 Member 1 Permalink
    It _works_ on android, but I only get autorun, build description, license and readme, not the binary.
  • Protcom
    19th Sep 2014 Member 1 Permalink

    @boxmein (View Post)

    "Hi! Guess who here."

    Hmmm......let me guess......THAT'S HARD TO GUESS..........Oh oh I know! KB, jacob1, jenn4 and Protcom ?

     

    Anyway, that's awesome even though I (maybe) will never ever use that to do whatever I want to do but someone else was waiting for a thing like this (maybe someone else did that before you but I'm not sure) to come because he has got some coding skills (not like me) :P

  • bowserinator
    19th Sep 2014 Member 0 Permalink

    There's no 64 bit

  • Simon
    20th Sep 2014 Administrator 0 Permalink
    The binary in the generated ZIP aren't encoded correctly. Like they've been transmitted as ASCII text
  • boxmein
    20th Sep 2014 Former Staff 0 Permalink
    @Simon (View Post)
    The response headers say it's sent with the type
    application/octet-stream
    , leading me to believe it's Javascript that's in the wrong.
  • david511
    5th Oct 2014 Member 0 Permalink

    It does not creatr one when I click create. Why are ther such problems?

  • greymatter
    5th Oct 2014 Member 0 Permalink
    @boxmein (View Post)
    Great idea, but clicking create does nothing for me.