Wrong button on Amiga emulator
-
Does work but if there is another more tidier way I'll do that
-
Just wanted to say thank you for posting your solution on here as I am having the same issue. Once I have tested this ill see if there's a way to save the settings.
-
I did it this way:
copy the default RA-controller-config to another place of your choice (i.e.: "/home/AMIBERRY Inputs/")
edit the button-mapping as you like in this copied file
start AMIBERRY-GUI
go to "paths", navigate the "inputs"-path to your new one.
click on the button "rescan paths"
There you go, the inputs are now as you like to have them global for all games ;) -
@sirhenrythe5th said in Wrong button on Amiga emulator:
I did it this way:
copy the default RA-controller-config to another place of your choice (i.e.: "/home/AMIBERRY Inputs/")
edit the button-mapping as you like in this copied file
start AMIBERRY-GUI
go to "paths", navigate the "inputs"-path to your new one.
click on the button "rescan paths"
There you go, the inputs are now as you like to have them global for all games ;)Thanks for this however is there any chance you could break this down a bit further ?
How do you copy the default RA-controller - config to another place?
how do you edit the button mapping in this file? and how would i know what to change and what to change it too?
the last bit about navigation i know how to do but the first 2 are a little out of my depth at the moment -
@amiganoobie you can save the settings by going into configuratrion in the amiberry menu and click on default settings then save.
This seems to work but it puts a file called default in the games list when you start retropie.
However @sirhenrythe5th seems to have a much better way bit im a bit lost on how to do the first 2 parts at the moment but you might be able to figure it out?
-
@sirhenrythe5th actually i am probably over thinking this, can i do this on a pc? i am thinking you need to do this through the pi, but if i take the SD card out and put it in pc could i not copy and alter the file in question on there? that i can do lol
If so, how would i know when in file what to change and what to change it to?
-
@sirhenrythe5th also looking at this webpage
https://github.com/midwan/amiberry/wiki/Using-Amiberry-WHDBooter-with-RetroPie-(Step-2)
are you on about where it says controller files, is that the one you navigate to the new copy?
-
@chris3535 you are on the right path! :) Have a closer look here: https://github.com/midwan/amiberry/wiki/Setting-up-Input-Controllers
-
@sirhenrythe5th Thanks mate i have read that but still a bit confused ! :-(
So if i put SD card in pc and navigate to /opt/retropie/configs/all/retroarch/autoconfig
What will i see there that i need to make a copy off (sorry i am at work at moment otherwise id have checked first)
When i find the right file i make a copy then store it somewhere else (probably where you suggested atually)
Then i can open up this copy with a text editor and change the relevant setting so the left button works on joystick and not right one)
Then save the file.
Then open amiberry and go to paths and then direct it to the copy file i have just amended?
Does all this sound correct so far?
If so...when i open up the copy cfg file, what do i need to edit to make the left button work and not the right one?
Thank you for helping us with this by the way :-)
-
@chris3535 way too complicated ;)
I dont have a PC at all since 2007, so i only use the pi itself or my smartphone via local network.What i used for the amiberry input-mapping was only the Pi itself - in fact i used the "Midnight Commander" (just go to the terminal by pressing "F4" in ES and type "mc")
It is a great tool similar to the good old "Norton Commander" (MS-DOS) with the ability to sort and modify files directly with the Pi.After opening the MC i created a new folder "AMIBERRY Inputs" in "/home/pi/" and copied the original configuration-file in there.
After that i used the "sudo nano"-command and remapped the buttons within this configuration. (i.e. "Button 0=B", "Button 1=A". btw: the orginal Amigas had only support for one button; the second is a feature by AMIBERRY).
Just saved that new config by pressing "CMD" + "X" and confirmed overwriting of the file with "Y".Last step was to open the Amiberry GUI and rescan the paths as described above.
Worked like a charm and still does :)
-
@sirhenrythe5th ok..lol think i am getting there..just one little thing that confuses me.
When you say you used the "sudo nano" command what do you mean?
-
@sirhenrythe5th ahh do you mean open terminal and type in sudo nano followed by the path where the file is?
So in your example you typed:
sudo nano /home/pi/amiberry inputs/
is this correct?
-
@chris3535 this is the command used to open and modify a file within Raspbian/Linux.
What you can do to make it a bit easier:
open MC -> navigate to the file you want to modify -> press "F2" to open the on screen menu -> navigate to "do something with the file" -> and type "sudo nano" ;) -
@sirhenrythe5th Brilliant, thank you so much for your help and patience !
I will do this tonight but i have my head round it now thanks to your instructions !!
-
@chris3535 you are welcome Chris!
I was also very annoyed by the default button mapping and was glad to find this way to get it sorted.
Feel free to ask again if you get stuck ;) -
@sirhenrythe5th Thank you i will!
i have another kinda issue but ill open a new thread for that later if i cant sort it.
Basically some games (wings for example) seems to map itself to the mouse (i have a pi400) and i have not been able to make it work with the joystick yet. I had a quick play with the settings last night and i assume its something to do with the controls section in amiberry but couldn't get it to work, however i didn't spend that much time and will mess about tonight before bothering anyone on here .
Thanks again !!
-
@sirhenrythe5th Sorry to bother you again, so I have made a amiberry folder and copied the config file over into it.
I am in the config file now and I see the following
Input_start_btn = "1"
Input_exit_emulator_btn = "1"
input_b_btn = "0"
input_reset_btn = "0"
input_a_btn = "3"which one do I change? and to what?
-
@chris3535
The Fire-Buttons are "input_b_btn="0"" & "input_a_btn="3"".
These two have to be changed to fit with your button layout (i use 8BitDOs, so my layout wont help you).
Try & Error will help too :), just try the button numbers until it is as you like. -
@sirhenrythe5th ahh my apologies mate I thought you had same joystick as me.. I'll have a fiddle with it tonight
-
@sirhenrythe5th worked like a charm thank you :-)
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.