Pack of many pictures for some maps (323 maps): lower case named version: Script for extracting pictures from your's maps: version to lower case named files: U need place this file on the root folder of your's ut server and run it. This works only for windows 2000 and high. Linux not supported. But this is very simple and u may be create some scripts for others OS.
After running script opens folders, placed in root your's ut server and named "img". This folders contains many bmp files for maps, if u need - convert to other grafics format any graphics converts such as ACDSEE.
For extracting picture used ut engine, and if on maps don't present some packages, then picture don't been extracted.
Sample using:
Code: Select all
G:\UT <------ Please place this file extractimg.bat from archive and run it
├───Cache
├───Eal
├───Help
├───Logs
├───Manual
├───Maps
├───Music
├───NetGamesUSA
├───Sounds
├───System
│ ├───editorres
│ └───moviedemomanager-v1.0
├───Textures
└───Web
├───images
└───plaintext
On the end, script try to open folder with pictures:
Code: Select all
G:\UT
├───Cache
├───Eal
├───Help
├───img <------- Pictures placed here
├───Logs
├───Manual
├───Maps
├───Music
├───NetGamesUSA
├───Sounds
├───System
│ ├───editorres
│ └───moviedemomanager-v1.0
├───Textures
└───Web
├───images
└───plaintext
Text data:
extractimg.bat:
Code: Select all
@echo off
if not exist temp_img mkdir temp_img
if not exist img mkdir img
for %%F in (maps/*.unr) 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\
Code: Select all
@echo off
if not exist temp_img mkdir temp_img
if not exist img mkdir img
for %%F in (maps/*.unr) 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
renlower img\%%~nF.bmp
del /f/q temp_img\*.bmp >nul
)
rmdir temp_img
start img\
Code: Select all
<?php rename($argv[1], dirname($argv[1]).'/'.strtolower(basename($argv[1])));