This topic was originally made under #script-requests. Though the solution provided by the community were extremely helpful to anyone looking to mod TyranoScript games. So I’ve moved it under #howto for better visibility.
I wonder whether it’s possible to integrate scripts into Tyranoscript games. There are a great deal of eroge out there that were made this engine (aside from the RPGMaker we all know and loved).
For me the game I really like to see an integration for is RJ221783 by MountBatten, which is a JOI-style game with decent interactivity. The character moves and change speed / positions on her own and will edge you when you are about to cum. You need to last until a set threshold or you lose.
I can imagine this work so well if paired with scripts. However scripting to a recorded footage like how we usually do will just miss the charm of it as a interactive game.
A shallow dig into the game’s file tells me they were made up with video loops, so there’s probably a chance for pairing these with scripts. However I have no idea with coding or Tyranoscripts so I’m not sure how to proceed.
Would be highly appreciated if anyone can come up with a modding solution for this engine. That could mean a great portion of the Doujin games on DLsite will be able to sync with toys!
Credits to @to4st , codes are based on ButtplugImplementation.js from Succubus Academia mod.
Download Custom Player from the link above
Edit “Game Directory/tyrano/plugins/kag/kag.tag_ext.js”
2-1. It’s really hard to read, just beautify js file using https://beautifier.io/
2-2. Add code into “Game Directory/tyrano/plugins/kag/kag.tag_ext.js” file line 1
(change gameName to anything you want)
I think the executable is exported using TyranoRider (what people use for Tyrano V4). I tried to use that and pack modified files back into an executable, which crashes after the loading screen… More research needed.
If a videos have the same prefix like ‘3-4-4-1-2_抽送_速い’, they are likely videos with the same pattern.
Filtering with “抽送_速い” didn’t worked as they seems like same video but there were some frame differences.
The only problem I’ve noticed so far is that there seems to be a considerable delay, which becomes very noticeable at fast movement (it will feels like the strokes are basically inverted). Not sure if this can be overcome…