Jacob1's Mod

  • jacob1
    18th Oct 2011 Developer 231 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 improvements not fit for the official version, such as embeded TPT Multiplayer and Script Manager, multiple tabs, improved UI, and more.

    Current Version: 54.3 (build 155)

    Download Version 54.3 for windows. This is a direct link to the zip.
    Download Version 54.3 for macOS
    Download Version 54.3 for 64 bit linux.
    Download Version 54.3 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 54.0 2023-09-15
    • Update to script manager 3.13 and tptmp v2.0.33
    • Allow using element names for any integer field in PROP tool
    • Proper ctrl+x support in textboxes
    • Fix improper front page display when you begin searching before front page finishes loading
    • Adjust tooltips on vote buttons
    • Fix ambient air temp from stamps overwriting preference value
    • Fix mod feature that allows you to embed Lua code in saves
    • Fix Lua scripts being unable to change DMND's type
    • Implement gfx.setClipRect

    Version 54.1 2023-09-21
    • Update to script manager 3.14
    • Fix bug preventing script manager updates from working if you already had script manager in autorun.lua

    Version 54.2 2023-10-09
    • Update to tptmp v2.0.34
    • tpt++: Fix crash when calling sim.clearRect with out-of-bounds coordinates.

    Version 54.3 2023-10-15
    • Update to tptmp v2.0.36
    • Fix icons not rendering in the console
    • A set of 3 bugfixes which enable more Lua scripts, such as "Alloy Brushes" to function properly:
    • Fix LuaWindow's OnDraw event being sent after components are drawn and not before
    • Fix gfx.setClipRect not having correct coordinates inside Lua windows
    • Add workaround so that tpt++ icon ranges render in this mod. This allows certain Lua scripts that use icons to work without special icon compatibility code

    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 247 times by jacob1. Last: 16th October
  • tommig
    18th Oct 2011 Member 9 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 3 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