• 1 Votes
    25 Posts
    5k Views
    hiulitH

    @mitu @BuZz @Efriim I finally got it working! :D

    local bin_file local bin_files local default local id local index local version ... some other code ... for index in "${!bin_files[@]}"; do default=0 [[ "$index" -eq "${#bin_files[@]}-1" ]] && default=1 # Default to the last item in 'bin_files'. version="${bin_files[$index]}" version="$(echo $version | cut -d'_' -f 2)" addEmulator "$default" "$md_id-$version-$id" "godot-engine" "$md_inst/${bin_files[$index]} --main-pack %ROM%" done

    So it seems like the error had something to do with the index variable (previously it was named i). Either it needed to be initialized as a local variable or the script didn't like that it was called i... I really don't know. But I got it working :)

    Another thing that I found and maybe it's worth mentioning (and correct me if I'm wrong) is that when I run:

    sudo ./retropie_packages.sh godot-engine configure

    the config file:

    /opt/retropie/configs/godot-engine/emulators.cfg

    seems to just add the new stuff on top of the previous configs that were already there. I mean, it doesn't delete the file and creates it again with the new configs.

    Shouldn't "deleting the old file and creating a new one" be the "correct" thing to do?

    Thanks! :)

  • 2 Votes
    14 Posts
    2k Views
    T

    @ziggurat I've managed to install ok, but login doesn't seem to work. Could you advise on how to login with usr/pqd or with code? Thank you!

  • 1 Votes
    5 Posts
    513 Views
    tpo1990T

    @cyperghost Glad to hear but the Jazz Jackrabbit scriptmodule is not ready yet. Since i managed to find out how to create a scriptmodule it will be a lot quicker to get it done. :-)

    I will very soon begin to create the scriptmodule for Jazz Jackrabbit, but first i will make a pull request and then release it on its own page for manual cloning from its github page.

  • 1 Votes
    9 Posts
    758 Views
    RincewindR

    @mitu Thank you so much. You were right. I had mixed line endings from editing it on Windows. It install and runs. It runs really slow on the Pi, but I'm sure I'll figure that out.

    @hhromic I have changed my script module to include the sources_superflappybirdsfunction as you have suggested. I'll also set it up under the ports folder.

    I am hoping to get the game added to zerojay/RetroPie-Extra repo, once it is working well.

  • 10 Votes
    147 Posts
    45k Views
    mituM

    @Sergorov said in moonlight: request for comments and testing:

    Hello! I hope I'm not necroposting here, ...

    But you did. Please open separate topic and explain your issue, after providing the details of your systems as asked in https://retropie.org.uk/forum/topic/3/read-this-first.

  • 0 Votes
    14 Posts
    3k Views
    M

    According to this process inspection, it worked :)

    23595 ? Ss 0:03 tmux 23596 pts/1 Ss 0:01 \_ -bash 24946 pts/1 S+ 0:00 \_ sudo ./retropie_packages.sh builder chroot_build module lr-mame 24947 pts/1 S+ 0:01 \_ bash ./retropie_packages.sh builder chroot_build module lr-mame 6155 pts/1 Sl+ 0:01 \_ /usr/bin/qemu-arm-static /usr/bin/sudo PATH=/usr/lib/distcc:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin 6157 pts/1 Sl+ 0:10 \_ /usr/bin/qemu-arm-static /bin/bash /home/pi/RetroPie-Setup/retropie_packages.sh builder module lr-mame 7921 pts/1 Sl+ 0:01 \_ /usr/bin/qemu-arm-static /usr/bin/make OSD=retro RETRO=1 NOWERROR=1 OS=linux TARGETOS=linux CONFIG=libretro NO_USE_MIDI=1 7984 pts/1 Sl+ 0:00 \_ /usr/bin/qemu-arm-static /usr/bin/make -R --no-print-directory -C 3rdparty/genie/build/gmake.linux -f genie.make 8827 pts/1 Sl+ 0:00 | \_ /usr/bin/qemu-arm-static /bin/sh -c gcc -O2 -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -pipe -MMD -MP -MP -DND 8833 pts/1 Sl+ 0:00 | | \_ /usr/bin/qemu-arm-static /usr/lib/distcc/gcc -O2 -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -pipe -MMD -MP 8860 pts/1 Sl+ 0:00 | \_ /usr/bin/qemu-arm-static /bin/sh -c gcc -O2 -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -pipe -MMD -MP -MP -DND 8863 pts/1 Sl+ 0:00 | \_ /usr/bin/qemu-arm-static /usr/lib/distcc/gcc -O2 -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -pipe -MMD -MP 8854 pts/1 Rl+ 0:01 \_ /usr/bin/qemu-arm-static /usr/bin/python scripts/build/msgfmt.py --output-file language/Vietnamese/strings.mo language 8878 pts/1 Rl+ 0:00 \_ /usr/bin/qemu-arm-static /usr/bin/python scripts/build/msgfmt.py --output-file language/Burmese/strings.mo language/Bu 2681 ? SNs 0:00 /usr/bin/distccd --pid-file=/var/run/distccd.pid --log-file=/var/log/distccd.log --daemon --allow 127.0.0.1 --listen 127.0.0.1 --nice 10 2682 ? SN 0:00 \_ /usr/bin/distccd --pid-file=/var/run/distccd.pid --log-file=/var/log/distccd.log --daemon --allow 127.0.0.1 --listen 127.0.0.1 --nice 10 2690 ? SN 0:00 \_ /usr/bin/distccd --pid-file=/var/run/distccd.pid --log-file=/var/log/distccd.log --daemon --allow 127.0.0.1 --listen 127.0.0.1 --nice 10 2691 ? SN 0:00 \_ /usr/bin/distccd --pid-file=/var/run/distccd.pid --log-file=/var/log/distccd.log --daemon --allow 127.0.0.1 --listen 127.0.0.1 --nice 10 2692 ? SN 0:00 \_ /usr/bin/distccd --pid-file=/var/run/distccd.pid --log-file=/var/log/distccd.log --daemon --allow 127.0.0.1 --listen 127.0.0.1 --nice 10 8848 ? SN 0:00 | \_ gcc -O2 -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -pipe -Wall -Wextra -Os -o /tmp/distccd_20ddb5c9.o -c /tmp/distccd_230bb5c9.i 8849 ? RN 0:02 | \_ /opt/retropie/admin/crosscomp/stretch/libexec/gcc/arm-linux-gnueabihf/6.4.0/cc1 -fpreprocessed /tmp/distccd_230bb5c9.i -quiet -dumpbas 8850 ? SN 0:00 | \_ /opt/retropie/admin/crosscomp/stretch/lib/gcc/arm-linux-gnueabihf/6.4.0/../../../../arm-linux-gnueabihf/bin/as -mcpu=arm1176jzf-s -mfl 2693 ? SN 0:00 \_ /usr/bin/distccd --pid-file=/var/run/distccd.pid --log-file=/var/log/distccd.log --daemon --allow 127.0.0.1 --listen 127.0.0.1 --nice 10 8875 ? SN 0:00 | \_ gcc -O2 -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -pipe -Wall -Wextra -Os -o /tmp/distccd_befeb5cc.o -c /tmp/distccd_a1dab5cc.i 8876 ? RN 0:00 | \_ /opt/retropie/admin/crosscomp/stretch/libexec/gcc/arm-linux-gnueabihf/6.4.0/cc1 -fpreprocessed /tmp/distccd_a1dab5cc.i -quiet -dumpbas 8877 ? SN 0:00 | \_ /opt/retropie/admin/crosscomp/stretch/lib/gcc/arm-linux-gnueabihf/6.4.0/../../../../arm-linux-gnueabihf/bin/as -mcpu=arm1176jzf-s -mfl 2694 ? SN 0:00 \_ /usr/bin/distccd --pid-file=/var/run/distccd.pid --log-file=/var/log/distccd.log --daemon --allow 127.0.0.1 --listen 127.0.0.1 --nice 10 menion@Menionubuntu:/etc/default$

    I have heard about distcc but I have never looked into it in the details, I have to study it :)

  • 9 Votes
    189 Posts
    46k Views
    LolonoisL

    @paradoxgbb thanks for reporting back verbatim. Did I get it right that the retropie provided binary does work well? (I assume yes, as the binary [1] relates to the lr-scummvm git from 2021-12-27, it runs ScummVM 2.1.1 IIRC)

    [1] https://files.retropie.org.uk/binaries/buster/rpi4/kms/libretrocores/lr-scummvm.tar.gz

    The diablodiab hit-and-miss results leave me somewhat unsatisfied, but I can not put research at this atm. FTR: I am on RA 1.9.7, GCC 8.3 and for me (as stated earlier) the build of 9703372cc8 runs fine on a RetroPie 4.7.19/Rpi4.

  • 6 Votes
    75 Posts
    29k Views
    TMNTturtlguyT

    @meleu you are the best! I will test when I return from my trip!

  • 1 Votes
    7 Posts
    3k Views
    cyperghostC

    I want to create a scriptmodule for OpenBOR to add version 6315. I see the flag rp_module_id="openbor" that makes the module visiable into script screen. To avoid confusion I want annother name like rp_module_id="openbor_6xxx but want to use the old pathes.

    Now all instances of $md_id, $md_config... uses the name that is given by rp_module_id so how to change names? I can include a function strip () { }that sets internal variables to openbor but this is not good code. So how to achive this?

    Again: the goal is to use one config directory and one directory that contains several versions of OpenBOR.

    Besides thank you BuZz for the platforms flags, I may exclude 6xxx for rpi1.
    Is there a dedicated WIKI about script modules?

  • 0 Votes
    5 Posts
    2k Views
    A

    yeah tried that a few days ago. It was still looking at the old path for some extra files (digital audio if i remember). I presumed the defaults are each set as full paths , instead of relative paths of the data folder.
    Its also possible i did something wrong so ill try again tomorrow

  • 0 Votes
    5 Posts
    2k Views
    GetKeyOpenDoorG

    @BuZz I thought maybe because nano is a linux text editor it would auto convert EOL.
    But anyway, there is an option in notepad++ for EOL conversion so I've just set it to UNIX. I'll give it a try after Kodi is done importing my library.
    Thanks for the help

  • 0 Votes
    18 Posts
    14k Views
    BuZzB

    @chapas It's not related - please open a new topic (even if you have the same problem, it's not helpful to post to the end of an old topic)

    also

    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