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 1.8k 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 @DjDiabolik
      last edited by

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

      Strange this file it's completely empty......and from ssh session i obtain a complete black page on my pc monitor :)

      The file exists only after you've launched a game/emulator. Also, don't use sudo for basic operations.

      DjDiabolikD 1 Reply Last reply Reply Quote 0
      • 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?:

        Strange this file it's completely empty......and from ssh session i obtain a complete black page on my pc monitor :)

        The file exists only after you've launched a game/emulator. Also, don't use sudo for basic operations.

        Ok.
        I thought I should use "sudo" for access a file on system path.

        anyway I'm trying .... also when on my TV it's be in execution a games from my PC using SSH i look and this path it's completely empty.
        Possibly strange situation... look here:

        pi@retropie:~ $ cd /dev/shm
        pi@retropie:/dev/shm $ ls
        pi@retropie:/dev/shm $
        

        How it's possible ?

        EDIT
        Maybe i have understand because there's append.
        I'm stay to use an emulator added after i have edit the es_systems.cfg.
        Perhaps the log is created elsewhere ?

        Infact to add this new porting of mame i have to add this on this file:

        <system>
          <name>mamesdl</name>
          <fullname>MAME 0.61+ SDL</fullname>
          <path>/home/pi/RetroPie/roms/mamesdl</path>
          <extension>.zip .ZIP</extension>
          <command>cd /home/pi/MAME_0.61+_SDL; ./mame_rpi4 -rompath /home/pi/RetroPie/roms/mamesdl %ROM%</command>
          <platform>mamesdl</platform>
          <theme>mame</theme>
        </system
        
        dankcushionsD 1 Reply Last reply Reply Quote 0
        • dankcushionsD
          dankcushions Global Moderator @DjDiabolik
          last edited by

          @djdiabolik i'm not quite sure exactly what you're doing. how are you launching this MAME? via emulationstation? what is the launch command within your gamelist.xml? if it's not via runcommand.sh, retropie is not involved.

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

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

            @djdiabolik i'm not quite sure exactly what you're doing. how are you launching this MAME? via emulationstation? what is the launch command within your gamelist.xml? if it's not via runcommand.sh, retropie is not involved.

            Lol problably i have already answered this question on my previous reply by editing it.
            before they banned me in their forum they told me that this port of the mame there's no contain a personal gamelist.xml infact on list of games i can read only the name of all .zip files.
            According to them this is how it should be.

            I have to say.. i'm stay using google translator here and all may reply can contain grammatical errors or similar :)

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

              @djdiabolik to launch custom systems you want to read https://retropie.org.uk/docs/Add-a-New-System-in-EmulationStation

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

                for your example i think it should be

                <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ mamesdl %ROM%</command>
                

                and then create the file /opt/retropie/configs/mamesdl/emulators.cfg with contents:

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

                (or something like that)

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

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

                  @djdiabolik to launch custom systems you want to read https://retropie.org.uk/docs/Add-a-New-System-in-EmulationStation

                  Interesting........ i have to try to look in a minute.

                  If i have some quetstion i can ask to obtain support ?

                  Anyway i just to confirm...... i have try to use the same games (using the same roms zip file) whit currently lr-mame2003plus and yes now the runcommand.log it's been present :)
                  If it is possible i try to modify myself the command then for this additional system....

                  talking about such arguments in their forum is TABU'......

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

                    @djdiabolik sure, ask away :) does my example work?

                    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 sure, ask away :) does my example work?

                      Oh.. i only now i have read the above suggestion....

                      Try immediatelly... wait a feedback in a moment.

                      EDIT
                      Now... problably i have do all modification needed.
                      I have add this on es_system.cfg:

                        <system>
                          <name>mamesdl</name>
                          <fullname>MAME 0.61+ SDL</fullname>
                          <path>/home/pi/RetroPie/roms/mamesdl</path>
                          <extension>.zip .ZIP</extension>
                          <!-- <command>cd /home/pi/MAME_0.61+_SDL; ./mame_rpi4 -rompath /home/pi/RetroPie/roms/mamesdl %ROM%</command> -->
                      	<command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ mamesdl %ROM%</command>
                          <platform>mamesdl</platform>
                          <theme>mame</theme>
                        </system>
                      

                      Look.. i have commented out the original command line suggested on their forum.

                      I have also created the newest emulator.cfg how you suggest.

                      Restart ES... and try to load a games.... in this case DDRAGON (It's Double Dragon (Japan) on lr-mame2003plus. Here the name of the .zip file is shown because the emulator does not have the gamelist.txt as we said above.

                      Apparently the games start and i can play but there's a little trouble........ there's not use the default config file of mame.
                      They should be saved on:

                      /home/pi/MAME_0.61+_SDL/cfg/
                      

                      With the changes made all the previously created cfg files seem to be ignored....
                      perhaps new ones have been created elsewhere?
                      Lol... How do I find out ?

                      @dankcushions

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

                        @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.

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