Ys Origin

Ys Origin

150 ratings
Xbox Gamepad Remapping Workaround
By Sweetz
This guide explains how to remap the gamepad controls without using the config tool since it has a problem where it won't recognize Xbox controllers even though they do work in-game.
3
2
3
3
5
   
Award
Favorite
Favorited
Unfavorite
Problem
Although the game of Ys Origin itself will work with Xinput (i.e. Xbox 360, Xbox One) controllers, the configuration tool is a separate executable and doesn't seem fully compatible with Xinput. It will not detect button presses for these controllers on Windows 10. This means you can not remap gamepad controls through the config tool and I personally found the default button layout terrible because it was clearly based on a generic gamepad with a different button arrangement.
Solution
Luckily, you can edit the controls by editing the config file directly.

  1. Open a Windows file explorer window; shortcut: Windows key + E

  2. Paste the following into the "address" bar at the top and press enter:
    %userprofile%\Saved Games\FALCOM\yso_win

  3. This will open the folder where the config file resides. Double click yso_win.ini and it should automatically open in Notepad.

  4. Scroll down to the bottom and find a section of the file that looks like this:
    Assign{PAD_ACTION}="Button1" Assign{PAD_JUMP}="Button2" Assign{PAD_SHOT}="Button3" Assign{PAD_USE}="Button4" Assign{PAD_MENU}="Button10" Assign{PAD_WALK}="Button9" Assign{PAD_SWORD_REVD}="Button5" Assign{PAD_SWORD_REVU}="Button8"

That section is where the gamepad buttons are assigned. You just need to edit the button numbers to change the controls. The control names are mostly obvious, except for these:

PAD_SHOT = Use Magic
PAD_USE = Use Boost
PAD_SWORD_REVD / REVU = Previous / Next Skill

The buttons on an Xbox 360 or One controller correspond to the following button numbers:

A = Button1
B = Button2
X = Button3
Y = Button4
LB = Button5
RB = Button6
Back (360)/View (One) = Button7
Start (360)/Menu (One) = Button8
Left stick click = Button9
Right stick click = Button10

The triggers are not remappable because they are analog inputs and not buttons.

So, for example, if you wanted to make the action (attack) button to be the X button instead of A, you'd change this line:
Assign{PAD_ACTION}="Button1"
To this:
Assign{PAD_ACTION}="Button3"
Suggested Layout
This layout is based on the default button mapping in the PS4 version of the game, but obviously feel free to change this to whatever you prefer.
Assign{PAD_ACTION}="Button3" Assign{PAD_JUMP}="Button1" Assign{PAD_SHOT}="Button2" Assign{PAD_USE}="Button4" Assign{PAD_MENU}="Button8" Assign{PAD_WALK}="Button9" Assign{PAD_SWORD_REVD}="Button5" Assign{PAD_SWORD_REVU}="Button6"
This translates to:
Attack/Ok = X
Jump/Cancel = A
Use Skill = B
Use Boost = Y
Menu = Start/Menu
Walk = Left stick click (pointless, never any need to walk)
Previous/Next Skill = Left/Right bumper

The only annoying thing is that you can't remap Ok and Cancel separately from Attack and Jump. Ok must always be the same button as Attack and Cancel must always be the same as Jump. This makes navigating the menu awkward since it makes X the Ok button and A the Cancel button. It's not ideal, but you'll get used to this after time and this layout is much better for the "action" part of the game
29 Comments
御坂美琴 29 Jun @ 4:30am 
thank you bro:steamhappy:
Superuser 19 Jun @ 3:00am 
For Linux users, the settings file can be found in two steps:

1. Navigate to the Steam 'Library' it's in - hit 'browse local files' and go up two directories.
2.Then open the file under:
/steamapps/compatdata/207350/pfx/drive_c/users/steamuser/Saved Games/FALCOM/yso_win
AL2009man 12 Jan @ 1:04pm 
@NewRaven I actually went ahead and tested it. With the way how Ys Origins handles Controller Hotplugging, a "Controller (XBOX 360 for Windows)" will be become the default if you Override Steam Input for Ys Origins. otherwise: it'll default to the physical gamepad and you'll get issuess due to Ys Origins using DirectInput (to be fair: it is a 2006 game, XInput was about to get properly introduced to everyone)

You might wanna head over to Input Setting via the Launcher configurator to ensure the game detects your physical or virtual controller. You'll have to do this everytime you switch to a different Controller.

I also tested Xidi's Virtual Gamepad, and it absolutely fixes the remaining broken XInput mappings -- but I still need to change the Input Configurator settings inorder to make the game uses Xidi Gamepad.
Jon.Topps 13 Dec, 2023 @ 3:34pm 
Absolute life saver. Each to follow, extremely clear directions. Thanks!
Sweetz  [author] 13 Jul, 2023 @ 4:06pm 
@DanielNielEl It's possible you may need to run the game once with gamepad activated for that section to be added to the config file. I don't know for sure, I haven't touched this game since I wrote the guide in 2018.
DanielNielEl 11 Jul, 2023 @ 4:36pm 
Why, when I open yso_win.ini folder and I scroll down, there's no part with controls?
OneHandClapping 27 Feb, 2023 @ 12:06pm 
cursor/character won't stop moving
Ritz 17 Feb, 2023 @ 5:00pm 
That works great. I like to play with Jump on X and Attack on A.
The only problem with that is that the confirm/cancel is tied to action/jump, but that's a minor inconvenience.
Jerad 3 Jan, 2023 @ 5:36pm 
This guide is still helpful in 2023. Thanks much!! :TioZero:
Arancil 3 Jul, 2022 @ 6:10am 
Thanks, invaluable guide!

I second Hamez, binding "Skill" to a number/shoulder button is very useful, so you can shoot with your thumb and charge your skill with an index finger.

If anyone's going to play a Megaman X game anytime soon, doing something similar is recommended; Dash on one shoulder button, shoot on another, jump on your thumb. Or whatever reconfiguration of this. Point is to spread out the work between different fingers so you can use your fingers more efficiently.