You need to visit the Games Workshop site in IE first and set the cookie that identifies your location. Then it should work. The same basic approach can be used for the Fantasy figs as well.
Printable View
You need to visit the Games Workshop site in IE first and set the cookie that identifies your location. Then it should work. The same basic approach can be used for the Fantasy figs as well.
Warhammer Fantasy attached.
Two different download scripts. One to download the smaller images (748 images @ 8.54MB) and one to download the much larger 873x627 image of each (748 imags @ 89.6 MB). Larger one is much slower due to increased size of images and has to navigate to additional URL for each image. (Smaller one has a lot of "Citadel" watermarks on the images.)
Not sure what you mean by zoom. Use the resize script to make the downloaded images the token size you want.
Attached Warhammer Fantasy again.
Forgot to remove line in Download script for the large images that made it stop after Beastmen (the first set.) Should download all sets now.
Also attached Warhammer Specialist for the Battlefleet Gothic, Inquisitor, and Mordheim images.
I am not sure I understand. The original one I did was for Warhammer 40K and was posted as just Warhammer.zip. I added it again to this reply. Is that what is desired? If not, please provide specifics since I am not too familiar with Warhammer (an exact URL would be good.) Thank you
Sorry. Now I realize that you meant with the option to download with the large image size. Attached are scripts to download Warhammer 40K with option for small or large images depending on download script run. Remember to make sure you have gone to the website to set your country or the scripts will not work.
You can add these or replace the URLs in "Warhammer - Large - Download.vbs" to get the Lord of the Rings minis.
downloadImages "https://www.games-workshop.com/gws/catalog/listProducts.jsp?catId=cat1600025" ' Gondor and Arnor
makeSetDir("Gondor and Arnor")
downloadImages "https://www.games-workshop.com/gws/catalog/listProducts.jsp?catId=cat1600026" ' Rohan
makeSetDir("Rohan")
downloadImages "https://www.games-workshop.com/gws/catalog/listProducts.jsp?catId=cat1600027" ' Elven Kingdoms
makeSetDir("Elven Kingdoms")
downloadImages "https://www.games-workshop.com/gws/catalog/listProducts.jsp?catId=cat1600028" ' Dwarf Holds
makeSetDir("Dwarf Holds")
downloadImages "https://www.games-workshop.com/gws/catalog/listProducts.jsp?catId=cat1600029" ' Forgotten Kingdoms
makeSetDir("Forgotten Kingdoms")
downloadImages "https://www.games-workshop.com/gws/catalog/listProducts.jsp?catId=cat1600030" ' Mordor
makeSetDir("Mordor")
downloadImages "https://www.games-workshop.com/gws/catalog/listProducts.jsp?catId=cat1600031" ' Fortress of Isengard
makeSetDir("Fortress of Isengard")
downloadImages "https://www.games-workshop.com/gws/catalog/listProducts.jsp?catId=cat1600032" ' Misty Mountains
makeSetDir("Misty Mountains")
downloadImages "https://www.games-workshop.com/gws/catalog/listProducts.jsp?catId=cat1600033" ' Fallen Realms
makeSetDir("Fallen Realms")
downloadImages "https://www.games-workshop.com/gws/catalog/listProducts.jsp?catId=cat1600034" ' Angmar
makeSetDir("Angmar")
HTH
Terrell
Quote:
Originally Posted by valeros
The SW site seems to be discontinued due to WoTC not doing it anymore. Anyone know where I can get these images still?
Change three lines in each Large download script:
Set links2 = objIE2.Document.links
to
Set links2 = objIE2.Document.images
--------------------
if InStr(link2.href, "_873") and (Found = 0) then
to
if InStr(link2.src, "_873") and (Found = 0) then
--------------------
imageURL = "https://www.games-workshop.com" & mid(link2.href, firstChar, lastChar-firstChar+4)
to
imageURL = link2.src
Try this site:Quote:
Originally Posted by Talmon
https://www.vesivus.com/swminis/All.htm
it shows 421 minis all on one page or you can filter them. I used Firefox and the Downthemall add on, to download the images into one folder, then used the bat file to process them. Works like a charm.
I wasn't able to get the VBS file to download the DnD minis the way it was described. I was only able to do 1 folder at a time, then I had to remove a section of code and retry. It will download the next folder. Of course it doesn't rename them or create a folder. The other problem is you have to turn off real time scanning otherwise McAfee simply quarantines the VBS file.
Very nice, thanks. Next up the Warhammer tokens :)
Quote:
Originally Posted by valeros
Ok it's not working. I don't know what i'm doing wrong. I ran the attached vb file, is there anything else i'm missing. please help. Thank you.
Not sure I can be much help, but I remember when I ran the script I had to do it one directory at a time for some reason.
What happened when you ran the vbs file ? Were you trying for the DnD or Star Wars figs ?
dnd, it only pulled like 60 images (just the archfiend images) and didn't label em then i got the error:
windows script host
Script: C:\users.....\download_images_directory_per_set.vb s
Line: 25
Char: 1
Error: The System cannot find the file specified
Code: 80070002
Source: Null
thats it
First guess, look to see if the "download_images_directory_per_set.vb s" file exists. I that it may have a space in the BAT file, or whatever is running. If that is the case, you'll want to get rid of that space.
Second guess, it may be that WotC has moved stuff around. I'm betting on the first though.
nah the space was just a typo on my part, i think wotc renamed the first few sets in the file list because the names are importing now, but still it only does one at a time and doesn't create folder so basically now i'm just downloading one set at a time putting them into a folder deleting that set from the script and re-running, its still saving hours of work, just would have been cooler if it work like it probably originally did.
i have to say i tried a couple of these and worked perfectly. thank you very much to the bright little sparks who put much time and effort into this and shared with the rest of us.
You could also try this script.
I based this off of Valeros' script. It downloads the images, resizes the images based on the size of the monster (ex, 50x50 for Large is 100x100), and creates a MOD file.
hah - another wonderful script. i spent an hour debugging as i had not actually installed imagemagik but just d/l files and added to path... gave up and copied imagemagik folder to where your script expected it to be and it ran perfectly...
what do i do with the mod files?
These are modules for FG. You can put them in your "modules" folder under the Application Data folder.
The reason for the MOD files is to reduce on the amount of time to load FG for the players. You can open the MOD when needed and close it when finished.
so the modules will contain all the icons from that set?
how do i create a mod with only a dozen icons in it for a quick shot adventure?
You should be able to pull the minis out of the modules into the campaign. Open the module and put the minis you need on a map, then close the module. If memory serves me correctly, they will be available in the root of the token box.
Try it out and let me know if this still works. I did it once, but I'm having issues with my FG after switching to a new PC.
Quote:
Originally Posted by tdewitt274
I tried the script, everything setup like in the read me file, it asked for a folder i pointed to one, Same subfolder with new folder i named New(keeping it simple) then i got the error:
windows script host
script: c:\users\..\desktop\d&d\token tool\downloadandresize.vbs
Line: 49
Char: 1
Error: Object required: "
Code: 800AQ1A8
Source: Microsoft VBScript runtime error
what does line 49 say?
try running this script from a folder that has no spaces or special characters (&) in the path...
i tried no special characters and no spaces, line 49 says
Set objFolder = objFSO.GetFolder("C:\" & objSubfolder.Name)
Do you have ImageMagick installed? The lines before 49 look for your "Program Files" folder (both for Vista and Win7) to determine it's location.Quote:
Originally Posted by bigbsonnier
ah, i put imagemagick in the same folder as the token tool, didn't want to put something in program files i'm only going use like once or twice, i'll try that
got the correct version of imagemagick installed in the appropriate folder, it still crashes with the same error. my system setup is
Windows Vista Home Premium
System
--------------------------------------------------------------------------------
Manufacturer Hewlett-Packard
Model HP Pavilion dv9700 Notebook PC
Total amount of system memory 4.00 GB RAM
System type 64-bit operating system
Number of processor cores 2
Graphics
--------------------------------------------------------------------------------
Display adapter type NVIDIA GeForce 8600M GS
Total available graphics memory 2303 MB
Dedicated graphics memory 512 MB
Dedicated system memory 0 MB
Shared system memory 1791 MB
Display adapter driver version 8.16.11.8766
Primary monitor resolution 1440x900
DirectX version DirectX 10
Network
--------------------------------------------------------------------------------
Network Adapter Realtek RTL8168B/8111B Family PCI-E GBE NIC
Network Adapter Intel(R) Wireless WiFi Link 4965AGN
Network Adapter Microsoft Tun Miniport Adapter
Really for all this trouble i could probably have just renamed the 4 sets that don't have names, although i still need to resize (is there a script that just does that?)
But hopefully we can get this working so the next guy won't have such a headache, thank you for all the help thus far.
ok reinstalled downloadandresize i think when it didn't find what it wanted it somehow messed up the code. running fine now SWEETNESS please disregard my dumbness above! lol
i spent quite a while debugging it the first couple of times. finally i installed everything where the script really wanted it to be found and the script worked a treat. even for the hour(s) i spent screwing around trying to learn the script it was still well worth the effort.
and i think for many ppl it will work 1st time.
True enough.
Well now its giving me a permission denied issue. It seems that there are several minis sets that don't have a set symbol and those 5 sets didn't get made into a .mod. the rest did which is awesome but i checked the dnd mini website and natta. i'll fool with it some more but looks like its back to the drawing board for those sets.
which 5 sets were they? 22 of 23 worked for me and i just reran now and have 23 of 23...
sorry 6 sets, savage encounters, PH1, PH2, Lords of Madness, Dangerous Delves, Legendary Evils
according to "https://www.wizards.com/dnd/Article.aspx?x=dnd/mi/setsymbols" these don't have set symbols and i think the program hiccuped in creating the ".mod"s for those due to that fact.
The mod creation process is a bit of a timing thing. The zipping utility works on it's own and you have to let the script "sleep" for an amount of time. I tried to set it for a short enough period to ensure that everything was ready to go, but it will depend on the system. Maybe increasing lines 136, 138, and 140 by 1000 will take care of the issue.
WotC stopped creating the thumbnails after they stopped supporting the minis game. However, the script doesn't care if there is a thumbnail created. It just adds the PNG and XML to the zip file and later updates the extention to MOD.
hmm cool. interesting, is there any difference between a zip and mod besides the extension? your post seems to suggest there isn't.
Rulesets, MODs, EXTs and PAKs are only ZIPs. You do need an XML file to tell FG what to do. But basically, rename them to ZIP and extract them to see what's inside.
awesome! well damn, i just wanted to say "Awesome!" but it said my message was too short. soooooo i think this should do it.
I posted this info in another thread a while back, It might help you as wellQuote:
Originally Posted by Blue Haven
https://www.fantasygrounds.com/forum...04&postcount=3
Well you posted in a DDM(Dungeons and Dragons Miniatures) images as tokens thread, so I assumed you simply mistyped GW instead of WG (warband generator) Games Workshop has never licensed DDM and do not license their images on their site for printing. So I informed you of where you can legally get the DDM images from.Quote:
Originally Posted by Blue Haven
VBS/Psyme found in the main vbs file.
McAfee seemed to think it was a virus for me as well, and kept deleting the file, but I'm not so sure there is an actual virus. I think it may just be fooling the AV programs.
I used it and never had a problem other than the anti virus program kept quarantining it.
I'm no virus expert though.:)