Jacob1's Mod

  • jacob1
    18th Oct 2011 Developer 187 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: 43.5 (build 116)

    Download Version 43.5 for windows. This is a direct link to the zip.
    Download Version 43.5 for macOS
    Download Version 43.5 for 64 bit linux.
    Download Version 43.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
       *9 new elements
       *Many more improvements and features not listed here

    Recent Changelogs
    Version 43.0 2019-07-15
    Add libcurl, communications to the powder toy server and update server are now secured using SSL. This prevents others from stealing session information or passwords, and prevents ISPs or firewalls from modifying server responses. This update will also come to the official version later. Communications to thescript server or tpt multiplayer are not secured. Update from tpt++: Lua functions for working with zoom (other updates from TPT Snapshots to be included later). Fix "uses mod elements" false positive with PIPE/PPIP.

    Version 43.0 (build 111)
    Fix crash on startup. Fix updater. Previous build was probably not released to anyone.

    Version 43.1 (build 112) 2019-07-16
    Fix crash when trying to submit comments

    Version 43.2 (build 113) 2019-07-21
    Fix crash when exiting on Windows. Fix non-windows versions accidentally being compiled in debug mode.

    Version 43.3 (build 114) 2019-07-26
    Fix random crashes when making network requests. Begin work on porting upcoming TPT 95.0 features to the mod: Add disable-network flag to turn off network requests. Rename nobluescreen command line option to disable-bluescreen. Tweak replace mode and specific delete mode to work on energy particles and be mutually exclusive. Fix issues saving/loading QRTZ/GLAS/TUNG without pressure in saves. Add sim.CELL constant.

    Version 43.4 2019-08-17
    Redo prop tool ui. Refactor some code relating to prop tool and prop setting Lua functions. Refactor gravity.cpp. Fix crash when save info couldn't be downloaded. Redo colors in "new" interface slightly, the new interface is no longer pure white, instead it is slightly gray like the official version. Move the black bar that appears in the element search ui. Numerous updates from the upcoming official 95.0 release (still more to copy over): thread / search signs are now red and purple, respectively. Add new sign types, {type}, {ctype}, {life}, {tmp}, {tmp2}. Other text can now be put alongside these custom sign types. Add .life serialization support to LSNS. Other tpt++ updates that aren't as noticeable.

    Version 43.5 2019-08-27
    Fix rare issue that prevents loading certain saves with Lua elements. Fix setting type to none in !set and tpt.set_property. Fix prop window always resetting to .type, without indicating it was doing so. Add back PWHT because some people still use it. The feature where it can set any property (not just .temp) was adjusted slightly. .tmp2 no longer needs to be set, it can now set pavg0 and pavg1, and setting .type is now ctype 3 instead of 0.

    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 201 times by jacob1. Last: 28th August
  • tommig
    18th Oct 2011 Member 6 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 6 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 1 Permalink
    Awesome, btw i love your lua mod
  • BloodLust
    18th Oct 2011 Member 4 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