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

      i try to explain how i need to obtain...
      On my currently retropie setup i have installed/setup an unofficial porting of mame (based on version 0.61+SDL) .....

      All apparently it's correctly setted but when try to play a games i obtain some trouble on general emulation speed.
      Little OT:
      I tried to explain and resolve the situation in their forum by getting a nice ban from the forum...
      for them the problem does not exist.

      This porting repot to user the information regarding the emulation itself.... in the specific when you exit from screen it's report the FPs obtained from the emulation itself.

      The problem is when I quit from emulation ES brick back on my TV and i can't read what's written on the console behind it :)

      I have also tryed to exit from ES after i quit from emulation but it's not a solution because this cause another new session of console and not the one in which I have to read the information reported.

      I don't know if i have explain the situation........

      EDIT
      Forget it.... found a stupid solution my self over internet by google :)
      Simply need to do:

      • Play the games
      • Quit the games.
      • When ES brings back not using the QUIT option from start menĂ¹ but simply i need to press F4 from my keyboard and console popup on tv.
        Now i can read all information i want.....

      Maybe even I also find that I can scroll up the text to read most old information...

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

        @djdiabolik anything that is sent to the console during runtime will be in /dev/shm/runcommand.log - have a look in there after you exit the emulator (note that it is cleared on reboot)

        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 anything that is sent to the console during runtime will be in /dev/shm/runcommand.log - have a look in there after you exit the emulator (note that it is cleared on reboot)

          OHHH YES... it's the best ways. Thanks.. in this mode i can test so many games and after that verify all information i need to verify.

          EDIT
          Wait a moment.. little trouble.
          I have tryed to access to this file from my PC by a client SFTP and i can't access it.
          Apparently on /dev/shm folder it's empty..... i have also tryed to open this files from nano by SSH:

          pi@retropie:~ $ sudo nano /dev/shm/runcommand.log
          pi@retropie:~ $
          

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

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