• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.
  • X
    xionyus
    last edited by xionyus 1 Jan 2022, 23:01 1 Jan 2022, 22:58

    I originally asked for help here:

    https://old.reddit.com/r/RetroPie/comments/rrp6ue/intellivision_controller/

    And I had someone there graciously help me out by sharing their keyboard hack file. I feel like I have everything working and in place except I don't know what to do with the damn launch script that is listed on their github. I've messed around with a lot of things and they told me to check out the runcommand part of the wiki or guide. The runcommand page does mention some things about scripts but not for specific roms and they tell me to put the scripts in a way different place compared to what their github says. Is there anyone that can tell me how to get the launch script up and running? I did ask the person for help again but I feel terrible asking them questions every day when they've already supplied me with the files for everything.

    https://github.com/ts-x4/jzIntv_on_RetroPie

    I'm using a Retro Pie 4 official image from the Raspberry Pi imager + Canakit for parts.

    This is what my /roms/intellivision folder looks like atm

    alt text

    1 Reply Last reply Reply Quote 0
    • M
      mitu Global Moderator
      last edited by 2 Jan 2022, 05:25

      We don't support 3rd party images in the forum, as outlined in https://retropie.org.uk/forum/topic/3/read-this-first.

      X 1 Reply Last reply 2 Jan 2022, 05:32 Reply Quote 0
      • X
        xionyus @mitu
        last edited by xionyus 1 Feb 2022, 05:33 2 Jan 2022, 05:32

        @mitu I'm not running a third party image? I'm running stock retropie. I'm literally just trying to get a keyboard hack file to work for a specific rom.

        1 Reply Last reply Reply Quote 0
        • M
          mitu Global Moderator
          last edited by 2 Jan 2022, 05:34

          @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 2 Jan 2022, 05:41 Reply Quote 0
          • X
            xionyus @mitu
            last edited by 2 Jan 2022, 05:41

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

            M 1 Reply Last reply 2 Jan 2022, 05:59 Reply Quote 0
            • M
              mitu Global Moderator @xionyus
              last edited by mitu 1 Feb 2022, 05:59 2 Jan 2022, 05:59

              @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 2 Jan 2022, 07:36 Reply Quote 0
              • X
                xionyus @mitu
                last edited by 2 Jan 2022, 07:36

                @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
                • M
                  mitu Global Moderator
                  last edited by 2 Jan 2022, 07:38

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

                  X 1 Reply Last reply 2 Jan 2022, 07:44 Reply Quote 1
                  • X
                    xionyus @mitu
                    last edited by 2 Jan 2022, 07:44

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

                    M 1 Reply Last reply 2 Jan 2022, 07:46 Reply Quote 0
                    • M
                      mitu Global Moderator @xionyus
                      last edited by mitu 1 Feb 2022, 07:55 2 Jan 2022, 07:46

                      @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 2 Jan 2022, 08:03 Reply Quote 0
                      • X
                        xionyus @mitu
                        last edited by xionyus 1 Feb 2022, 08:23 2 Jan 2022, 08:03

                        @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
                        • M
                          mitu Global Moderator
                          last edited by mitu 1 Feb 2022, 08:54 2 Jan 2022, 08:52

                          @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 2 Jan 2022, 09:12 Reply Quote 0
                          • X
                            xionyus @mitu
                            last edited by 2 Jan 2022, 09:12

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

                            M 1 Reply Last reply 2 Jan 2022, 09:28 Reply Quote 0
                            • M
                              mitu Global Moderator @xionyus
                              last edited by 2 Jan 2022, 09:28

                              @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 2 Jan 2022, 09:50 Reply Quote 0
                              • X
                                xionyus @mitu
                                last edited by 2 Jan 2022, 09:50

                                @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
                                
                                M 1 Reply Last reply 2 Jan 2022, 09:54 Reply Quote 0
                                • M
                                  mitu Global Moderator @xionyus
                                  last edited by 2 Jan 2022, 09:54

                                  @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 2 Jan 2022, 10:08 Reply Quote 0
                                  • X
                                    xionyus @mitu
                                    last edited by 2 Jan 2022, 10:08

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

                                    M 1 Reply Last reply 2 Jan 2022, 10:42 Reply Quote 0
                                    • M
                                      mitu Global Moderator @xionyus
                                      last edited by mitu 1 Feb 2022, 10:42 2 Jan 2022, 10:42

                                      @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 2 Jan 2022, 10:52 Reply Quote 0
                                      • X
                                        xionyus @mitu
                                        last edited by 2 Jan 2022, 10:52

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

                                        1 Reply Last reply Reply Quote 0
                                        19 out of 19
                                        • First post
                                          19/19
                                          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.

                                          This community forum collects and processes your personal information.
                                          consent.not_received