RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    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

    lr-mame/lr-mess source code changes and/or will not compile

    Scheduled Pinned Locked Moved Help and Support
    lr-messcompilingsource codechangeslr-mame
    20 Posts 4 Posters 1.4k 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.
    • mituM
      mitu Global Moderator
      last edited by

      Yes, it seems an upstream change causes the mess subtarget to fail. I haven't had a change to see where this broke, but I'll try to bisect it unless upstream fixes it in the meantime.

      FollyF 2 Replies Last reply Reply Quote 1
      • FollyF
        Folly @mitu
        last edited by Folly

        @mitu

        Good to know that it's probably an upstream failure.
        Again, thanks for looking.

        1 Reply Last reply Reply Quote 0
        • FollyF
          Folly @mitu
          last edited by Folly

          @mitu said in lr-mess will not compile / 17 may 2023:

          change causes the mess subtarget to fail

          I removed the subtarget but doesn't make a difference, still not compiling.

          Edit :
          Seems good :
          https://github.com/libretro/mame/tree/cd5f7d077cdab2eac09faf642ddd121d80f3ad1b

          So it's a change something in between.

          ps :
          I did above manually but I want to specify the tree it in the lr-mess module-script.
          Is this the correct way of using a specific tree ? (commit ?) :

          rp_module_repo="git https://github.com/libretro/mame.git master cd5f7d077cdab2eac09faf642ddd121d80f3ad1b"
          
          mituM 1 Reply Last reply Reply Quote 1
          • mituM
            mitu Global Moderator @Folly
            last edited by

            @Folly said in lr-mess will not compile / 17 may 2023:

            Is this the correct way of using a specific tree ? :

            Yes, it's correct, you specify the branch and the commit (tree ? what's that ?).

            FollyF 2 Replies Last reply Reply Quote 1
            • FollyF
              Folly @mitu
              last edited by

              @mitu

              Ok, good to know that it's correct, I will test.

              (tree ? what's that ?).

              Github specifies it as a "tree" in it's url so I guessed it was called like that.
              (mame/tree/cd5f7d077cdab2eac09faf642ddd121d80f3ad1b)
              Though, calling it commit will do, if we mean the same, no problem.

              1 Reply Last reply Reply Quote 0
              • FollyF Folly referenced this topic on
              • FollyF
                Folly @mitu
                last edited by

                @mitu

                Opened an issue :
                https://github.com/libretro/mame/issues/362

                mituM AshpoolA 2 Replies Last reply Reply Quote 1
                • mituM
                  mitu Global Moderator @Folly
                  last edited by

                  @Folly You should have waited - the issue may be with the build options set by the Retropie-Setup scriptmodule.

                  FollyF 2 Replies Last reply Reply Quote 0
                  • AshpoolA
                    Ashpool @Folly
                    last edited by

                    @Folly Seem to be fixed now ;) I just tried again in Ubu 22.04 (VM) and the compile went fine.

                    FollyF 1 Reply Last reply Reply Quote 1
                    • FollyF
                      Folly @mitu
                      last edited by

                      @mitu said in lr-mess will not compile / 17 may 2023:

                      @Folly You should have waited - the issue may be with the build options set by the Retropie-Setup scriptmodule.

                      Sorry, sometimes I am a bit too hasty, Will remember next time ;-)

                      1 Reply Last reply Reply Quote 0
                      • FollyF
                        Folly @Ashpool
                        last edited by

                        @Ashpool said in lr-mess will not compile / 17 may 2023:

                        @Folly Seem to be fixed now ;) I just tried again in Ubu 22.04 (VM) and the compile went fine.

                        Didn't have time to test it yet.
                        Nice to hear that the issue has been solved ;-)

                        1 Reply Last reply Reply Quote 0
                        • FollyF
                          Folly @mitu
                          last edited by Folly

                          @mitu

                          I renamed the topic name a bit to :
                          lr-mame/lr-mess source code changes and/or will not compile
                          Seems to be more suitable to what is happening to lr-mess/lr-mame these days.

                          I am doing some tests on the 0255 test branch now.
                          Latest news about that is that :

                          • for now compiling with SUBTARGET=arcade, SUBTARGET=mess is a thing of the past unless you request it again upstream or to select multiple source files or multiple directories for custom builds
                            (I have asked adding SUBTARGET=arcade, SUBTARGET=mess again but I doubt it will be honoured)
                          • some fixes aren't yet in the 0255 test branch, like these ones, but should be merged when the test branch merges into the master-branch.
                            (I have tried to add the Better max geometry fix to the 0255 test branch but for now it will not compile.

                          I think all in all something to be aware of and slowly discuss.

                          1 Reply Last reply Reply Quote 0
                          • mituM
                            mitu Global Moderator
                            last edited by

                            Thanks for the updates. When they'll show up in the main branch, we'll tackle them.

                            As a personal observation, I find it annoying and rude when users comment on a WIP PR/branch - especially to report 'issues' when things are still being tested and worked on.

                            FollyF 1 Reply Last reply Reply Quote 0
                            • FollyF
                              Folly @mitu
                              last edited by

                              @mitu said in lr-mame/lr-mess source code changes and/or will not compile:

                              Thanks for the updates. When they'll show up in the main branch, we'll tackle them.

                              Ok very reassuring.

                              As a personal observation, I find it annoying and rude when users comment on a WIP PR/branch - especially to report 'issues' when things are still being tested and worked on.

                              I get it.

                              H 1 Reply Last reply Reply Quote 0
                              • H
                                HoJo215 @Folly
                                last edited by HoJo215

                                Keep in mind lr-mame's last official 0.251 is the last one that plays cave's akai katana and dodonpachi saidojou.
                                These were supposed to be taking out a while back at 0.240 but lr-mame's update progress left them in.
                                Their officially removed in lr-mame 0.255 coming up.
                                So you might want to back up 0.251 and have it run
                                as a secondary option renamed mamearcade_cave_libretro.so

                                I took a look at the diff's and tried editing them back into 0.255's cv1k.cpp and mame.lst but no dice.
                                Might be a rendering thing with the newer blitter delay, but the above files are all I see changed.

                                FollyF H 3 Replies Last reply Reply Quote 1
                                • FollyF
                                  Folly @HoJo215
                                  last edited by Folly

                                  @HoJo215

                                  Thanks for the info.

                                  The hope the future of lr-mame/lr-mess will be bright but project seems to be under pressure.
                                  All we can do is wait and see what happens.

                                  Btw .
                                  Do you know why plays cave's akai katana and dodonpachi saidojou ?
                                  Seems very strange removing something that works.
                                  Though I have seen it before with a handheld driver.

                                  H 1 Reply Last reply Reply Quote 0
                                  • FollyF
                                    Folly @HoJo215
                                    last edited by

                                    @HoJo215

                                    Seems that today 0.255 test branch got many fixes where we were waiting for.
                                    It's probably time to test it again.

                                    1 Reply Last reply Reply Quote 0
                                    • H
                                      HoJo215 @HoJo215
                                      last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • H
                                        HoJo215 @Folly
                                        last edited by

                                        @Folly said in lr-mame/lr-mess source code changes and/or will not compile:

                                        @HoJo215

                                        Thanks for the info.

                                        The hope the future of lr-mame/lr-mess will be bright but project seems to be under pressure.
                                        All we can do is wait and see what happens.

                                        Btw .
                                        Do you know why plays cave's akai katana and dodonpachi saidojou ?
                                        Seems very strange removing something that works.
                                        Though I have seen it before with a handheld driver.

                                        It was a c&d from exarcadia who has a license from cave for these two games for they're arcade machine..

                                        1 Reply Last reply Reply Quote 1
                                        • FollyF
                                          Folly
                                          last edited by Folly

                                          Libretro mame master branch has been updated to 0255.
                                          Compiling for arcade and mess sub-targets has been implemented again.

                                          Hopefully everything will work like it did before.

                                          1 Reply Last reply Reply Quote 2
                                          • FollyF Folly referenced this topic on
                                          • 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.