Help on "Sconstruct"

  • CATSSMAC
    13th June Member 0 Permalink

    I am attempting to create a mod, the thing is, First I need to know how to turn the Source code itself into an exe, so based on sources I need something called "Scons", (I may be wrong on that, I have limited ability), so once I downloaded that it said it need some "Sconstruct" File, which I could not find in the TPT source code file I got from github, am I doing something wrong? I guess it was a mistake attempting this without reading what the TPT wiki has to say about it...

  • Tadpole1
    14th June Member 0 Permalink

    First you can use github and it can auto-compile it for you when you merge your code from workspace.If it's local,scons is only for 96.0- versions.What is your platform?

  • jacob1
    14th June Developer 0 Permalink
    Try following the latest compile guide. Anything that told you to use SCons for a new mod in 2026 is years outdated. The latest guide is here (for Windows), and is hopefully easy to follow:

    https://powdertoy.co.uk/Wiki/W/Compiling_for_Windows.html
  • ALumpOfPowderToy
    14th June Member 0 Permalink

    You should also distribute the source code so:

     

    1. We can build it ourselves and verify that the prebuilts you sent aren't malware

    2. We can build it for other operating systems.

  • ArolaunTech
    14th June Member 0 Permalink
  • CATSSMAC
    15th June Member 0 Permalink

    I used an outdated source lol, I am currently fixing this