[SCRIPT] RetroPie Limit Last Played Games
-
@madhorse whooops, it's getting tricky! Haha! Would you mind copying a couple of your gamelists into pastebin.com or something similar so I can test with real game lists? In the virtual machine where I develop the scripts I only have a couple of games to test.
The first issue involving the characters, I think I can escape them so it doesn't crash. The second one needs a little bit more of testing.
Thanks a lot for helping me test the script, btw!
-
@madhorse your Daphne and Amiga game lists would be enough, I think.
-
@hiulit said in [SCRIPT] RetroPie Limit Last Played Games:
@madhorse your Daphne and Amiga game lists would be enough, I think.
No Problem,
This is the Daphne Gamelist and this is the Amiga GamelistThanks a lot for helping me test the script, btw!
Thanks to you for your work and for helping us to Limit the Last Played list :)
-
@hiulit said in [SCRIPT] RetroPie Limit Last Played Games:
@madhorse whooops, it's getting tricky! Haha!
In my head, I heard your words in the voice of the first Doctor Who. Especially the laughter! š
-
Retropie Limit Last Played Games v2.1.1 is out!
CHANGELOG
Fixed
- Issue with duplicate game names but different
<lastplayed>
tags ingamelist.xml
. Now the script takes both the game name and its<lastplayed>
tag to avoid duplicates. If there are more than one game with same name and<lastplayed>
tag, the script won't work. - Escape game names with single quotes in
gamelist.xml
. - Escape ampersands (
&
) ingamelist.xml
.
@MadHorse all your issues should now be fixed! :P
EDIT: Until you find more, hehe! ;)
- Issue with duplicate game names but different
-
AND THE WINNER IS @hiulit :D
You did it man, I made some fast test with the new version and it's working perfectly, it' s awesome.
Now, because I'm a BAD guy, i tried to trick the script and made a gamelist with 2 exactly duplicate games, same name and same date, obviously the script gave an error, and then it completed the work.Anyway, if someone has messed up the
gamelist.xml
so badly is what I-(he) deserve :)))You are the best, thank you for your hard work, i love your script.
-
Hi @hiulit I'm here again, unfortunately for another bug.
Usually in thegamelist.xml
the&
character is written as&
, probably there is something tricky with the escape of&
because after you execute the script, it will transform it to&amp;
, if you execute it another time you will get&amp;amp;
I'm so sorry to bring you bad news. -
@madhorse Hey! Yeah, totally my bad... Such a noob thing to do :( Or in this case, NOT to do..
I only check for unescaped
&
because in one of yourgamelist.xml
there were a lot of them and the software that parses the xml, which isxmlstarlet
, was crashing because of that. So I assumed that scrapers would always add the unescaped&
and I didn't take into account that it was possible for some scrapers to have the escaped version&
.I'll fix it asap.
Thanks for the heads up! ;)
-
New RetroPie Limit Last Played Games 2.1.2 is out!
@MadHorse if you could give it a try.... hehe! ;) Thanks!
CHANGELOG
[2.1.2] - 2018-09-20
Fixed
- Escape special characters function.
Added
- Validate XML function.
-
@hiulit hi, I made a quick test and now the
&
and&
aren't changed, great work.
I will do some more test hoping to not find more bugs, I don't want you to hate me :)Thank you very much, you and your script are awesome
-
@madhorse Cross fingers :P
You are very welcome. I think you and I are the only ones using this script, haha!
-
@hiulit With me as an uninvolved onlooker. :)
-
@clyde haha, of course! ;)
-
@hiulit said in [SCRIPT] RetroPie Limit Last Played Games:
@madhorse Cross fingers :P
You are very welcome. I think you and I are the only ones using this script, haha!
Hahah, maybe, probably because many peoples don't know about it :)
-
@madhorse Well, at least this thread will appear in the "unread" list every time a new post is posted here. :)
-
-
-
@cyperghost You, sir, are my kind of silly. š
-
New minor version of Retropie Limit Last Played Games 2.1.3 is out!
Changelog
[2.1.3] - 2018-12-23
Fixed
- Files permissions.
Added
- Debug mode dialog when using the script via the EmulationStation's RetroPie menu.
- Debug mode text in script's title when debug mode is on.
-
New minor version of Retropie Limit Last Played Games is out!
Changelog
[2.1.4] - 2019-02-14
Fixed
- The script won't ask anymore to restart EmulationStation (if it's running) when debug mode is on.
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.