Jacob1's Mod

  • Sanpypr0
    December 2017 Member 0 Permalink

    also, i have some suggestions ( a lot of these are things that are in the Subframe mod, but would probably be at home in Jacob1's mod) 

    1. a option in the HUD2 menu for FILT ctype, and showing both the CTYPE of the FILT and the tmp mode.

    2. opening the PROP menu with a key ( this probably the one that would be most useful, honestly) OR,

    a lua function to open menus (i.e a button that opens the search menu when you click it, for example)

    3. a limit for how meny elements can be in the recents bar (i sometimes have to clear out at least 100 elements from the recents bar).

    btw your mod is the best 

  • jacob1
    December 2017 Developer 1 Permalink
    @Sanpypr0 (View Post)
    For now, you can select CTP2 and deselect FILT, that will show both ctype and tmp as numbers for FILT. FILT is way on the left side, it's the option enabled by default that shows FILT .tmp modes as text in the ctype area.
    Do you want ctype as a number and the FILT mode text at the same time?

    A key for PROP might be nice. 'p' is already taken, I don't think 'm' is, or I could do something else. A lua function to open menus would be nice but isn't as simple as it sounds. I would have to hardcode opening each menu.

    I'll add a recent elements limit. There used to be one before I redid the favorites menu to more closely match TPT.
  • Sanpypr0
    December 2017 Member 0 Permalink

    @jacob1 (View Post)

     yeah, the ctype as a number and the filt mode, that's what i was thinking.

    also M isn't bound to anything afaik, i just tested it.

    thanks!

  • jacob1
    December 2017 Developer 0 Permalink
    Version 38.0 Released!

    Version 38.0 12/20/17
    Massive rewrite of save building / loading / transforming entirely into C++. Move to C++11. Stamps now automatically expand when shifted out of bounds. Walls and other grids now shift when stamps are shifted far enough. Screenshots now saved as .png files. Add tpt.record and make tpt.screenshot work like tpt++. Display tooltips in element search UI. Allow scale modes higher than 2 (set via console or powder.pref editing). Fix elem.PROP_LIFE_KILL_DEC being missing. Fix SPNG description error.

    I spent a lot of time on this update, almost completely redoing saves into C++. It basically matches how official TPT does it now, the code is a lot cleaner and easier to work with and add new things to the save format. In the future, this will allow me to render save thumbnails (after you click on them), stamps, and local saves using the actual render, instead of the thing it does now where it draws the default color and has no fire effects or deco.
    Unrelated but I also looked into adding gif recording into TPT. It seems possible, i'll just need to do a bit more testing and then actually integrate it into the mod. I imagine it would work like stamps, you select an area to record and decide how long to record for.

    Download Version 38.0 for Mac OS X 10.6+
    Download Version 38.0 for 64 bit linux.
    Download Version 38.0 for 32 bit linux.

    Edit: Apparently it's very broken, throwing "out of memory" errors when creating saves and stamps for no reason (did not happen in testing). There are also other bugs I missed involving ctrl+r, the reload button, and stamp position not being centered on the mouse. For now, I stopped mod updates from being pushed out.

    @Sanpypr0 (View Post)
    Hmm, I guess I forgot about those things when releasing this version
    Edited 2 times by jacob1. Last: December 2017
  • DepressionGoblin
    December 2017 Member 0 Permalink

    @jacob1 (View Post)

     Playing around with the !bubble command, it seems that this error happens when the game tries to place a buuble overtop of another one (same coordinates). Dunno if this helps.

  • Tasha04
    December 2017 Member 0 Permalink

    jacob1:

    Version 38.0 Released!

    Version 38.0 12/20/17
    Massive rewrite of save building / loading / transforming entirely into C++. Move to C++11. Stamps now automatically expand when shifted out of bounds. Walls and other grids now shift when stamps are shifted far enough. Screenshots now saved as .png files. Add tpt.record and make tpt.screenshot work like tpt++. Display tooltips in element search UI. Allow scale modes higher than 2 (set via console or powder.pref editing). Fix elem.PROP_LIFE_KILL_DEC being missing. Fix SPNG description error.

    I spent a lot of time on this update, almost completely redoing saves into C++. It basically matches how official TPT does it now, the code is a lot cleaner and easier to work with and add new things to the save format. In the future, this will allow me to render save thumbnails (after you click on them), stamps, and local saves using the actual render, instead of the thing it does now where it draws the default color and has no fire effects or deco.
    Unrelated but I also looked into adding gif recording into TPT. It seems possible, i'll just need to do a bit more testing and then actually integrate it into the mod. I imagine it would work like stamps, you select an area to record and decide how long to record for.

    Download Version 38.0 for Mac OS X 10.6+
    Download Version 38.0 for 64 bit linux.
    Download Version 38.0 for 32 bit linux.

    Edit: Apparently it's very broken, throwing "out of memory" errors when creating saves and stamps for no reason (did not happen in testing). There are also other bugs I missed involving ctrl+r, the reload button, and stamp position not being centered on the mouse. For now, I stopped mod updates from being pushed out.

    @Sanpypr0 (View Post)
    Hmm, I guess I forgot about those things when releasing this version

     

    well, it seems like that alot of time possibly went to waste as now jacobs mod it has so many bugs. i cant even use the new verison so i have to use 37.1

    Edited once by Tasha04. Last: December 2017
  • jacob2
    December 2017 Member 0 Permalink
    @DepressionGoblin (View Post)
    Oh, yeah I already figured that out. I just haven't fixed it yet

    @Tasha04 (View Post)
    I've already fixed some of the bugs. I haven't fixed the "can't save" bug yet though, it only happens in the final release for some reason. Its definitely not a waste lol, I'm very happy with the changes and what they will allow me to do later.
    Edited 2 times by jacob2, jacob1. Last: December 2017
  • jacob1
    December 2017 Developer 0 Permalink
    Version 38.1 Released!

    Version 38.1 12/23/17
    Fix "out of memory" error when creating saves. Fix stamps not loading in the right position. Fix stamps being allowed out of bounds. Fix ctrl+r redoing instead of reloading. Fix ctrl+s not creating a reload point. Fix reload button being disabled when loading local saves. Fix !bubble crash. Cap recents menu to 20 elements. Ctrl+p shortcut to open PROP tool.

    I spent a lot of time on this update, almost completely redoing saves into C++. It basically matches how official TPT does it now, the code is a lot cleaner and easier to work with and add new things to the save format. In the future, this will allow me to render save thumbnails (after you click on them), stamps, and local saves using the actual render, instead of the thing it does now where it draws the default color and has no fire effects or deco.
    Unrelated but I also looked into adding gif recording into TPT. It seems possible, i'll just need to do a bit more testing and then actually integrate it into the mod. I imagine it would work like stamps, you select an area to record and decide how long to record for.

    Download Version 38.1 for Mac OS X 10.6+
    Download Version 38.1 for 64 bit linux.
    Download Version 38.1 for 32 bit linux.

    This version should be actually stable. The "out of memory" error only happened in certain release builds which is why I didn't see the issue while testing.
  • AWSM007
    December 2017 Member 0 Permalink

    @jacob1 (View Post)

     How does tpt.record work?

  • jacob1
    December 2017 Developer 0 Permalink
    @AWSM007 (View Post)
    It records .ppm files, which is basically a large, raw image format. You need another program like ffmpeg to turn it into a gif

    rm frame_000000.ppm && ffmpeg -r 60 -i frame_%06d.ppm -q:v 3 asdf.mp4
    (there's a bug where the first frame has a textbox which I didn't fix yet, which is why I remove the first frame there)

    https://starcatcher.us/Jacob/img/record.mp4 (firefox says this is corrupt but chrome is fine with it, hmm ...)
    Edited 4 times by jacob1. Last: December 2017