libretro / hatari

New rebasing of Hatari based on Mercurial upstream. Tries to be a shallow fork for easy upstreaming later on.
25 stars 41 forks source link

No controller input in some games #50

Open Tasosgemah opened 4 years ago

Tasosgemah commented 4 years ago

Tested Altered Beast. No respond to any inputs.

Tested Alien Syndrome. Can reach character select screen. After that it requires joystick inputs so there is no way to get past the screen.

Also, in the joystick menu there are no controllers detected:

Altered Beast (Europe)-200501-220754

Standalone version detect my 360 controllers just fine.

boydduk commented 4 years ago

Yep, can never get in game joystick to work. Mouse works find in and out of the hatari menu, but can never start a game because the joystick inputs are ignored in game running from retroarch.

Darknior commented 4 years ago

Yes this emulator is really old :( So bad no one like on C64 or Amiga update it fine ... now these two emulators are perfect !!! Better than original one !

bbbradsmith commented 4 years ago

With #68 I was able to play both Altered Beast and Alien Syndrome.

Altered Beast has a weird issue where if you click the mouse the joystick stops responding, which is strange. I suspect that's a Hatari 1.8.0 issue, but I haven't been able to get Altered Beast to run in either 1.8.0 or the latest standalone. As long as you use gamepad only it seems totally fine though. (Can't duplicate the mouse click issue in STeem or SainT.)

Maybe I should put in a core option to disable/block mouse input for this reason though... Hatari doesn't seem to have any user options to actually "unplug" the mouse, it just seems to automatically handle things based on what the game software requests and whether you're using it, but maybe a core option to just never send mouse input to it would be a useful workaround.

Tasosgemah commented 4 years ago

I was able to play both Altered Beast and Alien Syndrome.

How? I never managed to do that in RetroArch. And i didn't try to use the mouse, i mostly play on couch using a controller.

Was there an update that improved the core?

Edit: Seems like it, I'm going to test!

bbbradsmith commented 4 years ago

PR #68 is still pending, it hasn't been accepted, so it won't be fixed in the nightly builds, and the CI build doesn't produce a usable artifact that you could test. I could attach a DLL here if you'd like to test?

Tasosgemah commented 4 years ago

Sure, i'll be on my computer for an hour or so

bbbradsmith commented 4 years ago

(build removed) test build of 9a7ca63

Tasosgemah commented 4 years ago

Nice, both games now work with the controller. I also noticed there are some extra input options where you can map various keyboard keys on the controller, like the "virtual keyboard space" option. This can skip most intros without bringing the actual virtual keyboard and pressing space. Not sure if that was a thing before but it's extremely useful. I feel like i have good control for a couch setup.

Secamfr commented 3 years ago

Hello @bbbradsmith , i compiled your #68 for raspberry pi and it works very well ! Nice job, i think you can finalize it with space on R3 now, thanks.

bbbradsmith commented 3 years ago

Should be fixed with #68

borrelnoten commented 3 years ago

Hi, can the new version also be compiled for xbox? I've treid to do this using the current version but I'm unable to compile it using the given instructions (make file using msys 1.0, using powerpckit stuff... not a guru using make at all so gut stuck at some point where the compiler did not find memory.h :( )