Easy Device Integration for Games. EDI Update [05/2024]

hey check the microCutter app in the post
1
I swear I was thinking of this image while making it lol

1 Like

This is pretty fantastic overall. Took me a little bit to figure out what I was doing, but once I got going it got easier.
Your basic tutorial is pretty great, I’ve started to learn BepInEx to get the mod working.
So far in my demo, I’ve managed to get BepInEx to recognise the plugin, and play a short test script, as well as stop it.
Now all I need to do is hook in to the game to make those calls. No clue where to go from there (I’m thinking of using HarmonyX, if anyone has any tips for hooking into Unity games that would be amazing!)
Hopefully I can come out with a completed mod soon.

1 Like

Of course, I checked right away :smile:
As far as I remember, there were over 400 parts haha

I’m thinking of finishing pure onyx this month and making a csv file of the gameCG scripts I made

Of course, I don’t know if I have time lol

2 Likes

I was able to get this start working with gamemaker, your guide was helpful and makes most of integration straightforward. I think most of difficulty with game sync now is going to be figuring out how to make the EDI call from each specific game/engine. I think it would be helpful if people share their findings about this kind of stuff, like a walkthrough on how to setup a unity game integration for example.

For gamemaker, it actually seems easy, I just used undertalemodtool and opened the data.win with that. I use this line of code to start playing a script:

http_post_string(“http://localhost:5000/Edi/Play/Assetnamehere”, “”)

All you need to do is replace {assetnamehere} with game asset that tells edi what’s going on (whatever you replaced “NN” with on the .csv document for this specific animation). For me I was able to just put this into the code of each individual sex scene as it started. but if a game is coded differently by its dev you might need to do something different to send the right information reliably, however this line of code should work fine as is regardless

and this to stop playing a script:

http_post_string(“http://localhost:5000/Edi/Stop”, “”)

important to use to tell edi to stop playing the current script, you can just use it when a sex scene ends. I know these things vary greatly from game to game but hopefully this helps someone if they try to setup an integration for gamemaker games

Making an http post call is luckily a pretty basic thing in almost every language. In general it is not more than one line of code. I think the most difficult thing is where to put that line and how to modify the game in gamemaker is super easy with undertablemodtool. others are much more complicated and obscure.

Also if the sex scene does not loop, in the definition file you can put Loop = false and it will stop automatically
for example in mage kanade, the ejaculation scenes that are the last of each enemy are in loop=false , so there is no need to worry about sending the Stop command

Is it possible for this to work with the game house party?

Impossible to know what game you are talking about with that generic name lol
but yes, it probably works!

yes also, already have a couple of mods
https://forum.eekllc.com/viewforum.php?f=18&sid=f17504b43c8fa0cd1f9390f8f8577057Ç
maybe you can post edi in the mods forum and someone would like to solve it quickly

Look I found this mod among the list of game mods

What a shame, I just realized that the mega folder videos did not have the definition File.
already added it
definitions.csv (5.7 KB)

How about integration with In “Heat: Lustful Nights”?
In my opinion, a rather interesting project on the Unreal engine

1 Like

adding multi Handy and EStim capabilities

2 Likes

lol, is not

Okay, now that I have the time to script things and done figuring out how to decomplie unity games for texture edits, totally interested in this… however as soon as I start I am lost without a doubt on how to even get started, I literally failed at step one lol

Assuming I need to start in visual basics? and… clone something? (Yes I am that far lost)

just download this, connect your handy start play galleries with the link in the app. once you play one gallert everything make sense.
Download Edi + Mage Kanade Example [Videos]

1 Like

Oh yeah, I can work with this, now I can start stripping galleries and making thing. Maybe I was just vastly over-reading things cheers!

for estim, is there a way to specify the output audio device for EDI?

I am working on it. It would help if you can go through this topic and give some help. or if you have a stim device serve as a tester or something like that
https://discuss.eroscripts.com/t/estim-conversion-for-mage-kanades-futanari-dungeon/114834

Hey, looking forward to do some modding. Does EDI support multi-axis script playback atm?

1 Like

not yet, buttplug does not support multi axis natively, the only player that exists uses a modified version of butplug to be able to do it.
I would still love to add the functionality to it at some point, since the player is also made in C# and theoretically I could use some of the code

2 Likes