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

    [RESOLVED]It's possible to put ES in somethigs like "second level" or minimize it in some way?

    Scheduled Pinned Locked Moved Help and Support
    es quitgeneral helpraspberry pi4
    27 Posts 3 Posters 2.2k 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.
    • dankcushionsD
      dankcushions Global Moderator
      last edited by

      @djdiabolik i am really not interested in forum drama, least of all forum drama in other forums...

      i'm not sure how we 'snubbed' it. no-one supplied a build script, or source code, so what are we supposed to be doing? mame's license requires the source code is released, so it's a requirement...

      DjDiabolikD 1 Reply Last reply Reply Quote 0
      • DjDiabolikD
        DjDiabolik @dankcushions
        last edited by DjDiabolik

        @dankcushions said in It's possible to put ES in somethigs like "second level" or minimize it in some way?:

        @djdiabolik i am really not interested in forum drama, least of all forum drama in other forums...

        i'm not sure how we 'snubbed' it. no-one supplied a build script, or source code, so what are we supposed to be doing? mame's license requires the source code is released, so it's a requirement...

        I can only agree with you.... even if I wasn't banned from that board now. Your source request is necessary.

        Anyway now I'm here.... I think I can speak, and we can speaks, freely about their emulator and his general usage here without anyone being offended.

        Now i'm going to bed and try to sleep :)
        Tomorrow i thinks i can post the feedback about @mitu request upper here....

        sorry for this little ot too..... and thanks again for the support received until now.....

        1 Reply Last reply Reply Quote 1
        • DjDiabolikD
          DjDiabolik
          last edited by DjDiabolik

          hi @mitu ....

          after having lunch and coffee :)

          I have turn my Pi4 for another day of test.....

          the first thing I did is to simplify the paths.... now the mame it's on /home/pi/mamesdl . now it's executive it's simply mame and his configuration file it's mame.ini.

          I have also modify the emulators.cfg to adapt to all new path...

          To be back on IT i have tryed to launch it's from my pc by ssh session.
          I have do this:

          pi@retropie:~/mamesdl $ ./mame -rc ./mame.ini trackfld
          error: duplicate gamename: trackfld
          error while parsing cmdline
          pi@retropie:~/mamesdl $
          

          as you can see the error is the same.... but it's interesting why... look here:

          pi@retropie:~/mamesdl $ ./mame -rc trackfld
          Number of available video drivers: 4
          Driver name: x11
          Driver name: KMSDRM
          Driver name: RPI
          Driver name: dummy
          
          Number of displays: 1
          SDL Video was initialized fine!
          Display "0" mode: 1
          
          SDL Image was initialized fine!
          
          SDL Audio was initialized fine!
          
          SDL Input was initialized fine!
          
          Loading rom files:
          Added joypad: PDP Xbox 360 Controller (Instance ID: 0)
          Connected joypad/s: 1
          Searching for...
          Artwork image path: artwork/trackfld.png
          Warning during artwork loading/creation: is artwork/trackfld.png present?
          
          Screen Width: 1920
          Screen Height: 1080
          Framebuffer Width: 1920
          Framebuffer Height: 1080
          
          

          if I don't recall the file mame.ini from command line apparently it's works.

          Need last test....... try to adapt the emulators.cfg and removing "-rc" option and see how append.

          EDIT
          I have restart ES.... and try to load TRACKFLD from ES.
          It's works... but i continue to not understand how it's created all .cfg files.
          It's very strange :)

          2nd EDIT
          Problably now it's works.... cfg folder it's be used as normal.... i need to do this on emulator.cfg:

          mamesdl = "cd /home/pi/mamesdl; ./mame %ROM%"
          default = "mamesdl"
          

          Now i need to check because on this exact games TRACKFLD or on clone&Parent like HYPERSPT there's no highscore saved on hi folder or nvram folder.
          it could also be a bug with this outdated version of mame itself :)

          FINAL problably EDIT
          IT'S WOOOOORRRRRKKSSS!!

          Now all it's works.... all console it's be successfull loggen on runcommand.log and all folder like cfg nvram and hi as be used correctly!

          I can MARK this thread as RESOLVED at least in the main aspect!!

          Thanks to all support my "NEW" friends!!

          Thanks again
          @mitu @dankcushions and all the other members (i see you...) who have come across this thread.

          and now we can say... Good M.AM.E. to all :)

          dankcushionsD 1 Reply Last reply Reply Quote 0
          • dankcushionsD
            dankcushions Global Moderator @DjDiabolik
            last edited by dankcushions

            @djdiabolik said in [RESOLVED]It's possible to put ES in somethigs like "second level" or minimize it in some way?:

            pi@retropie:~/mamesdl $ ./mame -rc ./mame.ini trackfld
            error: duplicate gamename: trackfld
            error while parsing cmdline
            pi@retropie:~/mamesdl $

            yeah this doesn't really make sense. -rc foo.ini creates a config file. a ./ is for an executable, so it shouldn't be in front of mame.ini. and if you're creating a config file, you shouldn't be launching a game. it's probably not understanding ./mame.ini and thinking that is a game, and giving the duplicate error on the real game.

            but also, mame.ini is the default, no? so you don't need to create it or specify it to load.

            this is how i would do it, but whatever works...
            mamesdl = "/home/pi/mamesdl %ROM%"

            DjDiabolikD 1 Reply Last reply Reply Quote 0
            • DjDiabolikD
              DjDiabolik @dankcushions
              last edited by DjDiabolik

              @dankcushions said in [RESOLVED]It's possible to put ES in somethigs like "second level" or minimize it in some way?:

              @djdiabolik said in [RESOLVED]It's possible to put ES in somethigs like "second level" or minimize it in some way?:

              pi@retropie:~/mamesdl $ ./mame -rc ./mame.ini trackfld
              error: duplicate gamename: trackfld
              error while parsing cmdline
              pi@retropie:~/mamesdl $

              yeah this doesn't really make sense. -rc foo.ini creates a config file. a ./ is for an executable, so it shouldn't be in front of mame.ini. and if you're creating a config file, you shouldn't be launching a game. it's probably not understanding ./mame.ini and thinking that is a game, and giving the duplicate error on the real game.

              but also, mame.ini is the default, no? so you don't need to create it or specify it to load.

              this is how i would do it, but whatever works...
              mamesdl = "/home/pi/mamesdl %ROM%"

              Wait... if i understand correctly the -rc it's stands for "readconfig" and in theory if you want to use a different config than the default one.
              However it is actually yes... when mame it's executed it is he who automatically loads the mame.ini in the same path.

              mmmm.... when you wrote:

              mamesdl = "/home/pi/mamesdl %ROM%"
              

              I thinks you speak about the line on emulators.cfg exactly ?

              if yes I can give it a try.... but it seems that if I don't use the changedirectory it's not use the correct folder for "cfg" "nvram" "hi" etc etc.
              objectively I do not explain why... mostly because the same folders don't seem to have been created elsewhere. and if they were created who knows where ?

              I could try to use the "find" of linux or somethings similar to understand if after all these tests I have created duplicate folders for mame config file.
              Unfortunately i'm not very good at using linux... I don't have the same knowledge that I have on the dos command prompt :)

              1st EDIT
              Google it's ever your best friends... i have tryed to do this:

              pi@retropie:~ $ find / -name "*trackfld*"
              /home/pi/RetroPie/roms/arcade/mame2003-plus/trackfld.zip
              /home/pi/RetroPie/roms/arcade/mame2003-plus/mame2003-plus/cfg/trackfld.cfg
              /home/pi/RetroPie/roms/arcade/mame2003-plus/mame2003-plus/nvram/trackfld.nv
              /home/pi/RetroPie/roms/mamesdl/trackfld.zip
              /home/pi/mamesdl/cfg/trackfld.cfg
              /home/pi/mamesdl/nvram/trackfld.nv
              ..
              ..
              ..
              ..
              /media/usb0/retropie-mount/roms/arcade/mame2003-plus/trackfld.zip
              /media/usb0/retropie-mount/roms/arcade/mame2003-plus/mame2003-plus/cfg/trackfld.cfg
              /media/usb0/retropie-mount/roms/arcade/mame2003-plus/mame2003-plus/nvram/trackfld.nv
              /media/usb0/retropie-mount/roms/mamesdl/trackfld.zip
              

              Apparently there's no double cfg folder created after all test maded...
              From "find" result i have cutted away all "permission denied".... there's so many present...

              dankcushionsD 1 Reply Last reply Reply Quote 0
              • dankcushionsD
                dankcushions Global Moderator @DjDiabolik
                last edited by

                @djdiabolik said in [RESOLVED]It's possible to put ES in somethigs like "second level" or minimize it in some way?:

                Wait... if i understand correctly the -rc it's stands for "readconfig" and in theory if you want to use a different config than the default one.
                However it is actually yes... when mame it's executed it is he who automatically loads the mame.ini in the same path.

                it's all documented here: https://docs.mamedev.org/commandline/commandline-all.html

                i don't even think readconfig takes an argument. but anyway, you don't need to use it because you know where mame.ini is stored.

                DjDiabolikD 1 Reply Last reply Reply Quote 0
                • DjDiabolikD
                  DjDiabolik @dankcushions
                  last edited by

                  @dankcushions said in [RESOLVED]It's possible to put ES in somethigs like "second level" or minimize it in some way?:

                  @djdiabolik said in [RESOLVED]It's possible to put ES in somethigs like "second level" or minimize it in some way?:

                  Wait... if i understand correctly the -rc it's stands for "readconfig" and in theory if you want to use a different config than the default one.
                  However it is actually yes... when mame it's executed it is he who automatically loads the mame.ini in the same path.

                  it's all documented here: https://docs.mamedev.org/commandline/commandline-all.html

                  i don't even think readconfig takes an argument. but anyway, you don't need to use it because you know where mame.ini is stored.

                  it's just the same as I read :)
                  I guess you're right... exactly here:
                  https://docs.mamedev.org/commandline/commandline-all.html#configuration-options

                  I guess the only thing you can do is disable or enable reading of .ini files....

                  I re-read the documentation better.... I had probably read and translated badly English-> Italian :)

                  1 Reply Last reply Reply Quote 0
                  • 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.