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

I’m curious if there exists, or interest to create a bridge between Lovense remote and Buttplug.io (seems the simplest option) or MFP? I’d love to use my OSR2 for the games that only use lovense integration instead of having to pull out a whole separate device.

In terms of creation, I’m not sure if it would be easier to generate a dummy device to pull the signals, or something that mimics Lovense Remote’s way of connecting to a game.

Anyone interested?

7 Likes

Best bet would be to ask on the buttplug discourse site as there’s a thread on there about app/game support requesting along with a list of what has gotten support via buttplug or modding. (Presuming you haven’t already checked there first)

Not exactly sure what you are asking for but it sounds very similar to what is already done.

Have a look at Intiface Central

Compatible Lovense toys IoST Index

List of Intiface Central compatible games GitHub - buttplugio/awesome-buttplug: A list of awesome projects that use the Buttplug Sex Toy Control Library

So you are looking for Lovence device emulator?
Is “Lovence” integration via Intiface/Buttplug or device specific?

1 Like

Ya, that’s the software I want to recieve the signals from lovense remote integrated games.

Games like Karryns Prison, Third Crisis, etc. These have lovense integration, but you can’t connect with things outside of that ecosystem. Im hoping for something that allows the use of OSR2 or any toy that can connect with Intiface to be used on Lovense only games by somehow hooking that response system or creating a dummy toy that sends the signals to intiface instead

1 Like

So one needs to hack into their api so see what it does

6 Likes

You could use wireshark to watch the API calls and attempt to reverse engineer it.

The issue is that it’s probably TLS encrypted which means needing to hack your device and then try to reverse engineer it.

I explored that idea with the handy to try and reverse engineer the API so I could write a locally hosted API but I never got around to it.

4 Likes

Thanks @Dimava for the great source. Guess I’ll need to focus more on learning to mod to support EDI and Buttplug.io.

Start with getting the dnspy Install dnSpy with winget - winstall and opening Assemblu-CSharp in it and look into what are you looking for (probably lovense library calls) (with search tool ofc)

Also you can tell me the game some chance my games independent tools do work with it already

Specifically looking into Karryns Prison and Third Crisis. I know there’s a thread here for KP working on Buttplug.io. its not finished though

2 Likes

I think there used to be code for an esp32 lovense device emulator on github, but I can’t find it anymore. From what I gather lovense logs the device ID of every device that uses their service, so they can shut down any such efforts fast.

1 Like

That sucks :face_vomiting:
It’s insane that it isn’t enough that you pay for a product. I can’t even see that Lovense has monetized their remote control app. I assume they are just another protectionist that refuse fair use of their products. Soon we need laws for integration similar to rights to repair laws. I wonder if EU Data Act is applicable in some way. The issue is that we need control, not only data.

3 Likes

You would have to edit the hosts file to intercept the API connection (handshake) and have a reverse proxy decrypt the commands coming from the server and translating them to intiface. The problem is you would also need to find the decryption key in the device’s memory like @VladTheImplier mentioned.

So I think it would be easier to just mod the game itself to also send commands to intiface

1 Like

I’ve taken a quick look at Karryns Prison and it looks like the whole Lovense logic is implemented inside the www/js/plugins/RemtairyLovense.js where you could translate the lovense api commands to intiface. For Third Crisis you’d have to modify the LovenseRemote.dll

Looks like Karryn’s Prison has Mod Progress, but nothing mentioned in almost a month

I’d like to ping this. I have a Handy, and I thought that I could use it with Unreal Lust Theory. But it’s all Lovesense, and how STUPID that such a niche market to begin with has an incompatible mac/pc coke/pepsi split.

Has anyone figured out yet how to use a handy in Lovesense-only games?

I’m tired of vendor’s proprietary lock-in games, so it will be a bit before I drop another $100 or so on another Lovense device. Their software largely sucks, too, so until they’re willing to let others write decent apps that include not just their devices, I’ll pass. It’s bad enough that they demand their own Bluetooth dongle for their apps, refusing to work with embedded Bluetooth, yet Intiface works just fine with a generic Bluetooth interface. Lovense: Why you so … Sony?

FWIW: There’s a Lovense dev channel on discord. If I wasn’t swamped, I’d look into doing more with what I can glean there, but it seems that either you patch the Lovense only game to use Intiface, someone makes a Lovense device emulator that fools Lovense Remote, or someone hacks the API in Lovense Remote and comes up with a replacement that works like Intiface Central to apps that are hunting for Lovense Remote.

Maybe the people at Buttplug.io can make a similar drop-in code to make modding games to include Intiface in parallel to Lovense considerably easier. It would be nice to see mods to add Intiface functionality that worked with mod managers like Vortex. Hell, it would be nice if the guy who wrote ‘Playful Plugins’ to incorporate Intiface Central to his work, too.

1 Like

As far as I know Lovense games will typically implement integration in one of two ways:

  1. “Game Mode” through the Lovense Remote app (ex: Karyn’s Prison, Third Crisis)
  2. Cloud Mode through the Lovense Remote app (ex: Treasures of Nadia, the crappy nutakku idle games)

I honestly don’t know a lot about the cloud mode because it’s proprietary BS as others have already stated. But the Game Mode seems to be a relatively straightforward REST API.

“Game Mode”

Game Mode in the Lovense Remote app starts a basic HTTP(S) server with a REST API for controlling the toys. The game then sends REST commands over LAN to your phone. This REST API is documented in Standard API/Step 3 Standard API | Developer.

All games programmed using this method that I’ve run into have an IP address and port settings for connecting to your phone. Most games programmed using this method seem to have a toggle for HTTP vs HTTPS.

So what one could do is write a conversion HTTP server that implements the Lovense REST API. The easiest thing I could think of doing would then be to convert the Lovense REST API commands into calls to Intiface Central using one of their libraries that wrap the web socket protocol (this is a very basic example from the buttplug io documentation Example Application | buttplug.io). This HTTP server would also need to handle converting the Intiface Central toy definitions into something that the Lovense apps would understand. So special care would need to be taken on the GetToys command for sure, but a similar problem probably exists for other endpoints where there aren’t 1-to-1 conversions.

If this theoretical conversion HTTP server existed that handled doing all of these conversions then in any application that has Lovense integration and prompts for an IP Address and port number you could instead point it at this conversion server running locally on your PC.

I haven’t had the time to do much with this information, but hopefully its helpful if someone else chooses to embark on this journey

1 Like

Hi, Playful Plugins’ dev here

The Lovense game mode API that most games use is very spoofable, any developer could do it by sniffing the HTTP messages with Wireshark

Dunno how legal that would be tho and Lovense is known to be litigious about their IP/patents

1 Like

Ideally I’d grab the handshake that shows something like the Solace Pro connected, then route it into MFP or whatever is needed to interface with the OSR2.