RETROBAT Official Board
Would you like to react to this message? Create an account in a few clicks or log in to continue.

[RESOLVED] The automatic collection "Never Played" shows pdf from "Library" category and i can't remove them from there

Go down

[RESOLVED] The automatic collection "Never Played" shows pdf from "Library" category and i can't remove them from there Empty [RESOLVED] The automatic collection "Never Played" shows pdf from "Library" category and i can't remove them from there

Post by C3ncio 15/08/24, 06:57 am

Hello everyone!
I'm loving customizing this amazing piece of software that is Retrobat but lately i've encountered a problem:
i have added few of my old magazines to retrobat adding my pdf scans inside the "library" folder. This makes them show inside Retrobat in the collection named "Library" and that's exactly what i wanted to do. Now, the problem is, the collection "never played" also show all this pdf files as they were games i never played and doesn't matter how many times i open those pdf, they never gain a "played count" and so they never disappear from the "never played" list actually flooding it and making it not usable anymore.

I've tried opening them in every way possible, nothing. I've tried disabling pdf file format from "never played" but that collection actually doesn't allow you to disable specific file's format like other collections so i don't know what to do.

Any tips on how i could make all those pdf not appear in the "never played" collection?

Thanks for the help!
C3ncio
C3ncio

Messages : 2
Date d'inscription : 2024-08-15

Back to top Go down

[RESOLVED] The automatic collection "Never Played" shows pdf from "Library" category and i can't remove them from there Empty Re: [RESOLVED] The automatic collection "Never Played" shows pdf from "Library" category and i can't remove them from there

Post by C3ncio 15/08/24, 04:15 pm

I found a solution and i'm posting here if someone encounter the same problem:

this happens because the automatic game collection "never played" uses gamelist.xml files inside systems's folders to determine if a game was ever played. Usually when you play a game the file gamelist.xml get automatically created and edited with your playcount, actually removing the game from the "never played" collection. This doesn't happen for the library collection because what's inside isn't actually a game.
To fix the problem i created a fake gamelist.xml with just the infos i need to remove those pdf from the "never played" collection.

Code:
<?xml version="1.0"?>
<gameList>
 <game id="99991">
 <path>./ART - Art Of Castelvania.pdf</path>
 <playcount>1</playcount>
 <lastplayed>20240731T040003</lastplayed>
 <gametime>266</gametime>
 <scrap name="ScreenScraper" date="20240731T050221" />
 </game>
 <game id="99992">
 <path>./ART - Mass - The Art of John Harris.pdf</path>
 <playcount>1</playcount>
 <lastplayed>20240731T045015</lastplayed>
 <gametime>182</gametime>
 <scrap name="ScreenScraper" date="20240731T050304" />
 </game>
 <game id="99993">
 <path>./ART - The Art Of Metal Gear Solid.pdf</path>
 <playcount>1</playcount>
 <lastplayed>20240731T045218</lastplayed>
 <md5>28b803b22414f7f9896cf3e8860f5726</md5>
 <gametime>113</gametime>
 <scrap name="ScreenScraper" date="20240731T050308" />
 </game>
 <game id="99994">
 <path>./ART - Udon - Art Of Capcom.pdf</path>
 <playcount>1</playcount>
 <lastplayed>20240731T040003</lastplayed>
 <gametime>266</gametime>
 <scrap name="ScreenScraper" date="20240731T050221" />
 </game>
 <game id="99995">
 <path>./AT - La Rivista di Atari 1.pdf</path>
 <playcount>1</playcount>
 <lastplayed>20240731T040003</lastplayed>
 <gametime>266</gametime>
 <scrap name="ScreenScraper" date="20240731T050221" />
 </game>
 <game id="99996">
 <path>./AT - La Rivista di Atari 2-1.pdf</path>
 <playcount>1</playcount>
 <lastplayed>20240731T040003</lastplayed>
 <gametime>266</gametime>
 <scrap name="ScreenScraper" date="20240731T050221" />
 </game>
 <game id="99997">
 <path>./C64 - Super Commodore N3-4.pdf</path>
 <playcount>1</playcount>
 <lastplayed>20240731T040003</lastplayed>
 <gametime>266</gametime>
 <scrap name="ScreenScraper" date="20240731T050221" />
 </game>
</gameList>

As you can see, i just copied an existing gamelist.xml from another rom folder, edited what i needed and removed what i don't.
"Game id" is just random numbers i put it for the sake of its existence, i started with 99991 and adding 1 every new entry.
"path" is the path of the pdf i want to remove from the list
"playcount" need to be 1 or higher, that's what determine that the game was played before
"gametime" and "scrap name" i don't even think they are needed, i left them there because why not lmao

This way the problem is actually fixed and none of the pdf present inside the fake gamelist.xml appears in the "never played" collection. Yes, it's boring cause you need to edit it by hand and add your pdf one by one but it's the only way i found the fix the problem, if someone have better ideas to automate the process i'm all ears!
Hope this will help someone else
C3ncio
C3ncio

Messages : 2
Date d'inscription : 2024-08-15

Myjosito likes this post

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum