Hello and welcome to the new thread
OpenFunscripter (OFS) is fully open source over at Github
Disclaimer: You can do whatever you want with scripts created with OFS. No strings attached.
How to get started with scripting and OFS?
- Be aware of the fact that scripting takes a lot of time and is a very subjective process.
Subjective as in if you like the script you made you did a good job. - The âOptionsâ->âKeysâ window is your friend it shows all possible key combinations and buttons you can press it also letâs you rebind them.
- I can highly recommend these threads as a starting point.
The video tutorial by Husky
How to get started with scripting by sentinel - Thereâs also the old thread which is a mess
For more advanced users
- OFS functionality is extensible using Lua extensions
- openfunscripter.github.io/API
- Lua scripts by Lucifie [deprecated since 2.0.0]
Feature requests
I prefer feature request as Github issues.
To put it simply itâs going to make it more likely that a desired feature is implemented.
Latest release: 2.0.0 Github
Beware for Windows thereâs an AVX build and a non-AVX build.
Choose the non-AVX version if you donât know what CPU you have.
Changes 2.0.0
Changes
Changes 1.4.4
Changes
- option to not show meta data editor #13
- change how recent files get handled #16
- macOS build fixes #24
- macOS file dialog fix #25
- fix an issue where the ffmpeg process would get stuck #26
- fallback to an existing project when trying to import a video/funscript #15
- fallback to video in the same directory as the project #14
Changes 1.4.3
- There are two versions one with and one without AVX support.
- Added the ability to save and load a simulator configuration
- There are two new buttons âLoad configâ & âSave configâ in the simulator window.
- Fixed some stuff #8
- Lua API
- Added ofs.Combo #9
- Removed luasocket
- Added ofs.DetachProcess
- More info here LuaApiReference
Changes 1.4.2
- Lua API
- Removed ofs.SilentCmd
- Added ofs.CreateProcess
- Added ofs.IsProcessAlive
- Added ofs.JoinProcess
- More info here LuaApiReference
Changes 1.4.1
- When making a selection the timeline will auto scroll when hitting the borders.
- Double clicking the script timeline no longer seeks. Instead itâs now double clicking the middle mouse button.
- Moving the mouse across the script timeline while holding the middle mouse button now scrolls the timeline
- Lua API
- All functions now correctly clean the stack.
- This fixes a stack overflow which would otherwise inevitably occur.
- Added ofs.SilentCmd (Windows only)
- Added ofs.SaveScript & ofs.ScriptPath
- Added ofs.ClosestAction
- Added ofs.RemoveSelected
- Added ofs.SelectedIndices
- Added step size for ofs.Input
- Added binding which reloads all active extensions. (Options->Keys->Extensions)
- More info here LuaApiReference.md
- All functions now correctly clean the stack.
Changes 1.4.0
-
New Lua Extension API
- Now work on Linux
- Added âExtension Log Outputâ in âExtensionsâ->âShow logsâ
- Created a reference: LuaApiReference.md
- Use this power wisely
- Added a âOFS Log Outputâ in âViewâ->âDebugâ->âLog outputâ
- Rewrote the waveform rendering. againâŚ
- It now scrolls smoothly instead of stutter stepping
- Merged fix #4 for paths containing square brackets in the Lua scripts
- Stopped linking libmpv.
- Should have no impact on anything just an implementation detail.
- Removed some implicit project saving.
- This avoids the creation of
.ofsp
files when not desired.
- This avoids the creation of
- Fixed Metadata import
- Fixed autobackup month being one month off.
- Using the âClick simulator to add a pointâ modifier key now checks if the mouse is on the simulator.
Changes 1.3.1
Small maintenance release
- Windows: The runtime is now statically linked. (no more missing vcruntime.dll errors)
-
Windows: Enabled AVX. (makes things go faster)
- If your CPU doesnât support it youâll get an error message.
- Let me know if you need non AVX builds.
-
Windows: There isnât a console window anymore.
- Logs are written to â%appdata%/OFS/OFS_data/OFS.logâ and are always overwritten
-
Windows: ffmpeg.exe is no longer included.
- Instead it now can be automatically downloaded.
- Now includes âNotoSansCJKjp-Regular.otfâ for Chinese/Japanese/Korean glyphs
- The font atlas is now generated dynamically based on what glyphs are needed.
- So if you type non ascii characters the font atlas will be rebuilt and the characters will display correctly
- Glyphs which are not part of the included fonts are not supported
- When scrubbing the video timeline with the mouse you can now move the cursor away to slow down the scrubbing speed for more accurate mouse scrubbing
- Added âgo to the start/endâ bindings (self explanatory)
- âClose projectâ is now under the âFileâ menu
Changes 1.2.1
single-precision floating-point edition
- The whole application now uses single-precision floating-point numbers (in seconds) for timing
- This was more work than it sounds. The whole application was using 32 bit integer milliseconds before.
- This reduces any timing error introduced by copy/pasting, moving, etc. significantly
- Unfortunately this makes project files created with 1.2.0 incompatible.
- Added clip export (contribution by @Blueboom42 )
- You can now create clips by creating bookmarks
- And export them via âBookmarksâ->âExport Clipsâ
- Removed arbitrary T-Code limit (Range is now 0-999)
- Added ability to add a mpv.conf to the application directory
- If youâre a technical user youâve now got full control over mpv mpv.io
- Added a new Lua script âadd_spline_smoothing_to_selection.luaâ
- Fixed audio only scripting which I broke in 1.2.0
- Fixed playback looping which I broke in 1.2.0
- âLua outputâ is now a seperate window
- Fixed issue where the auto-backup was clearing the âscript has unsaved changesâ flag
- Heatmap generation was changed to actually use âSpeedâ instead of just point density
Changes 1.2.0
Project files
- OFS now uses itâs own project files to store scripting projects.
- When loading funscripts theyâll get imported into such a project file.
- To get a funscript back out youâll have export explicitely as a regular save no longer saves a funscript instead it saves to the project file.
- Script metadata becomes Project specific in this case and each script exported gets the same metadata. Previously all loaded scripts had their own metadata.
- Scripting settings also become project specific.
- Thereâs a new âProjectâ menu in the mainmenu to which some stuff got moved.
Auto backup
- The auto backup system also uses these project files.
- Now OFS will remember a timestamp when you launch it and save all backups to a folder with that timestamp.
- This fixes the issue of closing without saving and than restarting OFS, go looking for the backup and realizing it has already been overwritten.
- This also means you probably want to manually clean up the directory more frequently otherwise a few megabytes may accumulate there overtime.
Alternating mode
- Now has a label indicating where he next point is going to go.
- I added a âContext sensitiveâ checkbox which gives back the old behaviour that I previously removed.
Other things
- Youâll now get a dialog asking you to save when trying to close with unsaved changes.
- The undo/redo history is now global. Previously it only showed the active script.
- In general the undo system got improved when working with multiple scripts.
- Fixed âEqualizeâ function precision. (Thanks to @Husky for noticing that one)
- Improved moving points with the mouse while (by default) holding shift.
- Reworked the simplify function. Hopefully for the last time.
- OpenGL 3.3 compatibility is restored.
- When creating a new project youâll get nudged to enter metadata then and there. (Based on @defucilis request)
- Points in the timeline fade out when zoomed out far.
- Mainly for performance reasons.
- The center indicator has now this little triangle.
Difference between the previous beta
- I rolled back the selection changes so itâs the same as 1.1.9. (I have plans for a different implementation)
- Under âKeysâ->âModifiersâ you can now bind multiple modifiers
- Changed project extension to â.ofspâ (if you have â.OFSâ files youâll have to rename them)
- Fixed a bug where the T-Code configuration wasnât saved.
- Added default metadata. You can now save default values for the metadata which are always the same.
- Fixed video zoom issue that only occured if you had a panel docked on the left side
- Fixed minor jitter of the script timeline during video playback
- The timeline wonât snap to the position of the video itâs all smooth now.
- Fixed Windows exclusive borderless fullscreen glitch ( where it would flash black when focus was lost )
- Reduced the maximum playback speed to x3 (still more than neccessary I hope)
- You can now make OFS the default program for â.ofspâ files and it will open them
- I now expose a âLightâ theme in âOptionsâ->âPreferencesâ but it still needs some work
- Other smaller fixes not worth naming