Portable Compiling of TPT

  • Mdkar
    30th Sep 2016 Member 0 Permalink

    I was planning to make a powder toy mod as a project for a computer science club in school, but I've run into some issues. In school, we use school provided windows laptops (which we can't install stuff on). These laptops have python 3.5, GNU Bash (Command Prompt is disabled), and I think SDL is installed on them, I'm not sure about Lua. I don't think they have scons or Visual C++, but I can compile with other portable compilers (e.g. Dev C++) or with gcc. However, I have no idea how to do this without using scons and I don't even know if it is possible to compile without installing things to system files. Students are also blocked from making any changes in control center. We are also technically blocked from running exe's not installed by admins or even accessing the C drive but there are ways to get around that ;)

     

    In short, I am looking for a way to compile TPT without installing anything to the C drive (only have things on a flashdrive). I am a noob when it comes to stuff like this, so any help would good.

     

    Btw, if this works out, the mod is going to be a periodic table mod, with many reations hopefully impemented later. I've seen many people asking for one in the forums, but there are no good mods that actually have something like this. If anyone has advice on this or is willing to help, let me know. I will make a post about it probably after I figure out how to do it in school.

  • jacob1
    30th Sep 2016 Developer 0 Permalink
    Why can't you just compile it at home?

    I don't know if it is possible to compile tpt portably with scons. I'd assume there is some way to install scons to the usb drive or something. Getting everything working might be difficult.
  • jamesb6626
    4th Oct 2016 Member 1 Permalink

    Would you be able to boot the laptops from a usb drive? I wonder if you could set it up on a bootable ubuntu usb drive. You would need a computer on which you could install the software needed to make the bootable usb drive, and then you would need to be able to boot the laptops from it (would only work if they are already set to check bootable usb first, you probably won't be allowed to change the bios setting for it). Even if it worked it would be slow though.