EroScripts is a community for scripts that sync up interactive sex toys with porn. Learn more.

To discover, download, and help choose what gets scripted, create an account.

EroScripts

[Guide] Transforming a Stroking script into a Vibration script with simple tools

There are Vibrators that work with funscripts but they interpret scripts differently and there aren’t many scripts optimized for vibrators.
This guide will show an easy way to convert an existing script for stroking toys into one better suited for vibrators.

Time you will need:
20 minutes if you read the guide and follow along. 5-10 minutes once you got some practice.

Programs you will need:
Browser of your choice
a Text editor (can be standard Editor of your OS)
some Spreadsheet program like Excel or freeware alternative like Libre Calc

Step 1 - Parsing the Script
(if you want to follow along. I used the following script: https://discuss.eroscripts.com/t/complete-ch-dreamscape-3-ultimate-seduction/26378 )
1.1 Open the script you want to transform in your text editor
1.2 Select the text (Ctrl + A) and Copy (Ctrl + C)
1.3 Open up https://regexr.com in your browser
1.3 Paste the data in the middle box (Ctrl + V)
1.4 Paste The following line in the expression box

"(?:at|pos)":([0-9]+),"(?:at|pos)":([0-9]+)

1.5 In the Tools Box click on “List” (top right corner of Tools)
1.6 Depending on your Script (sometimes the “at” comes first and sometimes the “pos”):
write $1\n or $2\n to get the at or pos data (you need both)
atdata

1.7 open up a new Calc Table (Libre) or Excel Spreadsheet
1.8 Copy + Paste the results of Step 1.6 into the Spreadsheet

From this point on i will assume that you pasted the “at” data in the first coloumn and the “pos” data in the second coloumn
Table1

Step 2 - Transforming the Data
In your Spreadsheet

2.1 In 1st Cell C Coloumn type (or copy/paste)
=ABS((B2-B1)/(A2-A1))
2.2 Hit Enter
2.3(Libre Calc only) hit Ctrl+Shit+Arrow Down to select the whole row. Then hit Ctrl+D to apply the formula to all cells

2.4 In 1st Cell D Coloumn type (or copy/paste)
=(100*C1)/MAX(C:C)
2.5 Hit Enter
2.6(Libre Calc only) hit Ctrl+Shit+Arrow Down to select the whole row. Then hit Ctrl+D to apply the formula to all cells

2.7 In 1st Cell E Coloumn type (or copy/paste)
="{"“at”":"&A1&","“pos”":"&ROUND(D1;0)&"},"
2.8 Hit Enter
2.9(Libre Calc only) hit Ctrl+Shit+Arrow Down to select the whole row. Then hit Ctrl+D to apply the formula to all cells

Step 3 - Export

3.1 Select the whole E Coloumn by clicking the E at the top
3.2 Copy (Ctrl+C)
3.3 Create a new funscript file (e.g. by creating a new txt file and renaming the .txt ending into .funscript)
3.4 Open the new file and type
{“actions”:[
3.5 Paste your data (Ctrl+V)
3.6 Delete the last Comma at the end of the file
3.7 At the end of the file append
]}
3.8 Done now use the script with your vibrator

Optional Ideas (no detailed steps here… just some ideas):

-Decrease the overall intensity by multiplying pos values with a number between 0 and 1
-Consider the start and end position of a stroke and make strokes at the head more intense. Multiply with the Sum of the original pos values for this and divide by 200 to avoid getting pos over 200
-Apply functions. Lots of possibilities. Some Example results: Low Intensity Values increased; High Intensity Values Decreased; both of the before

Example
The pictures in the guide use the data of the following script:
https://discuss.eroscripts.com/t/complete-ch-dreamscape-3-ultimate-seduction/26378
I would upload the spreadsheet but i cant upload it here and not sure if allowed to upload somewhere else and link here. Anyway heres the resulting funscript.
Final Result.funscript (364.4 KB)

P.S. If you are an app developer for funscripts (or someone else who would like to reuse the information of this guide) you are free to use the information in this guide without checking in with me.

1 Like

Thanks for putting this together! I just ordered the Lovense Hush vibrator which I’m looking forward to using with scripts so this guide will be really useful.