Intellivision Hack File Challenge
-
Rasp/ES Pi4b on RP 4.7.11.
I got my Intv running with jzintv, but have yet to get the controller working. I read the directions and ran into a few issues:
-
The keylogger (event_diag.rom) was copied over but I couldn't run jzintv as instructed as the command would result in an error noting that I couldn't launch the console. Given that I just ran event_diag.rom from the UI and it ran fine.
-
I recorded the following buttons/controls given my Mayfair F500: N, NE ,E, SE, S, SW, W, NW, Select, Start, A, B, X, Y, LB1, LT1, RB1, RT1. I then created the hack file listed below as per those responses from event_diag.rom.
-
I placed the resulting hackfile.cfg in /roms/intellivision along with my other Intellivision roms.
-
When launching jzintv via the RP UI it pays zero attention to the hackfile and my mayflash is entirely ignored. I believed I didn't need to assign every Intellivision controller button as obviously my Mayflash doesn't have a number pad.
What did I not grasp properly:
; ----------------------------------------------------------------------------------------- MAP 0 ; keymap 0 (default keymap) ; ----------------------------------------------------------------------------------------- ; ***** Joystick #0 - Left Controller ***** ; ** Side Buttons and Numeric Keypad ** JS1_BTN_00 PD0L_A_T JS1_BTN_01 PD0L_A_L JS1_BTN_02 PD0L_A_R JS1_BTN_08 PD0L_KPC JS1_BTN_13 PD0L_KP0 JS1_BTN_09 PD0L_KPE ; ** Direction Disc ** JS1_N PD0L_J_N JS1_NE PD0L_J_NE JS1_E PD0L_J_E JS1_SE PD0L_J_SE JS1_S PD0L_J_S JS1_SW PD0L_J_SW JS1_W PD0L_J_W JS1_NW PD0L_J_NW
-
-
@agrajag
I have not used this before, but having said that I can't help notice a few of things.-
You have
JS1
prefixing all of these instead ofJS0
even though the header says Left Controller - Did you mean to map this all to the right controller instead of the left controller? -
You have
BTN_05
listed as both NA and PD0L_KP2 - probably should eliminate one of those -
You have
BTN_13
listed multiple times. Seems like this could either cause a problem, or it would simultaneously press all those keypad buttons at once 'in-game' as it were.
EDIT: Part 2 of the configuring indicates this:
Configuring jzIntv
To use the keyboard hack file, you need to add the --kbdhackfile flag when launching jzIntv.
Amend the line in /opt/retropie/configs/intellivision/emulators.cfg to launch jzIntv to :jzintv = "/opt/retropie/emulators/jzintv/bin/jzintv -p /home/pi/RetroPie/BIOS -q --kbdhackfile=/home/pi/RetroPie/roms/intellivision/hackfile.cfg %ROM%"
I didn't see mention of you having done this step so I included it.
-
-
@yfzdude The JS1 is what the rom reported so that's what I used. I assumed if I changed it to JS0 that it wouldn't match and wouldn't do anything. That said, I did wonder if it would work if I changed "MAP 0" to "MAP 1". (just tried. No difference. Also tried changing all JS1's to JS0's. Same result)
However, the rest of that is incorrect. Apparently what I posted was a paste PRIOR to my "fixing" the file. It should be correct in the original post now.
-
@agrajag
The only other thing I could think of was if you performed the second task of altering the launch command parameters to actually use the hack file as mentioned in the edit to my post. If you already did that then it's beyond my experiences.https://retropie.org.uk/docs/Mapping-a-Controller-for-Intellivision/#configuring-jzintv
-
@yfzdude Yeah, that's already there in my launch command line. I didn't need to add it. Having similar challenges with Daphne so clearly something is up.
-
@yfzdude Actually thought we had this one.
I sent back and took a CLOSE look at emulators.cfg (where you add the link to the hack file) as I found it odd that mine was already there.
What I realized is that it was there, but for the tzintvecs (which I assume has something to do with running things in the expansion port). So, I added it to the main program as you can see below, but still nothing. Changing the JS1's to JS0's also made no difference after this fix.
jzintv = "/opt/retropie/emulators/jzintv/bin/jzintv -p /home/pi/RetroPie/BIOS -q --kbdhackfile=/home/pi/RetroPie/roms/intellivision/hackfile.cfg %ROM%" Advanced Controller Mapping %ROM%" default = "jzintv" jzintvecs="/opt/retropie/emulators/jzintv/bin/jzintv -v1 -s1 --kbdhackfile=/opt/retropie/configs/intellivision/hackfile.cfg -z1920x1080, -f1 -q -p /home/pi/RetroPie/BIOS %ROM%"
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.