OpenFunscripter - a scripting tool - 3.2.0 release

I’m no scripter but I’m using OpenFunscripter from time to time to correct funscripts (mostly Cock Heroes).

Is it possible to select a range of points and then move the last (right-most) point to the left (or right) while the first (left-most) point stays where it is and all other points in between shift automatically to the left (or right) keeping the same spacing proportionally?

Big warning, although obvious: Even if the program is running and not realy hooking into a game, many anti cheat platforms will detect it as malicious.

And while the name might be notorious, that isnt the reason its flagged as such, its because it runs code on a very low level and is designed to be able to run over other programs. 2 things that many game devs do not like. Some platforms therefor do not instantly ban, but just refuse to run the game, but its not something you should risk.

Game devs are often aware it is used to run win98 games on win10. So on that end they are often aware of its false positive here. But if you care about not getting banned, i would avoid using it anyway, as forgetting to close it once is a major risk.

1 Like

Good warning to people who game. I’ve definitely seen some games in the past auto-close if you even have cheatengine open.

It does seem that a game like Apex may ban you even if you don’t hook cheatengine into a game: Reddit - Dive into anything

I don’t game much myself anymore but thanks for the reminder.

Sounds like you’re trying to stretch the script out a bit on the right side?

Not sure how to do this procedure but maybe this will help you work around it: If the points are equally spaced or are intended to be equally spaced out, you can use the E key to equally space and highlighted points.

P.S. my bad for double-posting.

1 Like

How convert .ofsp file to .funscript?
OpenFunscripter save file as .ofsp
Help pls

See top menu: File → Export → Export active script.
Save it where you want it, then you have the .funscript file.

For more and detailed help, check the video tutorial series.

Im getting an error and I have no idea what it means, no matter how many times I export the script the new changes I made are always reverted @gagax123

[ERROR]: [json.exception.parse_error.112] parse error at byte 1: syntax error while parsing CBOR value: invalid byte: 0xF7

A wild guess… could it be that you’ve entered names with strange characters (from an English language point of view)? If you have, try your changes without any bookmarks, chapters or metadata. If that works then you have unsupported characters in those. Invalid characters is probably the most common issue for why some data format can’t be parsed.

Another way to find the root cause is to make small changes and continuously try to export the script in between until it stops working. That way you should be able to pinpoint what exactly causes OFS to fail parsing the json data. Also, try exporting without any changes first so it isn’t an issue with your Windows settings (e.g. regional settings or language settings).

As of now I’ve renamed the files, deleted the ofsp created a new one, re exported the funscipt but somehow just keeps defaulting the the original funscipt that was made

An update any new chages i make on the script are exported but the rest of it reverts back to its default

I’m confused about your last statement. Just to be clear. OFS use a project file and that is what you save with a normal save. The project file (.ofsp) contains all settings that are script specific along with the scripted movements. However, the project file is not a funscript. To get a funscript-file that you can use you have to export the file first, hence the export function.

That said, when you say that your changes are lost, but your exported script contains the changes, do you both save the project and export the script at the end of your scripting session or do you only export? Only saving the project or only exporting the funscript does not explain the parsing error you mentioned in your first post though.

The .ofsp file from OFS 2.x is not compatible with OFS 3.x.
You can create a new project file by removing the old one and open the video when you have a funscript with the same name. If you save after that the new project file will contain all your scripted movements.

So to better elaborate since its not writing this at 4 am anymore.

I have a funcscript for a video. I found a higher res version of the video which is longer by a couple of seconds. I have been going into ofs and tweaking the original funscipt to better sync with the new video. This is not the first tme I have done this with ofs. On ofs everything seems to be working. All of my changes are there. Once i export, the points I originally shifted to sync with the new video go back to their original place before any editing on my part occurred. I’ve tested by adding new points to the script and deleting sections. After doing these edits and exported into a funscript, the edits show up but for some reason the funscirpt exported shows all of the changes I made but the points from the fun script shift back to their original position for the original video. Here are some images to better illustrate what im seeing.


and update I just noticed OFS is not loading the entire video length. I think this is why I’m having problems in the first place. OFS is cutting off the first couple of seconds of the video in the player. The image at time 0 are completely different. Any ideas on why OFS is doing this?

OFS cutting of video

Original video not being cutoff

Try to re-encode the original video since it behaves strangely in different players. Sometimes that is enough to get rid of strange issues. I usually use Handbrake for encoding videos (ffmpeg works too but is much more complex since it has no graphical user interface).

1 Like

i’ll give it a try and share what happens

update: handbreak fixed the issue. everything now syncs up. Thx for the suggestion @sentinel

Just to clear this up. I run on a mac and have no issues running OFS. You do have to compile it yourself if you are on Apple Silicon hardware but it does not require paying a yearly fee.

I hadn’t looked at the github for a long time but it looks like the developer is no longer active. I had opened a PR to fix builds on Apple Silicon but it never got accepted. :sweat:

I do believe it does if you want to distribute your software to run on other peoples computers. It works for you because you compile it yourself and run it on your own computer. At least that is how I’ve understood the information from Apple. But I could be wrong.

Has anyone run into an issues with OFS crashing after trying to load an exiting script?

Sorry to be a pain,
Is there a way to disable the video looping once playback reaches the end?

Just a quick question. let’s say I have a scene with a script but I want to cut out a part of the scene. Is there a way in OpenFunscripter to cut the scene and the funscript so they continue to sync up afterwards?

hope I explained it okay

Best regards, Elmar

@Emmi You can do exactly that with Funscript&Video Merger/Splitter.

Scroll down to the end of the comments and there’s a link to a post with a step by step tutorial. For me it was extremely intimidating at first, but once I followed the tutorial it was no longer confusing.

okay, cool thanks I’ll check it out!

Best regards

1 Like