Author Topic: "generate Collection/Rom List" takes VERY long  (Read 11961 times)

na1337

  • Newbie
  • *
  • Posts: 6
    • View Profile
"generate Collection/Rom List" takes VERY long
« on: July 26, 2016, 02:18:23 PM »
Hi everybody,
I'm using my Rasperry Pi 3 with Attract Mode and everything is coming together nicely. Thanks for the tutorials and help here on the forum that I've been silently reading.
One question: I copied for testing purposes 40 Atari2600 roms to my Attract Mode. If I go to "generate Collection/Rom List" it takes about 2 mins. Is that normal? I'm scared if I have like 2000 MAME roms that it takes two days ....?!
Is that normal? Am I missing something?

Thanks for your help!!

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: "generate Collection/Rom List" takes VERY long
« Reply #1 on: July 27, 2016, 11:53:31 AM »
I have found that the speed depends on thegamedb.net website. Sometimes it's fast and sometimes it's slow but this issue is also true with other frontends that use thegamesdb.net such as EmulationStation. Also, MAME games don't use thegamedb.net they use local files like mame.xml and controls.ini so the list generation should be very fast if you have it setup properly.

na1337

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: "generate Collection/Rom List" takes VERY long
« Reply #2 on: August 07, 2016, 03:47:24 AM »
thanks, I just dared to compile the mame list, everything went pretty fast.
No idea why, but Atari 2600 takes ages.  ???

Leecher

  • Full Member
  • ***
  • Posts: 56
    • View Profile
Re: "generate Collection/Rom List" takes VERY long
« Reply #3 on: July 25, 2021, 12:07:01 AM »
I'm gonna revive this just to comment.

I also too think that "generate Collection/Rom List" for masterlists are too slow. It should just combined all of the already generated game list of the selected emulators. It doesn't need to go to thegamedb.net all over again.
« Last Edit: July 25, 2021, 01:45:39 AM by Leecher »

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: "generate Collection/Rom List" takes VERY long
« Reply #4 on: July 25, 2021, 12:19:55 AM »
I haven't tested but it should use your already scraped artwork so there is no need to "scrape" from anywhere. It's going to use the info and art from the other emulators anyways.

Turn off the auto scrape of all the artwork before you generate these lists. I think your (also default) config scrapes for any games it adds. By turning this off it should quickly build the list and not scrape for anything and use the artwork you already have for each emulator.

You can turn the auto scrape back on once you're done, if you want.
« Last Edit: July 25, 2021, 12:23:37 AM by progets »

Leecher

  • Full Member
  • ***
  • Posts: 56
    • View Profile
Re: "generate Collection/Rom List" takes VERY long
« Reply #5 on: July 25, 2021, 01:44:45 AM »
@progets
I'm actually talking about the "generate Collection/Rom List" of my masterlist. I didn't realize that "generate Collection/Rom List" is also the title for generating the game list per emulator. I hope that didn't confuse you.

Where is this "auto scrape" option? I can't seem to find it.

Also, I don't think  "generate Collection/Rom List" for my masterlist is scraping images. I think it's just getting the games' info from thegamesdb.net instead of just copying from the emulators generated list.
« Last Edit: July 25, 2021, 01:46:55 AM by Leecher »

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: "generate Collection/Rom List" takes VERY long
« Reply #6 on: July 25, 2021, 02:38:41 AM »
If you're talking about a "masterlist" in some image you got somewhere I can't help you because I don't know what you're using. I am the the author of the masterlist on this forum which can be seen here http://forum.attractmode.org/index.php?topic=1165.msg8455#msg8455

The settings I'm talking about are in attract-mode under Configuration-->Scrape

Anytime you create a romlist with the settings under Configuration-->Scrape are "on/yes" it will scrape whether or not you have the metadata or artwork already.

Try it and see if it works.
« Last Edit: July 25, 2021, 02:41:11 AM by progets »

Leecher

  • Full Member
  • ***
  • Posts: 56
    • View Profile
Re: "generate Collection/Rom List" takes VERY long
« Reply #7 on: July 25, 2021, 05:39:31 PM »
@progets
I'm talking about the masterlist that comes with 2.6.1 I'm not using any separate plug-ins. I'm assuming that it's getting the info again because of the time it takes to create the master list.

Also, I don't have "Configuration-->Scrape-->(auto-scrape or re-scrape)". I have "Configure-->Scraper-->(see attached pic)"

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: "generate Collection/Rom List" takes VERY long
« Reply #8 on: July 25, 2021, 08:37:24 PM »
Your image shows that you have some scraper setting turned on. "Yes" = on, "No" = off. With these set to "Yes" attract-mode will scrape when you generate romlists.

I'm suggesting that you try turning those off before creating a collection list and see if helps.

zpaolo11x

  • Hero Member
  • *****
  • Posts: 1233
    • View Profile
    • My deviantart page
Re: "generate Collection/Rom List" takes VERY long
« Reply #9 on: July 25, 2021, 11:26:10 PM »
As far as I remember, when you create a "romlist of romlists" metadata is not transferred from the original romlists, so some form of scraping for metadata is still needed. I'll check better later.
The main problem with such kind of romlists is that the collection is not bounded to the original lists, so no favorites or tags are transferred back and forth between the two

Leecher

  • Full Member
  • ***
  • Posts: 56
    • View Profile
Re: "generate Collection/Rom List" takes VERY long
« Reply #10 on: July 25, 2021, 11:59:32 PM »
@progets
Disabled the image scraper. And it's still slow... Turn it back on again because I need the images. Just like zpaolo11x said, there's "some form of scraping for metadata is still needed".

It should just copy the details from the already generated romlists, it doesn't have to scrape meta data all over again when creating a "romlist of romlists"


progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: "generate Collection/Rom List" takes VERY long
« Reply #11 on: July 26, 2021, 12:42:16 AM »
I haven't tested but I pretty certain that all of the data is pulled from the emulator.cfg files when using a combined list. When I did the masterlist list linked above, I don't think I needed duplicate artwork. Also, for a combined romlist to work it would need the correct command line variables that are only located in each emulator.cfg.

Scraping is the only thing I can think of that would take a long time. Maybe you can temporarily remove the info_source fields from the emulator.cfg files you're combining. This would give it nowhere to scrape.

You jumped on an already existing thread and haven't told us what you're trying to accomplish. You might be better off just using the command line to combine your lists which takes no time all.

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: "generate Collection/Rom List" takes VERY long
« Reply #12 on: July 26, 2021, 12:59:31 AM »
The main problem with such kind of romlists is that the collection is not bounded to the original lists, so no favorites or tags are transferred back and forth between the two

This is true which I say in the above linked thread. The key here is to use just the mater romlist and create all favorites and tags and then use filters for everything else. This overcomes this limitation. Other have also written simple scripts to overcome this as well.

Leecher

  • Full Member
  • ***
  • Posts: 56
    • View Profile
Re: "generate Collection/Rom List" takes VERY long
« Reply #13 on: July 26, 2021, 01:02:33 AM »
Quote
You jumped on an already existing thread and haven't told us what you're trying to accomplish. You might be better off just using the command line to combine your lists which takes no time all.

@progets
Sorry if I angered you. I just want to comment in this thread because of that minor issue. I think it's slow, but it's done in 1 minute and 15 seconds (109 games), so it's not that bad. That's why I didn't create a new thread for this. I can use cmd commands, but I'm not studying AM's source code to do it manually. I just want to use AM, instead of creating my own launcher. Sorry again.

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: "generate Collection/Rom List" takes VERY long
« Reply #14 on: July 26, 2021, 01:21:39 AM »
I'm not angry and there is no need for an apology. I just don't know what you're trying to do since the thread subject isn't yours.

To be honest I think a romlist done in a couple of minutes is pretty good.