• Change Run Command Exit Button

    Help and Support
    3
    0 Votes
    3 Posts
    304 Views
    P

    Thanks for the quick reply. That makes sense. I didn't realize the esc key worked as well. I can make that work. My cab used to have a PC, and esc is my exit game button. Q was always a bad button to program because it would bring up quit menus and what not in different emulators. Anyway, you're the best, thanks again.

  • 1 Votes
    6 Posts
    1k Views
    R

    @dmmarti said in Music, Video, Photo & Comic Support (Submission):

    @Rydo

    Can I ask how you determined the following values?

    /dev/input/jsX 0x3C 0x3E 0x2B 0x2D 0x70 0x71 0x69 0x6F

    On a fresh RetroPie image using a wired Nintendo Switch controller, my button assignments do not match up to yours.

    My device name is:

    deviceName="BDA NSW wired controller"

    So I'm curious how you determined those hex values.

    Thanks,

    David

    The joy2key program is hard programed.
    /dev/input/jsX means it is applied to all Linux joystick.
    The hex escape codes are ansi keyboard codes for keypresses that overlay buttons in the order of 'left', 'right', 'up', 'down', 'a', 'b', 'x', 'y'

    0x3C 0x3E 0x2B 0x2D 0x70 0x71 0x69 0x6F

    I would suspect your buttons are backwards (Japanese style) so I would move the value around like this.

    0x3C 0x3E 0x2B 0x2D 0x71 0x70 0x6F 0x69

  • 0 Votes
    2 Posts
    714 Views
    S

    Here is the part of /opt/retropie/supplementary/runcommand/runcommand.sh that displays the launching image using either feh or fbi. If you're good with scripting, maybe you could jigger it to play a video with vlc or omxplayer, instead:

    function show_launch() { local images=() if [[ "$IS_SYS" -eq 1 && "$USE_ART" -eq 1 ]]; then # if using art look for images in paths for es art. images+=( "$HOME/RetroPie/roms/$SYSTEM/images/${ROM_BN}-image" "$HOME/.emulationstation/downloaded_images/$SYSTEM/${ROM_BN}-image" "$HOME/.emulationstation/downloaded_media/$SYSTEM/screenshots/${ROM_BN}" "$HOME/RetroPie/roms/$SYSTEM/media/screenshots/${ROM_BN}" ) fi # look for custom launching images if [[ "$IS_SYS" -eq 1 ]]; then images+=( "$HOME/RetroPie/roms/$SYSTEM/images/${ROM_BN}-launching" "$CONF_ROOT/launching" ) fi [[ "$IS_PORT" -eq 1 ]] && images+=("$CONFIGDIR/ports/launching") images+=("$CONFIGDIR/all/launching") local image local path local ext for path in "${images[@]}"; do for ext in jpg png; do if [[ -f "$path.$ext" ]]; then image="$path.$ext" break 2 fi done done if [[ -n "$image" ]]; then # if we are running under X use feh otherwise try and use fbi if [[ -n "$DISPLAY" ]]; then feh -F -N -Z -Y -q "$image" & &>/dev/null IMG_PID=$! sleep "$IMAGE_DELAY" else fbi -1 -t "$IMAGE_DELAY" -noverbose -a "$image" </dev/tty &>/dev/null fi elif [[ "$DISABLE_MENU" -ne 1 && "$USE_ART" -ne 1 ]]; then local launch_name if [[ -n "$ROM_BN" ]]; then launch_name="$ROM_BN ($EMULATOR)" else launch_name="$EMULATOR" fi DIALOGRC="$CONFIGDIR/all/runcommand-launch-dialog.cfg" dialog --infobox "\nLaunching $launch_name ...\n\nPress a button to configure\n\nErrors are logged to $LOG" 9 60 fi }

    You can see where it shows the paths and filename-patterns to look for art, (near the top) and where it defines the accepted extensions (for ext in jpg png; do). You'd want to change this part to include mp4, or whatever format your videos will be in, and possibly also add paths above to include ${ROM_BN}-video or similar if that's how you'll name them.

    Then there's the part where the image is displayed with the feh or fbi commands. You'll need to craft a command with the proper options to show your brief video snap, probably with either vlc or omxplayer. Probably also a check on which extension is used to determine whether to use the video or image command, unless you're going to only have videos, and then you'll need to remove the parts referencing images at all, including the "ports" and system-wide launch images (or change them to use the videos too.)

  • 0 Votes
    2 Posts
    309 Views
    Z

    Try running it with full paths to both the python executable and your python script. No need for anything in runcommand.cfg.

  • 0 Votes
    3 Posts
    367 Views
    Thorr69T

    @cyperghost I am curious what line you read in the OP's text that leads you to believe that. He said '40GB of custom games/settings', but I think he means that he has put a lot of work into his current setup and wants to fix it without starting all over again.

  • After 4.5 update issues

    Help and Support
    15
    1 Votes
    15 Posts
    2k Views
    mituM

    @MrStruders If by fresh install you mean using a new image, then no, since the new image will write everything from scratch. Can you run another update, also updating the OS and packages when prompted, of the RetroPie-Setup script ?

  • 0 Votes
    25 Posts
    12k Views
    M

    for NES my CRT likes
    -240p screen format
    -640x480 render resolution for the screen format
    -717x552 (5 x -40 offset) retroarch scaling resolution
    -bilinear filtering set to off

    For SNES I use a 702x496 retroarch custom scaling resolution with a 12 x -8 offset and bilinear filtering on. Genesis looks pretty good with bilinear filtering on and standard 4:3 resolution

  • 0 Votes
    13 Posts
    3k Views
    M

    @mitu @chipsnblip Hahaha, wow. How embarrassing. Thanks, I will try this and report back.

  • -1 Votes
    2 Posts
    730 Views
    jonnykeshJ

    @strauss48 Seriously man, NOBODY has any idea how this piece of crap you bought is configured! Wipe it, reinstall the official image and it will work. No one here has the time or inclination to debug someone else's shitty configs and build.

  • 0 Votes
    1 Posts
    665 Views
    No one has replied
  • 0 Votes
    3 Posts
    1k Views
    P

    bump... I've got this problem too, any ideas? I've tried reinstalling UQM, and using to new HD version, but it never works...

  • Update Issues

    Help and Support
    3
    0 Votes
    3 Posts
    1k Views
    K

    I'm new to this stuff myself, and it is happening to me also.
    I mistakenly did a kernal update while trying to navigate around, and 20 minutes later I had no way to exit apps like Retroarch and only tested with GBA roms, but both I attempted would not work right for my NES30 Pro. I'm going to have to start over also. I hope they fix this issue soon. I've had to unplug twice because of this, and going to learn SSH before trying any more games.

  • 0 Votes
    6 Posts
    2k Views
    BuZzB

    there were a few issues with the "migration" code for the renames - nothing should be too problematic, but you may need to redo any "per rom" settings (we still don't migrate those), and re-install any if they were incorrectly renamed. Hopefully this is all resolved now.

  • Run Command suggestion

    Ideas and Development
    12
    1 Votes
    12 Posts
    3k Views
    D

    OK, I'm all set now. Got everything working. Going to post it here and on my original topic just in case it helps anyone. My actual code switches Select and Start, but most people won't want that so this is the normal way to be able to save on a 2-button NES controller. Thank you to all who helped!

    [code]
    input_device = " NES PC Game Pad NES PC Game Pad "
    input_driver = "udev"

    input_up_axis = "-1"
    input_down_axis = "+1"
    input_left_axis = "-0"
    input_right_axis = "+0"
    input_start_btn = "3"
    input_select_btn = "2"
    input_a_btn = "0"
    input_b_btn = "1"

    input_enable_hotkey_btn = "2"
    input_reset_btn = "1"
    input_exit_emulator_btn = "3"

    input_load_state_axis = "-0"
    input_save_state_axis = "+0"
    input_state_slot_increase_axis = "-1"
    input_state_slot_decrease_axis = "+1"
    [/code]

  • 26 Votes
    341 Posts
    407k Views
    7

    @Rookervik Just got around to installing the two new splash screens. They look great. thanks so much, it makes my setup feel one step closer (or two technically) to finishing it all =D

  • Run Command

    Help and Support
    9
    0 Votes
    9 Posts
    5k Views
    meleuM

    @Concat said in Run Command:

    I didn't realize runcommand requires a specific naming convention

    I think this convention was made to match the scraper one.