Were can I find the TPT source?

  • d4zk1tty
    8th Jun 2013 Member 0 Permalink

    I am looking for bugs in TPT and might make a mod.

  • firefreak11
    8th Jun 2013 Member 0 Permalink

    @d4zk1tty (View Post)

    (Assuming you are on Windows) 

    The source is available on GitHub. To get there, go to http://powdertoy.co.uk and where the other platforms button is for download, choose to view source on GitHub. On the GitHub page, choose the download zip button. Then search the wiki for Required Libraries, and extract that to the folder called powder-toy-master and run generator.py. The, set up a visual studio project using the guidlines on the Building for Windows page. When you are done, try compiling. If it works, move on to coding elements or source files. If there are errors, report them here. I will be glad to help you if you need anything else.

  • d4zk1tty
    8th Jun 2013 Member 0 Permalink

    Sorry but i am running linux, and github has been uder a DDoS attack for a few months, maybe there is a different source to get the c++ source, maybe you can supply a git clone url.

  • mniip
    8th Jun 2013 Developer 0 Permalink
    https://github.com/FacialTurd/The-Powder-Toy.git
    git@github.com:FacialTurd/The-Powder-Toy.git
    git://github.com/FacialTurd/The-Powder-Toy.git
  • cyberdragon
    8th Jun 2013 Member 0 Permalink

    Github got DOSed? AAAHHH-HA-HA! Serves it right! It was probably.....US!

  • firefreak11
    8th Jun 2013 Member 0 Permalink

    @d4zk1tty (View Post)

     Use mniip's links and then continue on using the building for linux tutorial. Good luck

  • d4zk1tty
    8th Jun 2013 Member 0 Permalink

    Thanks for the links, they work.

    off topic: LOL github has been under a DDoS attack for many days now, it was not be, i think its probably some little kids who are spending their parents money to rent a botnet, LOL.

  • jacob1
    8th Jun 2013 Developer 0 Permalink
    can you please give a recent source saying that github is being ddosed? because right now it isn't


    Also to compile tpt with the command line, do "scons --lin --release --sse2" You can look in Sconscript for more options like --debug
    Edit: I edited this at the same time as the post below was made ...
  • d4zk1tty
    8th Jun 2013 Member 0 Permalink

    i cant seem to compile my test mod, do you have a way to compile it (eg: gcc example.cpp example.cpp -o tpt)