Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RA2/YR full map picture renderer released
#4
(11.05.2009, 02:56:38)mt. Wrote: Wonderful, thank you a lot for this Smile (especially the mod support)
Hmm, how long it will take before every major mod has the improved minimaps produced from this, and the possible uses of the full renders?
I would not know, but I have made a simple program in the past that helps here. Use it like
Code:
InjectThumbs.exe "c:\mymap.mpr" "d:\someminimapimage.mpr"

Quite simplified, my batch file to do this did the following:
go through all .map files in a folder,
call the rendering program on it,
create a nice thumbnail for it (the hovering previews for ra2maps.net)
Code:
i_view32 "%%d" /resize=^(600,0^) /aspectratio /resample /jpgq=95 /convert="thumb_%%~nd.jpg"
And a nice minimap
Code:
i_view32 "%%d" /resize=^(144,133^) /aspectratio /resample /convert="prev_%%~nd.png"
And inject it into the map
Code:
InjectThumbs.exe "%%c" "prev_%%~nd.png"
The path and filenames were carefully chosen so I could use this on large batches, but you'll get the idea. i_view32 is IrfanView by the way.


Attached Files
.zip   InjectThumbs.zip (Size: 87.83 KB / Downloads: 583)
Reply


Messages In This Thread
RE: RA2/YR full map picture renderer released - by zzattack - 11.05.2009, 12:41:05



Users browsing this thread: 1 Guest(s)