• LG OLED TV Invalid Format Issue

    2
    0 Votes
    2 Posts
    825 Views
    mituM

    This looks like a bad EDID read from the Pi side, which translates to an incorrect resolution sent to the TV. Looks like a problem specific to LG TVs.

    Try to lock the Pi to a certain resolution with the options in config.txt and configure it to ignore the EDID sent by the TV:

    hdmi_group = 1 hdmi_mode = 16 hdmi_ignore_edid = 0xa5000080
  • 0 Votes
    2 Posts
    397 Views
    mituM

    Do you have a link to the TFT screen install instructions ? Post your config.txt to see how it's configured.

  • How to run Atari 7800 on lr-mess ?

    11
    0 Votes
    11 Posts
    2k Views
    FollyF

    @Widge

    That's ok.

    We will have to wait until somebody else has figured it out.

  • A400-Retropie-Amiberry - MIDI interface

    3
    0 Votes
    3 Posts
    680 Views
    V

    @mitu thats sad, wish I knew how to code for it, as Elan Performer software takes midi-in. Great for triggering animations. Not to mention Octamed audio tracker for making music :(

    Any idea what would it take to do, is it scripting or C+ coding. etc?

    Some refs I have found:
    https://github.com/midwan/amiberry/wiki/Serial-Port-support
    and for a PC/Ami emulator:
    https://www.amigaforever.com/kb/13-107
    and this for Linux/Amiga:
    https://mathr.co.uk/blog/2019-12-10_midi_network_between_linux_and_amiga.html

  • 1 Votes
    8 Posts
    2k Views
    R

    @mitu #FacePalm Yes, it is a 1708 model, but, I totally forgot about the pair button VS just holding the X-Box button to connect. Thank you for screwing my head on straight; sometimes you can see the forest full of trees, sometimes you can't...

  • Script module Q - vars outside of functions?

    6
    0 Votes
    6 Posts
    449 Views
    S

    @BuZz thanks, I see something like this in e.g. moonlight.sh.

    Do you have any thoughts or comments on the method I use here in function enable_ vs the method in disable_ and install_ (or, on anything else)? I did it this way in enable_ because I also need to process the files individually, while the other two do them all as a group in the "for" loop:

    #!/usr/bin/env bash # This file is part of The RetroPie Project # # The RetroPie Project is the legal property of its developers, whose names are # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. # # See the LICENSE.md file at the top-level directory of this distribution and # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md # rp_module_id="bgm123" rp_module_desc="Straightforward background music player using mpg123" rp_module_help="Place your MP3 files in $datadir/bgm" rp_module_section="exp" rp_module_flags="!all rpi" function _autostart_bgm123() { echo "$configdir/all/autostart.sh" } function _bashrc_bgm123() { echo "$home/.bashrc" } function _onstart_bgm123() { echo "$configdir/all/runcommand-onstart.sh" } function _onend_bgm123() { echo "$configdir/all/runcommand-onend.sh" } function depends_bgm123() { getDepends mpg123 } function install_bin_bgm123() { local scriptname="bgm_vol_fade.sh" local files=( "$(_autostart_bgm123)" "$(_bashrc_bgm123)" "$(_onstart_bgm123)" "$(_onend_bgm123)" ) local file cp "$md_data/$scriptname" "$md_inst" chmod +x "$md_inst/$scriptname" for file in "${files[@]}"; do # preserve original file versions if [[ -f "$file" && ! -f "$file.old.bgm123" ]]; then cp "$file" "$file.old.bgm123" chown $user:$user "$file.old.bgm123" fi done } function disable_bgm123() { local files=( "$(_autostart_bgm123)" "$(_bashrc_bgm123)" "$(_onstart_bgm123)" "$(_onend_bgm123)" ) local file # kill player now since .bashrc won't do it later vcgencmd force_audio hdmi 0 >/dev/null pgrep mpg123 >/dev/null && pkill mpg123 for file in "${files[@]}"; do if [[ -f "$file" ]]; then # backup file and attempt to remove any existing bgm config cp -f "$file" "$file.bak" chown $user:$user "$file.bak" sed -i '/#bgm/d' "$file" # if file is now empty, remove it [[ ! -s "$file" ]] && rm -f "$file" fi done } function remove_bgm123() { disable_bgm123 remove_share_samba "bgm" restart_samba } function enable_bgm123() { local fadescript="$md_inst/bgm_vol_fade.sh" local autostart="$(_autostart_bgm123)" local bashrc="$(_bashrc_bgm123)" local onstart="$(_onstart_bgm123)" local onend="$(_onend_bgm123)" local file disable_bgm123 for file in "$autostart" "$bashrc" "$onstart" "$onend"; do touch "$file" chown $user:$user "$file" done echo -e "$(echo -e 'while pgrep omxplayer >/dev/null; do sleep 1; done #bgm123\n(vcgencmd force_audio hdmi 1 >/dev/null; sleep 8; mpg123 -Z "'$datadir'/bgm/"*.[mM][pP]3 >/dev/null 2>&1) & #bgm123'; cat $autostart)" > "$autostart" echo -e '[[ "$(tty)" == "/dev/tty1" ]] && (vcgencmd force_audio hdmi 0 >/dev/null; pkill mpg123) #bgm123' >> "$bashrc" echo -e '"'"$fadescript"'" -STOP & #bgm123' >> "$onstart" echo -e '(sleep 1; "'"$fadescript"'" -CONT) & #bgm123' >> "$onend" } function configure_bgm123() { [[ "$md_mode" == "remove" ]] && return local share="$datadir/bgm" mkUserDir "$share" add_share_samba "bgm" "$share" restart_samba enable_bgm123 } function play_pause_bgm123() { if pgrep mpg123 >/dev/null; then su $user -c "$md_inst/bgm_vol_fade.sh &" else su $user -c "(vcgencmd force_audio hdmi 1 >/dev/null; sleep 1; mpg123 -Z $datadir/bgm/*.[mM][pP]3 >/dev/null 2>&1) &" fi } function next_track_bgm123() { pgrep mpg123 >/dev/null && pkill mpg123 su $user -c "(vcgencmd force_audio hdmi 1 >/dev/null; sleep 1; mpg123 -Z $datadir/bgm/*.[mM][pP]3 >/dev/null 2>&1) &" } function gui_bgm123() { local cmd=(dialog --backtitle "$__backtitle" --cancel-label "Back" --menu "Choose an option." 22 86 16) while true; do local enabled=0 grep '#bgm123' "$configdir/all/autostart.sh" >/dev/null && enabled=1 local options=() if [[ "$enabled" -eq 1 ]]; then if pgrep emulationstatio >/dev/null; then options+=( P "Play / pause" N "Next track" ) fi options+=( 1 "Enable background music (currently: Enabled)" ) else options+=( 1 "Enable background music (currently: Disabled)" ) fi local choice=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty) if [[ -n "$choice" ]]; then case "$choice" in P) play_pause_bgm123 ;; N) next_track_bgm123 ;; 1) if [[ "$enabled" -eq 1 ]]; then disable_bgm123 printMsgs "dialog" "Background music disabled." else enable_bgm123 printMsgs "dialog" "Background music enabled." fi ;; esac else break fi done }

    Edit:

    @sleve_mcdichael said in Script module Q - vars outside of functions?:

    local autostart="$(_autostart_bgm123)" local bashrc="$(_bashrc_bgm123)" local onstart="$(_onstart_bgm123)" local onend="$(_onend_bgm123)"

    I am seeing in the style guide that I should not do this when the variable is assigned by command substitution and that declaration and assignment should be in separate lines:

    local autostart autostart="$(_autostart_bgm123)" local bashrc bashrc="$(_bashrc_bgm123)" local onstart onstart="$(_onstart_bgm123)" local onend onend="$(_onend_bgm123)" local file for file in "$autostart" "$bashrc" "$onstart" "$onend"; do
  • Daphne / Dragonrise encoder issues

    Locked
    46
    0 Votes
    46 Posts
    14k Views
    mituM

    @22marco77 The repository mentioned no longer exists on Github, that's why you get the error.

    I'll lock this topic, since the original project doesn't exist anymore. Use Hypseus, now part of RetroPie.

  • 0 Votes
    5 Posts
    521 Views
    T

    @Ashpool I just tried and I was able to create Files on ext4. But I will not use it anymore and copied the file per sftp to the Pi. I m using Bitvise SSH Client.worked great

  • How to stay up to date / save work done

    7
    0 Votes
    7 Posts
    804 Views
    1

    @sleve_mcdichael
    Ok, since I had only seen the directories when starting Skyscraper, I wasn't aware of the symlinks. In the end, this also means that I don't have to change anything in the configuration and I leave it as the default. I just want to have everything in the four directories so that I have everything together when I switch to a new version.

    Maybe another question about the update, I can run Retropie-Setup-Script-Update and Basic Install from time to time without having to change or pay attention to anything else. So I'm not overwriting anything of my existing custom configuration, right?

    I make backups of the whole sd-card as an image. But can I also mount the image without any problems in order to copy only the data from the four directories out again? Or do I save the image just to use it again as a whole and should I save only the directories again just in case?

  • Help password reset?

    2
    0 Votes
    2 Posts
    122 Views
    mituM

    There's no image/picture attached to your post - did you mean to add one ?

  • SEGA CD games going in a "track menu" prior starting

    5
    0 Votes
    5 Posts
    588 Views
    sirhenrythe5thS

    did not know that as well, thanx from me too @mitu

  • Retropie seeing 2 controllers as 1 entity

    6
    0 Votes
    6 Posts
    1k Views
    K

    @mitu no dice unfortunately with that article. I am going to purchase a 2nd control board to deal with this. Looks relatively simple to install.

  • Pi 400 strange audio hdmi behaviour

    1
    0 Votes
    1 Posts
    359 Views
    No one has replied
  • [Torrent] Download RetroPie

    55
    9 Votes
    55 Posts
    79k Views
    pizzapieP

    New torrent for Retropie 4.8 is up ! :)

    magnet:?xt=urn:btih:3591FC2793DBCC06157AA5B244110CEF3B42331A&dn=retropie-4.8&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce
  • Tom Clancy's Rainbow Six in Redream

    1
    0 Votes
    1 Posts
    168 Views
    No one has replied
  • Adding to custom collections issue

    16
    0 Votes
    16 Posts
    2k Views
    S

    @mitu
    Yes I read the gpu setting on the pi4 is managed dynamically and is best left alone as it can harm performance increasing it.
    I do try to keep everything default and use the advice in the documents.
    I have been able to replicate the issue over and over. I decided to try turning off and on many different features under emulationstation settings and keep testing.
    It's probally nothing to do with the issue but after turning OMX on and doing the test again so far ive managed to add hundreds of games without issue. I will create more collections and try again this has been the most successful for me so far. I can't really see why this would help as when adding games to the collections i don't give it time to start playing any video.

    Update
    Tested again with same setting OMX on with existing and new collections and worked fine.

    Thanks Sim

  • Rom file types

    38
    0 Votes
    38 Posts
    25k Views
    R

    @sleve_mcdichael
    When downloading roms, on the page it will tell you the region like Japanese/ Europe and other regions.
    Does that mean that the game was created in that country and anyone in the would can use it Or it would just be in their language.

  • Taito G-Net games

    7
    0 Votes
    7 Posts
    2k Views
    M

    @sleve_mcdichael Regarding non G-Net games, I was also trying to get Guardian Force (grdforce) and Soukyugurentai / Terra Diver (sokyugrt) to work in MAME 2010. I had poor results in 2016, and according to the following compatibility list 2010 should be able to run them at some capacity:

    https://buildbot.libretro.com/compatibility_lists/cores/mame2010/mame2010.html

    However when I try to load these games in 2010 the emulator freezes. These are stvbios games which seem to have mixed results in MAME. Yet some, such as Shienryu, will even run in MAME 2003-Plus. Just curious if anybody had success with those particular two.

  • Request to change my username

    4
    0 Votes
    4 Posts
    409 Views
    BuZzB

    @mitu I disabled it I think due to it being misused.

  • BGM, vcgencmd force_audio, and mpg123 &

    3
    1 Votes
    3 Posts
    599 Views
    S

    Still not sure why the things I was trying from command-line didn't work, but this seems to be getting the job done pretty reliably:

    autostart.sh:

    (vcgencmd force_audio hdmi 1 >/dev/null 2>&1; sleep 8; mpg123 -Z /home/pi/RetroPie/bgm/*.mp3 >/dev/null 2>&1) & #bgm emulationstation #auto

    .bashrc (excerpt):

    [[ $(tty) == "/dev/tty1" ]] && (vcgencmd force_audio hdmi 0 >/dev/null 2>&1; pkill mpg123) #bgm # RETROPIE PROFILE START

    ...this seems to work as intended, even though I couldn't get it to work on command-line for whatever reason. With this setup the audio channel opens in time for the music to begin, and closes again when I quit to console.

    In autostart.sh, I put vcgencmd before the sleep command because when I did the other way, sometimes it would open up in time for the music but other times it wouldn't. This way it opens up and "hums" for a few seconds before the music starts, but it always starts from the first instant, so an acceptable compromise.

    In .bashrc, the original guide said to put the command inside the RETROPIE PROFILE section but that whole section gets rewritten if you update bashwelcometweak; putting it outside the section preserves it even when the welcome tweak is updated.

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.