• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.
  • M
    mitu Global Moderator @DjDiabolik
    last edited by 8 Mar 2021, 20:18

    @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
    • D
      dankcushions Global Moderator
      last edited by dankcushions 3 Sept 2021, 01:30 8 Mar 2021, 22:23

      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
      • D
        DjDiabolik
        last edited by DjDiabolik 3 Sept 2021, 02:12 9 Mar 2021, 01:19

        @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
        • D
          dankcushions Global Moderator
          last edited by 9 Mar 2021, 02:21

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

          D 1 Reply Last reply 9 Mar 2021, 02:36 Reply Quote 0
          • D
            DjDiabolik @dankcushions
            last edited by DjDiabolik 3 Sept 2021, 02:39 9 Mar 2021, 02:36

            @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
            • D
              DjDiabolik
              last edited by DjDiabolik 3 Sept 2021, 13:10 9 Mar 2021, 12:26

              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 :)

              D 1 Reply Last reply 9 Mar 2021, 13:36 Reply Quote 0
              • D
                dankcushions Global Moderator @DjDiabolik
                last edited by dankcushions 3 Sept 2021, 13:37 9 Mar 2021, 13:36

                @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%"

                D 1 Reply Last reply 9 Mar 2021, 13:58 Reply Quote 0
                • D
                  DjDiabolik @dankcushions
                  last edited by DjDiabolik 3 Sept 2021, 14:06 9 Mar 2021, 13:58

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

                  D 1 Reply Last reply 9 Mar 2021, 14:37 Reply Quote 0
                  • D
                    dankcushions Global Moderator @DjDiabolik
                    last edited by 9 Mar 2021, 14:37

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

                    D 1 Reply Last reply 9 Mar 2021, 15:17 Reply Quote 0
                    • D
                      DjDiabolik @dankcushions
                      last edited by 9 Mar 2021, 15:17

                      @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
                      27 out of 27
                      • First post
                        27/27
                        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.

                        This community forum collects and processes your personal information.
                        consent.not_received