JZINTV Intellivision Hackfile not working
-
@PowerPakBlog Reading the runcommand log, I would be inclined to take a look at the Intellivision section of es_systems.cfg. I would check in
/home/pi/.emulationstation
as well, in case there is one there, as this one takes precedence over the copy in/etc/emulationstation
.For reference, here is mine:
<system> <name>intellivision</name> <fullname>Intellivision</fullname> <path>/home/pi/RetroPie/roms/intellivision</path> <extension>.int .bin .INT .BIN</extension> <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ intellivision %ROM%</command> <platform>intellivision</platform> <theme>intellivision</theme> </system>
You can also try to launch Astrosmash from command line using the command in your original post. This would eliminate the binary and hack file as sources of error.
-
@edmaul69 You actually helped me get the updated jzintv before so I could play Ms. Pac, worked fine. I have 2 Vision-dapters, that's why I want the hackfile to work now.
Let me ask you this: When I use the updated emulator (from intellivision.us), what should my config file look like? That's where I'm confused. The old one points to the BIOS folder in home as you said, so do you use the one that comes with the updated version? That's where my jzintv stops working.
-
@PowerPakBlog when you downloaded the zip that had jzintv it should have the correct hackfile in it in the correct location. Give the hackfile 0777 permissions. I can look in a little bit for the correct location and the hackfile info.
-
Hi! I am having the exact same problems as PowerPak. Did you ever reach a resolution?
I have model 3B+.
Version 4.1 of pi flashed to the card.
Built from Apple Pi Baker from empty SD card.I am trying to map a shanwan ps3 controller with hack files.
I don't get any error messages. The games/emulator run, but the file is not being referenced.
Would it help if I copied my config file and code I use to launch jzintv?
thanks very much for any help.
-
This was the command I used
jzintv = "/opt/retropie/emulators/jzintv/bin/jzintv -p /home/pi/RetroPie/BIOS -p --kbdhackfile=/home/pi/RetroPie/roms/intellivision/hackfile.cfg %ROM%"
I made sure to put the hackfile.cfg in the intellivision ROMS folder
-
Here is my config file (saved as a simple text on my MacBook.
; -----------------------------------------------------------------------------------------
MAP 0 ; keymap 0 (default keymap)
; -----------------------------------------------------------------------------------------; ***** Joystick #0 - Left Controller *****
; ** Side Buttons and Numeric Keypad **
JS0_BTN_12 PD0L_A_T
JS0_BTN_15 PD0L_A_L
JS0_BTN_13 PD0L_A_R
JS0_BTN_10 PD0L_KP1
JS0_BTN_08 PD0L_KP2
JS0_BTN_11 PD0L_KP3
JS0_BTN_09 PD0L_KP4
JS0_BTN_07 PD0L_KP5
JS0_BTN_04 PD0L_KP6
JS0_BTN_05 PD0L_KP7
JS0_BTN_06 PD0L_KP8
JS0_BTN_14 PD0L_KP9
JS0_BTN_00 PD0L_KPC
JS0_BTN_01 PD0L_KP0
JS0_BTN_03 PD0L_KPE; ** Direction Disc **
JS0_N PD0L_J_N
JS0_NNE PD0L_J_NNE
JS0_NE PD0L_J_NE
JS0_ENE PD0L_J_ENE
JS0_E PD0L_J_E
JS0_ESE PD0L_J_ESE
JS0_SE PD0L_J_SE
JS0_SSE PD0L_J_SSE
JS0_S PD0L_J_S
JS0_SSW PD0L_J_SSW
JS0_SW PD0L_J_SW
JS0_WSW PD0L_J_WSW
JS0_W PD0L_J_W
JS0_WNW PD0L_J_WNW
JS0_NW PD0L_J_NW
JS0_NNW PD0L_J_NNW; ***** Joystick #1 - Right Controller *****
; ** Side Buttons and Numeric Keypad **
JS1_BTN_12 PD0R_A_T
JS1_BTN_15 PD0R_A_L
JS1_BTN_13 PD0R_A_R
JS1_BTN_10 PD0R_KP1
JS1_BTN_08 PD0R_KP2
JS1_BTN_11 PD0R_KP3
JS1_BTN_09 PD0R_KP4
JS1_BTN_07 PD0R_KP5
JS1_BTN_04 PD0R_KP6
JS1_BTN_05 PD0R_KP7
JS1_BTN_06 PD0R_KP8
JS1_BTN_14 PD0R_KP9
JS1_BTN_00 PD0R_KPC
JS1_BTN_01 PD0R_KP0
JS1_BTN_03 PD0R_KPE; ** Direction Disc **
JS1_N PD0R_J_N
JS1_NNE PD0R_J_NNE
JS1_NE PD0R_J_NE
JS1_ENE PD0R_J_ENE
JS1_E PD0R_J_E
JS1_ESE PD0R_J_ESE
JS1_SE PD0R_J_SE
JS1_SSE PD0R_J_SSE
JS1_S PD0R_J_S
JS1_SSW PD0R_J_SSW
JS1_SW PD0R_J_SW
JS1_WSW PD0R_J_WSW
JS1_W PD0R_J_W
JS1_WNW PD0R_J_WNW
JS1_NW PD0R_J_NW
JS1_NNW PD0R_J_NNW -
@fpanichi No, never got this figured out. I haven't had time to mess with it recently.
Sounds like we're not having the exact same issue, because in my case the games weren't running anytime I tried to implement the hackfile. I just got a black screen and kicked back to the menu.
-
I changed the q in the text to a p. I was having the exact same issue as you before I made that switch. Now it runs, but the configuration doesn't take
-
here is the code I am using for jzintv:
jzintv= "/opt/retropie/emulators/jzintv/bin/jzintv -p /home/pi/RetroPie/BIOS -q --kbdhackfile=/home/pi/RetroPie/roms/intellivision/hackfile.cfg %ROM%"
if I change the -q to -p, the rom loads.
If I leave the code as is, I get the error message "couldn't open keyboard map file '/home/pi/RetroPie/roms/intellivision/hackfile.cfg'
I am running on mac and created the .txt file on text edit. Could this be the problem?
thanks
-
I tried chmod 0777 hackfile.cfg to make sure the privileges were okay also
-
Hey, my buddy, who is a computer programmer helped me figure this out.
The file I created in text edit was adding an extension. So, even though I thought I was creating hackfile.cfg, I was actually creating hackfile.cfg.txt
It couldn't find the file as a result. There would be two possible remedies.
cp hackfile.cfg.txt hackfile.cfg effectively renames the file
or you could just put hackfile.cfg.txt in the kbd line in the run code.
You may have a different extension on if you created in a different program.
I hope this helps you. I have been monkeying around for hours with this damn thing. Feels good to get the nice payout.
-
I had the same issue. I went into terminal on my mac and did a more hackfile.cfg and here is what I discovered.
{\colortbl;\red255\green255\blue255;}
{*\expandedcolortbl;;}
\margl1440\margr1440\vieww10800\viewh8400\viewkind0
\deftab720
\pard\pardeftab720\ri0\partightenfactor0\f0\fs24 \cf0 ; -----------------------------------------------------------------------------------------
MAP 0 ; keymap 0 (default keymap)
; -----------------------------------------------------------------------------------------
; ***** Joystick #0 - Left Controller *****
; ** Side Buttons and Numeric Keypad **
JS0_BTN_00 PD0L_A_T
JS0_BTN_01 PD0L_A_L
JS0_BTN_02 PD0L_A_R
JS0_BTN_03 PD0L_KP1
JS0_BTN_04 PD0L_KP2
JS0_BTN_05 PD0L_KP3
JS0_BTN_06 PD0L_KP4
JS0_BTN_07 PD0L_KP5
JS0_BTN_08 PD0L_KP6
JS0_BTN_09 PD0L_KP7
JS0_BTN_10 PD0L_KP8
JS0_BTN_11 PD0L_KP9
JS0_BTN_12 PD0L_KPC
JS0_BTN_13 PD0L_KP0
JS0_BTN_14 PD0L_KPE
; ** Direction Disc **
JS0_N PD0L_J_N
JS0_NNE PD0L_J_NNE
JS0_NE PD0L_J_NE
JS0_ENE PD0L_J_ENE
JS0_E PD0L_J_E
JS0_ESE PD0L_J_ESE
JS0_SE PD0L_J_SE
JS0_SSE PD0L_J_SSE
JS0_S PD0L_J_S
JS0_SSW PD0L_J_SSW
JS0_SW PD0L_J_SW
JS0_WSW PD0L_J_WSW
JS0_W PD0L_J_W
JS0_WNW PD0L_J_WNW
JS0_NW PD0L_J_NW
JS0_NNW PD0L_J_NNW
; ***** Joystick #1 - Right Controller *****
; ** Side Buttons and Numeric Keypad **
JS1_BTN_00 PD0R_A_T
JS1_BTN_01 PD0R_A_L
JS1_BTN_02 PD0R_A_R
JS1_BTN_03 PD0R_KP1
JS1_BTN_04 PD0R_KP2
JS1_BTN_05 PD0R_KP3
JS1_BTN_06 PD0R_KP4
JS1_BTN_07 PD0R_KP5
JS1_BTN_08 PD0R_KP6
JS1_BTN_09 PD0R_KP7
JS1_BTN_10 PD0R_KP8
JS1_BTN_11 PD0R_KP9
JS1_BTN_12 PD0R_KPC
JS1_BTN_13 PD0R_KP0
JS1_BTN_14 PD0R_KPE
; ** Direction Disc **
JS1_N PD0R_J_N
JS1_NNE PD0R_J_NNE
JS1_NE PD0R_J_NE
JS1_ENE PD0R_J_ENE
JS1_E PD0R_J_E
JS1_ESE PD0R_J_ESE
JS1_SE PD0R_J_SE
JS1_SSE PD0R_J_SSE
JS1_S PD0R_J_S
JS1_SSW PD0R_J_SSW
JS1_SW PD0R_J_SW
JS1_WSW PD0R_J_WSW
JS1_W PD0R_J_W
JS1_WNW PD0R_J_WNW
JS1_NW PD0R_J_NW
JS1_NNW PD0R_J_NNW
}Textedit on mac was adding a dash at the end of each line. I went in and edited the file with Notepad and here is what I ended up with.
; -----------------------------------------------------------------------------------------
MAP 0 ; keymap 0 (default keymap)
; -----------------------------------------------------------------------------------------; ***** Joystick #0 - Left Controller *****
; ** Side Buttons and Numeric Keypad **
JS0_BTN_00 PD0L_A_T
JS0_BTN_01 PD0L_A_L
JS0_BTN_02 PD0L_A_R
JS0_BTN_03 PD0L_KP1
JS0_BTN_04 PD0L_KP2
JS0_BTN_05 PD0L_KP3
JS0_BTN_06 PD0L_KP4
JS0_BTN_07 PD0L_KP5
JS0_BTN_08 PD0L_KP6
JS0_BTN_09 PD0L_KP7
JS0_BTN_10 PD0L_KP8
JS0_BTN_11 PD0L_KP9
JS0_BTN_12 PD0L_KPC
JS0_BTN_13 PD0L_KP0
JS0_BTN_14 PD0L_KPE; ** Direction Disc **
JS0_N PD0L_J_N
JS0_NNE PD0L_J_NNE
JS0_NE PD0L_J_NE
JS0_ENE PD0L_J_ENE
JS0_E PD0L_J_E
JS0_ESE PD0L_J_ESE
JS0_SE PD0L_J_SE
JS0_SSE PD0L_J_SSE
JS0_S PD0L_J_S
JS0_SSW PD0L_J_SSW
JS0_SW PD0L_J_SW
JS0_WSW PD0L_J_WSW
JS0_W PD0L_J_W
JS0_WNW PD0L_J_WNW
JS0_NW PD0L_J_NW
JS0_NNW PD0L_J_NNW; ***** Joystick #1 - Right Controller *****
; ** Side Buttons and Numeric Keypad **
JS1_BTN_00 PD0R_A_T
JS1_BTN_01 PD0R_A_L
JS1_BTN_02 PD0R_A_R
JS1_BTN_03 PD0R_KP1
JS1_BTN_04 PD0R_KP2
JS1_BTN_05 PD0R_KP3
JS1_BTN_06 PD0R_KP4
JS1_BTN_07 PD0R_KP5
JS1_BTN_08 PD0R_KP6
JS1_BTN_09 PD0R_KP7
JS1_BTN_10 PD0R_KP8
JS1_BTN_11 PD0R_KP9
JS1_BTN_12 PD0R_KPC
JS1_BTN_13 PD0R_KP0
JS1_BTN_14 PD0R_KPE; ** Direction Disc **
JS1_N PD0R_J_N
JS1_NNE PD0R_J_NNE
JS1_NE PD0R_J_NE
JS1_ENE PD0R_J_ENE
JS1_E PD0R_J_E
JS1_ESE PD0R_J_ESE
JS1_SE PD0R_J_SE
JS1_SSE PD0R_J_SSE
JS1_S PD0R_J_S
JS1_SSW PD0R_J_SSW
JS1_SW PD0R_J_SW
JS1_WSW PD0R_J_WSW
JS1_W PD0R_J_W
JS1_WNW PD0R_J_WNW
JS1_NW PD0R_J_NWJS1_NNW PD0R_J_NNW
The file is now clear text. I restarted emulation services and it worked great.
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.