RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    new scriptmodules (lr-vice-xvic, gsplus, proper lr-mess integration!)

    Scheduled Pinned Locked Moved Ideas and Development
    githubscriptmodulesdevelopment
    545 Posts 42 Posters 273.1k 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.
    • 2Play2
      2Play @roslof
      last edited by 2Play

      @roslof was these files shared?
      From post you seem to be the most experienced with teh config files for GSplus
      quick que
      I added on arkanoid from F4 mouse as joystick an saved config
      g_joystick_type = 1
      even with above, game next boot still uses default joystick

      UPDATE:
      I have set 444 (READ ONLY TO ALL) permission to the config file and all ok!

      Your friend,
      2Play!

      1 Reply Last reply Reply Quote 0
      • 2Play2
        2Play @roslof
        last edited by

        @roslof
        anyone interested i have covered most of older systems on my themes which are forks of the excellent @chicuelo work
        https://github.com/2play/2Play-v2-Themes

        Your friend,
        2Play!

        DTEAMD 1 Reply Last reply Reply Quote 0
        • 2Play2
          2Play @Folly
          last edited by 2Play

          @folly
          ok i have done steps manually but as per scriptmodule so to add on my existing bbcmicro setup
          Below worked:

          b-em-pico-pi-ModelB = "XINIT:/opt/retropie/emulators/b-em-pico-pi/xbeeb.sh %ROM%"
          b-em-pico-pi-ModelMaster128K = "XINIT:/opt/retropie/emulators/b-em-pico-pi/xmaster.sh %ROM%"
          

          I get a full screen window.
          Is there a way exit by keyboard?
          Autoload option?

          Your friend,
          2Play!

          F 1 Reply Last reply Reply Quote 0
          • F
            Folly @2Play
            last edited by

            @2play said in new scriptmodules (lr-vice-xvic, gsplus, proper lr-mess integration!):

            @folly
            ok i have done steps manually but as per scriptmodule so to add on my existing bbcmicro setup
            Below didnt work:

            b-em-pico-pi-ModelB = "XINIT:/opt/retropie/emulators/b-em-pico-pi/xbeeb.sh %ROM%"
            b-em-pico-pi-ModelMaster128K = "XINIT:/opt/retropie/emulators/b-em-pico-pi/xmaster.sh %ROM%"
            

            Below works (direct binaries) BUT I cant type anything to screen:

            b-em-pico-pi-ModelB = "XINIT:/opt/retropie/emulators/b-em-pico-pi/xbeeb %ROM%"
            b-em-pico-pi-ModelMaster128K = "XINIT:/opt/retropie/emulators/b-em-pico-pi/xmaster %ROM%"
            

            Nice to hear it is working a bit.
            Too bad, to hear your keyboard isn't working, I have no idea why.
            Can you detect something in /dev/shm/runcommand.log ?

            You should add -disc between xbeeb or xmaster and %ROM.

            I will also try to load the binary's directly, If it works ok, I can reduce the script.

            2Play2 1 Reply Last reply Reply Quote 0
            • 2Play2
              2Play @Folly
              last edited by

              @folly
              ive updated above
              its working
              the encoding on my sh files was the problem.
              recreated and works

              but im after KB exit and autoload. is it possible rarher exiting by mouse?

              Your friend,
              2Play!

              F 1 Reply Last reply Reply Quote 0
              • F
                Folly @2Play
                last edited by Folly

                @2play said in new scriptmodules (lr-vice-xvic, gsplus, proper lr-mess integration!):

                @folly
                ive updated above
                its working
                the encoding on my sh files was the problem.
                recreated and works

                but im after KB exit and autoload. is it possible rarher exiting by mouse?

                Nice,

                I also tried to find a key exit, but I could find it.
                Basically Graham Sanderson made this for the "pi pico" so I think he removed that part.
                Perhaps it's possible to find something in the source code or the b-em documentation.

                autoload is shift+f12

                I tried this, but didn't work for me, no keyboard and wrong resolution (works only ok from the desktop enviroment) :

                b-em-pico-pi-ModelB = "XINIT:/opt/retropie/emulators/b-em-pico-pi/xbeeb -disc %ROM%"
                b-em-pico-pi-ModelMaster128K = "XINIT:/opt/retropie/emulators/b-em-pico-pi/xmaster -disc %ROM%"
                

                BTW.
                How do you experience it ?

                2Play2 1 Reply Last reply Reply Quote 0
                • 2Play2
                  2Play @Folly
                  last edited by 2Play

                  @folly
                  Autoload working only from a full KB. Thank you!
                  My little wireless kb/mouse combo not good as it needs FN key to apply F12.
                  works ok though on the lr-mess setup if pressed quickly :-) weird

                  i tried the -autoboot added to sh files but no difference. at least i know shift + f12 is working so all good

                  I have to say this emu has the best graphics in cli etc, second is lr-mess and last advmess. I have all 3 working.

                  I was reading the original README info from Graham, menu should have an EXIT option. xbeeb and xmaster do not though.
                  So only solution is to use mouse and click X on window to close it and go back to ES.

                  I tried to find where the config file exists but no luck
                  I wanted to boost and save volume to 100% and 70%.
                  Any idea?

                  You dont have correct resolution on yours?
                  Here is what I have fullscreen printscreen04_04_2021--h22-m06-s19.jpg

                  And command line options from help i found

                  /opt/retropie/emulators/b-em-pico-pi/xbeeb --help
                  Starting GUI thread
                  main: starting B-em v-2.2?-pi_x_drm
                  ERROR(/home/pi/code/b-em-pico-pi/src/pico/x_gui/x_gui.cpp:641) : model: invalid rom setup type 'swram' in model 'BBC B w/1770 FDC', using 'swram' instead
                  B-em v-2.2?-pi_x_drm command line options:
                  
                  -disc disc.ssd  - load disc.ssd into drives :0/:2
                  -disc1 disc.ssd - load disc.ssd into drives :1/:3
                  -autoboot       - boot disc in drive :0
                  -Fx             - set maximum video frames skipped
                  -s              - scanlines display mode
                  -i              - interlace display mode
                  
                  -disc1 disc.ssd
                  

                  Seems a good option to have manullay loading a dual disk game...
                  Make a custom sh file and add in es_systems .sh as extension . Just an idea

                  Your friend,
                  2Play!

                  F 1 Reply Last reply Reply Quote 0
                  • DTEAMD
                    DTEAM @2Play
                    last edited by

                    @2play said in new scriptmodules (lr-vice-xvic, gsplus, proper lr-mess integration!):

                    anyone interested i have covered most of older systems on my themes which are forks of the excellent @chicuelo work
                    https://github.com/2play/2Play-v2-Themes

                    Thanks @2play, I don't know if you are aware but @folly, @valerino and I working on the Development of module-script generator for lr-mess and mame standalone, It's the updated thread for the sciptmodules.

                    4 weeks ago we posted this: Request for artists working on themes - needs for (lr-mess/MAME) additions

                    What you did seems to be in line with that. Thanks.

                    2Play2 1 Reply Last reply Reply Quote 2
                    • F
                      Folly @2Play
                      last edited by Folly

                      @2play said in new scriptmodules (lr-vice-xvic, gsplus, proper lr-mess integration!):

                      @folly
                      Autoload working only from a full KB. Thank you!

                      Nice.

                      My little wireless kb/mouse combo not good as it needs FN key to apply F12.

                      Damn.

                      works ok though on the lr-mess setup if pressed quickly :-) weird

                      I press it sometimes twice, then it works ok.

                      i tried the -autoboot added to sh files but no difference. at least i know shift + f12 is working so all good

                      I have to say this emu has the best graphics in cli etc, second is lr-mess and last advmess. I have all 3 working.

                      Yes, indeed.
                      Graham changed something that make this run quite good on rpi. Also the audio is pretty good.

                      I was reading the original README info from Graham, menu should have an EXIT option. xbeeb and xmaster do not though.
                      So only solution is to use mouse and click X on window to close it and go back to ES.

                      The readme he made is written in very hurry up way.
                      I had to change some built lines to compile.
                      I can imagine there are many mistakes in the readme still.
                      I saw separate gui code of Graham qui.
                      Perhaps it can be added in that part.

                      I tried to find where the config file exists but no luck
                      I wanted to boost and save volume to 100% and 70%.
                      Any idea?

                      I think this also has to be done in the source.
                      He made it in such a way that all settings, roms and demos are in the binary so it could work on the pico.

                      You dont have correct resolution on yours?

                      If I run the binaries directly I don't have correct resolution.
                      But it is correct if I do it thought my .sh that are installed with my module-script, then it is ok.

                      Here is what I have fullscreen printscreen04_04_2021--h22-m06-s19.jpg

                      Just how it looks on my end.
                      You can force it to be wide-screen, did you see that ?

                      And command line options from help i found

                      /opt/retropie/emulators/b-em-pico-pi/xbeeb --help
                      Starting GUI thread
                      main: starting B-em v-2.2?-pi_x_drm
                      ERROR(/home/pi/code/b-em-pico-pi/src/pico/x_gui/x_gui.cpp:641) : model: invalid rom setup type 'swram' in model 'BBC B w/1770 FDC', using 'swram' instead
                      B-em v-2.2?-pi_x_drm command line options:
                      
                      -disc disc.ssd  - load disc.ssd into drives :0/:2
                      -disc1 disc.ssd - load disc.ssd into drives :1/:3
                      -autoboot       - boot disc in drive :0
                      -Fx             - set maximum video frames skipped
                      -s              - scanlines display mode
                      -i              - interlace display mode
                      
                      -disc1 disc.ssd
                      

                      Seems a good option to have manullay loading a dual disk game...
                      Make a custom sh file and add in es_systems .sh as extension . Just an idea

                      Nice, I haven't done that -help part, but that is interesting.
                      I will look at that too.

                      I could make an extra sh file with-disc1 and add a command-line in the emulators.cfg that would load that sh.
                      Or I can change the standard sh which could search for a second disc.

                      Do you have an example on a 2 disc game ?
                      Good idea to test.

                      2Play2 1 Reply Last reply Reply Quote 0
                      • 2Play2
                        2Play @Folly
                        last edited by 2Play

                        @folly Thank you for replying!
                        I do have wide full screen covered with your script. Thats what im using
                        If we can find how to save setting for sound that would be nice.
                        if its hardcoded then i guess no cfg file and changes are temp.

                        The dual disk games are rare but here is one example

                        Superman - Man of Steel (1989)(Tynesoft)(Disk 1 of 2)[h TSTH].ssd
                        Superman - Man of Steel (1989)(Tynesoft)(Disk 2 of 2)[h TSTH].ssd
                        

                        Your friend,
                        2Play!

                        F 1 Reply Last reply Reply Quote 0
                        • 2Play2
                          2Play @DTEAM
                          last edited by

                          @dteam Thank you! I have seen that post.
                          I saw the in the past the beg of the post but recently i discovered again as I decided to make all old systems work.
                          I ve even boosted some systems further.
                          Once done Im happy to share feedback

                          Your friend,
                          2Play!

                          1 Reply Last reply Reply Quote 2
                          • F
                            Folly @2Play
                            last edited by Folly

                            @2play said in new scriptmodules (lr-vice-xvic, gsplus, proper lr-mess integration!):

                            @folly Thank you for replying!
                            I do have wide full screen covered with your script. Thats what im using
                            If we can find how to save setting for sound that would be nice.
                            if its hardcoded then i guess no cfg file and changes are temp.

                            The dual disk games are rare but here is one example

                            Superman - Man of Steel (1989)(Tynesoft)(Disk 1 of 2)[h TSTH].ssd
                            Superman - Man of Steel (1989)(Tynesoft)(Disk 2 of 2)[h TSTH].ssd
                            

                            I have made a fork of the source, just like you did.
                            Perhaps I can find some hard coded stuff and change that and then use my repo.

                            Can't promise anything, but if I can, I will try and see if I can make a dual boot solution and fix the volume.

                            Edit (volume fix):
                            I changed the volume settings in my fork to 80%.
                            My module-script is set to use my fork now.

                            So update the module-script with the wget command in post 43 .
                            Install again in RetroPie-Setup.

                            This is the commit I did :
                            https://github.com/FollyMaddy/b-em/commit/8e2cfe6e335498bad89b318202b3caeb09c62e95

                            2Play2 1 Reply Last reply Reply Quote 0
                            • 2Play2
                              2Play @Folly
                              last edited by

                              @folly Tx for quick handling!!
                              I think Ill use your fork and make it 9-10 for main and 7 for drive

                              Your friend,
                              2Play!

                              F 1 Reply Last reply Reply Quote 0
                              • F
                                Folly @2Play
                                last edited by Folly

                                @2play said in new scriptmodules (lr-vice-xvic, gsplus, proper lr-mess integration!):

                                @folly Tx for quick handling!!
                                I think Ill use your fork and make it 9-10 for main and 7 for drive

                                I will make a commit now.

                                I made it 10 / 7 .

                                I will also make it wide-screen by default ?

                                2Play2 1 Reply Last reply Reply Quote 0
                                • 2Play2
                                  2Play @Folly
                                  last edited by 2Play

                                  @folly Sounds great yes.
                                  how easy is it for you to add a new handler under the hard_reset so menu has an exit/quit function

                                  PS Actually i d say leave 4:3 as ppl will complain. they can change by the aspect ratio right in menu, correct?

                                  Your friend,
                                  2Play!

                                  F 1 Reply Last reply Reply Quote 0
                                  • F
                                    Folly @2Play
                                    last edited by Folly

                                    @2play said in new scriptmodules (lr-vice-xvic, gsplus, proper lr-mess integration!):

                                    @folly Sounds great yes.
                                    how easy is it for you to add a new handler under the hard_reset so menu has an exit/quit function

                                    Don't know.
                                    Perhaps I can.

                                    PS Actually i d say leave 4:3 as ppl will complain. they can change by the aspect ratio right in menu, correct?

                                    Ok , I restore it after my test.
                                    (restored)

                                    2Play2 1 Reply Last reply Reply Quote 0
                                    • 2Play2
                                      2Play @Folly
                                      last edited by 2Play

                                      @folly compiled and tested!
                                      All good with volume!

                                      about the handler i was looking at the menu.c code and seems a new entry for Exit\Quit can be added. I probably could do with testing but I think you are more advanced coder to meprintscreen04_06_2021--h19-m33-s19.jpg

                                      The gui menu also pops up with WIN Key :-)

                                      Your friend,
                                      2Play!

                                      F 1 Reply Last reply Reply Quote 1
                                      • F
                                        Folly @2Play
                                        last edited by Folly

                                        @2play

                                        About the handler i was looking at the menu.c code and seems a new entry for Exit\Quit can be added. I probably could do with testing but I think you are more advanced coder to me.

                                        For C/C++ I am not that advanced, but indeed I did some little things and I want to learn some more things.
                                        Perhaps I can find it, then I will let you know.

                                        Did you know how I found the settings ?
                                        I just used the grep command in the terminal, like this :

                                        pi@raspberrypi:~/the_source_directory $ grep -r volume
                                        

                                        This will give all the files and lines that contain "volume".
                                        That is the way I found the file.
                                        So that is something you can do too.

                                        The gui menu also pops up with WIN Key :-)

                                        I will add this to the help in the module-script.

                                        2Play2 1 Reply Last reply Reply Quote 1
                                        • 2Play2
                                          2Play @Folly
                                          last edited by

                                          @folly
                                          I think the master model not working ok or is just game related
                                          see ABYSS booting messed upprintscreen04_07_2021--h21-m03-s36.jpg
                                          airwolf wont boot at all on both

                                          best compatibility is on lr-mess and the advmess
                                          lr mess boots all games except a protoype that loads on b-em
                                          I guess setting up a set in ES will require diff emus per games

                                          Not a prob but just wanted to give you my feedback

                                          Your friend,
                                          2Play!

                                          F 1 Reply Last reply Reply Quote 0
                                          • F
                                            Folly @2Play
                                            last edited by

                                            @2play

                                            Thanks for your feedback.

                                            I noticed this also with a few demos and a few games.
                                            I think it's b-em related.
                                            Though, I see that some games and demos only work on b-em.
                                            Like these :
                                            Prince of Persia post link
                                            Stunt Car Racer post link

                                            With xmaster I also notice strange charachters sometimes.
                                            Don't know what is causing this.

                                            2Play2 1 Reply Last reply Reply Quote 1
                                            • First post
                                              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.