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

    Help with runcommand and launch script to run keyboard hack file via intellivision!

    Scheduled Pinned Locked Moved Help and Support
    helpintellivisionlaunch script
    19 Posts 2 Posters 1.4k 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.
    • mituM
      mitu Global Moderator
      last edited by

      @xionyus said in Help with runcommand and launch script to run keyboard hack file via intellivision!:

      I'm not running a third party image?

      Hm, doesn't your Reddit thread says:

      I bought my mom a retropie for christmas and I downloaded a basic 64gb image from Wolfanoz but she really wants to play advanced dungeons and dragons on the Intellivision which isn't on that image.

      That's a 3rd party image.

      X 1 Reply Last reply Reply Quote 0
      • X
        xionyus @mitu
        last edited by

        @mitu When I posted the thread it did have a custom image on it but it's currently stock. :<

        mituM 1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @xionyus
          last edited by mitu

          @xionyus said in Help with runcommand and launch script to run keyboard hack file via intellivision!:

          it but it's currently stock

          Fair enough.

          Looking at the Github repository you mentioned, I don't see the setup there using the Runcommand scripting support. From the instructions on the Github page, you need to copy the launcher script (from the Launch Scripts folder) to /home/pi/RetroPie/roms/intellivision and then modify the emulators.cfg file to associate the ROMs with the new launcher (which loads the games with their new configs).
          I think the issue you have is with the last step - it's not thoroughly clear how the file should be created.

          My take is - rather than manually assign the launcher in the global emulators.cfg file, just add the following line to /opt/retropie/configs/intellivision/emulators.cfg:

          jzintv-with-configs="/home/pi/RetroPie/roms/intellivision/jzintvUHIGH3pr.sh %ROM_BN_EXT%"
          

          then use the Runcommand launch menu to change the emulator to jzintv-with-configs.

          X 1 Reply Last reply Reply Quote 0
          • X
            xionyus @mitu
            last edited by

            @mitu Thank you so much. I was actually decently close. I did point the emulators.cfg to the file address but I wasn't aware about the config part. Sorry about any confusion earlier. I'm pretty tech savvy and I wanted to build this for my mom. Was hoping I could slap an image on it but they have been way more trouble than they're worth. And it's actually pretty fun once you get things rolling.

            1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator
              last edited by

              Glad you got it sorted out, I hope your mom will enjoy playing the games.

              X 1 Reply Last reply Reply Quote 1
              • X
                xionyus @mitu
                last edited by

                @mitu Dang, it doesn't want to launch. I got this in my runcommand.log

                Parameters:
                Executing: /home/pi/RetroPie/roms/intellivision/jzintvUHIGH3pr.sh %ROM_BN_EXT%
                /opt/retropie/supplementary/runcommand/runcommand.sh: line 1263: /home/pi/RetroPie/roms/intellivision/jzintvUHIGH3pr.sh: Permission denied

                alt text

                alt text

                My emulators.cfg located in "/opt/retropie/configs/all" says this inside of it which looks right to me

                intellivision_AdvancedDungeonsandDragons-CloudyMountain = "jzintv-with-configs"

                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @xionyus
                  last edited by mitu

                  @xionyus said in Help with runcommand and launch script to run keyboard hack file via intellivision!:

                  /opt/retropie/supplementary/runcommand/runcommand.sh: line 1263: /home/pi/RetroPie/roms/intellivision/jzintvUHIGH3pr.sh: Permission denied

                  Make sure the script file has the executable bit set.

                  X 1 Reply Last reply Reply Quote 0
                  • X
                    xionyus @mitu
                    last edited by xionyus

                    @mitu Do I need to change something within the launch script? I'm trying to wrack my brain around what you mean and I feel bad for asking when you've done so much already. Does it have something to do with the %ROM_BN_EXT% on the end of the address for the launch script?

                    I swear I'm trying to google some things and figure it out myself but this stuff is insane.

                    Edit: Does it have anything to do with me signing in as root? I was having problems editing files so I followed a youtube video to get root permission or something :<

                    1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator
                      last edited by mitu

                      @xionyus said in Help with runcommand and launch script to run keyboard hack file via intellivision!:

                      Do I need to change something within the launch script? I'm trying to wrack my brain around what you mean and I feel bad for asking when you've done so much already. Does it have something to do with the %ROM_BN_EXT% on the end of the address for the launch script?

                      Could be, you can look in the /dev/shm/runcommand.log to see if any errors are reported by the emulator. Try using %ROM% instead, may resolve the issue.

                      I was having problems editing files so I followed a youtube video to get root permission or something

                      That's not required for editing configuration files. Don't use root for normal operations, especially with WinSCP.

                      X 1 Reply Last reply Reply Quote 0
                      • X
                        xionyus @mitu
                        last edited by

                        @mitu Alright, I signed in as pi and edited the /opt/retropie/configs/intellivision/emulators.cfg file to just read

                        jzintv-with-configs="/home/pi/RetroPie/roms/intellivision/jzintvUHIGH3pr.sh %ROM%"
                        

                        the runcommand.log reads this

                        Parameters: 
                        Executing: /home/pi/RetroPie/roms/intellivision/jzintvUHIGH3pr.sh "/home/pi/RetroPie/roms/intellivision/Advanced Dungeons and Dragons - Cloudy Mountain.int"
                        /opt/retropie/supplementary/runcommand/runcommand.sh: line 1263: /home/pi/RetroPie/roms/intellivision/jzintvUHIGH3pr.sh: Permission denied
                        

                        Should I just try reflashing stock and starting over? Do you think the root thing messed with any permissions or anything?

                        mituM 1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator @xionyus
                          last edited by

                          @xionyus Use the RetroPie-Setup to reset the permissions on the rom folders (see here), then make sure the launch script (/home/pi/RetroPie/roms/intellivision/jzintvUHIGH3pr.sh) has the executable bit set.

                          X 1 Reply Last reply Reply Quote 0
                          • X
                            xionyus @mitu
                            last edited by

                            @mitu I'm not sure what executable bit set means if I'm being honest. I did the other two steps and then I opened up the command prompt in /home/pi/RetroPie/roms/intellivision and then ran chmod +x jzintvUHIGH3pr.sh

                            I originally used %ROM_BN_EXT%" in my cfg file and then I got an error and just changed it to %ROM% but I got a very similar error from runcommand.log

                            Could not find any of these candidate files:
                              intellivision
                              intellivision
                            .rom
                              intellivision
                            .cc3
                              intellivision
                            .bin
                              intellivision
                            .int
                              intellivision
                            .itv
                            
                            Search path:
                              /home/pi/RetroPie/BIOS
                              .
                              /opt/retropie/emulators/jzintv/bin/../rom
                              /usr/local/share/jzintv/rom
                            
                            ERROR:  Failed to initialize game
                            Parameters: 
                            Executing: /home/pi/RetroPie/roms/intellivision/jzintvUHIGH3pr.sh %ROM
                            
                            Could not find any of these candidate files:
                              %ROM
                              %ROM.rom
                              %ROM.cc3
                              %ROM.bin
                              %ROM.int
                              %ROM.itv
                            
                            Search path:
                              /home/pi/RetroPie/BIOS
                              .
                              /opt/retropie/emulators/jzintv/bin/../rom
                              /usr/local/share/jzintv/rom
                            
                            ERROR:  Failed to initialize game
                            AVI: 1.000 1.000 1.000
                            
                            mituM 1 Reply Last reply Reply Quote 0
                            • mituM
                              mitu Global Moderator @xionyus
                              last edited by

                              @xionyus said in Help with runcommand and launch script to run keyboard hack file via intellivision!:

                              Executing: /home/pi/RetroPie/roms/intellivision/jzintvUHIGH3pr.sh %ROM

                              You're missing the % at the end of %ROM%.

                              X 1 Reply Last reply Reply Quote 0
                              • X
                                xionyus @mitu
                                last edited by

                                @mitu Oh my god I'm so tired and I finally got it to launch now! Thank you so much for your help. Now since we've solved one problem, I have another question.

                                I'm using an off brand xbox 360 controller so I'm not 100% sure if all of my key inputs are the same as the keyboard hack but it is a start :)

                                Do you know how I can bring up event_diag.rom so I can edit the kbh file for my game? I click on the link in the wiki to download it and nothing happens. I've googled the name of the rom and spatula city comes up and my malwarebytes is flagging it as a trojan.

                                https://retropie.org.uk/docs/Mapping-a-Controller-for-Intellivision/

                                mituM 1 Reply Last reply Reply Quote 0
                                • mituM
                                  mitu Global Moderator @xionyus
                                  last edited by mitu

                                  @xionyus said in Help with runcommand and launch script to run keyboard hack file via intellivision!:

                                  Do you know how I can bring up event_diag.rom so I can edit the kbh file for my game?

                                  I think it's built by jzintv from source, but it's not installed by the RetroPie-Setup script. You can get it from the authors' site, from the Windows distribution (it's in the roms folder).
                                  The Win32 zip file does not contain any trojans, it's probably a false positive. The Virus Total page analysis for the file is here.

                                  X 1 Reply Last reply Reply Quote 0
                                  • X
                                    xionyus @mitu
                                    last edited by

                                    @mitu Once again, I tip my hat to you.

                                    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.