Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control issues in the Sonic Adventure 1 and 2 #392

Open
Redyn opened this Issue Nov 6, 2016 · 10 comments

Comments

Projects
None yet
4 participants
@Redyn
Copy link

Redyn commented Nov 6, 2016

When you move your character forward or backward, the game behaves as if the stick is slightly tilted to the side. This destroys the player's attempts at precise movement, and causes Sonic to push against walls when running in narrow paths. More than once it even broke the automatized paths in SA1, as the game behaved as if I was pushing slightly to the left when that part of the level expected me to go directly forward, causing me to run off the path and into the abyss.

While unrelated to Demul, NullDC also has this problem when I use the keyboard, but it disappears when I select an alternate controller plugin that uses Xinput and play the game with my 360 controller. Unfortunately, the problem is present in Demul all the time, whether I use the keyboard or the controller. Perhaps the implementation of an alternate input plugin that uses solely Xinput would solve it?

@RinMaru

This comment has been minimized.

Copy link

RinMaru commented Nov 6, 2016

yea this happened a lot in nulldc it would work then go crazy character would drift in a direction or stop and go on occasion

@p1pkin

This comment has been minimized.

Copy link
Owner

p1pkin commented Nov 9, 2016

I suppose I have to do Xinput deadzone handling an option, because Sonic games require analog 'noice' to function correctly.

can anyone test Sonic games with DInput controllers (and it's default DeadZone 0) ?
currently I havent any Xinput or DInput gamepads, so unable to test by myself

@RinMaru

This comment has been minimized.

Copy link

RinMaru commented Nov 9, 2016

in nulldc dinput is an issue aswell i have both d/xinput controllers.

@p1pkin

This comment has been minimized.

Copy link
Owner

p1pkin commented Nov 9, 2016

which exactly Nulldc input plugin was used ? there is 2 of them - standard one, which have deadzone handling and potentially can have such issues as well,
and one more - "PuruPuru" which does not have dead zone.

mentioned above related to "Sonic goes slightly to the left" issue only!
I've heard there also odd NullDC behavior like Sonic stuck somewhere, or falling down, or other similar kind of madness - that's very different issue, (FPU related) and as far as I know its not happen in modern Demul versions.

@RinMaru

This comment has been minimized.

Copy link

RinMaru commented Nov 9, 2016

ive used both and they both have the issue. no other games afaik suffer.

@Redyn

This comment has been minimized.

Copy link
Author

Redyn commented Nov 9, 2016

I just tried Controller [Xinput] and PuruPuru and neither presents the issue with my 360 controller. However, only PuruPuru lets you change the deadzone, and the lowest value is 1%. When I set it to 1%, it still works correctly, with the exception that Sonic keeps moving slightly when I let go of the stick, though that's most likely due to my stick's wear out.

@Catarax

This comment has been minimized.

Copy link

Catarax commented Jan 27, 2017

I think Demul should have the deadzone parameter set to 15% by default.

@RinMaru

This comment has been minimized.

Copy link

RinMaru commented Feb 13, 2017

Gives me the same issue i finally have a new gaming computer and demul runs beautifully but sonic will drift to the left even with 15% deadzone

@p1pkin

This comment has been minimized.

Copy link
Owner

p1pkin commented Feb 14, 2017

if you use DInput controller - you have to disable deadzone, ie set it to 0.
in the case of XInput there is no solution at the moment. possible next Demul version will have option to disable XInput default deadzone.

the magic is - this game require slight erratic fluctuation of stick analog X/Y coordinates, otherwise Sonic will go not straight but slightly to left side.
so in case of this game - implemented/enabled deadzone is cause of issue.

@RinMaru

This comment has been minimized.

Copy link

RinMaru commented Feb 14, 2017

sounds good. Again I love this emulator its the only one that plays my games lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.