Jump to content

Recommended Posts

Posted (edited)

New release: 1.4.5

 

The features added in 1.4.4-3 are now included in the official release. Get it here!

 

New release: 1.4.4-3

 

Thoroughly reworked settings UX
- Configuration of interfaces/toy integration has been simplified
- Settings that belong together are grouped together
- Added "Reset all settings" button

 

b7081c69-ceb2-48a4-94c0-108021e6505d

 

 

Download GIFT 1.4.4-3 here.

 

As always, I am not the main dev of GameInterfaceForToys, so consider this an unofficial fork of the project until @Min returns. I expect my contributions to be mainly bug fixes and UX improvements. GIFT is cool, and I think it deserves to be more easy to use.

 

Let me know if you have any issues, or if the update has made the experience better for you!

 

Best regards.

 

PS.

 

@Mahosys, great! Happy to hear that it worked out.

 

Edited by MongooseFront
Posted
On 8/17/2024 at 7:14 AM, MongooseFront said:

 

@BallsOfTheSoul, @peperoach, @jariabila,

 

Update: Fixed in GIFT version 1.4.4-2 . It has GameInterfaceForToys.exe, but is based on the working August 2023 version of 1.4.4 and doesn't throw the KeyError: "DG-Lab Coyote" exception.

 

 

Original comment:

 

Yeah, it seems like the current release with the GameInterfaceForToys.exe executable ("GIFT-1.4.4.zip") is based on a broken build.

 

The latest release version is 1.4.4 from August 2023, but the executable version seems newer, having been released in late July 2024. This executable version no longer supports DG-Labs Coyote natively, while the older python "Source code" version still does:

 

Screenshot2024-08-17at16-09-38ReleaseGIFT1.4.4MinLL_GameInterfaceForToys.webp.dcc9667fac16c7e776f8e2d2f694d79c.webp

 

 

This might be reason why users are getting KeyError errors when running the executable: The settings menu is trying to configure a device that has been ripped out of the codebase. If you instead run GameInterfaceForToys.py in a python environment, which is based on an older version of the code, then it runs fine.

 

I can't reach @Min, so I can't tell what's going on. Maybe the Github Actions workflow is broken.

 

However, although the executable is not working, you can still download the original source code (zip) version directly and following the instructions for running the project in Python instead.

 

Best regards.

OMG thank you!!! it actually worked with my gravity! you're the best!

  • 2 weeks later...
  • 2 weeks later...
Posted

Hey, I'm having some troubles getting it to work.

I have the plugin active in my load order. I enabled all the events in the interface and connected the toy correctly. (At least it tells me it is connected.)
The test functions all work, I also tested it on Night of Revenge and it works fine there.

However in skyrim it seems to not work for some reason, I deleted the papyrus logs and after I started the game, I set the directory to the newly created papyrus0 log.
I see it displaying the logs in real time in the interface, but after the scene get started in skyrim, there is not action happening from the connected device.

(I got lovense devices)

I would appreciate any assistance

Best regards!

Posted

Odd, I see the expected sexlog log entries, and see `SkyrimToyInterface` entries for the `OnHit` event... but I don't see the one for `OnSexlabAnimationStart`.

 

Are you sure you have the latest SkyrimToyInterface mod installed in the game?

Posted
22 minutes ago, randomname002 said:

Odd, I see the expected sexlog log entries, and see `SkyrimToyInterface` entries for the `OnHit` event... but I don't see the one for `OnSexlabAnimationStart`.

 

Are you sure you have the latest SkyrimToyInterface mod installed in the game?

I wonder if this could be a Sexlab P+ thing. Is that being used here?

Posted (edited)

Hey, after testing through a few fresh installs I believe the xtoys night of revenge "ero animation end" event is not working correctly as it does not stop the sex "ero animation start" speed/vibration after escaping or dying and reloading the game. This might be due to an xtoys update as this feature used to work before and I haven't been able to use GIFT with NoR for about half a year or so now because of it. A fix or information would be appreciated.


-Log as follows

1. Selected "ero animation start" and "ero animation end" in events

2. Ero animation starts and toy gets turned on through xtoys

3. Ero animation ends and toy stays on, having to manually lower the speed/vibration or "unplaying" GIFT through xtoys (NoR Ero Stop and Toy Vibrate - stop give no effect)

All other NoR events seem to be working as they were before. Using provided plugin and GIFT 1.4.7. GIFT 1.4.5 and GIFT 1.4.3 provided same failure.


[GameInterfaceForToys] Toy Vibrate - start(duration=300, strength=64, pattern=low_intensity_scaled;scale_intensity)
[GameInterfaceForToys] Invoking the following devices:
[GameInterfaceForToys] {'interface': 'XToys Interface', 'name': 'Vib Anal', 'id': 'vib_anal', 'battery': -1, 'enabled': True}
[GameInterfaceForToys] Invoking webhook: https://webhook.xtoys.app?id=kceiW5QBS467&action=vib_anal&time=300&intensity=64&pattern=low_intensity_scaled;scale_intensity
[GameInterfaceForToys] [+] Webhook invocation complete. Status code=200, response=OK
[Info   : NoRLogger] Ero Animation End
[GameInterfaceForToys] NoR Ero Stop
[GameInterfaceForToys] Toy Vibrate - stop
interfaces\log_reader.py:336: RuntimeWarning: coroutine 'XToysInterface.stop' was never awaited
RuntimeWarning: Enable tracemalloc to get the object allocation traceback

Edited by WillyWanker9
Posted
On 9/17/2024 at 10:36 PM, randomname002 said:

Odd, I see the expected sexlog log entries, and see `SkyrimToyInterface` entries for the `OnHit` event... but I don't see the one for `OnSexlabAnimationStart`.

 

Are you sure you have the latest SkyrimToyInterface mod installed in the game?

Hey, sorry for the long wait. I have GIFT 1.4.7 installed.
I am using mod collection with some additional mods like this one here.
Not sure if it is related but it might be, sexlab framework is on version 1.63

Posted
On 9/24/2024 at 4:32 PM, Cursed Atelier said:

Hey, sorry for the long wait. I have GIFT 1.4.7 installed.
I am using mod collection with some additional mods like this one here.
Not sure if it is related but it might be, sexlab framework is on version 1.63

I'll take a look.

Posted
10 minutes ago, drithora said:

Doesn't seem to work with

Can you add support?

 

I won't be adding support for P+ myself, since I play in VR, and P+ does not support VR properly. If you want to add support, feel free to send me a PR though! You may be able to add some amount of the functionality back as simply as editing the yaml files to look for the right lines.

Posted

Do you have to setup patterns for the Xtoys integration to work?

 

I'm using OpenShock for the estim feature. I've set it up in XToys and I'm able to control it remotely through the WebUI. After setting it up with the GameInterfaceForToys script linked on the Github I was using the tests within the application. I could see the WebUI would briefly respond for the vibrate and 10% shock features, but the device wouldn't.

 

Sorry, never used Xtoys before, maybe this is an obvious question. The integrations with buttplug.io/lovense API are great though.

  • 3 weeks later...
Posted
On 9/28/2024 at 5:39 PM, Min said:

I'll take a look.

Hey, I updated my whole build and it is using now Sexlab AE 166b.
I wanted to quickly ask if that version has been reported as working better than the previous one that I was on.

And I saw there is Sexlab P Plus, that one doesn't work, right?

Best Regards

  • 2 months later...
  • 2 weeks later...
Posted
On 6/10/2022 at 9:53 AM, Min said:

Hmm. I don't think the phone is the problem, the phone app just communicates with Qiui's servers via an API it looks like. Just need to know the API that Qiui uses. I don't have a Qiui device though, so it would be difficult to figure out the endpoints / test this.

 

 

.py files are Python scripts. They're little programs that require an interpreter to run. You'll need to download and install the python interpreter (Direct link to download Here). Run the installer, and:

1) Click "Customize Installation"

2) Make sure to check the "py launcher" checkbox under Optional Features.

3) Check the "Associate files with Python" checkbox under Advanced Options.

4) Check the "Install for all users" checkbox under Advanced Options.

 

Before running the script, make sure that:

1) The Lovense Remote software is running on your PC.

2) Your PC has the adapter to communicate with your toys plugged in.

3) Verify that the Lovense software can successfully control whatever toys you intend to use.

 

After installing, you would do something like this:

1) Move the file you downloaded to your home directory (C:\Users\<username>)

2) Open up a command prompt (Hit windows key + R), type "cmd".

3) Navigate to your home directory via this command: "cd C:\Users\<username>")

4) Run this command: "python SkyrimToyInterface-<Version>.py"

 

If you receive this error upon running the script:

ModuleNotFoundError: No module named 'requests'

Run this command: "python -m pip install requests".

 

The script will  produce output like this, and continuously print / react to the Papyrus log:

[SkyrimToyInterface] [i] Vibrate - stop
[SkyrimToyInterface] [+]   {'code': 200, 'type': 'OK'}

 

 

I do recognize that this isn't a very user friendly implementation; I'm busy this weekend, but I can spend some time bundling this into an Executable that people can just double click / run next week if people are interested.

 

Hey mate, First
Happy New Year,
Second, I'm having a bit of trouble here. I'm not really familiar with Python whatsoever, and while we are trying to follow the instructions on the GIFT Github entry, I'm still at a loss.
I followed the instructions per this quote above, and the ones from the Github however I am very much stuck at this part.
image.png.5efd0367d1ae0a7f0324d368bfd1fa69.png
Trying to search up on Google how to "Clone the repository" led me to a whole youtube rabit hole that essentially, led me a TL;DR of: Just downloading the zip file that's on GitHub for the whole thing, (Or make your own github account to copy paste the thing and have your own copy of this one github entry there which would not answer the premise on why I would "clone the repository" to begin with. Anywaaaays)

So, Okay, I got this: image.png.bcc8773efca6b3301f9508e26eafcc4f.png
Okay, Extracted the folder, now, Where do I image.png.ed9fb175a1f1309f8ba9670fb8ba6f7a.png? In my youtube rabit hole search, It lead me to essentially getting to install python in a way that It would be its own CMD/_Terminal or that it could run along with CMD. I do not remember.
However, needless to say, simply typing "pip install -r requirements.txt" in CMD alone and hitting enter, wasn't quite helpful. I'm no coder but I don't think CMD would also just recognize what it meant as is.

I know I am missing some seemingly obvious, that I keep missing somehow.
Having installed Python (both most recent and the one linked in the quote above) and then running "GameInterfaceForToys.py" only opens CMD for half a second before it poof's off.

Not trying to say your instructions are hard to follow, if anything I think I'm just missing information that seems to be obvious for someone who knows about coding or python in general.              (Which we don't)

Also also: Just wanted to ask, what exactly is the file I should install into Fallout? (The game I'm trying to try this with, but it should be the same for Skyrim I imagine)
As in, Should I grab the "Fallout" folder that's within "Games", turn it into a .rar/.zip file, and chuck it into my mod manager? image.png.c496f26d94a503041e1b4516240ba80f.png


Or should I move the "Script" folder that's inside of "dd" onto my own game's Data folder? image.png.9ac905a2876f16626d3970eb30f56c95.png

Look, any help would be very appreciated.
I tried setting this up way back in October, then I tried to dig into it more in November but time and distance has kept us from fully jumping into it.
I still don't even know how to set up a "LAN connection" over seas with something like Meshnet (From NordVPN) or what have you, to use toys long distance with games.
That's a different topic though.
I'd like to simply be sure I can make this work for we're about to start my first playthrough with these mods on, (and her first playthrough of Fallout 4 in general) and I've spend     so    much   time   setting a gigantic list of mods all working in harmony, but this one (and a few small issues I couldn't figure out myself with AAF)
I'd like to have everything working before I commit to the save file. Fallout and Skyrim are games that are very finicky about removing mods once started.

Posted (edited)

Does anyone have a script that works for the Kiiroo Keon and Powerblow combo? The base script in xToys just thrusts in and out a few times every few seconds, but it is set up for vibration for nipples/clit/etc, so this clearly isn't set up for a male stroker device. The gift output gives Strength = 0-100, Oral true or false, mouth open true or false. It seems like it would be simple to make it that the strength # that is between 0 and 100 = the linear position of the stroker, and oral = true enables the powerblow, but I have no idea how to actually make that usable in xToys..

 

Any help from someone smarter? Hah, thanks in advance!

Edited by lights223
Posted

Something I've just noticed is that you're not blocking other actors from the DD events.

If you've got others around with DDs equipped, then these fire unexpectedly for non-player characters.

 

Probable fix:


Event OnVibrateStart(string eventName, string strArg, float numArg, Form sender)
    if strArg == PlayerActor.GetLeveledActorBase().GetName()
        Log("OnVibrateStart()")
    endif
EndEvent


Event OnVibrateStop(string eventName, string strArg, float numArg, Form sender)
    if strArg == PlayerActor.GetLeveledActorBase().GetName()
        Log("OnVibrateStop()")
    endif
EndEvent


Event OnDeviceActorOrgasm(string eventName, string strArg, float numArg, Form sender)
    if strArg == PlayerActor.GetLeveledActorBase().GetName()
        Log("OnDeviceActorOrgasm()")
    endif
EndEvent


Event OnDeviceEdgedActor(string eventName, string strArg, float numArg, Form sender)
    if strArg == PlayerActor.GetLeveledActorBase().GetName()
        Log("OnDeviceEdgedActor()")
    endif
EndEvent

 

Posted (edited)

Would it be possible, as an improvement,  to configure the xtoys link called so that we can use a local webhook insted of the "external" webhook. There is a net gain in responsiveness.

Edited by Nuhatai
Posted

Ive been having trouble using this recently. Im using Mad god overhaul which has Ostim standalone and this mod was working with it for a while but now it says something like "(my characters name)'s penis touched (other npc) body non sexually" and now my lovense solace isnt reacting.  Anyone know how to fix this?

Posted (edited)

Weird. Tried this after failing with initface. I can get connection, test from gift app works but nothing comes through from devious devices in game.

 

Am I missing something?

 

Game is fallout 4

Edited by UBBF

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...