Post subject: Windows users, lend me your mice!
Warepire
He/Him
Editor
Joined: 3/2/2010
Posts: 2178
Location: A little to the left of nowhere (Sweden)
(tl;dr? Skip the first paragraph of the post) A few days ago I got so far in hooking DirectInput basic SysMouse mouse devices that my testing game now tries to query the mouse for it's device objects. At first I thought that was really bad news because letting the game actually query the mouse would destroy sync completely through out-of-our-control device driver communication. But after talking with some friends I came to the conclusion that a SysMouse capable device probably follows a standard, and now I need help verifying that. I cannot promise that even a successful verification will allow me to complete mouse support in Hourglass, but it would increase the chances. Please download this little program, put it on the desktop or somewhere else where you can easily find it, run it, follow instructions, and then upload the log or post it within code-tags. http://hourglass-resurrection.googlecode.com/svn/branches/Tools/DISysMouseDataLogger/Release/DISysMouseDataLogger.exe For those that are afraid of running random exes, here's the source for the program: http://code.google.com/p/hourglass-resurrection/source/browse/branches/Tools/DISysMouseDataLogger/DISysMouseDataLogger/ Thank you everyone who tests this for the help! Enough data has been gathered, thanks everyone.
Player (144)
Joined: 2/27/2011
Posts: 31
Location: Japan
http://pastebin.com/sLUx3gqu I'm looking forward to mouse support in hourglass.
Active player (379)
Joined: 6/5/2006
Posts: 188
Location: Malmö, Sweden
Even the best player is limited by the speed of his fingers, or his mind's ability to control them. But what happens when speed is not a factor, when theory becomes reality?
Joined: 6/9/2011
Posts: 29
Player (213)
Joined: 9/14/2011
Posts: 349
http://pastebin.com/Z854WLLC I hope your program works on Windows 95/98 games (more specifically, Madou Monogatari series).
Masterjun
He/Him
Site Developer, Expert player (2048)
Joined: 10/12/2010
Posts: 1185
Location: Germany
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Reviewer, Expert player (2440)
Joined: 5/21/2013
Posts: 414
http://pastebin.com/Ap5Aic85 Good luck, and thanks for your work on this!
Warepire
He/Him
Editor
Joined: 3/2/2010
Posts: 2178
Location: A little to the left of nowhere (Sweden)
Thank you everyone so far! A few more and I should be able to draw a fairly safe conclusion about this. Odongdong: If the games are 32 bit they will hopefully work given that the correct hooks exist, otherwise if they are 16 bit there isn't much I can do as the CPU support is diminishing and only XP 32bit has support for those games if the CPU does, and it would require a completely different DLL to attach to the process, and no dev environment I can get to run on my machines can build 16 bit DLLs. So in short: If the games are 32 bit they can and most likely will work, if the game is 16 bit it will not work, and I cannot do anything about that.
Site Admin, Skilled player (1256)
Joined: 4/17/2010
Posts: 11499
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Post subject: Re: lend me your mice
Experienced player (764)
Joined: 6/17/2008
Posts: 146
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.
Joined: 9/27/2011
Posts: 207
Location: Finland
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.
fsvgm777
She/Her
Senior Publisher, Player (226)
Joined: 5/28/2009
Posts: 1218
Location: Luxembourg
Windows 7 Home Premium x64 (using a laptop on which a mouse is connected via USB): https://dl.dropboxusercontent.com/u/64600169/result.log Yes, the object names are in French, because I'm using a French version.
Steam Community page - Bluesky profile Oh, I'm just a concerned observer.
Warepire
He/Him
Editor
Joined: 3/2/2010
Posts: 2178
Location: A little to the left of nowhere (Sweden)
I have always been taught that the plural of mouse (pointer device) is mouses while the plural of mouse (rodent) is mice... I should have what I need now to make a conclusion. A huge thank you to everyone who took their time to make logs for me. It's very much appreciated! If a moderator could edit my opening post to say that the data gathering is completed it would be much appreciated, I don't have the rights to edit it anymore...
Emulator Coder, Skilled player (1129)
Joined: 5/1/2010
Posts: 1217
Warepire wrote:
If a moderator could edit my opening post to say that the data gathering is completed it would be much appreciated, I don't have the rights to edit it anymore...
Okay, done. Also, looks like the data is in pretty standard format, aside from I18N of axis/button names (and sometimes varying button count)... Good thing, isn't it?
Warepire
He/Him
Editor
Joined: 3/2/2010
Posts: 2178
Location: A little to the left of nowhere (Sweden)
Ilari wrote:
Warepire wrote:
If a moderator could edit my opening post to say that the data gathering is completed it would be much appreciated, I don't have the rights to edit it anymore...
Okay, done. Also, looks like the data is in pretty standard format, aside from I18N of axis/button names (and sometimes varying button count)... Good thing, isn't it?
Thanks for the edit. I had not had the time to look at them and compare yet, but I did just now and you are right, and this is very good, this means I can hard-code the communication between the TASing-DLL and the game. Linear execution time joy!
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
Warepire wrote:
I have always been taught that the plural of mouse (pointer device) is mouses while the plural of mouse (rodent) is mice...
I present for your consideration: http://en.wikipedia.org/wiki/Mouse_%28computing%29 http://www.amazon.com/Best-Sellers-Electronics-Computer-Mice/zgbs/electronics/11036491 http://www.newegg.com/Mice/SubCategory/ID-65 http://www.pcmag.com/category2/0,2806,15141,00.asp
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.
Experienced player (764)
Joined: 6/17/2008
Posts: 146
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
turska wrote:
There's also http://www.merriam-webster.com/dictionary/mouse and https://oxforddictionaries.com/definition/english/mouse?q=mouse to consider, which suggest both "mice" and "mouses" are acceptable. The Wikipedia article you linked says that's the case, too.
While mouses may be acceptable, it's not the vernacular (for example mice is used everywhere on the WP page). In any case mice is correct for it, not just mouses. Edit: I don't see mouses on the webster page.
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.
Warepire
He/Him
Editor
Joined: 3/2/2010
Posts: 2178
Location: A little to the left of nowhere (Sweden)
Not the first time this has happened. In elementary school I was taught that choice is spelled as "choise" and used that spelling for 7 years before I was corrected. Thanks for the information.
Patashu
He/Him
Joined: 10/2/2005
Posts: 4045
I think in preparation we should gather a list of games that will be TASable in hourglass once mouse support works. (Dustforce? Maybe Papers Please?)
My Chiptune music, made in Famitracker: http://soundcloud.com/patashu My twitch. I stream mostly shmups & rhythm games http://twitch.tv/patashu My youtube, again shmups and rhythm games and misc stuff: http://youtube.com/user/patashu
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
Command & Conquer?
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.
Warepire
He/Him
Editor
Joined: 3/2/2010
Posts: 2178
Location: A little to the left of nowhere (Sweden)
First off the game has to be 32 bit. Second there will only be mouse support for WinAPI and DirectInput (up to DirectX 9), if I can get it working at all, if a game uses a different method it will not be supported at this time. But there are also other problems with some games not spawning their windows or outright crashes before the process is started fully. No idea yet what causes either. Also I broke movies trying to improve the format for coming improvements to Hourglass, so they corrupt on close/open, need to fix that too. And more things like these. So it's far from ready to be used yet sadly.
Patashu
He/Him
Joined: 10/2/2005
Posts: 4045
Yes, I am aware it won't be perfect immediately or ever :) I'm still excited though. A big thank you for Warepire for working to improve Hourglass!
My Chiptune music, made in Famitracker: http://soundcloud.com/patashu My twitch. I stream mostly shmups & rhythm games http://twitch.tv/patashu My youtube, again shmups and rhythm games and misc stuff: http://youtube.com/user/patashu