Amiberry & Ipac
-
Hi,
Sorry no luck with the controls. I have manage to set Joystick Port 1 to "kb arrows as joystick", this gets the joystick working but none of the fire buttons are functioning. I have tried setting the type to "default", "joystick" and "CD32".
However some key presses must be registered because.................
I am testing on Turrican II and the "ctrl" key on my IPAC (this would be "input_player1_a" in retroarch, and is usually the first fire button in most emulators) starts the game, but it is not registering as a fire button. The "space" key on my IPAC (this would be "input_player1_x" in retroarch) is registering as the space key in game.
I have done a fair about of messing about with control config, including trying the custom config keys setup, but this doesn't help. I am happy to do some more testing but at the moment I am a bit stuck and don't know what other settings I can try to get the fire buttons working.
-
@tuki_cat this could be as simple as a mix up with the sdl keycodes for left/right control etc , so I might and provide you another binary tomorrow :)
At the moment what I have tried to do is hard-code your ipac keys as the emulator defaults for the keyboard mapping mode
-
@HoraceAndSpider - just let me know when the new binary is ready and i'll happily test it.
-
@HoraceAndSpider - I have been doing some setup on my IPAC and realised that I had not setup the controls for player 2 in my retroarch.cfg
I have done this now, so I have provided a copy in case it is helpful to you with Amiberry and the setup of controls for the IPAC.
-
You can update Amiberry to a version which will allow you to test Ipac controls by doing the following:
cd /opt/retropie/emulators/amiberry/ sudo rm amiberry sudo wget http://www.djcresswell.com/amigaonline/amiberry sudo chown -hR pi:pi /opt/retropie/emulators/amiberry/ sudo chmod 777 amiberry
This is hardcoded for what i think should be default ipac controls, if you use the
Kb Arrows as Joystick
option in the Input Panel.Hope it works for you!
-
So, basically install amiberry from RetroPie's GUI and then do this command from terminal afterwards?
How to remap then? My iPac is not running the standard keys, as I have changed a bit here and there, mainly to get Pegasus Frontend to work (remapped my primary keys to Return and Esc)
-
Oh, if you are not installed yet then there is another step you will need for some missing icon files , sorry ,but basically you are correct , yes.
I am afraid I have only used ipac a standard keys for now as a test - making these remap according to retroarch setting is my next task , following the closure of a big bug today :)
-
Thanks I have just tested on Turrican 2 and it works great. I did have a little trouble getting the "whip " fire working as you need to hold down the fire button. It appears that it was set to medium autofire, as soon as switched it off all worked well. I haven't had a chance to test a two player game yet.
-
Only player one ipac will be mapped at the moment - you wouldn’t have any way to bind the keyboard to a second port at the moment (I will need to have it create extra fake-joysticks)
Really pleased to hear that the general control works though.... gives me something to build from :)
Edit: also I think on Whdload turrican you can use the second button for the extra stuff ;)
-
Thanks for that, on the ADF i have the 2nd button works and you can do all the extra stuff from the joytstick.
I did find that on my setup the "A" button (crtl on the Ipac) seems to be fire button 2, and the "B" button (alt on the Ipac) seems to be fire button 1, is it meant that way? I only mention it in case its helpful.
I'll do a bit more testing later to see if I come accross any issues, if I find any i'll let you know.
Scott
-
@tuki_cat Yes, it is meant to be that way.
Using the ReroArch layouts which are documented in RetroPie, B is the “bottom” button (Cross for a PS pad) ... which I would call “South”
On the Amiga Cd32 pad, this is always “Red” aka Fire and the East/Circle (Retroarch A) button is always Blue.
It therefore retains this layout position when using the normal Amiga joystick layout.
At the moment, I have “locked” the keyboard control this same way around.
You can read your controller layout in Amiberry from a seperate location, and manually chose to change the two around, if you prefer, and I will probably need to make the same allowance for keyboard mapping :)
-
Great, thanks - i'll have a play around with it.
-
@andershp said in Amiberry & Ipac:
My iPac is not running the standard keys, as I have changed a bit here and there, mainly to get Pegasus Frontend to work (remapped my primary keys to Return and Esc)
Just to let you both know i have updated the binary which is uploaded. It now has a section in 'paths' to point at your retroarch.cfg file (set this to /opt/retropie/configs/all/retroarch.cfg) ... it will then grab the keyboard layour from there.
YOu can verify if this is detecting correctly in the Input panel, where the joystick will show as "RetroArch Keyboard as Joystick #1"
It will be a while before you can use the custom-remapping function, or add inputs 2-4, but these are planned for the future.
-
Great thanks - I was planning to have play around with Amiberry and WHDload tonight.
I assume I download this using the detail in the scrpt you provided about 5 days ago?
-
@tuki_cat said in Amiberry & Ipac:
I assume I download this using the detail in the scrpt you provided about 5 days ago?
Yep, i always upload to the same location :)
-
Thanks - I have given it a try and it works great.
I have a small issue with WHDload. I have set it up as the tutorial suggestions, but when I run the a game I get a black screen. Eventially, I have worked out that for some reason WHDload isn't detecting the kick.rom. When I enter the menu (F12) and manually select the kick.rom WHDload runs fine.
What I can't work out is why WHDload isn't finding the kick.rom. I have named in kick31.rom and it is /home/pi/RetroPie/BIOS/Amiga directory. I have attached one of my configs below, this appears to also point to the right place.
Any ideas as to why it isn't working and finding the kick.rom?
-
@tuki_cat said in Amiberry & Ipac:
What I can't work out is why WHDload isn't finding the kick.rom. I have named in kick31.rom and it is /home/pi/RetroPie/BIOS/Amiga directory. I have attached one of my configs below, this appears to also point to the right place.
according to your config file, Its looking in your default path for the rom - have you been into the PATHS panel and made sure your kickstart rom path is set to
/home/pi/RetroPie/BIOS/Amiga
?Manual selection would fix this becuase it would no longer use the relative path.
-
Thanks - I’ll take a look later.
I also wanted to thanks for you work so far on this, if you need anything specific tested then you only need ask.
-
@horaceandspider said in Amiberry & Ipac:
YOu can verify if this is detecting correctly in the Input panel, where the joystick will show as "RetroArch Keyboard as Joystick #1"
I have tried now, followed the video in the other thread, and got my 3 test-games DisposableHero, Lotus 2 and Lotus 3 to boot fine, sound and graphics and all (though the graphics looks pixelshaded and I'd love to turn "overscan" off, since the sides gets slightly clipped), but I have no controls at all.
When the games start, my only options on keyboard are:
home button: screen goes black
F12: game quits and returns me to EmulationStation.I read that F12 should be a menu? Is this where the Input Panel should be? When clicking +Start Amiberry, the screen goes black and returns to EmulationStation... Any tips?
Neither one of the whdscript_debug files in the game dirs contains anything.
-
@AndersHP sounds like you are missing the extra icon files needed for the gui (causing the crash)
You can fix these like so:
cd /opt/retropie/emulators/amiberry/data wget https://raw.githubusercontent.com/HoraceAndTheSpider/amiberry/controller/data/quickstart.ico wget https://raw.githubusercontent.com/HoraceAndTheSpider/amiberry/controller/data/controller.png sudo chown -hR pi:pi /opt/retropie/emulators/amiberry/
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.