Wagic Card Downloader v0.4


I just wrote a simple application to download other language cards using Python. It'll retrieve MTG sets directory and try to download image from magiccards.info (resolution 312px × 445px) first, and Wizards official site or playfactory.fr (resolution 223px × 310px) as a backup.

[How to run in PSP]

  1. Download StacklessPSP-2.5.2_R1.zip and carddownloader.zip
  2. Mark a directory under PSP/GAME, e.g. StacklessPSP
  3. Extract StacklessPSP-2.5.2_R1.zip and carddownloader.zip to that directory just created , e.g. PSP/GAME/StacklessPSP
  4. If Wagic home directory is not in PSP/GAME/WTH, please change WAGIC_SETS_DIR to correct value in script.py
  5. Configure WIFI connection, and make sure switch ON WIFI
  6. Run app

[How to run in PC]
  1. Install Python 2.6 environment
  2. Install Python Imaging Library (PIL)
  3. Unzip carddownloader.zip under PSP/GAME directory, or anywhere but need to change WAGIC_SETS_DIR to correct value in scriptpc.py
  4. Double click scriptpc.py file to start downloader.
In carddownloader.ini file, you can change locale value in general section to configure which language card you want to download.

  • en
  • de
  • fr
  • it
  • es
  • pt
  • jp
  • cn
  • ru
  • tw

[Change Log]

0.4:
  • Support mutil-thread download

0.3:
  • Add French card site playfactory.fr downloader
  • Fix occasionally download wrong language card from gatherer.wizards.com
  • Support download an individual set
  • Compatible with Stackless PSP, can run as a standalone app in PSP (Experimental!)

0.2:
  • Add override flag in carddownloader.ini, to control whether override an existing file
  • Support foreign language card download from Wizards official site and crop image border
  • Support generate thumbnails, add thumbnails flag and thumbnails size parameter in carddownloader.ini
  • Add Python Imaging Library (PIL) dependency to process image

Download the latest source code
Download the older source code (Wagic forum)

0 评论:

My Favorites