Easy Device Integration (EDI) how to integrate your Game NOW!

Got it to work! strange how I need both funscript and mp3 files but it works!

1 Like

How do I figure out the names of the assets that want to script from the game? Is there a software that I need to run while the game animation is playing?

You need a game mod and whatever you make it send you use

bruh, i dont even understand how to get edicore installed
can anyone help
like a visual guide of some sorts?

Just download the folder from Mega and run Edi.exe

A game mod? Can you help me with a link to one? I’m new to this side of things, apologies.

isnt there a video guide on how to do this, i find that easier to understand then this
i keep getting stuck
like this guide is extremely dificult to follow

I would love to make a tutorial video, but the truth is I’m really bad at speaking English :sweat_smile:

somerandomdude1

  • Download all the files in this folder.

  • Open edi.exe.

  • Enter your handy key.

  • Start experimenting with the playback control box/buttons.
    image

  • Open the definition.csv file and videos with the funscripts using OFS from Gallery Folder. Try to understand how these files are related and make sense of them.

  • Open the Swagger link.

  • Execute playback commands (e.g., play, stop, pause, resume) using Swagger or your own code in any programming language.

  • You can also press F12 in Chrome, open the console, and paste this JavaScript lines to trigger the play command:

var galleryName = 'lv1_oppaiwall_pis';
fetch('http://localhost:5000/edi/play/'+galleryName, { method: 'POST' }).then(response => console.log(response));

  • Create your own scripts and definition file.

  • Modify a game to call the edi URL (http://localhost:5000/edi/) with an HTTP POST request, using the same playback commands you executed in Swagger.

Each step in this quick guide is explained in greater depth in the original post. If at any point you feel stuck, refer to it for more details.

2 Likes

Can you give more detail on modding a game to give the asset names? This is the only part I’m stuck at.

Feature Request:
Execute another executable with EDI.

Why:

  1. On Steam you can only run 1 executable (without workarounds like bat files)
    It would be easier to run games with EDI if EDI was the executable and EDI would then execute the game. This would work similarly to game modding with vortex where some games can be run non-modded and modded with an alternate executable.

  2. On Linux with proton there is no easy workaround for this problem. I can run the game or EDI but not both. I would need to run 2 things with steam simultaneously for this to work, and the proton sandbox means EDI can’t talk to the game in question.

I have tested EDI on NixOS with proton Experimental so far. I will also be testing on the steamdeck and it does work, just not with games because of this limitation.

If I understood you correctly, the functionality you’re requesting already exists. In the ediConfig.json file, under the EDI section, there’s a property where you can specify the path of the .exe you want to execute. It will launch automatically when at least one device is detected as “Ready.”

As for Linux and other platforms, I would love to create a version of EDI with C#'s cross-platform compatibility. However, there’s a problem: currently, the process starts within the WPF application, which prevents it from being compiled for Linux. I would need to develop a console version of EDI or something similar without the WPF part.

That said, if you’re interested, EDI is open-source, and making this separation might not be too complicated if you don’t need a graphical interface and are fine with managing everything through the configuration file.
image

That’s the part I also struggle with, haha. The thing is, there’s no single way to modify a game and inject your code to make it call EDI via HTTP. First, it depends on what language the game is made in.

For example, if it’s made in GameMaker2 (like Fallen Angel Mariele), it’s relatively simple—you need to install UndertaleModTool, open the data.win file, and you’ll be able to see the source code to analyze where to insert the necessary lines.

If the game is made in Unity (C#), people usually use BepInEx, though I have no idea how it works. This part is quite tricky for me, which is why I barely do integrations myself.

For RPGs made in JavaScript, like Succubus Farm, the code is often directly accessible in the game files, making it easier to modify. Usually, you can check the www/js folder, where you’ll find the scripts. In these cases, injecting code is just a matter of editing or adding JavaScript functions.

Let me know which game you’re trying to integrate, and maybe I can give you a hint about what tool you should use, but I don’t have much knowledge in this area. You could also ask for help in modding communities (people who modify games to change or add things) or reach out to another community member with more experience in this.

1 Like

Oh shit that’s sick thanks.

1 Like

Oh I see, it’s a bit more complicated than I originally thought, but this is a good start for me to figure things out. The game is Sadiubus, I’ll try to link it. I was confused and didn’t know the game itself needed to be modded to send commands for edi to execute. I’m going to try the methods you linked on those games and see if I can find success. This helps loads, thanks!

https://bokibokigames.itch.io/sadiubus

1 Like

oh it looks good for an integration
it seems the game is made in Godot, an open-source programming language for games. Interestingly, it’s a language developed by people from Argentina, where I’m from too. According to a quick Google search, the .pkg file that comes with the game can be opened and modified using the tools included in the Godot suite, which I understand is free. Also, there’s always the option of contacting the game’s developer to give you a hand. Good luck!

1 Like

Yes, yes it does lol.
Oh nice, that’s some solid research you put in just now, and cheers to Argentina too! I’ll start in Godot suite and go from there. Hopefully I can bring a few of my favorites to the community soon when I get the hang of integrating. Thanks again for the help!

1 Like

So I still can’t get it to work.
EDI works and talks with handy.
The game (Alien Quest EVE) in this case starts, but no movement in game.
The websocket is available I can see it in the output of ss -tlnp


tcp dump reveals that nothing is going to it, so I think the issue is on the game side. Maybe dependency issues.
Just documenting my progress for getting this working on steamdeck.

1 Like

The Eve game is a pretty new integration. try some To4st integration that has proven to work well for other users. like Succubus farms

I got it to work with the linux fork.
but that does mean I have to start the EDI in proton and the linux version outside proton.
not a great situation but at least it works.

1 Like