![]() |
![]() |
#1 |
Registered User
Join Date: Dec 2019
Location: Ur, Atlantis
Posts: 2,207
|
WHDLoad collection ordered by year?
I'd like to have an alternative ordered by release year, not name. Any ideas on how to do it without sorting every single game manually?
It's possible using Mega AGS image (it has in-built filters), but I'd prefer having my own collection (a bunch of "1986", "1987", etc, drawers in WB), without going through this or any other frontend. |
![]() |
![]() |
#2 | |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,458
|
with a whdload installed games tree and a small python script I think this can be done in a few minutes.
yes it is easy. and it's done ![]() git repository containing the sort_whdgame_per_year.py script here: https://github.com/jotd666/amiga68ktools script uses whdload_slave.py which is also in the repository. Note that some old slaves haven't been updated to include the "info" part and manual move will be required on 200+ old slaves. Damn. Quote:
Last edited by jotd; 27 November 2021 at 19:07. |
|
![]() |
![]() |
#3 |
Registered User
Join Date: Dec 2019
Location: Ur, Atlantis
Posts: 2,207
|
Many thanks for looking into it. But I'm a complete noob when it comes to python, not quite sure what to do. I downloaded the whole git and tried the sort_whdgame_per_year.py but it closes immediately upon starting.
I'm pretty sure I do have python installed, but what else should I do? |
![]() |
![]() |
#4 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,458
|
you need to have "whdload_slave.py" in the same folder. It's in "lib" directory.
Then it's a command line tool (command line / shell). No GUI. sort_whdgame_per_year.py root/dir/of/your/whdload/games new_root_dir There's also a "-t" option (test, do nothing). Try that first There's also a "-c" option (copy, don't move) for instance if you're working from a read only media. This copies so it's longer. But will preserve input dir |
![]() |
![]() |
#5 |
Registered User
Join Date: Dec 2019
Location: Ur, Atlantis
Posts: 2,207
|
Sorry, only had time to come back to this now. Thanks again for the advice.
I've tried to do it with: .\sort_whdgame_per_year.py h:\WHDL h:\WHDL\sorted This is using Win 10 Powershell. When I press enter, a window opens, parses something very quickly (too quick to read, though I glimpsed "move manually") and closes. There's nothing in "sorted" dir. h:\WHDL has all my WHDLoad A-Z directories with unpacked game directories inside. I also put sort_whdgame_per_year.py & whdload_slave.py in there. Anything you could see I'm doing wrong here? |
![]() |
![]() |
#6 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,458
|
Making progress though
![]() Well, don't use powershell, use normal dos command prompt. You'll get the output in the current window "move manually" is the message that is printed when the date could not be found. Surprising that nothing could be detected as a date though. Post your findings |
![]() |
![]() |
#7 |
Registered User
Join Date: Dec 2019
Location: Ur, Atlantis
Posts: 2,207
|
|
![]() |
![]() |
#8 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,458
|
oh I see. Needs to be more tolerant and also robust, and mostly I have broken the tool when I added the test mode so nothing could be processed, like AT ALL ...
this is now fixed. Get the new version on my github. |
![]() |
![]() |
#9 |
Registered User
Join Date: Dec 2019
Location: Ur, Atlantis
Posts: 2,207
|
|
![]() |
![]() |
#10 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,458
|
great. That is the last issue. Please check the update
|
![]() |
![]() |
#11 |
Registered User
Join Date: Dec 2019
Location: Ur, Atlantis
Posts: 2,207
|
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pre-ordered an ACA1221lc from iComp | voyager_1701e | Amiga scene | 13 | 29 February 2020 00:12 |
Pre-Ordered an ACA1233n-55 | Dellamorte | Amiga scene | 40 | 20 December 2019 12:45 |
Just Ordered Amiga OS 4.1 - emulation book | fondpondforever | Amiga scene | 4 | 09 May 2017 19:54 |
From What year to what year You can use a stock Commodore Amiga 500? | The Brave Ant | Nostalgia & memories | 3 | 10 June 2014 18:34 |
WHDLoad's New Year gifts | MethodGit | Amiga scene | 3 | 22 January 2002 01:17 |
|
|