RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    JZINTV Intellivision Hackfile not working

    Scheduled Pinned Locked Moved Help and Support
    jzintvhackfileintellivisioncontrollerconfig
    19 Posts 5 Posters 6.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      PowerPakBlog
      last edited by

      System: RPi2, RetroPie 4.x

      I've been using JZINTV for months, and finally wanted to use the hackfile as I've got an Intellivision controller with adapter. Controller and adapter work fine in EmulationStation menus, but I want to get the full keypad functionality in jzintv.

      Background: I've updated jzintv from intellivision.us, and it works fine. I can play all games including the modern releases (Ms. Pacman rom for example).

      However, any attempt to point to the hackfile from the config file in /opt/retropie/configs/intellivision results in games not booting. Just returns to ES menu. If I return the config file to it's original state, games run again.

      Attempted Solutions: Following instructions from various sources, I've tried editing the config file to this:
      jzintv="/opt/retropie/emulators/jzintv/bin/jzintv -v1 --kbdhackfile=/opt/retropie/emulators/jzintv/hackfile.cfg -z1920x1080,8 -f1 -q %ROM%"
      default="jzintv"

      I also tried some apparently older code that places the hackfile in the roms directory, also tried using the config file that comes along with the updated emulator, but all of those result in games not booting.

      What am I missing? Any feedback appreciated. Been going around in circles since last night trying to figure it out.

      D edmaul69E 2 Replies Last reply Reply Quote 0
      • D
        dudleydes @PowerPakBlog
        last edited by

        @PowerPakBlog Just compared your config file with mine and your launch command seems to lack a path to the BIOS files, -p /home/pi/RetroPie/BIOS.

        When a rom doesn't launch, it's worth checking the runcommand log by running the command cat /dev/shm/runcommand.log.

        P 1 Reply Last reply Reply Quote 0
        • P
          PowerPakBlog @dudleydes
          last edited by PowerPakBlog

          @dudleydes Thanks for weighing in.

          I noticed the same thing, and I have experimented with adding that to the code I posted to no end. I actually tried many code snippets that I found, including this one from the GitHub wiki:

          jzintv = "/opt/retropie/emulators/jzintv/bin/jzintv -p /home/pi/RetroPie/BIOS -q --kbdhackfile=/home/pi/RetroPie/roms/intellivision/hackfile.cfg %ROM%"

          In the case above, I moved the hackfile to the roms folder.

          Let me ask you this: are you using the hackfile to enable Intellivision controller support? And are you using the updated version of jzintv that allows you to play the newer games, such as MS.Pacman? I only ask so I know that we're working with the same system.

          What I was told is that it can only be downloaded, not available by updating on retropie. I downloaded it, manually installed it, and it has allowed me to play previously unplayable roms. That part has worked fine, as advertised, but any change to enable the hackfile hasn't been successful thus far.

          D 1 Reply Last reply Reply Quote 0
          • D
            dudleydes @PowerPakBlog
            last edited by

            @PowerPakBlog I have been using the vanilla RetroPie jzIntv binary with keyboard hack files to map a PS3 controller.

            I downloaded the jzIntv binary from intellivision.us. I tested it with Advanced Dungeons and Dragons and Astrosmash. I had no issue in getting either to work with my keyboard hack files.

            Have you checked the runcommand log for errors?

            P 2 Replies Last reply Reply Quote 0
            • P
              PowerPakBlog @dudleydes
              last edited by

              @dudleydes Cool, thanks for letting me know! I won't be able to try anything further until tonight. Will let you know if I can get it sorted out. I know it's gotta be some small detail I'm overlooking.

              1 Reply Last reply Reply Quote 0
              • P
                PowerPakBlog @dudleydes
                last edited by

                @dudleydes After trying to boot Astrosmash and getting sent back to ES menu, I ran: cat /dev/shm/runcommand.log and got the following:

                Could not find any of these candidate files:
                .romome/pi/RetroPie/roms/intellivision/Astrosmash.int
                .cc3ome/pi/RetroPie/roms/intellivision/Astrosmash.int
                .binome/pi/RetroPie/roms/intellivision/Astrosmash.int
                .intome/pi/RetroPie/roms/intellivision/Astrosmash.int
                .itvome/pi/RetroPie/roms/intellivision/Astrosmash.int

                Search path:

                ERROR: Failed to initialize game

                D 1 Reply Last reply Reply Quote 0
                • edmaul69E
                  edmaul69 @PowerPakBlog
                  last edited by edmaul69

                  @PowerPakBlog the hackfile from intellivision.us is set up for the vision-daptor and the ultimate pc interface. You need to edit the hackfile to the button layout of your adapter. Also the jzintv retropie file is better than the one on the retropie. It has some fixes that make games like ms pacman playable. You need to give permission to the bios files that are in the jzintv emulator folder if they arent working. (They dont go in bios folder in /home/pi/) but DO NOT GIVE PERMISSIONS OF MORE THAN 655 for the jzintv file. It will not run if you do.

                  P 1 Reply Last reply Reply Quote 0
                  • D
                    dudleydes @PowerPakBlog
                    last edited by

                    @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.

                    1 Reply Last reply Reply Quote 0
                    • P
                      PowerPakBlog @edmaul69
                      last edited by PowerPakBlog

                      @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.

                      edmaul69E 1 Reply Last reply Reply Quote 0
                      • edmaul69E
                        edmaul69 @PowerPakBlog
                        last edited by

                        @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.

                        1 Reply Last reply Reply Quote 0
                        • F
                          fpanichi
                          last edited by

                          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.

                          P 1 Reply Last reply Reply Quote 0
                          • F
                            fpanichi
                            last edited by

                            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

                            1 Reply Last reply Reply Quote 0
                            • F
                              fpanichi
                              last edited by

                              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

                              1 Reply Last reply Reply Quote 0
                              • P
                                PowerPakBlog @fpanichi
                                last edited by

                                @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.

                                1 Reply Last reply Reply Quote 0
                                • F
                                  fpanichi
                                  last edited by

                                  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

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    fpanichi
                                    last edited by

                                    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

                                    1 Reply Last reply Reply Quote 0
                                    • F
                                      fpanichi
                                      last edited by

                                      I tried chmod 0777 hackfile.cfg to make sure the privileges were okay also

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        fpanichi
                                        last edited by

                                        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.

                                        E 1 Reply Last reply Reply Quote 0
                                        • E
                                          edckerner @fpanichi
                                          last edited by

                                          @fpanichi

                                          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_NW

                                          JS1_NNW PD0R_J_NNW

                                          The file is now clear text. I restarted emulation services and it worked great.

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post

                                          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.