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.
    • DjDiabolikD
      DjDiabolik @mitu
      last edited by DjDiabolik

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

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

      With the changes made all the previously created cfg files seem to be ignored....

      Check if a cfg folder has been created under the ROM folder (mamesdl). You probably need to move your existing cfg there.

      I have tryed and apparently no..... but i have found a workaround.

      I have add this:

      mamesdl = "/home/pi/MAME_0.61+_SDL/mame_rpi4 -rompath /home/pi/RetroPie/roms/mamesdl -cfg_directory /home/pi/MAME_0.61+_SDL/cfg %ROM%"
      default = "mamesdl"
      

      Founded this on mamedev official command line guide :)
      Now the cfg folder it's correctly used and an already existing file it's correctly loaded.
      Now i don't know if other files like highscores (hi folder) work :)

      Try to see what's append if i load another games... one of i don't have already configured and created the .cfg file.

      Ah wait a moment... i can also add that all information it's be stored on runcommand.log correcty on /dev/shm and not in the main console.

      EDIT
      OOOOHHH YEAH... it's works!!
      I have loaded another games... when i exit from it his .cfg files it's correctly stored on PATH desired and configured.
      for other files such as highscore or similar I don't know....

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

        @dankcushions and @mitu

        mmmmmm.... so friends I'm doing different tests so try to add as better this mame port.

        I have some little issue for saving and reading/loading all .cfg of all roms and also the .nv it's not correctly loaded or saved on nvram folder.

        After these tests, an illumination came to me:
        why don't I try to run mame using its general .ini file?

        to do this i ran this:

        pi@retropie:~/MAME_0.61+_SDL $ ./mame_rpi4 -createconfig
        pi@retropie:~/MAME_0.61+_SDL $ ls
        artwork  cfg  hi  mame_rpi4  mame_rpi4.ini  memcard  nvram  roms  samples  snap  sta
        

        i can see that its .ini file has been created.... after that i thinks i can run it using the "-rc" option at command launch.
        At this point i need only to do other some test.... try to found the best solution for use the correct path for all readed from this .ini files.

        You thinks it's a good idea ?

        I ask you a question... do you want to take a look at the official forum where this port was created and released ?
        Little advise.. it's an italian forum and all description also how i need to install it's in italian.

        PS
        Sorry for double and consecutive reply by me.
        But probably if i edit my previous and i cited both you don't received correctly the notification about this totally new reply :)

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

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

          You thinks it's a good idea ?

          Not particularly. Why are you trying to run an this MAME version ? Does it offer anything special apart from the ones that RetroPie includes (and supports better) ?

          I ask you a question... do you want to take a look at the official forum where this port was created and released ?

          No.

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

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

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

            You thinks it's a good idea ?

            Not particularly. Why are you trying to run an this MAME version ? Does it offer anything special apart from the ones that RetroPie includes (and supports better) ?

            I ask you a question... do you want to take a look at the official forum where this port was created and released ?

            No.

            In their forum the developer claim that this version is to be taken into consideration because they say they have some features and some modifications in the core itself which make mame emulation better than currently available and most popular cores.
            and I was trying it... i have report on thread some my consideration... I have been reprized for OT discussions several times..... then they banned me directly by telling me that I did not respect the rules of the forum itself.

            In any case i have tryed this solution:
            emulators.cfg inside /opt/retropie/configs/mamesdl/

            mamesdl = "/home/pi/MAME_0.61+_SDL/mame_rpi4 -rc /home/pi/MAME_0.61+_SDL/mame_rpi4.ini %ROM%"
            default = "mamesdl"
            

            On mame_rp4.ini i have put this:

            rompath                 /home/pi/RetroPie/roms/mamesdl
            samplepath              samples
            inipath                 .;ini
            cfg_directory           /home/pi/MAME_0.61+_SDL/cfg
            

            I have restart ES on my setup and try to load, my recent referent roms.... it's not works.
            On runcommand.log now it's correctly logged the error... it's say:

            Parameters: 
            Executing: /home/pi/MAME_0.61+_SDL/mame_rpi4 -rc /home/pi/MAME_0.61+_SDL/mame_rpi4.ini "/home/pi/RetroPie/roms/mamesdl/trackfld.zip"
            error: duplicate gamename: /home/pi/RetroPie/roms/mamesdl/trackfld.zip
            error while parsing cmdline
            

            I can't understand why he tells me "duplicate gamename".... lol :)

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

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

              Executing: /home/pi/MAME_0.61+_SDL/mame_rpi4 -rc /home/pi/MAME_0.61+_SDL/mame_rpi4.ini "/home/pi/RetroPie/roms/mamesdl/trackfld.zip"

              The error doesn't sound familiar, but try running (manually):

              home/pi/MAME_0.61+_SDL/mame_rpi4 -rc /home/pi/MAME_0.61+_SDL/mame_rpi4.ini trackfld
              

              and see if you get the same error/behavior.

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

                i presume this is the same emulator as mentioned here: https://retropie.org.uk/forum/topic/26678/m-a-m-e-0-61-sdl-dev-beta3-3

                it sounded interesting for sure, but with no source and the sdl caveats, not really viable in retropie as a module.

                i suspect our old version of SDL might be the cause of performance issues, also. with current sdl some have reported that current mame is viable, so there might be some issue with rendering performance on pi4 with 2.0.10

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

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

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

                  Executing: /home/pi/MAME_0.61+_SDL/mame_rpi4 -rc /home/pi/MAME_0.61+_SDL/mame_rpi4.ini "/home/pi/RetroPie/roms/mamesdl/trackfld.zip"

                  The error doesn't sound familiar, but try running (manually):

                  home/pi/MAME_0.61+_SDL/mame_rpi4 -rc /home/pi/MAME_0.61+_SDL/mame_rpi4.ini trackfld
                  

                  and see if you get the same error/behavior.

                  I can made other test it tomorrow.... i report here any other feedback and requests if necessary.

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

                  i presume this is the same emulator as mentioned here: https://retropie.org.uk/forum/topic/26678/m-a-m-e-0-61-sdl-dev-beta3-3

                  it sounded interesting for sure, but with no source and the sdl caveats, not really viable in retropie as a module.

                  i suspect our old version of SDL might be the cause of performance issues, also. with current sdl some have reported that current mame is viable.

                  It's exact.... you can look on their thread now it's avaiable the first 1.0 and apparently there's no anymore is no longer in BETA.
                  But what we are doing here is perhaps not welcome there.... any strange request you make (and in particular i made) are silent they mark it as OT and problably as they did with me they ban anyone.

                  Little OT:
                  it is also possible that someone from the team of moderators or the administrator of that forum himself it's present and regged on this forum and noticed this thread.
                  Let them know that I am doing here what they banned me for....
                  I have always shown my respect for the work done for made this porting..... no one can deny this.

                  EDIT
                  I'm stay to correct some grammatical errors made by Google Translator.....when you formulate complex sentences it can wreak havoc and create misunderstanding.

                  EDIT 2nd
                  Anyway... somewhere in their thread we talk about this thing (about add this porting as module like other lr cores already present i think).
                  They say this porting has been proposed to your development team... I don't know how it ended.

                  EDIT 3rd
                  Founded what happened and how it's end... they say you snubbed his job. No reference regarding your request about possibility to take a look at source code.

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