How to make a powder toy mod in Linux

  • jinoh
    22nd Aug 2013 Member 0 Permalink

    Hello,

    I'm wondering if there's any way to mod The Powder Toy in linux and test it without any modding tool.

    I'm going to edit the source code, but I don't know how to build the source code.

    I looked at here (https://github.com/FacialTurd/The-Powder-Toy), but there are no 'configure' executeable file nor Makefile or similiar things.

    It seems like SConstruct or something is the script for building this source code, and The Powder Toy uses SDL.

    Is there any way to build The Powder Toy source code?

  • boxmein
    22nd Aug 2013 Former Staff 0 Permalink
    @jinoh (View Post)
    Oh but there is every way. The build script it indeed the SConscript which is a Python script utilizing the scons toolkit.

    You can do
    apt-get install scons
    in your favourite package manager and then run
    scons --lin --release
    to build the release+legacy version of Powder Toy.

    For even more there is a guide on the wiki: https://powdertoy.co.uk/Wiki/W/Compiling_TPT%2B%2B_on_debian/ubuntu.html

    It applies for every linux, the only difference being the package manager.
    Edited once by boxmein. Last: 22nd Aug 2013
  • mniip
    22nd Aug 2013 Developer 0 Permalink
    and package names

    @jinoh (View Post)
    compiling for linux is easy, just get the needed packages, and scons --lin
  • MiningMarsh
    22nd Aug 2013 Member 0 Permalink

    Hell, modding under linux is arguably much easier.

     

    If you know what a makefile and autotools configure script is this is probably uneeded, but do make sure you have gcc installed.