Post subject: Keyboard inputs not recognized Controller input not recorded
Joined: 6/23/2014
Posts: 3
Hi. I start a new thread cause the game is not the same as in Zanoab's post. So Ittle dew, tested with both 1.3 steam version and 1.1 DRM free Humble store version. - OS is a x86 W7 SP1 on VMware Workstation - Hourglass resurrection got on svn trunk the 19.06.2014 - Hotkeys in hourglass works properly. - Tried every combination of input activation for both the game and hourglass. - Controller (xinput) inputs are done while recording movie (I can play the game), but not recorded, resulting in a desync on first input (frame 4-8). I tried with different message sync modes without any positive result. I opened the movie with an hex editor, keyboards inpiuts are there, but not controller inputs. Ittle dew uses Unity. If you need any log, just let me now and I'll post them. Thanks ;)
Warepire
He/Him
Editor
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
Yeah, Xinput seemingly works a bit sketchy. Don't have any ideas on how to fix that right now, Xinput is not my strong side. Did you try applying the same fix as I suggested Zanoab to try? Probably won't do anything but worth a shot.
Joined: 6/23/2014
Posts: 3
Okay, I tried the fix suggested to Zanoab without any positive result, and I had a couple of other ideas. I was wondering, as Hourglass seemed to recognized the possibility of 4 controllers simultaneously connected to the computer, to unbind all 3 unused controllers and re-bind the first one with the one actually plugged into my VM. I remember having that working one day, but I can't remember when. Now I just can't bind the controller, Hourglass does not accept the controller input. I tried to bind it to keyboard keys, but the game does not receive keyboard-to-controller inputs either. As Ittle dew wasn't the only game I wanted to give a try on hourglass, I will come with some new about Spelunky HD soon ;) Thanks for the support anyways.
Patashu
He/Him
Joined: 10/2/2005
Posts: 4016
Have you tried messing with programs like joy2key and 360ce to wrangle keyboard and controller inputs into each other and vice versa?
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
Warepire
He/Him
Editor
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
I will try to look into this sometime because Xinput support is very handy. Personally for me this is not an issue of high priority as I am working on improving more pressing core functionality such as better windowing, timing, and save-states. Keylie is the one who knows Xinput best, he used a very similar implementation to TAS Super Meat Boy (timing issues prevent it from being possible to submit). He has unfortunately been quite busy with other things for a while.
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
If you're looking for Xinput interfaces, Higan's source code should that for example.
Warepire
He/Him
Editor
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
I'll take a look, but hooking Xinput is a little different than using it normally. Not sure how useful it could be.
Joined: 6/23/2014
Posts: 3
Xinput is sure a way to explore here, but I came with this issue to point out that this game inputs weren't transmitted to the game through hourglass, although the software recorded it. The opposite happen when using a xBox controller, as the game records the inputs, but hourglass don't. Then maybe there's 2 possible ways to make that game TASable. If you don't really feel like messing with xInput, maybe the issue can be seen with another angle.
Have you tried messing with programs like joy2key and 360ce to wrangle keyboard and controller inputs into each other and vice versa?
I didn't, maybe the vice versa is a really good idea, I'll give it a try! :) PS: As a re-read my post, it sounds a little bit harsh, I'm really sorry, sometimes my bad skills in english don't allow me to transliterate my thoughts as accuratly as I want. Please note that I owe an infinite respect to your work, and I'm really happy to have answers and to be allowed to "work" with you :)
Warepire
He/Him
Editor
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
mouton-volant wrote:
PS: As a re-read my post, it sounds a little bit harsh, I'm really sorry, sometimes my bad skills in english don't allow me to transliterate my thoughts as accuratly as I want. Please note that I owe an infinite respect to your work, and I'm really happy to have answers and to be allowed to "work" with you :)
Don't worry about it, English isn't my first language either.