It looks like there's an issue when using Restim with really high windows DPI scaling. You can try to reduce the scaling to circumvent it. I will have to look closer into a real fix.thebears73 wrote: Sun Aug 18, 2024 12:00 am just updated to 1.18 and getting some graphics issues on the set up?
Restim: e-stim audio generation software
Moderator: andyp
Re: Restim: e-stim audio generation software
-
thebears73
- Explorer At Heart

- Posts: 348
- Joined: Sat May 11, 2019 7:22 am
Re: Restim: e-stim audio generation software
yes, am using a 4K laptop!!!diglet wrote: Sun Aug 18, 2024 12:29 pmIt looks like there's an issue when using Restim with really high windows DPI scaling. You can try to reduce the scaling to circumvent it. I will have to look closer into a real fix.thebears73 wrote: Sun Aug 18, 2024 12:00 am just updated to 1.18 and getting some graphics issues on the set up?
Re: Restim: e-stim audio generation software
New release: https://github.com/diglet48/restim/releases v1.19
Changelog:
Changelog:
- change settings storage path from %appdata% to current directory
- change A/B test duration from number of pulses to seconds
- load funscripts from named folder first, before looking in zips
- fix: graphics glitches when using high-dpi scaling or high-contrast theme on windows
- fix: wrong math and jumps when using t-code commands
- fix: settings not loading for transform and vibration
- fix: various crashes
-
thebears73
- Explorer At Heart

- Posts: 348
- Joined: Sat May 11, 2019 7:22 am
Re: Restim: e-stim audio generation software
V1.19 Graphics is now way worse. the control pane takes up all of my screen and looks like its for a 4 year old to operate! Its so big~~~ said no man everdiglet wrote: Fri Aug 23, 2024 3:15 pm New release: https://github.com/diglet48/restim/releases v1.19
Changelog:You can copy over the old configuration files from the directory %appdata%/restim, and then delete that dir.
- change settings storage path from %appdata% to current directory
- change A/B test duration from number of pulses to seconds
- load funscripts from named folder first, before looking in zips
- fix: graphics glitches when using high-dpi scaling or high-contrast theme on windows
- fix: wrong math and jumps when using t-code commands
- fix: settings not loading for transform and vibration
- fix: various crashes
Re: Restim: e-stim audio generation software
Restim uses the scaling factor (dpi) entered in the windows control panel which seems to be configured to 225% on your PC.
Usually people use such high scaling factors when they have really bad eyesight and they *want* stuff to be big. If you don't want stuff to be big, can you not reduce the scaling factor in windows?
Usually people use such high scaling factors when they have really bad eyesight and they *want* stuff to be big. If you don't want stuff to be big, can you not reduce the scaling factor in windows?
-
thebears73
- Explorer At Heart

- Posts: 348
- Joined: Sat May 11, 2019 7:22 am
Re: Restim: e-stim audio generation software
Recommended scaling factor for a 4K reso laptop running 3840x2160 is 250%. If i change to 100% you would need the Hubble telescope to see anything on the screen, all other apps/programs work fine at 4k.diglet wrote: Mon Aug 26, 2024 7:53 am Restim uses the scaling factor (dpi) entered in the windows control panel which seems to be configured to 225% on your PC.
Usually people use such high scaling factors when they have really bad eyesight and they *want* stuff to be big. If you don't want stuff to be big, can you not reduce the scaling factor in windows?
-
thebears73
- Explorer At Heart

- Posts: 348
- Joined: Sat May 11, 2019 7:22 am
Re: Restim: e-stim audio generation software
thebears73 wrote: Tue Aug 27, 2024 8:58 pmRecommended scaling factor for a 4K reso laptop running 3840x2160 is 250%. If i change to 100% you would need the Hubble telescope to see anything on the screen, all other apps/programs work fine at 4k.diglet wrote: Mon Aug 26, 2024 7:53 am Restim uses the scaling factor (dpi) entered in the windows control panel which seems to be configured to 225% on your PC.
Usually people use such high scaling factors when they have really bad eyesight and they *want* stuff to be big. If you don't want stuff to be big, can you not reduce the scaling factor in windows?
Plus just had my eyes tested, 20/20 vision with my new glasses on![]()
- Attachments
-
- Screenshot 2024-08-28 085904.png (26.57 KiB) Viewed 2867 times
-
lr_x3
- Explorer

- Posts: 51
- Joined: Sat Sep 05, 2020 8:51 am
- Gender: Male
- Sexual Orientation: Straight
- Location: Europe
Re: Restim: e-stim audio generation software
Hi diglet,
I've upgraded from restim 1.18 to 1.20 and it crashes now as soon as I press the red play button.
I'm using MPC-HC as media player - but that should hopefully make no difference.
In the error log it says:
And I'll get crashes on my Win10 Desktop and on my Win11 Laptop.
I've upgraded from restim 1.18 to 1.20 and it crashes now as soon as I press the red play button.
I'm using MPC-HC as media player - but that should hopefully make no difference.
In the error log it says:
I've downgraded to 1.19 and it still works there - so must be something with 1.20.INFO:restim.audio:attempting to open audio device with 2 channels.
CRITICAL:restim:Exception occurred
Traceback (most recent call last):
File "qt_ui\mainwindow.py", line 346, in audio_start_stop
File "qt_ui\mainwindow.py", line 371, in audio_start
File "qt_ui\audio_generation_widget.py", line 93, in start
NameError: name 'TCODE_LATENCY' is not defined
And I'll get crashes on my Win10 Desktop and on my Win11 Laptop.
Re: Restim: e-stim audio generation software
Thanks. I fixed this in v1.20.1.
-
Corndogville
- Explorer

- Posts: 45
- Joined: Wed May 05, 2021 10:56 pm
Re: Restim: e-stim audio generation software
I keep trying this and no matter what I do I getdiglet wrote: Mon May 27, 2024 8:11 am There was an update of intiface last week that changed some things. It is not no longer supported to manually edit the config file. I need to update the documentation. I was able to get it to work with these steps:
- make sure websocket device manager is enabled in Intiface Central.
- In Intiface Central, devices tab, add a new device with name "restim" and protocol "tcode-v03".
- Connect Restim to Intiface Central as normal.
Connected to buttplug.
buttplug error: The remote host closed the connection
I remembered it being a nightmare on my old PC (to the point that I gave up for a few months but got it working eventually) now I'm on a new one and am reliving it.
- 47dahc
- Explorer At Heart

- Posts: 286
- Joined: Mon Aug 03, 2020 1:43 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
Re: Restim: e-stim audio generation software
Have you tried upgrading to 1.21?Corndogville wrote: Mon Nov 18, 2024 1:54 am
I keep trying this and no matter what I do I get
Connected to buttplug.
buttplug error: The remote host closed the connection
I remembered it being a nightmare on my old PC (to the point that I gave up for a few months but got it working eventually) now I'm on a new one and am reliving it.![]()
I have that and IC 2.6.4+30 and it connects fine. Every now and then I might get a handshake error but it connects on next try. Probably me trying to connect the two too fast.
diglet,
Loving that you allowed audio to continue when switching media. Thanks for adding that.
Creator of MetroVerter The Metronome to Tcode converter
My Guide on How to create and mix estim surround videos
My guide on Setup TeaseAI - Awakening with Restim
My Guide on How to create and mix estim surround videos
My guide on Setup TeaseAI - Awakening with Restim
-
Corndogville
- Explorer

- Posts: 45
- Joined: Wed May 05, 2021 10:56 pm
Re: Restim: e-stim audio generation software
Yeah, I just re-redownloaded it to be sure, enabled websocket, and47dahc wrote: Mon Nov 18, 2024 1:45 pmHave you tried upgrading to 1.21?Corndogville wrote: Mon Nov 18, 2024 1:54 am
I keep trying this and no matter what I do I get
Connected to buttplug.
buttplug error: The remote host closed the connection
I remembered it being a nightmare on my old PC (to the point that I gave up for a few months but got it working eventually) now I'm on a new one and am reliving it.![]()
QLayout: Attempting to add QLayout "" to FivePhaseSettingsWidget "tab_fivephase", which already has a layout
QLayout: Attempting to add QLayout "" to VolumeControlWidget "tab_volume", which already has a layout
libpng warning: iCCP: known incorrect sRGB profile
websocket server active at localhost:12346
TCP server active at localhost:12347
UDP server active at localhost:12347
attempting to connect to buttplug WSDM
Connected to buttplug.
Connected to buttplug.
buttplug error: The remote host closed the connection
Connected to buttplug.
buttplug error: The remote host closed the connection
Connected to buttplug.
buttplug error: The remote host closed the connection
Connected to buttplug.
buttplug error: The remote host closed the connection
Re: Restim: e-stim audio generation software
This usually means that websocket device manager is not enabled in intiface, or that you are connecting to the wrong port (should be 54817).Corndogville wrote: Mon Nov 18, 2024 1:54 amI keep trying this and no matter what I do I getdiglet wrote: Mon May 27, 2024 8:11 am There was an update of intiface last week that changed some things. It is not no longer supported to manually edit the config file. I need to update the documentation. I was able to get it to work with these steps:
- make sure websocket device manager is enabled in Intiface Central.
- In Intiface Central, devices tab, add a new device with name "restim" and protocol "tcode-v03".
- Connect Restim to Intiface Central as normal.
Connected to buttplug.
buttplug error: The remote host closed the connection
I remembered it being a nightmare on my old PC (to the point that I gave up for a few months but got it working eventually) now I'm on a new one and am reliving it.![]()
-
Corndogville
- Explorer

- Posts: 45
- Joined: Wed May 05, 2021 10:56 pm
Re: Restim: e-stim audio generation software
I don't see websocket device manager, I see Device Websocket Server, and that's enabled in green. Under WSDM in Restim it says ws://127.0.0.1:54817 I checked Windows Firewall too and they're both allowed.diglet wrote: Mon Nov 18, 2024 10:28 pmThis usually means that websocket device manager is not enabled in intiface, or that you are connecting to the wrong port (should be 54817).Corndogville wrote: Mon Nov 18, 2024 1:54 amI keep trying this and no matter what I do I getdiglet wrote: Mon May 27, 2024 8:11 am There was an update of intiface last week that changed some things. It is not no longer supported to manually edit the config file. I need to update the documentation. I was able to get it to work with these steps:
- make sure websocket device manager is enabled in Intiface Central.
- In Intiface Central, devices tab, add a new device with name "restim" and protocol "tcode-v03".
- Connect Restim to Intiface Central as normal.
Connected to buttplug.
buttplug error: The remote host closed the connection
I remembered it being a nightmare on my old PC (to the point that I gave up for a few months but got it working eventually) now I'm on a new one and am reliving it.![]()
Re: Restim: e-stim audio generation software
What does Intiface show for Server Address? Make sure it matches in restim. You could also try enabling "Listen on all network interfaces" in Intiface App Modes.Corndogville wrote: Tue Nov 19, 2024 12:14 am I don't see websocket device manager, I see Device Websocket Server, and that's enabled in green. Under WSDM in Restim it says ws://127.0.0.1:54817 I checked Windows Firewall too and they're both allowed.
