Jacob1's Mod

  • jacob1
    18th Oct 2011 Developer 213 Permalink
    Jacob1's Mod, tpt's longest lasting and most popular mod. My overall goal isn't to add a bunch of elements you can forget about, it's to create a more stable tpt version with lots of new features and other things not fit for the official version, things like moving solids, multiple tabs, TPT multiplayer, and others.

    Current Version: 44.5 (build 124)

    Download Version 44.5 for windows. This is a direct link to the zip.
    Download Version 44.5 for macOS
    Download Version 44.5 for 64 bit linux.
    Download Version 44.5 for 32 bit linux.
    Other (older versions and compiler output)

    Major Features
       *Entirely compatible with the official version
       *Updated often with an in-game updater (updates hosted by cracker64 on starcatcher), also has a bug reporter
       *Recent elements shown in favorites menu
       *Extra "FAV2" menu with many options
       *Customizable HUD's
       *TPT multiplayer script by cracker64 embedded inside
       *Script Manager by me / cracker64 embedded inside
       *Number of votes displayed on saves, and timestamps displayed on comments
       *Automatically save and reload your work after a crash
       *Open multiple simulation tabs at once, each tab has a preview and name when you hover over it
       *Ctrl+s saves a reload point, so you can reload even when not online
       *Moving solids that have collision and rotate
       *Statistics about how much / often you play, and current save statistics
       *Add Lua code into saves, with a sandbox to prevent malicious code
       *Redesigned console with text that never overlaps and scrollable history.
       *9 new elements
       *Many more improvements and features not listed here

    Recent Changelogs
    Version 44.0 2020-01-28
    Update multiplayer script to .101. Add scrollbar to profile viewer and options menu. Rewrite console. It now uses the new interface style, can be scrolled (and has a scrollbar), and has no limit on the command length. Everything else still works the same, besides tab completion, which has been removed. Add option to use higher scale modes than double scale, if monitor resolution is high enough. The rest of the changelog is all stuff I copied over from vanilla. Add "Sticky Categories" option to control whether clicks are needed to change menusections. Add toggleable option to include pressure in saves and stamps. .cps and .stm files can now be opened by dropping them on the window. Rescan stamps now sorts by time created. Revise ctype drawing code, add Lua event listeners for this. Add Lua event listeners for create, create_allowed, and change_type. Ability to set default properties in Lua. Make water equalization fill in areas slightly more naturally. Add (default) option to make deco tools use sRGB color space, Gamma 1.8 and Gamma 2.2 were also added. Add option to use perfect circle brush instead of TPT's nonstandard circle calculations. Fix STK2 rocket boots not saving in saves. Guess best scale on startup. Add http api for Lua. Fix mac version not starting due to misplaced file. Fix linux 64 bit version wrongly depending on libssl1.0 instead of libssl1.1.

    Version 44.0 (build 118) 2020-01-29
    Fix linux 64 bit version wrongly depending on libssl1.0 instead of libssl1.1. For real this time!

    Version 44.1 2020-02-26
    Fix https requests on MacOS. Fix graphical bug when scrolling Options menu with dropdown open. Fix console staying open after doing !load. Fix stack overflow in Lua particle updates. Fix element search UI on Windows. Fix bug reporter. Remove ctrl+click on usernames feature in save preview, because it just crashes the game.

    Version 44.2 2020-05-04
    Fix [ key zoom window shortcut. Fix decorated fireworks not exploding in the right color. Fix {aheat} signs using pressure instead of aheat. Fix infinite loop if link sign text doesn't end with }. Fix DRAY bug when one DRAY is sparked multiple times in a frame (fixes "virus killer" id:2536933)

    Version 44.3 2020-12-07
    Update to TPTMP 1.0. This version adds some QoL features, and also adds authentication to the TPT servers. This authentication happens automatically on join, and anyone who isn't logged in will be forwarded to the guest lobby. Fix PROP tool being able to set type to invalid (disabled) elements.

    Version 44.4 2020-12-08
    Update to TPTMP 1.0.1. This version has a minor protocol change and is required to join the server.

    Version 44.5 2020-12-28
    Update to TPTMP 1.0.2. This version redoes the user authentication to integrate with a brand new api in the website, greatly simplifying and further improving the security of the authentication process.

    Version 44.5 (build 124) 2020-12-28
    Update to new TPTMP 1.0.2. This fixes token expiration.

    Known bugs:
    Please report bugs in this thread or on GitHub.

    Source / older versions
    Get older versions here. This includes every released version since version 1 (the originals, rescued from my USB drive). The file "DLL's.zip" may be required for some of the original versions. The file "msvcr100.dll" (at the end) might also be required for some others.

    Find the source and a constant log of changes on Github: https://github.com/jacob1/The-Powder-Toy

    Help / More Info
    To see detailed explanations of some of the new features/elements this mod has, or for a complete version history, look at the readme

    The favorites menu has been the center of most things in the mod, since the beginning (now in official version). To "favorite" an element, ctrl+shift click it from any menu, and it will get a yellow heart on it. To unfavorite it, ctrl+shift+right click it instead. Any recently used elements also will appear in the menu for the duration of the play session. If you click the MORE button, a new menu will appear with more options. HUDs are customizable using the HUD2 button. The FIND button colors whatever element you have selected red, and dims everything else (now in official version). The INFO button displays statistics about how long and how many times you have played powder toy, your average and highest FPS, and info about the current save. SPIN controls whether moving solids can rotate or not, it may be a little ugly. REAL toggles realistic heat mode, which adds latent heat and several other things (made by savask years ago, not up to date). DATE toggles the date format used for comment timestamps. HEAT and LUA are explained in the readme.
    Edited 213 times by jacob1. Last: 22nd February
  • tommig
    18th Oct 2011 Member 8 Permalink


    I will add moving solids next, and then I will start adding new elements. I will take any suggestions, no matter how hard they are to code, and if I like it, I will try to add it in.

    Are you sure this isn't going to run at 1 fps?
  • jacob1
    18th Oct 2011 Developer 9 Permalink
    I have moving solids in my Lua script, go to the lua section of the forums and click on the topic favorite elements menu. Once you have it, just draw EQVE. It's a little glitchy, but it won't create any lag at all.
  • Atrayin
    18th Oct 2011 Member 3 Permalink
    Awesome, btw i love your lua mod
  • BloodLust
    18th Oct 2011 Member 5 Permalink
    this is BRILLIANT

    AND since its already coded i wouldnt doubt that it'd make to the official version

  • lenscas
    18th Oct 2011 Member 2 Permalink
    cool mod hope some thing will get in official version!
  • Atrayin
    18th Oct 2011 Member 1 Permalink
    Just wondering when will the next update come cause personally i really cant wait
    n for a suggestion:
    For your lua mod make it where you press a button under special called "FAVS" n then it will bring up all of your fav elements instead of already being there which is kinda crowded
  • jacob1
    18th Oct 2011 Developer 6 Permalink
    @Atrayin (View Post)
    The update with the moving solids might be finished this week depending on how much time I have. If not, i'll do it next weekend. Also, I added what you said to my lua script, if I understood you correctly. There is an arrow you can click to hide/unhide the menu, and it looks cool when you click it.
  • Atrayin
    18th Oct 2011 Member 1 Permalink
    @jacob1 (View Post)
    Awesome Thnks :)
    EDIT: it does look pretty awesome im still trying to figure out how you did it :)
  • hachouma
    18th Oct 2011 Member 1 Permalink
    favo menu and FIND tool are awesome
    but HUD is not working and i for some reason i cant download lua script