Help with runcommand and launch script to run keyboard hack file via intellivision!
-
We don't support 3rd party images in the forum, as outlined in https://retropie.org.uk/forum/topic/3/read-this-first.
-
@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.
-
@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.
-
@mitu When I posted the thread it did have a custom image on it but it's currently stock. :<
-
@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 theemulators.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
. -
@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.
-
Glad you got it sorted out, I hope your mom will enjoy playing the games.
-
@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 deniedMy emulators.cfg located in "/opt/retropie/configs/all" says this inside of it which looks right to me
intellivision_AdvancedDungeonsandDragons-CloudyMountain = "jzintv-with-configs"
-
@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.
-
@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 :<
-
@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. -
@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?
-
-
@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
-
@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%
. -
@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/
-
@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 theroms
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. -
@mitu Once again, I tip my hat to you.
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.