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

Post tips/tricks or get help with configuring RetroPie
Post Reply
grenade44
Posts: 169
Joined: Wed May 04, 2016 11:58 pm
Location: Whitehill, UK
Has thanked: 17 times
Been thanked: 27 times
Contact:

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

Post by grenade44 » Thu Jun 09, 2016 8:27 am

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?
Last edited by grenade44 on Wed Jun 15, 2016 4:13 pm, edited 1 time in total.

the watchmaker
Posts: 27
Joined: Thu May 05, 2016 4:12 am
Been thanked: 1 time

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

Post by the watchmaker » Mon Jun 13, 2016 4:44 pm

And also other games select the second controller (which isn't there).
I have the same problem and a solution is very much appriciated.

Nosfay
Posts: 25
Joined: Mon May 23, 2016 4:32 pm
Been thanked: 3 times

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

Post by Nosfay » Tue Jun 14, 2016 6:45 pm

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).

grenade44
Posts: 169
Joined: Wed May 04, 2016 11:58 pm
Location: Whitehill, UK
Has thanked: 17 times
Been thanked: 27 times
Contact:

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

Post by grenade44 » Wed Jun 15, 2016 4:12 pm

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.

User avatar
wermy
Site Admin
Posts: 1340
Joined: Tue May 03, 2016 8:51 pm
Has thanked: 609 times
Been thanked: 1317 times
Contact:

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

Post by wermy » Wed Jun 15, 2016 6:54 pm

Thanks for sharing your solution. Still seems so weird that it was messed up for just that one rom!
ImageImageImageImage

grenade44
Posts: 169
Joined: Wed May 04, 2016 11:58 pm
Location: Whitehill, UK
Has thanked: 17 times
Been thanked: 27 times
Contact:

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

Post by grenade44 » Wed Jun 15, 2016 11:47 pm

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.

the watchmaker
Posts: 27
Joined: Thu May 05, 2016 4:12 am
Been thanked: 1 time

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

Post by the watchmaker » Sun Jun 19, 2016 5:38 pm

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.

the watchmaker
Posts: 27
Joined: Thu May 05, 2016 4:12 am
Been thanked: 1 time

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

Post by the watchmaker » Sun Jun 26, 2016 2:43 pm

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?

grenade44
Posts: 169
Joined: Wed May 04, 2016 11:58 pm
Location: Whitehill, UK
Has thanked: 17 times
Been thanked: 27 times
Contact:

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

Post by grenade44 » Sun Jun 26, 2016 4:28 pm

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.

Charmaine
Posts: 1
Joined: Tue Nov 20, 2018 6:18 pm

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

Post by Charmaine » Tue Nov 20, 2018 6:23 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest