3dmm.com

3dmm.com (https://3dmm.com/index.php)
-   3DMM Chat (https://3dmm.com/forumdisplay.php?f=5)
-   -   A fix for 3dmm jumping cursor (Windows 10) (https://3dmm.com/showthread.php?t=53710)

Jayrod 04-10-2019 10:27 PM

A fix for 3dmm jumping cursor (Windows 10)
 
There have been some grievances about the jumping mouse cursor issue but I think I finally figured out what causes it.

3dmm snaps the cursor to the center when you move it outside the window, which is a common technique for tracking the mouse cursor and prevents the cursor from hitting the bounds of the screen or whatever. However, Windows 10 is so "responsive" that when 3dmm goes to grab the next mouse position, it sometimes doesn't get the newly "snapped" position it set before, and so there are incremental issues while dragging. Like in this video:



The fix I came up with was to add some milliseconds of idle time after each call to the Windows API SetCursorPos function (in User32.dll) to give time for Windows to dispatch the events.

Download it here.

-To use it, you must have 3dmm/v3dmm already running. Then just run it and it should patch successfully. The caveat atm is you must run the utility again if you close the 3dmm window. (I don't know yet how to make the patch effective on harddisk as the offsets to the DLLs will vary each time you start up 3dmm.)

Phil Williamson 04-10-2019 10:39 PM

this sounds great! awesome work Jayrod. it would be great if someone could figure out a way not to have to manually run it with 3dmm each time though

Jt Copper 04-12-2019 03:34 AM

Sticky the FUCK out of this!



Jayrod, you're a fucking legend, and a lifesaver. Honestly, I could care less if I have to run it manually. I have to boot up 3dmmMAP anyways, and this fix takes like 2 seconds to boot.

Jt Copper 04-12-2019 03:34 AM

test

IceCreamMan 04-17-2019 08:04 AM

Absolutely amazing - thank you so much!

Gorosaurus 04-22-2019 05:07 PM

I can't wait to try this-- I have a feeling that this is why texture scrolling hasn't been working on v3dmm for me

Jayrod 04-22-2019 08:18 PM

@Goro, could you explain the problem you've been having with texture scrolling? I may investigate this at some point.

Dave Miles 04-22-2019 09:16 PM

I think goro might be referring to using 3dmmAP to quickly scroll through the texture list in 3D words. I remember an issue where the curser would “slide” off the texture icon and you’d have to keep moving the cursor manually back it it’s position and start from beginning. Very annoying when you need to scroll to the end of the texture list constantly. Even with 3dmmAP this process was a pain in the ass

Gorosaurus 04-23-2019 03:17 PM

Yes, Dave is correct. To use hand-drawn animation in 3dmm, each frame has to be a new texture. Without the Texture Up/Down code, it's frankly an impossible task. Sometimes it works, other times it does not at all. I've tried editing the code for the functions, and that did help me get it a bit better, but this seems to explain why it would be a bit off sometimes and fine others.

Movie Lover 04-24-2019 06:19 PM

Glad they fixed it

Bobby Swisha 04-26-2019 03:25 AM

Wow. Props on creating this. :eek

Barbarian 09-17-2019 08:04 PM

Hey Jayrod! Thank you so much for this solution!
I managed to make it work if I open it as an Admin in the English version, but I can't make it work for the Spanish one. Is there any chance you can make it work for this language version as well, please? It'd be great!


All times are GMT. The time now is 09:15 PM.

Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.