Warband GeneratorQuote:
Originally Posted by Bidmaron
* Sizes the creatures based on their Size (S, M, L, Garganutan, etc)
* Does not include newer miniature sets
Printable View
Warband GeneratorQuote:
Originally Posted by Bidmaron
* Sizes the creatures based on their Size (S, M, L, Garganutan, etc)
* Does not include newer miniature sets
Number two sounds like a disadvantage, but thanks for the reply.
True, but if WotC takes down those image galleries, then the other version is in the same boat. Although I'm sure they'd also think to strip the Warband Generator too.Quote:
Originally Posted by Bidmaron
The newer 4e minis are nice to have though. I'm sure that a revision would allow for pulling either way, but that would require a bit of actual work ;)
I was bored this last weekend and thought I'd give updating the script a go.
Attached is a VBScript file that will download the images from the WotC website, add them to folders with the set name (ex, ...\Harbinger\[images]), and convert the files to PNG format for the size of the miniature (determined by Pixels and scaled to S, M, L, H, etc).
Please note, this file is not complete! Also, none of the miniatures have been changed to represent their true size. Only Harbinger is supported at this time.
I'm looking for people to test to make sure that it's working correctly. The task of associating files to desired file names will take a bit of time to fill out the remaining sets. This has worked on my system. If you receive any errors, let me know. Keep in mind, this is a test script!
Changes to be made by the user:
- Line 15, change the directory to where the VBScript file is saved.
- Line 94, change the directory of ImageMagick to match your own as well as the version number (see previous posts on how to install).
To run:
- Extract the VBScript file
- Double Click on the "DownloadAndResize.vbs" file
- Enter a number for the pixel size you desire
- After the run is complete (you'll receive a message box), run the "resize.bat" by double clicking.
I had two problems running both scripts from Valeros. I'm running Windows XP still because I'm a Linux guy (except games) and see no reason to give Bill any more money :)
Anyway, the main problem was the error:
"Interface Not Registered" in line 120 (Set images = objIE.Document.images)
I haven't programmed in Windows for several years and never used VB so I don't remember what needs to be registered. I Googled it and didn't find a solution, so here is a command to download all images from a web page with Linux:
wget -r -A jpg https://www.<OnePathFromTheOriginalScript>
(You can use -A jpg,gif,etc for multiple formats)
ImageMagick also works with Linux, but I just copied all the images to the XP machine and ran the resize script. The resize worked but it didn't move the files. I got an error in convert_images.bat. Something about not being able to move multiple files in to a single file. I had to change:
'move *.png ..\%1x%1' to 'move *.png %1x%1'
It then worked. Thanks for the scripts, Valeros.
Ok i don´t know what i´m doing wrong but to me it only downloads the first pack and then stops...can anyone help me out...? Vista user :)
Is this in regards to the latest version I downloaded? If that's the case, it will only download the one (Harbinger).Quote:
Originally Posted by Placebo
You can change this yourself by modifying line 23 of the script to read
for i = 1 to 22
and putting an apostrophe at the beginining of line 81
'txtBatch = txtBatch & CreateBatchFile(CurrLoc, SetName, objFSO.GetFileName(image.src), SetNum)
This will download all the files, but will not modify them in any way (rename, convert, etc).
There are a considerable amount of images that need to be renamed in my version. The end goal would be to set up the images as an Extention (I hear this reduces the load time). Unfortunately, I don't have a lot of free time lately. Hopefully soon...
Ohh thank you so much! it worked :P the rest i do with corel ;)
Thanks
I'll keep that in mind. Not a bad idea to prompt if you would like to do that part yourself.Quote:
Originally Posted by Placebo
This works really well, thanks.
I just manualy resized the Monsters that I needed to afterwards. For example eye of beholder.
If you parse in the Monster Manual using the community tool, it even draws the size of the boxes it takes up