Flash Toy Sync - Sync sex toys to flash games

The issue for intiface-bridge was that I used the default size limit for requests. I have now increased that to 10mb. Which should be more than enough. For example, the Shinobi Girl standalone animation’s JSON file is 435kb, and the request it makes when playing is 0.4mb. However, it could be far smaller than that, so I’ll probably look into optimizing that and see if it speeds things up.

As for the second issue, where the animation isn’t sized and positioned correctly: I usually only get that issue while it’s loading things. But for you, if I understood you correctly, you have to select a scene in the scene panel to get it to display correctly?

Looks like the size fix for initiface worked! As for the second issue, yes. Once I select a scene from the panel, it’ll load everything correctly. As one may expect, it doesn’t attempt to prepare the script either. I’m not sure if a bad command ended up getting left in, but I can’t seem to find it. Here’s the script if curious. It should be noted that I haven’t experienced this anywhere else so I could just be this one game.

Thanks again for linking it, it have been super helpful for tracking down these issues!

The issue was caused by the child structure of this animation, which now that I think about it, is probably only because it loads in external animations.

Random question, I’m working on a game here:

It’s technically complete, but it has this behavior. The game “speeds up” animations by just speeding up the frames, meaning that the faster animations isn’t a different set of frames, just the same set sped up. It’s difficult to explain with words, but the funscript essentially only has one set of movements for that animation since the frame set is singular regardless of speed selected. If you try to select a faster speed, it introduces some odd behavior into the script.

Do you think this issue is with the tool or the game? It should be noted that this game maker is the only game I’ve found that does this so it could just be a habit of theirs.

1 Like

Yep, that’s one of the few animations where the game changes frame rate in order to change the speed of the animations. Right now Flash-toy-sync assumes that all scenes are played at the same frame rate.

I’m finishing up an update to get buttplug.io to be able to play the script more smoothly, especially fast scenes. After that I’ll have a look at this issue.

It’s still not perfect for Intiface desktop, as there are moments now and then when it doesn’t keep up, but based on the animations I have tested, I feel like it’s good enough now.

As for the Mac version. I haven’t been able to confirm that everything works in intiface-bridge as I’m unable to start the intiface server on my mac. So if you have a mac and is able to use intiface desktop, please let me know if it’s working for you.

Random question, is it possible to ignore something in a higher level of the hierarchy? Say you have something that goes like this:

  • (1/2546) (keeps increasing)
    → * (25/36) (static)
    → -> * (1/148) the actual animation frames

Is there a way for me to ignore the top layer 1/2546? I ask because occasionally, I’ll try scripting a game only to find that some generic background animation is the top level and ends up creating several thousand iterations of one animation set, making it so I can’t set actually script anything since each top → bottom frame is technically unique.

That’s odd, In that case it’s intended to just keep adding additional frames for the top layer in the current scene, but for you, it adds one scene for every frame that is incremented in the top layer?

However, when the bottom layer repeats back to frame 1, it’s expected that a new scene will be created, so if things works as intended, and the bottom loop is 148 frames, you should just end up with 18 scenes.

One thing you could do to fix this for the time being is to manually modify the JSON.

So you would play the animation so that you have at least one scene at the right point in the animation. Then you would save and export the JSON (as the JSON data is only generated based on the save data). After that you want to look for a scene with the start frames that matches the frames of the scene in Flash-toy-sync. For that scene, you can change the first start frame to 1 and change it’s first end frame to 2546.

If it still keeps creating additional scenes, you may also need to need to change ‘haveDeterminedEndFrames’ to only include false, along with ‘firstStopFrames’ to only include -1.

1 Like

https://github.com/notSafeForDev/flash-toy-sync-v3/releases/tag/2021-12-19

Hey! I would like to try and script this one (Sukhon Somporn), but running it in as3 crashed right after clicking “Play” and for as2 there is only a black screen. In as3 edit mode I see couple of things, image below.

I’m wondering would it be possible to debug what goes wrong, or maybe the game is somehow incompatible. Looks like there’s some newsgrounds loader there. I have the game swf from patreon, and I could send it for debugging if needed. Also if there is something I could ask the developer, let me know! He might very well like the idea too.

Thank you for giving it a try! If you can, please send me a private message with the game so that I can have a look after I get back after the holidays. And feel free to tell the dev about this, I hope they will get a kick out of knowing that their game may be able to control sex toys.

1 Like

I’ve been meaning to ask, have you had any luck trying to script the PPPU-x games?
image

I’ve tried to do those recently, but have had no luck.

I haven’t looked at the PPPU-x games, as I would focus on games that features both an idle option and a cum option.

I got some time now to start looking into these issues, so feel free to link the ones you had issues with.

I created a script for chel_loop (as3) but the first scene is out of sync.
I don’t undurstant why.
Someone can help me?
https://mega.nz/folder/lN9EmLpb#RkatWJC9j_QXL5IxRd17jQ

During the first scene, for some reason it stays on frame 4 longer than the other frames. This causes Flash-toy-sync to think that the scene is shorter than it actually is, as it assumes that every frame in a scene has the same duration.

When playing the animation outside of Flash-toy-sync, it appears to be the same, so the delay on frame 4 seems to be part of the animation itself.

I’m unsure of a good solution to this. While it could be fixed by having Flash-toy-sync track the duration of every frame, it would cause issues if the animation lags for the person that is scripting it.

Ok, it’s sad for this Flash Game. Guess I just need to find another game that I like out of the hundreds that are out
there. :partying_face: :partying_face: :partying_face:

Hey I may be retarded but I can’t seem to get a json file of the script after saving.

I hope you can add vibration support soon, this project looks amazing!!

Any updates on launch support dev?

@VladTheImplier to get the JSON data, you have to press the J key, which will copy the JSON data to clipboard. You can then create a new text file with the data and change the file extension to .json. One thing to note is that it creates the JSON data based on your save data, so you have to save before generating it.

@sm0ke I’d love to, I’m just not sure what vibrator to get to test it with, so if you have any you can recommend, please let me know. I’m also not quite sure how to best translate the movements for stroker toys into vibrations for a vibrator. Right now I’m just thinking of having the speed of the vibrator change based on the speed of the strokes.

@virtualfap It should already support the launch, using intiface desktop. You can read some instructions for that here.

2 Likes