To4st - Game Integration Mods

Now that I have two semiworking mods, and with another user’s suggestion, I wanted to create this thread to share the device integrations I’ve been working on.

The links I’m sharing will only contain the files required for modification. I don’t have the storage to host the entire games themselves, and I also want to encourage others to pay for the games if they enjoy them.

I’ll be trying to keep a consistent structure between all mods. This will mainly consist of three folders:

  1. The modified game files.
  2. The server/player that sends commands to devices.
  3. Scripts

A readme file is also included with each, which should hopefully cover most questions.

The server makes use of the Buttplug library and intiface. By default the server will launch intiface in the background using the included cli exe. I’ve only been able to test bluetooth (with a Keon) and serial (with SR6), but if it’s intiface compatible and Buttplug recognizes it as a linear device then it should work.
I plan to try and keep the server backwards compatible. Each update to it should still be compatible with previous mods.

Succubus Academia

The included scripts were some of the first scripts I made. I hope to go back to them sometime in the future once I feel I can substantially improve them. Until then, feel free to share your own modifications for others to try :slight_smile:

Lilith In Nightmare

This only contains linear scripts for now. I want to go back and add multi-axis scripts to the scenes that would benefit from them - when I can find the time.
While going over the scripts, I’ve noticed some of them don’t loop properly. I’ve fixed a few, but the cause looks to be that some of the game’s video files loop in ways that make the scripts’ start and end-points awkward. If you come across any out-of-sync scripts, please let me know.

Changelog
March 18, 2023 - Initial post

33 Likes

how do you use these

2 Likes

Yeah, seems nice, but what devices are able to connect with what Programms, we need more clear Information how it works.

2 Likes

I’ll be rooting for you!

1 Like

This is my lucky day that i noticed such a gem

Btw do i need it to connect to intiface becaues i first launch intiface i start server next i start funscript player and next i launch the game but player do not connect to intiface

1 Like

@Moonchaos I’ve added a bit more in the post on the server. It uses buttplug to talk to devices. I was only able to test bluetooth and serial. I’m not sure if there are more connectivity methods used by intiface, but if there are there should be a way to include it in the server.

@Hikikomori
The player will launch a background process of the intiface cli on startup. You shouldn’t have to start your own intiface instance. If your device connects via bluetooth it should just pick it up like intiface normally does.
You can disable this via the json config if you’d like to run intiface yourself. Set embedded to false and make sure the intiface connection string matches your intiface config.

1 Like

Soo if i understand it i just need to launch player and the game and have my handy in bluetooth mode or wifi will work too

I think i got it i dissabled launching buttplug server in a background and my intiface got connected to the player in case it didnt work i made copy of the original file

Same for other game

I don’t think I fully understand. First things first before running anything, start Funscript Player.exe. If you haven’t modified the config it should say “Scanning for devices” next to status. That at least means it was able to connect to intiface. If it’s at all similar to the Keon, your Handy should just be picked up and connect automatically if you enable bluetooth mode. I unfortunately don’t have a Handy to check myself, so please correct me if my assumptions are wrong.

1 Like

I figured it out already if someone want help just write it here or me

Hi, this is great!!
I played with Lilith In Nightmare. Thanks for creation. I really love this mod.

For people who doesn’t work. You might forget to override js in www files.
At least it worked with my handy.

2 Likes

Hi,
i can’t get it to work with Succubus Academia. But on Lilith In Nightmare everything is fine and it works.

I pasted the Integration Mod in the original folder and extraced the Scripts. Then I start FunscriptPlayer.exe. But it doesnt connect to the game, it only connects to the Handy.

1 Like

The player is standalone. It runs completely independent and unaware of the games. It’s setup as a simple http server that listens for requests.The modded game files allow the games to send the commands to the player for it to play the right script at the right time.

For Succubus Academia, make sure you copied the files to the right place and overwrote the existing ones.
When the game first loads, the player should start showing values next to “status” under the Game section, that should at least indicate it received some command.
You could also make sure that the scripts are in the correct folder: “./scripts/succusacademia/…”

This is all troubleshooting I could think of at the moment. Since you mentioned Lilith is working, I think it is most likely the Succubus Academia files. Maybe your version could be different from mine and there’s some conflict?

1 Like

could someone make a video im more of a visual learner

Am i the only one getting this error and the yes button does nothing??
image

try to download it by yourself

Same here, but started to work after installing Download .NET Core 3.0 (Linux, macOS, and Windows)
Under " .NET Desktop Runtime 3.0.3" install the x64 or x32 if you run 32bit Windows. I only tested with x64.

I tried it with multi-axis but osr only works with linear script.
Should I do something with TCPGamePlugin.cs file or Just put it at root\plugin folder?