Pictures for Magic Album
by Goblin Hero
Moderators: charmer, CCGHQ Admins
Re: Pictures for Magic Album
by Topace » 23 Mar 2023, 11:03
I'll give an update on those scripts shortly (DMC / BRO / ONE / etc.)...
Re: Pictures for Magic Album
by Topace » 27 Mar 2023, 20:50
Here we go - the script files for the latest set releases... finally
what you will have to do:
a) if necessary, adjust the path name within the scripts to match the location of your MA folder
b) rename the script from *.txt to *.ps1
c) run with PowerShell to start downloading
Also: There's a small bug in the current database. The picture-folder for ONE is named "...\Pictures\Expasions\..." instead of "...ExpaNsions...". Until this will be patched, you'll have to create a new folder calles "Expasions" in your "Pictures"-Folder and temporarily move your Pictures from Phyrexia All Will Be One to this place for the pictures to get displayed in Magic Album.
HF & Stay Safe!
what you will have to do:
a) if necessary, adjust the path name within the scripts to match the location of your MA folder
b) rename the script from *.txt to *.ps1
c) run with PowerShell to start downloading
Also: There's a small bug in the current database. The picture-folder for ONE is named "...\Pictures\Expasions\..." instead of "...ExpaNsions...". Until this will be patched, you'll have to create a new folder calles "Expasions" in your "Pictures"-Folder and temporarily move your Pictures from Phyrexia All Will Be One to this place for the pictures to get displayed in Magic Album.
HF & Stay Safe!
- Attachments
-
- PONE.txt
- (36.35 KiB) Downloaded 92 times
-
- PBRO.txt
- (37.07 KiB) Downloaded 92 times
-
- ONE.txt
- (98.01 KiB) Downloaded 93 times
-
- ONC.txt
- (39.01 KiB) Downloaded 93 times
-
- J22.txt
- (169.01 KiB) Downloaded 94 times
-
- DMC.txt
- (52.5 KiB) Downloaded 92 times
-
- BRR.txt
- (28.85 KiB) Downloaded 84 times
-
- BRO.txt
- (78.25 KiB) Downloaded 95 times
-
- BRC.txt
- (45.18 KiB) Downloaded 89 times
Re: Pictures for Magic Album
by Daniel » 28 Mar 2023, 16:00
The picture folder bug is fixed and will be available with the next update. I apologize for the inconvenience. Thanks to Topace for pointing it out.
Re: Pictures for Magic Album
by Matse » 08 Feb 2024, 16:03
Many thanks to Topace for the download scripts.
Since changing the Magic Album Path in all files, renaming files and running all files one after the other is a bit annoying, I created a download script.
It takes all .txt files in the same folder and extracts the download URL and output folder. Then it downloads them to the modified output folder(can be specified in the second line of the script).
It also checks if there is a file in the target folder that is not included in the .txt file and removes it.
And it executes all downloads in parallel (at least every set/.txt)
This script also requires Powershell 7.1 or higher, as I download the files directly to the correct path and don't rename () to [] afterwards.
I hope someone finds this useful
Also: Topace, are you still creating these download scripts? If not, is there any way to extract the correct image path from Magic Album?
Since changing the Magic Album Path in all files, renaming files and running all files one after the other is a bit annoying, I created a download script.
It takes all .txt files in the same folder and extracts the download URL and output folder. Then it downloads them to the modified output folder(can be specified in the second line of the script).
It also checks if there is a file in the target folder that is not included in the .txt file and removes it.
And it executes all downloads in parallel (at least every set/.txt)
This script also requires Powershell 7.1 or higher, as I download the files directly to the correct path and don't rename () to [] afterwards.
I hope someone finds this useful
Also: Topace, are you still creating these download scripts? If not, is there any way to extract the correct image path from Magic Album?
- Attachments
-
- download.ps1.txt
- Change Magic Album Path in second line of File and remove .txt from filename
- (5.29 KiB) Downloaded 23 times
-
- download.cmd.txt
- Remove .txt from filename. Will start the script in Powershell
- (26 Bytes) Downloaded 21 times
Re: Pictures for Magic Album
by Topace » 19 Mar 2024, 20:12
Hi Matse,
yes, I try to - unfortunately time is always sparse on my side
I want to put up download scipts for the latest sets this month.
Thank you for your Update! I will try to implement this - lets see what I can achieve.
yes, I try to - unfortunately time is always sparse on my side
I want to put up download scipts for the latest sets this month.
Thank you for your Update! I will try to implement this - lets see what I can achieve.
Who is online
Users browsing this forum: No registered users and 25 guests