• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login

Creating ES gamelists with media for MAME/lr-mame/lr-mess

Scheduled Pinned Locked Moved Projects and Themes
emulationstaionmamelr-messgamelistsgamelist.xml
201 Posts 9 Posters 61.6k 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.
  • F
    Folly @jamrom2
    last edited by Folly 1 Mar 2022, 08:52

    @jamrom2

    I see the problem here for you.
    Converting it all manually is a ton of work.
    Though gamelists, in general, can be patched on the fly to get the locations we use.
    So I understand if you don't want to do all this hard work.
    Though, I ask you to reconsider.
    In this forum we are trying to help each other and share information so we can do things in an easier way.

    Earlier we choose our directory structure so :

    • we can backup the gamelists together with our roms
    • gamelists + media could be shared
    • original gamelists are not overwritten

    The problem is that scrapers don't work perfectly.
    What we are trying to do here is make gamelists that will match the mame driver data and/or the mame solftlist hash tables and add more if we want to.

    So the work is done 1 time and then can be shared/downloaded within our script.
    So when everyone is making a gamelist with media the workload is shared and it will be easier in the long run focusing later on improving stuff rather then building it up again and again.

    To give you an idea of how I did it for videopac.
    I have made a script that will extract data from a desired mame hash table and converts it into a csv.
    Then I convert it back to a gamelist.xml.

    Only thing I have to do is add info that wasn't in the hash table.
    I used the internet and the scraper to get some cover images.
    The movies can be made simply by running the mame command for every rom in the directory, one by one, and add the -aviwrite ./<filename> option, saving it it in the same folder as the rom, like this :

    for game in *.zip;do [[ ! -f /home/pi/RetroPie/roms/videopac/media/emulationstation/$(basename $game .zip).mp4 ]] && /opt/retropie/emulators/mame/mame -cfg_directory /opt/retropie/configs/odyssey2/mame -rompath /home/pi/RetroPie/BIOS/mame\;/home/pi/RetroPie/roms/odyssey2 -aviwrite ./$(basename $game .zip).avi -v -c -ui_active videopac $(basename $game .zip);done
    

    Then we can convert all the movies to mp4 and cut out the first 3 seconds like this :

    for game in *.avi;do ffmpeg -ss 00:00:03 -i $game -pix_fmt yuv420p -crf 30 -vcodec libx264 -acodec aac $(basename $game .png).mp4;done
    

    I hope you see the bigger picture here.

    J 1 Reply Last reply 1 Mar 2022, 12:47 Reply Quote 0
    • F
      Folly @jamrom2
      last edited by Folly 3 Jan 2022, 08:54 1 Mar 2022, 08:52

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • J
        jamrom2 @Folly
        last edited by jamrom2 3 Jan 2022, 12:49 1 Mar 2022, 12:47

        @folly I'm happy to post them here, maybe to be converted into whatever they can be used for. I took the time to research each game from several sites as to assure I had Meta data for each. I'd hate to see all of that time go to waste.

        I'm definitely not saying no to offering what I have, it's just I gave up on the scrapers finding all of these titles, so when I did that, I used my own method that worked for my rig... unfortunately, it didn't help this situation.

        Here is an example of the Ti99_4a game Bigfoot using the bigfoot.rpk rom.

        <game>
        	<path>./bigfoot.rpk</path>
        	<name>Bigfoot</name>
        	<desc>In Bigfoot, your ultimate goal is to scale a mountain and capture the eponymous creature, who stands at the summit. Along the way, you collect food and gold. However, in order to collect one bundle of gold (yellow piles), you must first collect one bundle of food (green boxes). Using the fire button, you throw ropes which are used for climbing up the platforms. Once thrown, you can scale up and down the ropes. Bigfoot hurls boulders at you as you go. If your rope is near the edge of a platform instead of near the middle, you run the risk of being smashed by a boulder as you climb up the rope, so throwing the rope near the center of a platform is safest. During later levels, birds will come along and snag the ropes - fatal if you happen to be on a snagged rope at the time.</desc>
        	<image>~/.emulationstation/downloaded_images/ti99_4a/bigfoot-image.jpg</image>
        	<releasedate>19830101T000000</releasedate>
        	<developer>Milton Bradley</developer>
        	<publisher>Texas Instruments</publisher>
        	<genre>Action</genre>
        </game>
        

        I don't use videos as many of these older systems don't have any, so there is no listing for them...and I didn't want them in my build anyway. That would need to be added along with any other extra display pieces aside from what I have listed for "image".

        F 1 Reply Last reply 1 Mar 2022, 13:24 Reply Quote 1
        • F
          Folly @jamrom2
          last edited by 1 Mar 2022, 13:24

          @jamrom2

          Do you have a github account ?

          Then you can fork my "media repository" and add your files to that.
          Just keep your gamelist.xml the same and add the ti99_4a directory to your fork just like my videopac directory and place the pictures in ti99_4a/media/emulationstation.

          I can then look at the files and convert the gamelist.xml to the correct locations.

          If you have more that 100 files then can't add them all at once, then you have to add them in 2 or 3 steps.

          J 1 Reply Last reply 1 Mar 2022, 23:28 Reply Quote 0
          • J
            jamrom2 @Folly
            last edited by 1 Mar 2022, 23:28

            @folly I don't. I'm not as tech savy as that... lol.

            I'm better off emailing you each set one at a time if you want to do that instead.

            F 1 Reply Last reply 2 Mar 2022, 08:41 Reply Quote 0
            • F
              Folly @jamrom2
              last edited by 2 Mar 2022, 08:41

              @jamrom2

              That would be ok, but email has probably a limit in how big the attachment can be.
              Probably about 50Mb.
              So if you stay below that limit we are probably ok.

              On the other hand I searched for a reasonably good website that we can use to share these files.
              It looks like this website is a good alternative :
              https://ufile.io/
              Just zip your files to 1 file and share the link.
              I did a test with videopac gamelis+media files :
              https://ufile.io/tutqgnwc

              J 1 Reply Last reply 2 Mar 2022, 12:50 Reply Quote 0
              • J
                jamrom2 @Folly
                last edited by 2 Mar 2022, 12:50

                @folly Ok. All done.

                https://ufile.io/f/9qjlu

                Dragon64
                Ti99_4a
                classich (Classic Handhelds)
                Coco2
                Coco3

                Are all uploaded. Bare in mind that many of the graphics I made I took from all kinds of sources like eBay, MobyGames, Launchbox, RetroGamer... etc... on and on. And some I actually made myself using parts of images I had to cobble together as there were no complete box/manual/screen images available.

                It was a ton of work and does not cover ALL games of ALL systems...just many that I hand picked based on "top 100" lists for each system.

                I hope they come in handy for you and others!

                F 1 Reply Last reply 2 Mar 2022, 16:59 Reply Quote 1
                • F
                  Folly @jamrom2
                  last edited by 2 Mar 2022, 16:59

                  @jamrom2

                  Link is working good !

                  Already seen some nice picture :-)

                  Will have better look later on.

                  1 Reply Last reply Reply Quote 0
                  • F Folly referenced this topic on 4 Mar 2022, 20:23
                  • F
                    Folly @DTEAM
                    last edited by 26 Apr 2022, 19:35

                    @DTEAM

                    Shall we also make some gamelists for megaplay and playchoice10 ?

                    D 1 Reply Last reply 26 Apr 2022, 19:39 Reply Quote 0
                    • D
                      DTEAM @Folly
                      last edited by 26 Apr 2022, 19:39

                      It's already covered by site like Screenscraper and others with MAME system

                      F 1 Reply Last reply 26 Apr 2022, 19:40 Reply Quote 0
                      • F
                        Folly @DTEAM
                        last edited by Folly 26 Apr 2022, 19:40

                        @DTEAM

                        Off-course, I will try ;-)

                        Edit :
                        Well I tried in emulationstation, but it only works if I have the files in the arcade folder.
                        Screenscraper doesn't add a picture to it.
                        The gamesDB doesn't recognise correctly.

                        Scraping isn't really a nice solution, if you ask me.

                        D duglorD 2 Replies Last reply 26 Apr 2022, 20:42 Reply Quote 0
                        • D
                          DTEAM @Folly
                          last edited by 26 Apr 2022, 20:42

                          @Folly said in Creating ES gamelists with media for MAME/lr-mess:

                          Screenscraper doesn't add a picture to it.

                          It works with screenscraper. You have to add a system and customize the rom path in SKRAPER

                          duglorD 1 Reply Last reply 23 Oct 2022, 12:59 Reply Quote 0
                          • F Folly referenced this topic on 22 Oct 2022, 15:21
                          • duglorD
                            duglor @DTEAM
                            last edited by 23 Oct 2022, 12:59

                            @DTEAM @Folly and how do you do this? what do you actually type? etc?

                            F 1 Reply Last reply 23 Oct 2022, 18:18 Reply Quote 0
                            • duglorD
                              duglor @Folly
                              last edited by 23 Oct 2022, 13:02

                              @Folly @DTEAM @testudo Does the Mess-Archimedes work now with .adf (not the amiga type) files such as Hamsters? I have not been able to find a bios file or files that have made it run. :(

                              testudoT 1 Reply Last reply 24 Oct 2022, 01:58 Reply Quote 0
                              • F
                                Folly @duglor
                                last edited by 23 Oct 2022, 18:18

                                @duglor said in Creating ES gamelists with media for MAME/lr-mess:

                                @DTEAM @Folly and how do you do this? what do you actually type? etc?

                                These are examples on how to create gamelists.xml's manually together with media we put them in the ~/RetroPie/roms/<your_system> folder.
                                These above gamelists overrule the standard gamelists, that are created when scraping and saved in the /opt/retropie/configs/all/emulationstation/gamelists/<your_system> folder .

                                Just use a text editor to edit a gamelist.xml.

                                1 Reply Last reply Reply Quote 0
                                • testudoT
                                  testudo @duglor
                                  last edited by testudo 24 Oct 2022, 01:58

                                  @duglor said in Creating ES gamelists with media for MAME/lr-mess:

                                  @Folly @DTEAM @testudo Does the Mess-Archimedes work now with .adf (not the amiga type) files such as Hamsters? I have not been able to find a bios file or files that have made it run. :(

                                  @duglor
                                  All of my Archimedes roms are in .adf format. I can run Hamsters .adf file under the mame-aa440-bios_310-4Mb-flop emulator option.

                                  duglorD 2 Replies Last reply 24 Oct 2022, 04:20 Reply Quote 1
                                  • duglorD
                                    duglor @testudo
                                    last edited by 24 Oct 2022, 04:20

                                    @testudo said in Creating ES gamelists with media for MAME/lr-mess:

                                    mame-aa440-bios_310-4Mb-flop emulator optio
                                    @folly

                                    Ok. and How do you run the emulator using that option? Is that something you create yourself like a batch file? Is it something you type into the screen before you click on the little disk icon? Is it something that you choose in retroarch? I think once i can run the emulator with that option, i'll be fine. Right now i can click on the disks but only 2 games have worked so far :) the others bring up i/o files and errors and such. Be well all!

                                    F 1 Reply Last reply 24 Oct 2022, 07:10 Reply Quote 0
                                    • F
                                      Folly @duglor
                                      last edited by Folly 24 Oct 2022, 07:10

                                      @duglor

                                      No problem discussing a bit of topic but we reserved this thread for discussing "Creating gamelists" only.

                                      If you make use of the "add-system-mamedev.sh" 3rd party module-script then you can discuss elsewhere,
                                      over how to install the system archimedes and how to run games for a paricular system :
                                      https://retropie.org.uk/forum/topic/29682/development-of-module-script-generator-for-lr-mess-lr-mame-and-mame-standalone

                                      1 Reply Last reply Reply Quote 0
                                      • duglorD
                                        duglor @testudo
                                        last edited by 25 Oct 2022, 21:40

                                        @testudo Btw, is that the demo or full version of Hamsters? I think the demo is 800 kb and the full version is 1600 kb.

                                        -Doug

                                        I have the demo working fine. Full version is not happy.

                                        Great job on the emulator!!

                                        duglorD testudoT 2 Replies Last reply 6 Nov 2022, 04:07 Reply Quote 0
                                        • duglorD
                                          duglor @duglor
                                          last edited by duglor 11 Jun 2022, 04:08 6 Nov 2022, 04:07

                                          Anyone create an ES gamelist with box covers or screenshots for the Acorn Archimedes that can be imported into one's archimedes directory?

                                          kiroK testudoT 2 Replies Last reply 6 Nov 2022, 10:07 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.

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