RetroPie forum home
    • 최근
    • 태그
    • 인기
    • Home
    • Docs
    • 등록
    • 로그인

    Development of module-script generator for lr-mess, lr-mame and mame standalone

    예약됨 고정됨 잠김 이동됨 Ideas and Development
    developmentlr-messmamelr-mamescripts
    2.3k 게시물 37 작성자 7.7m 조회수
    게시물 더 불러오는 중
    • 오래된 순
    • 최신 순
    • 가장 많은 투표
    답글
    • 토픽으로 답글
    로그인 후 답글 작성
    이 토픽은 삭제되었습니다. 토픽 관리 권한이 있는 사용자만 볼 수 있습니다.
    • retropieuser555R
      retropieuser555 @DTEAM
      마지막 수정자:

      @DTEAM thing is, would you add Dendy as a system? As all these old Soviet games were basically clones of others (most of these like Nu pogodi are game and watch clones)

      Pi 5 4GB

      Retroflag GPI with raspberry pi zero 2 w/ wifi

      Retroachievements:- lovelessrapture

      FollyF 1 답글 마지막 답글 답글 인용 2
      • FollyF
        Folly @retropieuser555
        마지막 수정자: Folly

        @retropieuser555 said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

        @DTEAM thing is, would you add Dendy as a system? As all these old Soviet games were basically clones of others (most of these like Nu pogodi are game and watch clones)

        Somehow you mentioned something in your post that we missed somehow.
        Seems nupogodi wasn't in our lists.
        After some investigation the manufacturer part is not Elektronika but bootleg Elektronika so my ini-creation script missed the bootlegs.
        After all it turns out there are far more Elektronika handhelds.

        I see what you mean by saying you don't install dendy as a default system as it's basically the same as the nes.
        I agree with that.
        I think however with the Elektronika handhelds this is a bit different as they are clones but the looks is very different.
        So it's probably not a bad idea to separate them from the classich category after all.
        I detected 21 Elektronika handhelds where only 2 of them were in the classich category and recently 2 others which we didn't want in the classih category.
        So making it separately could be a win win here.

        1 답글 마지막 답글 답글 인용 2
        • FollyF
          Folly @DTEAM
          마지막 수정자: Folly

          @DTEAM

          I added code for detecting here and here.
          I removed the Elektronika drivers from classich.ini here.
          I added elektronikah.ini here.

          I think this is the way to go.

          DTEAMD 1 답글 마지막 답글 답글 인용 1
          • FollyF
            Folly
            마지막 수정자: Folly

            Seems someone is down-voting posts.
            That is not the way to go if you don't agree with something.
            Write posts and try to convince people otherwise and help with developing the project !

            mituM 1 답글 마지막 답글 답글 인용 0
            • mituM
              mitu Global Moderator @Folly
              마지막 수정자: mitu

              @Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

              Seems someone is down-voting posts.

              Can you tell me which posts have been downvoted and which user ? Is it in this topic ? I'll take a look.

              EdiT: @Folly are you sure it's not some user error ? One of the downvotes is yours and I think the other one that I've seen in the last 10 replies here is also an user error.

              FollyF 1 답글 마지막 답글 답글 인용 0
              • FollyF
                Folly @mitu
                마지막 수정자: Folly

                @mitu said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                @Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                Seems someone is down-voting posts.

                Can you tell me which posts have been downvoted and which user ? Is it in this topic ? I'll take a look.

                Post 2262, haven't seen the user info in my environment.

                EdiT: @Folly are you sure it's not some user error ? One of the downvotes is yours and I think the other one that I've seen in the last 10 replies here is also an user error.

                Ok, good to know I will restore my downvote.

                mituM 1 답글 마지막 답글 답글 인용 0
                • mituM
                  mitu Global Moderator @Folly
                  마지막 수정자: mitu

                  @Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                  Post 2262, haven't seen the user info in my environment.

                  Can you give me the permalink ? Click on the post's hamburger menu and choose Copy permalink, then post it here.

                  FollyF 1 답글 마지막 답글 답글 인용 0
                  • FollyF
                    Folly @mitu
                    마지막 수정자:

                    @mitu said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                    @Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                    Post 2262, haven't seen the user info in my environment.

                    Can you give me the permalink ? Click on the post's hamburger menu and choose Copy permalink, then post it here.

                    https://retropie.org.uk/forum/post/304483

                    mituM 1 답글 마지막 답글 답글 인용 0
                    • mituM
                      mitu Global Moderator @Folly
                      마지막 수정자:

                      @Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                      https://retropie.org.uk/forum/post/304483

                      I think that's a user error here, from @roslof. Either way, I think it's just a singular occurence, not a recurring patern.

                      FollyF 1 답글 마지막 답글 답글 인용 1
                      • FollyF
                        Folly @mitu
                        마지막 수정자:

                        @mitu said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                        @Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                        https://retropie.org.uk/forum/post/304483

                        I think that's a user error here, from @roslof. Either way, I think it's just a singular occurence, not a recurring patern.

                        Ok, thanks for looking at it.
                        Then we are all good here. ;-)

                        roslofR 1 답글 마지막 답글 답글 인용 1
                        • roslofR
                          roslof @Folly
                          마지막 수정자:

                          @Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                          Ok, thanks for looking at it.
                          Then we are all good here. ;-)

                          Saw the mention. Fixed the inadvertent downvote.
                          Cheers

                          FollyF 1 답글 마지막 답글 답글 인용 1
                          • FollyF
                            Folly @roslof
                            마지막 수정자:

                            @roslof said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                            @Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                            Ok, thanks for looking at it.
                            Then we are all good here. ;-)

                            Saw the mention. Fixed the inadvertent downvote.
                            Cheers

                            Thanks for restoring !

                            1 답글 마지막 답글 답글 인용 0
                            • DTEAMD
                              DTEAM @Folly
                              마지막 수정자: DTEAM

                              @Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                              I added code for detecting here and here.
                              I removed the Elektronika drivers from classich.ini here.
                              I added elektronikah.ini here.

                              I think this is the way to go.

                              Thanks for the list, i'll create a system for those games in my theme. Most of those games have a great "MAME's artwork" such as Game & Watch.

                              FollyF 1 답글 마지막 답글 답글 인용 1
                              • FollyF
                                Folly @DTEAM
                                마지막 수정자: Folly

                                @DTEAM said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                                @Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                                I added code for detecting here and here.
                                I removed the Elektronika drivers from classich.ini here.
                                I added elektronikah.ini here.

                                I think this is the way to go.

                                Thanks for the list, i'll create a system for those games in my theme. Most of those games have a great "MAME's artwork" such as Game & Watch.

                                Indeed great artwork.
                                Not sure if there are backgrounds in the artwork otherwise a rename is appropriate for lr-mess compatiblility.
                                If so I think I will have to add elektronikah in my script for extracting backgrounds and creating game specific configs.
                                Well that can be done later when we know how all the games look.

                                I am experimenting with the command awk to see if I can build the database quicker and better.
                                It's basically a program for manipulating text and the basics I know but it is also a sort of program language, I never knew.
                                Seems much more powerful with that.
                                You might want to read the manual too, see link.

                                Here is one nice example :

                                #print driver/description/manufacturer from -listxml using 3 field delimiters <>", all on one line
                                /opt/retropie/emulators/mame/mame -listxml atakaast|awk -F '[<>"]' '/<machine name/ || /<descr/ || /<manu/ {nlines = nlines + 1} /<machine name/ || /<descr/ || /<manu/ {if (nlines <= 3) total = total  $3 " "}END{print total}'
                                

                                Output is :
                                Driver□atakaast□Ataka asteroidov□bootleg (Elektronika)□:

                                Normally I use -listdevices to get the driver and description.
                                I get the others, such as manufacturer, with -listxml.
                                With above you should be able to extract the same without using -listdevices but with more added info like explained, the manufacturer.
                                I think it would also be possible to add certain info as tags without even creating an ini in the first place.
                                After creating a list for all drivers you can sort much quicker on certain manufacturers or use it as a presort for the old method of creating ini's quicker as you don't have to check all 30000 drivers for specific ini's.
                                Then you do a presort on manufacturers from the created list and use these +/-25 drivers to check if they are valid which saves a lot of time.

                                DTEAMD 1 답글 마지막 답글 답글 인용 1
                                • DTEAMD
                                  DTEAM @Folly
                                  마지막 수정자: DTEAM

                                  @Folly

                                  Hi Folly, I can't find these three artworks files for the wallpaper/background and system. Have you seen a place where we can download them?

                                  a9c6298d-9376-4b29-aff2-83707b0839a4-image.png

                                  FollyF 1 답글 마지막 답글 답글 인용 0
                                  • FollyF
                                    Folly @DTEAM
                                    마지막 수정자:

                                    @DTEAM

                                    Will have a look at these artwork files.

                                    BTW.
                                    Just to let you know I have some basic awk script stuff running.
                                    It was a bit of getting used to but until now it's awesome and I am really impressed by it.
                                    This is what it already gives when adding the driver as option :

                                    :~/awk$ bash awk.sh nupogodi
                                    Driver□nupogodi□Nu, pogodi!□bootleg (Elektronika)@good@elektronikah@
                                    :~/awk$ bash awk.sh tapollo13
                                    Driver□tapollo13□Apollo 13 (Tiger)□Tiger Electronics@good@tigerh@
                                    :~/awk$ bash awk.sh jak_disf
                                    Driver□jak_disf□Disney Friends (JAKKS Pacific TV Game, Game-Key Ready) (17 MAY 2005 A)□JAKKS Pacific Inc @imperfect@jakks_gamekey_dy@jakks@
                                    :~/awk$ bash awk.sh bassmate
                                    Driver□bassmate□Bassmate Computer□Telko @good@gameandwatch@
                                    :~/awk$ bash awk.sh gnw_ball
                                    Driver□gnw_ball□Game &amp; Watch: Ball□Nintendo@good@gameandwatch@
                                    :~/awk$ bash awk.sh kgradius
                                    Driver□kgradius□Gradius (handheld)□Konami@good@konamih@
                                    :~/awk$ bash awk.sh uboat
                                    Driver□uboat□U-Boat□Bandai@good@classich@
                                    
                                    1 답글 마지막 답글 답글 인용 1
                                    • 첫 게시물
                                      마지막 게시물

                                    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.