Anyone know what it might take to make a software bridge for lovense?

Also, if I had to bet I’d say most games only implement vibration/generic outputs through the lovense game mode, as only the solace pro has proper positional control and supporting that requires implementing a whole new type of control algorithm. One could translate a generic output into positional oscillation tho

that’s sadly true… Third Crisis toy integration was vibration audio based, it was disappointing since it’s a cool story

I’ve looked a bit into it and started writing a little script to run a fake Lovense Remote server locally. So far I’ve connected VoidBound’s Lovense API and been receiving the game’s commands to activate toys.

It’s not a difficult project, considering I’ve never worked with neither APIs, nor JavaScript. Lovense’s side of the API bridge is done, and soon I’ll work on connecting to Intiface Central and command translator. Some time later I plan to check some other games with integrated Lovense support.

It’s purely for personal use and study of course, so I won’t be publishing it, but you can message me if you’re interested

3 Likes

So there was a little change of plans. I am releasing the first version of the script now. It’s very barebones, confirmed to work with few games, but it’s there and I’ll be working on it further

8 Likes

:clap::clap::clap::clap::clap::clap:
Huge round of applause!

Games I plan to test with are Karryns Prison (Has a decent EDI integration started), and Third Crisis

Please let me know how that works for you!

" ‘node’ is not recognized as an internal or external command, operable program or batch file."

Are you supposed to copy the spoofer into the intiface or game directory?

No, you’re supposed to unpack it anywhere and use start.bat file

If that’s what you did, then apparently I did something wrong. I will look at it tomorrow

You may need to install Node.js

yeah, need to install it

Edit: It connects on the interface but i cannot get it to work with third crisis, game cries that it cannot play anything because game mode is not detected.

Also couldnt get it to work with voidbound. Connected to interface here as well.

Maybe i didnt get far enough into the game due to lack of time right now. Will try more when i have time.

Did you input correct ip and port (localhost:3003) into the game? When you enter Lovense menu in the script, is the port green?

I am going to install Third Crisis as well tomorrow

Yes, everything is green and correctly input.

One of the games has a button to test vibration but it doesnt do anything, I don’t remember which game it was.

Does Voidbound show a toy called Spoofy when you connect? Does Intiface log any errors?

EDIT: Weirdly enough, part of the problem lies on Voidbound’s side. ‘Test Vibration’ sends empty package when used from in-game. For me it works fine from main menu, try checking that

EDIT: Reviewing POST messages sent by Voidbound. They are just empty, at least at first levels. For the next version, I’ll turn empty messages into some basic commands

Main menu doesn’t work either. Is it at all firmware dependent?

Does the game show a toy ‘spoofer’ appear?

Please go to Lovense menu in the UI and turn on command printing, then connect the game. You should see something like this:

Third Crisis settings:


EDIT: command printing should be used only for debugging. Apparently is causes a memory leak, which I’ll fix in next update

2 Likes

glad to see it working there

The Spoofer appears on both games.
In Third Crisis, for the first couple of seconds, something similar is shown. Afterwards it shows the command GetToys.

In Voidbound it immediately goes to this:

Also, the main menu test toys doesn’t work. Are you using The Handy as well?

Get toys is another command that shows everything is in order with game-script connection

And I think I see the problem. I have only implemented vibration, oscillation and rotation (untested) at this moment, because Intiface doesn’t have good documentation in that regard - I had to find the correct commands for first three by trial and error

I assume Handy doesn’t do these things? But moves back and forth? I will look if i can find correct method for that

Yes, Handy only moves up and down, its a stroker toy with single axis.