Jacob1's Mod

  • Protcom
    8th May 2014 Member 0 Permalink

    @jacob1 (View Post)

     it doesn't matter to me (changing all ppt files to a video) i can do that by some ways

    convering the ppt file to GIF file to make an animation (best program (GIF Animator) it is for free)

    converting ppt file to PNG or JPEG or whatever picture file using (format factory) and upload it to windows XP movie maker (or any movie maker program) and make a video

    but i mean how fast to capture a frame every second

  • jacob1
    8th May 2014 Developer 0 Permalink
    @Protcom (View Post)
    maybe a script would work?

    local framecounter = 1
    function record()
    framecounter = framecounter - 1
    if framecounter == 0 then
    tpt.screenshot()
    framecounter = 4
    end
    end

    local registered = false
    function recordcheck(key, nkey, modifiers, event)
    if key == 'r' and event == 2 then
    if registered then
    tpt.unregister_step(record)
    print("recording stopped")
    else
    tpt.register_step(record)
    print("recording started")
    framecounter = 1
    end
    registered = not registered
    return true
    end
    end
    tpt.register_keypress(recordcheck)
    Edited once by jacob1. Last: 8th May 2014
  • Protcom
    8th May 2014 Member 0 Permalink

    @jacob1 (View Post)

     i understood how does the upper part of the script works

     if you add that to your mod and make a menu that when you change it to a particular number , the "framecount" will equal to that number at the end

     

    wait a second , shouldn't that "framecount" wait everytime it minuses 1 or not ?

     

    local framecounter = 1
    function record()

    wait()
    framecounter = framecounter - 1
    if framecounter == 0 then
    tpt.screenshot()
    framecounter = 4
    end
    end

    sorry it is hard to play with the box :P

  • jacob1
    8th May 2014 Developer 0 Permalink
    @Protcom (View Post)
    that script doesn't do exactly what you said, it will just make it record a frame every 4 frames. Assuming 60fps that would be a 15fps video. You can adjust it for how you want it to be :P.
  • Protcom
    8th May 2014 Member 0 Permalink

    @jacob1 (View Post)

     i mean meant make a menu that will have settings to change that 4fps that is what i mean of "the "framecount" will equal to that number at the end"

    and i know that you didn't connected it to the tpt recorder :P

    what about that wait thing

    Edited once by Protcom. Last: 8th May 2014
  • jacob1
    9th May 2014 Developer 0 Permalink
    Version 28.1 Released!

    Version 28.1 5/8/14
    Fix crash when using ETRD. Fix out of screen errors in TPTMP. Update Bluescreen message.

    WiFi fixed and compiling set up again :). 32 bit linux versions will come later, if anyone actually uses that and wants an update now, ask in this thread :). Also, if you ever had trouble running this mod before (especially on linux, or windows XP), please try this new version. I have a feeling it's more likely to run. I found out some previous versions were being compiled with SSE4.1 and some other things, which older computers may not support. I actually couldn't run the latest release of this mod myself when I tried.

    Download Version 28.1 - legacy for windows. Use this if your computer is too old for the first one or you use Windows XP
    Download Version 28.1 for 64 bit linux.

    @Protcom (View Post)
    it was more of an example script, feel free to edit it :P. tpt.input_box can get user input if you need.
    Edited 2 times by jacob1. Last: 5th Jun 2014
  • mitterdoo
    9th May 2014 Member 0 Permalink

    it won't start up after i updated :(

  • jacob1
    9th May 2014 Developer 0 Permalink
    @mitterdoo (View Post)
    I noticed a lot of that, and took the update down twice, but it looked like something else I did fixed it. I guess maybe that didn't work ...

    Can you run https://dl.dropboxusercontent.com/u/43784416/Jacob1%27s%20Mod/Jacob1s%20Mod%20ver%2028.1%20-%20legacy.zip and tell me if that works? Also how new/old is your computer?
    Edited once by jacob1. Last: 9th May 2014
  • mitterdoo
    9th May 2014 Member 0 Permalink

    @jacob1 (View Post)

     the program doesn't start up either. i just got this computer in october 2013 and the mod worked fine last night.

    deleting my powder.pref file seems to fix it.

     

    but newtonian gravity crashes now.. :(

    this is probably why deleting my powder.pref fixed it because i have newtonian gravity on by default

    Edited 4 times by mitterdoo. Last: 9th May 2014
  • jacob1
    9th May 2014 Developer 0 Permalink
    @mitterdoo (View Post)
    Can you try this one? http://mniip.com/jacob1/Jacob1%27s%20mod.exe

    Also thanks for the Newtonian Gravity issue, I can sort of repeat the issue now too. When I had people test it on IRC, one reported flashing and other strange things, but then it went away and wasn't reproducible (probably when Newtonian Gravity was turned off)
    Edited once by jacob1. Last: 9th May 2014