| Main > Main Forum |
| DKAFE - Donkey Kong Arcade Frontend (Windows and Raspberry Pi4) |
| << < (17/18) > >> |
| 10yard:
--- Quote from: Schneakyschteve on November 02, 2025, 11:26:53 am ---Wanted to say how much I love the DKAFE...Ive had it for a couple of years and watching it get better and better is a blast, as Donkey Kong is my favorite gaming character...A couple of question I have for you, in the romlist_addon I notice quite a few games I would like to add to the playing field, if I was to change the slot number from 9999 to a available to slot number, would it then appear (Example adding NES: Donkey Kong Junior Math) and if so, does it stay in the same spot on the csv file or do I have to move it to the appropriate line.....and also kind of on the same line....I want to add Donkey Kong Country 2, do I just add the rom to the snes directory and maybe copy and paste the SNESDKC line and just change a couple of the things to match DKC2 Thanks and keep up the great work --- End quote --- Hey, great to hear you're loving DKAFE. Yes, you can go ahead and change the slot number from 9999 to an available slot number - or replace an existing slot number. That will drop the game into the playfield and can be launched directly rather than from the menu. A couple of things will be missing though. 1) The text description of the game 2) the game icon. You will see the default game icon and that might not bother you. You can add your own icon into /artwork/icon/shell using the same name as the rom file. Same with the text description which can be added to dkafe\patch\gametext if you really want to see that. The text has max line with of 55 chars. and Yes, copy the settings from another SNES entry and place your file into snes roms folder, ensuring you use snes_ filename prefix. The order of entries in romlist and romlist_addon csv files is not important. Good luck! Maybe I should make another add-on pack for the DKC games. |
| Schneakyschteve:
Worked perfectly, I was just wondering where can I change the controller layout, I want to try and get it as close to the SNES as possible.....Im using an xbox one controller and I couldnt get the select button to switch characters, or could I setup my wireless SNES controller to run on this TIA |
| 10yard:
--- Quote from: Schneakyschteve on November 05, 2025, 09:30:17 pm ---Worked perfectly, I was just wondering where can I change the controller layout, I want to try and get it as close to the SNES as possible.....Im using an xbox one controller and I couldnt get the select button to switch characters, or could I setup my wireless SNES controller to run on this TIA --- End quote --- Hey, changing the controller mapping in DKAFE frontend is fairly simple. In the settings.txt file you need to set JOYSTICK = 1 if that is not already set. Then you can assign the button numbers from the detected gamepad to the DKAFE control functions. The below example is tested and working with an XBOX One controller. --- Code: ---USE_JOYSTICK = 1 BUTTON_JUMP = 0 BUTTON_ACTION = 1 BUTTON_P1 = 2 BUTTON_P2 = 3 BUTTON_EXIT = 6 BUTTON_COIN = 7 --- End code --- Note: The up, down, left, right direction controls are automatically mapped to the DPAD and first detected joystick axis. The are non-configurable. Button numbering in DKAFE starts from 0. Here are the common buttons available to DKAFE from the Xbox One controller: Button 0 = A Button 1 = B Button 2 = X Button 3 = Y Button 4 = Left Bumper Button 5 = Right Bumper Button 6 = View Button 7 = Menu Button 8 = Left Thumb Button 9 = Right Thumb You can get button numbers from any connected controller on Windows using the "Setup USB Game Controllers" utility in Control Panel. Click on the "Properties" for you controller and then you can see button number light up when you press them. You will need to subtract 1 from that shown in the Windows test since DKAFE starts at 0 and Windows starts at 1. I have updated the settings.txt to use the above Xbox One controller maps by default since that makes more sense than the original ones I had set up for a USB / JAMMA adapter. |
| Schneakyschteve:
OK, for some reason this is the only thing I cant figure out, I have this in my setting.txt, but if I change anything or try and add a new button it doesnt take, and as of right, only the dpad will work, going left and right, and crouching... none of the buttons work.....Do I need to make the changes in dkwolf.exe under player1 controls also? Thx # Optional Joystick and Button Assignments # Note: DPAD and first analog axis are automatically mapped to directions # Device 1 buttons start from 0, Device 2 buttons start from 20 USE_JOYSTICK = 1 BUTTON_JUMP = 0 BUTTON_ACTION = 1 BUTTON_P1 = 2 BUTTON_P2 = 3 BUTTON_EXIT = 6 BUTTON_COIN = 7 |
| 10yard:
--- Quote from: Schneakyschteve on November 07, 2025, 11:21:20 am ---OK, for some reason this is the only thing I cant figure out, I have this in my setting.txt, but if I change anything or try and add a new button it doesnt take, and as of right, only the dpad will work, going left and right, and crouching... none of the buttons work.....Do I need to make the changes in dkwolf.exe under player1 controls also? Thx --- End quote --- Yes, you will need to define controls in DKwolf/MAME also. The controls defined in DKAFE settings.txt apply only to the frontend. |
| Navigation |
| Message Index |
| Next page |
| Previous page |