Page 1 of 1

Extract screenshots from maps

Posted: Fri Nov 03, 2017 12:51 pm
by UTPe
Hi guys,
after some months of absence I'm finally back and just yesterday I joined the new discord channel.

Well, I wanted to reply to a post on Hook's forum but I'm still waiting for my old password so I publish here my reply to Darkelarious (maybe others could find this topic useful). If you're in contact with him, please tell him, thanks.
This was the post: https://www.tapatalk.com/groups/hooksut ... t2863.html
and this was the question:

Code: Select all

From the looks of it, thumbnails are extracted from the map file itself. Is there a way to do this manually? Is there a way to automate this so I can implement this for the 333networks website?
Yes, there's a batch file I found somewhere online time ago that lets you automate this operation.
You've to save this .bat file into your UT folder and edit it to obtain your screenshots. In the code, you can see for example I wrote SUF to get all the map screenshots from SUF sniper maps present in my maps folder.
This script will create a "img" folder (in your UT folder) where it will save the level screenshots.


----------------------------------------------------------------------------------------------
@echo off
if not exist temp_img mkdir temp_img
if not exist img mkdir img
for %%F in (maps/*SUF*.*) do (
title Procees %%~nF...
system\ucc batchexport %%F Texture bmp ..\temp_img\
if exist temp_img\screenshot.bmp copy temp_img\screenshot.bmp img\%%~nF.bmp >nul
del /f/q temp_img\*.bmp >nul
)
rmdir temp_img
start img\
----------------------------------------------------------------------------------------------


If you need to setup a stats website for your server, you obviously need also the maps screenshots and this script might help you.

cheers,
Pietro

Re: Extract screenshots from maps

Posted: Sat Nov 04, 2017 1:28 am
by obliterat0r
Here's a pack of images I dumped with the ucc script, and then compressed in *.jpg format http://www.mediafire.com/file/j44l8p8kl ... erat0r.tar

Re: Extract screenshots from maps

Posted: Sun Nov 05, 2017 8:30 pm
by Dr.Flay
Thanks very much, I will notify Darkelarious in the IRC room

Manual config
irc.synirc.net #333networks SSL 6697
Auto config
irc://irc.synirc.net:6697/333networks
Web client
https://cgiirc.synirc.net/?chan=%23333networks