Adulttime Script Conversion to Funscripts

Hello team. I am a computer noob but managed to piece things together to get script files from Addulttime. I have a Lovense toy so I connected it and from the Network panel on the browser, I was able to find the pattern.
Yay!

But I don’t think it runs in a standard format and I may be too computer noob to convert it to Funscripts. I am uploading this here as a .txt but originally it came as a .ta. It looks to be correct data but I can’t quite convert it easily to FS. The video it is linked to is Clash-Of-The-Cheerleaders 202730
5b553aab838c41caa7a8759da117f26e.txt (178.2 KB)

If anyone is sus on downloading a .txt file from a fresh account, fully understand. The code snippet is verified as json below. Perhaps there is a quick way to python it to be good with funscript headers like “pos” and “at”? Maybe I’ll try to vibe code it? :sweat_smile:

{"v":0,"t":0},{"v":0,"t":8026},{"v":0,"t":35189},{"v":0,"t":55692},{"v":0,"t":64432},{"v":0,"t":97490},{"v":0,"t":100784},{"v":0,"t":127017},{"v":0,"t":164249},{"v":0,"t":185581},{"v":0,"t":199951},{"v":0,"t":220229},{"v":0,"t":250768},{"v":0,"t":288879},{"v":0,"t":304599},{"v":0,"t":312607},{"v":0,"t":318088},{"v":0,"t":322884},{"v":10,"t":323383},{"v":10,"t":324083},{"v":2,"t":324400},{"v":10,"t":324850},{"v":10,"t":325800},{"v":2,"t":326183},{"v":10,"t":326700},{"v":10,"t":327467},{"v":2,"t":327817},{"v":10,"t":328233},{"v":10,"t":329083},{"v":2,"t":329350},{"v":10,"t":329667},{"v":10,"t":330433},{"v":2,"t":330900},{"v":10,"t":331333},{"v":2,"t":332133},{"v":2,"t":333983},{"v":10,"t":334350},{"v":10,"t":335267},{"v":2,"t":335617},{"v":10,"t":336033},{"v":2,"t":336567},{"v":10,"t":337000},{"v":2,"t":337817},{"v":10,"t":338550},{"v":2,"t":339240},{"v":10,"t":339733},{"v":2,"t":340281},{"v":10,"t":340774},{"v":2,"t":341297},{"v":2,"t":344857},{"v":2,"t":349350},{"v":10,"t":349733},

position seems 0-18 (perhaps actually 0-20? adjust the 18 in the script). if time is in milliseconds it would come out to around 32min runtime, does that sound about right?

try this javascript snippet:

let json = `paste_full_json_here`;

let actions = JSON.parse(json)
	.map(a => ({ pos: Math.round(a.v * (100 / 18)), at: a.t }));

let funscript = { actions };

console.log(JSON.stringify(funscript));

you can run it right in your browser developer console or download nodejs.

converted script of your txt would be:
out.funscript (210.4 KB)