OpenFunscripter - another scripting tool - 2.0.0 release

I sometimes get crashes when scrubbing through the heatmap bar at the bottom. When this happens the little preview shows a black background and garbled white text (see below)

Screenshot 2022-05-12 130721

I use an Intel NUC8i5BEK, with 24GB RAM. I’ve had this in both Windows 10 and Windows 11, on both the AVX and non-AVX versions. Are there any crash logs or useful files for you? I’m normally a mac user so I don’t know where to look on Windows.

It’s only when I’m click+dragging in that preview bar. If I hover I can see the corrupt frames, but as long as I don’t click on them, it doesn’t crash. I transcode all videos to 1080p using Handbrake and the Production 1080p preset.

The garbled white text is actually the font atlas texture but that doesn’t really mean anything just tells me that something went horribly wrong. :face_with_raised_eyebrow:
It could be a crash in mpv.
You could check if there’s something in the log at %appdata%/OFS/OFS_data/OFS.log.

I’m going to try to reproduce this by also transcoding with the same settings in handbrake.
Maybe it will reproduce but I’m not sure if it’s something i could fix on my end.

Edit: Well it doesn’t reproduce.
@HailSatin I’m curious could you download this.
And extract the mpv-2.dll next to the OpenFunscripter.exe and rename it to mpv-1.dll and try again?
Wondering if updating mpv does anything.

Sure! I’ve tried that dev release of mpv, but I can still reproduce.

I tried something else last night, and used funscript expander to convert the file from original, rather than handbrake, and this didn’t exhibit the issue, so I wonder if it is something related to Handbrake (on a mac with M1, so that doesn’t help). The log doesn’t report any crashes.

For now I’ll keep using funscript expander to convert and see if it happens again.

That’s too bad I’ve been looking for a reason to update the mpv-1.dll but haven’t found a reason yet…

I assumed it was something with the video.
But I also expected not being able to reproduce this on my end because software like mpv is so complicated and behaves different depending on the hardware that you have.

Another thing you can do is make sure your graphics driver is up to date.
Which in youre case should be here https://www.intel.com/content/www/us/en/support/products/140931/graphics/graphics-for-7th-generation-intel-processors/intel-iris-plus-graphics-655.html#drivers-software if you scroll down there’s a download. It’s not even that far fetched given that there’s a graphical glitch. :thinking:

Thanks gagax123 for this lovely software. One thing I missed is a way to selct a section and then save this for future use. I am primary use the OFS for creating estim files. And it could be nice when finding a section that is working perfect for ex. edging and then save this to a named section just like Bookmarks. And then reuse this in other script. Rigt now I have to open one and se haw it was made and then manual set this again.
Hope you understand what I am missing.
Or perhaps this is done in another way that I have not found out.

@Puste Just an idea of a workaround.
You could use Project > Add… > Add New… to create a new script in parallel in your project. Copy the section you want to save then paste the copied section into the new script. Using multiple scripts in one project is usually for multi-axis, but you could use it to store a favorite section for later use. Each axis can be exported as individual funscript files and you can save those and create a library for later use. When you are working on another project later you can use Project > Add… Add Existing… and then copy/paste the section to your main script.

Check out Part 3 at 09:03 - Multi-axis scripting for a tutorial

This would be a solution.
@Puste You would create one (or multiple scripts) were you store all your patterns and reuse them like @sentinel described.
I can imagine an actual implementation of this with separate gui and everything but I don’t think it’s the best use of my time.

I was wondering the same. I’ve just started looking at sway and surge for SR6, but it feels a bit dead while scripting without the 3D simulator showing it on screen.

Yes I will try what @sentinel has explained. Thanks for feedback.

Hey,
I made a bunche of tool :yum:
My tools

  • Add actions
  • Beyond time line
  • Function
  • Mirror
  • Scale - by Min Max
  • Scale - Step by Step
  • Scale - by Function
  • Selection tool
  • Slope
  • Toggle Position
  • Pattern
1 Like

Can someone maybe answer if this is possible. I am scripting a CH style video using dynamic injection mode, which limits the range to match speed, so all the sections with a faster beat only go halfway but I now realize I actually just want the up-stroke to be at 100 for all those sections. (I was using that mode because it seemed to be the easiest way to get the program to do a full up/down stroke with one key-press) Do I have to go in a manually shift each point? or is there a way I can tell the program to move all tops to 100? I’m new to the program so I dont really know what I’m doing haha. Also could use some tips on how to use alternating to do a full stroke with one key-press. I skimmed the instruction videos, and perused the PDF, but I didn’t see how to set that up there.

EDIT: I figured out how to modify it. Still don’t get how to use alternating properly.

Alternating will always just insert one point.
There’s no proper usage :face_with_raised_eyebrow:
It’s either useful to you or it isn’t.

I need help installing the latest 1.4.4 on Intel processor system running Win 10.
Previously I have had 1.2 running since it came out. And other versions before that.
I downloaded the AVX installer ending .exe and ran it. It appeared to install.
I did not get a desktop shortcut to I navigated to the location of OFS1.4.4 and ran it.
Pretty quickly my screen turned white and after 5 sec or so it ended and my regular screen came back.
I cannot get past this.
Any guidance would be helpful.

@hosenguy Have tried not taking the AVX installer?

I did an uninstall of the AVX and installed the non-AVX. same results.
I am going to try a couple other details today to see if it may be outside issue.
Weird the way it is failing in my opinion,

I’d say the next step would be to clean up %appdata%/OFS/OFS_data

I just deleted %appdata%/OFS/OFS_data and the program started right p perfectly!!
Unfortunately I think it is the non-AVS version. I will use the one that now works until I either need AVS or find out that that is what is loaded.

Is there a way to tell which I have loaded?

And thanks for the suggestion as I had forgotten about the app data.

No, no way to tell.
But it’s just very minor performance difference (10% at best).
You’ll be fine either way.

1 Like

Does anyone know if you’re able to control playback speed with Lua with some command/variable?

@Judge No that is not a thing at the moment.
I can trivially add that.

However I’m slightly confused about the use case. :thinking: