Amiberry swap fire buttons and config help - Giana Sisters
-
Pi Model or other hardware: 3B+
Power Supply used: Official Raspberry Pi P/S
RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.5.12
Built From: Official Raspberry Pi 4.5 image and updated to 4.5.12
USB Devices connected: Keyboard and mouse
Controller used: 8bitdo sf30 Pro
Emulator: Amiberry 3.1.3Hi
I am using Retropie 4.5.12 and amiberry 3.1.3 with an 8bitdo controller.
All working perfectly.
I more had a question about configuration of Amiberry to swap fire buttons for games.
In particular I am playing Great Giana Sisters.
Currently the jump button on the 8bitdo controller is the green Y button (West location) and the fire is the yellow B button(South location).
I am trying to swap the buttons to make the green button fire and the yellow button jump.
I can configure buttons to keys with no issue. I have configured Pinball Dreams through the controller if anyone wants this config.
But is anyone able to tell me how to swap the buttons or the correct config to use?
My code from the xml file is below<variant_uuid>d823b785-541f-5ec8-9585-83b17639fbf1</variant_uuid> <slave_count>1</slave_count> <slave_default>GreatGianaSisters.slave</slave_default> <slave_libraries>False</slave_libraries> <slave number="1"> <filename>GreatGianaSisters.slave</filename> <datapath></datapath> <custom> C2:B:Unlimited Lives Player 1 & 2 C3:B:Unlimited Time Player 1 & 2 C1:B:Disable UP control (2nd button pressed) </custom> </slave> <hardware> PRIMARY_CONTROL=JOYSTICK PORT0=JOY PORT1=JOY SCREEN_HEIGHT=216 SCREEN_Y_OFFSET= </hardware> <custom_controls> joyport1=joy1 joyport1_autofire=none joyport1_mode=djoy joyport1_friendlyname=Pro Controller joyport1_name=JOY1 joyport1_amiberry_custom_none_south=west joyport1_amiberry_custom_none_west=south </custom_controls> code_text
One more thing. Can anyone explain how the following section works?
C2:B:Unlimited Lives Player 1 & 2 C3:B:Unlimited Time Player 1 & 2 C1:B:Disable UP control (2nd button pressed) </custom> code_text
At the moment if I hit up on the controller the character jumps up.
C1:B:Disable UP control... is supposed to disable this. Does not seem to work.Any help appreciated
thanks
Jimi
-
One more thing. Can anyone explain how the following section works? ```<custom> C2:B:Unlimited Lives Player 1 & 2 C3:B:Unlimited Time Player 1 & 2 C1:B:Disable UP control (2nd button pressed) </custom> code_text
At the moment if I hit up on the controller the character jumps up.
C1:B:Disable UP control... is supposed to disable this. Does not seem to work.In regards to the above issue. Do I need to edit the whdload.xml as the following
C1:1:Disable UP control (2nd button pressed) or would I need to edit the .slave file?
Regards
Jimi
-
Have a look in the last posting of this thread, this could be helpful ;) ->
https://retropie.org.uk/forum/topic/25318/amiberry-whdload-joystick-fire-button/3?_=1590128005264Concerning disabling the up control:
the real Amiga supported only one fire button.
In Giana Sisters (still have the original for the Amiga :D) the one and only fire button did really this one thing: fire (if you collected the fireplant of course).
If you wanted to jump you had to push the up-button!, there was no "B" / "Jump-Button".
As i understand it AMIBERRY just set "UP" to "B", which is a great improvement because in lot of games you can now simply press an action button instead of the directional "UP" button, but this is a bonus of amiberry and has never been that way on the real amiga-hardware. -
@sirhenrythe5th Hi
I should know this about the Amiga as I did have one. I wished I kept it now. I am just so used to playing games with a button for jump I forgot about the Amiga using one fire button (I used the competition pro or the 500XJ EPYX Joystick).
Thanks for the help I will check out this post.In regards to the custom commands to disable the up control I have worked it out.
If anyone is interested when you start an amiga game through amiberry it creates an auto-startup file.
In this file you can place a custom option after the PRELOAD command
eg PRELOAD CUSTOM1=1
You would need to visit whdload.de to see the info of the game and what custom options it has.
Comes in handy if you want to add unlimited lives etc to some games.
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.