Page 1 of 1

[Solved][Help] Super Mario All-Stars Control Issues

Posted: Thu Jun 09, 2016 8:27 am
by grenade44
Hi,

Ive been trying to setup my controlst to work with Super Mario All-Stars on the snes. For some reason this roms always makes the player 2 the primary controller as im using my gameboy zero, i dont have a second controller to use instead.

I searched online and found this fix for controllers http://blog.petrockblock.com/forums/top ... all-stars/ So i made changed to this and "nul" the joypads and added the key mapping to player 1 and 2. I made these changed just to the Snes config not the all config.
input_player1_a = "a"
input_player1_b = "b"
input_player1_y = "y"
input_player1_x = "x"
input_player1_start = "enter"
input_player1_select = "s"
input_player1_l = "l"
input_player1_r = "r"
input_player1_left = "left"
input_player1_right = "right"
input_player1_up = "up"
input_player1_down = "down"

input_player2_a = "a"
input_player2_b = "b"
input_player2_y = "y"
input_player2_x = "x"
input_player2_start = "enter"
input_player2_select = "s"
input_player2_l = "l"
input_player2_r = "r"
input_player2_left = "left"
input_player2_right = "right"
input_player2_up = "up"
input_player2_down = "down"

input_player1_joypad_index = "nul"
input_player1_b_btn = "nul"
input_player1_y_btn = "nul"
input_player1_select_btn = "nul"
input_player1_start_btn = "nul"
input_player1_up_axis = "nul"
input_player1_down_axis = "nul"
input_player1_left_axis = "nul"
input_player1_right_axis = "nul"
input_player1_a_btn = "nul"
input_player1_x_btn = "nul"
input_player1_l_btn = "nul"
input_player1_r_btn = "nul"
input_enable_hotkey_btn = "nul"
input_exit_emulator_btn = "nul"

input_player2_joypad_index = "nul"
input_player2_b_btn = "nul"
input_player2_y_btn = "nul"
input_player2_select_btn = "nul"
input_player2_start_btn = "nul"
input_player2_up_axis = "nul"
input_player2_down_axis = "nul"
input_player2_left_axis = "nul"
input_player2_right_axis = "nul"
input_player2_a_btn = "nul"
input_player2_x_btn = "nul"
input_player2_l_btn = "nul"
input_player2_r_btn = "nul"
input_enable_hotkey_btn = "nul"
input_exit_emulator_btn = "nul"

# Saves state.
input_save_state = left
# Loads state.
input_load_state = right

input_enable_hotkey = "s"
input_exit_emulator = "enter"
This fixed my issues with Super Mario All-Stars but now mario kart will only player 2 player games. Has anyone else got this setup working?

Re: [Help] Super Mario All-Stars Control Issues

Posted: Mon Jun 13, 2016 4:44 pm
by the watchmaker
And also other games select the second controller (which isn't there).
I have the same problem and a solution is very much appriciated.

Re: [Help] Super Mario All-Stars Control Issues

Posted: Tue Jun 14, 2016 6:45 pm
by Nosfay
Hi,

I use recalbox but I think it should worked on RetroPie too.

You may configure retropie to use CATSFC core for mario all stars (other games normally run with pocketsnes).
Then you have a "one configuration file per game" option on retroarch menu , I don't remember exactly where (settings / core options maybe).

Re: [Help] Super Mario All-Stars Control Issues

Posted: Wed Jun 15, 2016 4:12 pm
by grenade44
the watchmaker wrote:And also other games select the second controller (which isn't there).
I have the same problem and a solution is very much appriciated.
I worked it out, you can have custom controls for each rom. My one is called Super Mario All-Stars (USA).sfc you want to make a file in your roms directory with the file name Super Mario All-Stars (USA).sfc.cfg and then add this to the file.
input_player1_a = "a"
input_player1_b = "b"
input_player1_y = "y"
input_player1_x = "x"
input_player1_start = "enter"
input_player1_select = "s"
input_player1_l = "l"
input_player1_r = "r"
input_player1_left = "left"
input_player1_right = "right"
input_player1_up = "up"
input_player1_down = "down"

input_player2_a = "a"
input_player2_b = "b"
input_player2_y = "y"
input_player2_x = "x"
input_player2_start = "enter"
input_player2_select = "s"
input_player2_l = "l"
input_player2_r = "r"
input_player2_left = "left"
input_player2_right = "right"
input_player2_up = "up"
input_player2_down = "down"

input_player1_joypad_index = "nul"
input_player1_b_btn = "nul"
input_player1_y_btn = "nul"
input_player1_select_btn = "nul"
input_player1_start_btn = "nul"
input_player1_up_axis = "nul"
input_player1_down_axis = "nul"
input_player1_left_axis = "nul"
input_player1_right_axis = "nul"
input_player1_a_btn = "nul"
input_player1_x_btn = "nul"
input_player1_l_btn = "nul"
input_player1_r_btn = "nul"
input_enable_hotkey_btn = "nul"
input_exit_emulator_btn = "nul"

input_player2_joypad_index = "nul"
input_player2_b_btn = "nul"
input_player2_y_btn = "nul"
input_player2_select_btn = "nul"
input_player2_start_btn = "nul"
input_player2_up_axis = "nul"
input_player2_down_axis = "nul"
input_player2_left_axis = "nul"
input_player2_right_axis = "nul"
input_player2_a_btn = "nul"
input_player2_x_btn = "nul"
input_player2_l_btn = "nul"
input_player2_r_btn = "nul"
input_enable_hotkey_btn = "nul"
input_exit_emulator_btn = "nul"

# Saves state.
input_save_state = left
# Loads state.
input_load_state = right

input_enable_hotkey = "s"
input_exit_emulator = "enter"
Make changes to match your control config. save this document and leave your normal Snes/All configs as they are. Load up All star and should work fine now. Let me know if this worked for you or not.

Re: [Solved][Help] Super Mario All-Stars Control Issues

Posted: Wed Jun 15, 2016 6:54 pm
by wermy
Thanks for sharing your solution. Still seems so weird that it was messed up for just that one rom!

Re: [Solved][Help] Super Mario All-Stars Control Issues

Posted: Wed Jun 15, 2016 11:47 pm
by grenade44
wermy wrote:Thanks for sharing your solution. Still seems so weird that it was messed up for just that one rom!
I no its just weird, glad I found a solution on retropies wiki page.

Re: [Help] Super Mario All-Stars Control Issues

Posted: Sun Jun 19, 2016 5:38 pm
by the watchmaker
grenade44 wrote:
the watchmaker wrote:And also other games select the second controller (which isn't there).
I have the same problem and a solution is very much appriciated.
I worked it out, you can have custom controls for each rom. My one is called Super Mario All-Stars (USA).sfc you want to make a file in your roms directory with the file name Super Mario All-Stars (USA).sfc.cfg and then add this to the file.
input_player1_a = "a"
input_player1_b = "b"
input_player1_y = "y"
input_player1_x = "x"
input_player1_start = "enter"
input_player1_select = "s"
input_player1_l = "l"
input_player1_r = "r"
input_player1_left = "left"
input_player1_right = "right"
input_player1_up = "up"
input_player1_down = "down"

input_player2_a = "a"
input_player2_b = "b"
input_player2_y = "y"
input_player2_x = "x"
input_player2_start = "enter"
input_player2_select = "s"
input_player2_l = "l"
input_player2_r = "r"
input_player2_left = "left"
input_player2_right = "right"
input_player2_up = "up"
input_player2_down = "down"

input_player1_joypad_index = "nul"
input_player1_b_btn = "nul"
input_player1_y_btn = "nul"
input_player1_select_btn = "nul"
input_player1_start_btn = "nul"
input_player1_up_axis = "nul"
input_player1_down_axis = "nul"
input_player1_left_axis = "nul"
input_player1_right_axis = "nul"
input_player1_a_btn = "nul"
input_player1_x_btn = "nul"
input_player1_l_btn = "nul"
input_player1_r_btn = "nul"
input_enable_hotkey_btn = "nul"
input_exit_emulator_btn = "nul"

input_player2_joypad_index = "nul"
input_player2_b_btn = "nul"
input_player2_y_btn = "nul"
input_player2_select_btn = "nul"
input_player2_start_btn = "nul"
input_player2_up_axis = "nul"
input_player2_down_axis = "nul"
input_player2_left_axis = "nul"
input_player2_right_axis = "nul"
input_player2_a_btn = "nul"
input_player2_x_btn = "nul"
input_player2_l_btn = "nul"
input_player2_r_btn = "nul"
input_enable_hotkey_btn = "nul"
input_exit_emulator_btn = "nul"

# Saves state.
input_save_state = left
# Loads state.
input_load_state = right

input_enable_hotkey = "s"
input_exit_emulator = "enter"
Make changes to match your control config. save this document and leave your normal Snes/All configs as they are. Load up All star and should work fine now. Let me know if this worked for you or not.

Thanks for this. Going to try that tomorrow. Keep u informed.

Re: [Help] Super Mario All-Stars Control Issues

Posted: Sun Jun 26, 2016 2:43 pm
by the watchmaker
the watchmaker wrote:
grenade44 wrote:
the watchmaker wrote:And also other games select the second controller (which isn't there).
I have the same problem and a solution is very much appriciated.
I worked it out, you can have custom controls for each rom. My one is called Super Mario All-Stars (USA).sfc you want to make a file in your roms directory with the file name Super Mario All-Stars (USA).sfc.cfg and then add this to the file.
input_player1_a = "a"
input_player1_b = "b"
input_player1_y = "y"
input_player1_x = "x"
input_player1_start = "enter"
input_player1_select = "s"
input_player1_l = "l"
input_player1_r = "r"
input_player1_left = "left"
input_player1_right = "right"
input_player1_up = "up"
input_player1_down = "down"

input_player2_a = "a"
input_player2_b = "b"
input_player2_y = "y"
input_player2_x = "x"
input_player2_start = "enter"
input_player2_select = "s"
input_player2_l = "l"
input_player2_r = "r"
input_player2_left = "left"
input_player2_right = "right"
input_player2_up = "up"
input_player2_down = "down"

input_player1_joypad_index = "nul"
input_player1_b_btn = "nul"
input_player1_y_btn = "nul"
input_player1_select_btn = "nul"
input_player1_start_btn = "nul"
input_player1_up_axis = "nul"
input_player1_down_axis = "nul"
input_player1_left_axis = "nul"
input_player1_right_axis = "nul"
input_player1_a_btn = "nul"
input_player1_x_btn = "nul"
input_player1_l_btn = "nul"
input_player1_r_btn = "nul"
input_enable_hotkey_btn = "nul"
input_exit_emulator_btn = "nul"

input_player2_joypad_index = "nul"
input_player2_b_btn = "nul"
input_player2_y_btn = "nul"
input_player2_select_btn = "nul"
input_player2_start_btn = "nul"
input_player2_up_axis = "nul"
input_player2_down_axis = "nul"
input_player2_left_axis = "nul"
input_player2_right_axis = "nul"
input_player2_a_btn = "nul"
input_player2_x_btn = "nul"
input_player2_l_btn = "nul"
input_player2_r_btn = "nul"
input_enable_hotkey_btn = "nul"
input_exit_emulator_btn = "nul"

# Saves state.
input_save_state = left
# Loads state.
input_load_state = right

input_enable_hotkey = "s"
input_exit_emulator = "enter"
Make changes to match your control config. save this document and leave your normal Snes/All configs as they are. Load up All star and should work fine now. Let me know if this worked for you or not.

Thanks for this. Going to try that tomorrow. Keep u informed.
Here it doesnt work. But I have a few questions.
You said your config file is named " Super Mario All-Stars (USA).sfc". You advise to put the text in "Super Mario All-Stars (USA).sfc.cfg" so why add .cfg?
Are you using a teency aswell? I think I have to use numbers after the input instead of letters?
Where can i find the original control.config?

Re: [Help] Super Mario All-Stars Control Issues

Posted: Sun Jun 26, 2016 4:28 pm
by grenade44
the watchmaker wrote:
the watchmaker wrote:
grenade44 wrote:
I worked it out, you can have custom controls for each rom. My one is called Super Mario All-Stars (USA).sfc you want to make a file in your roms directory with the file name Super Mario All-Stars (USA).sfc.cfg and then add this to the file.



Make changes to match your control config. save this document and leave your normal Snes/All configs as they are. Load up All star and should work fine now. Let me know if this worked for you or not.

Thanks for this. Going to try that tomorrow. Keep u informed.
Here it doesnt work. But I have a few questions.
You said your config file is named " Super Mario All-Stars (USA).sfc". You advise to put the text in "Super Mario All-Stars (USA).sfc.cfg" so why add .cfg?
Are you using a teency aswell? I think I have to use numbers after the input instead of letters?
Where can i find the original control.config?
Im using GPIO pins, all config files end in .cfg, you need to make sure your file has the same name as your rom and also its file extention which in this case is .sfc.

In this file you want to copy your controls config from /opt/retropie/configs/all/retroarch.cfg its near the bottom of the page.

You then need to make the player 1 controls the same as player 2 and make sure you "nul" all the joystick controls as done below.

[spoiler=]input_player1_a = "a"
input_player1_b = "b"
input_player1_y = "y"
input_player1_x = "x"
input_player1_start = "enter"
input_player1_select = "s"
input_player1_l = "l"
input_player1_r = "r"
input_player1_left = "left"
input_player1_right = "right"
input_player1_up = "up"
input_player1_down = "down"

input_player2_a = "a"
input_player2_b = "b"
input_player2_y = "y"
input_player2_x = "x"
input_player2_start = "enter"
input_player2_select = "s"
input_player2_l = "l"
input_player2_r = "r"
input_player2_left = "left"
input_player2_right = "right"
input_player2_up = "up"
input_player2_down = "down"

input_player1_joypad_index = "nul"
input_player1_b_btn = "nul"
input_player1_y_btn = "nul"
input_player1_select_btn = "nul"
input_player1_start_btn = "nul"
input_player1_up_axis = "nul"
input_player1_down_axis = "nul"
input_player1_left_axis = "nul"
input_player1_right_axis = "nul"
input_player1_a_btn = "nul"
input_player1_x_btn = "nul"
input_player1_l_btn = "nul"
input_player1_r_btn = "nul"
input_enable_hotkey_btn = "nul"
input_exit_emulator_btn = "nul"

input_player2_joypad_index = "nul"
input_player2_b_btn = "nul"
input_player2_y_btn = "nul"
input_player2_select_btn = "nul"
input_player2_start_btn = "nul"
input_player2_up_axis = "nul"
input_player2_down_axis = "nul"
input_player2_left_axis = "nul"
input_player2_right_axis = "nul"
input_player2_a_btn = "nul"
input_player2_x_btn = "nul"
input_player2_l_btn = "nul"
input_player2_r_btn = "nul"
input_enable_hotkey_btn = "nul"
input_exit_emulator_btn = "nul"[/spoiler]

save and reboot as this should work now.

hope this helps, let me know.

Re: [Solved][Help] Super Mario All-Stars Control Issues

Posted: Tue Nov 20, 2018 6:23 pm
by Charmaine
Just legendary overall and a surprisingly good experience for a flash game. Can you make the same thing with Super Mario 63. I cannot always play it online on Freegames66 and I think this way will help me.