You are an unregistered user, you can register here
Navigation

Information

Site

Donations
If you wish to make a donation you can by clicking the image below.


 
Go Back   The Unreal Admins Page > Forums > Hosted Forums > UTStats > General Chat

Reply
Thread Tools Display Modes
  #1  
Unread 20th May, 2010, 01:56 PM
Enakin's Avatar
Enakin Enakin is offline
Rampage
 
Join Date: Jan 2009
Location: Ukraine
Posts: 87
Default Pictures for maps

Pack of many pictures for some maps (323 maps) and lower case named version

Script for extracting pictures from your's maps and 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:
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
Wait until window with script displayed (this is some minutes)
On the end, script try to open folder with pictures:
Code:
G:\UT
├───Cache
├───Eal
├───Help
├───img           <------- Pictures placed here
├───Logs
├───Manual
├───Maps
├───Music
├───NetGamesUSA
├───Sounds
├───System
│   ├───editorres
│   └───moviedemomanager-v1.0
├───Textures
└───Web
    ├───images
    └───plaintext
Note: if exist folder temp_img on the root ut server, then will be deleted. this is folder for temporary storage for extracting from map.

-----
ADD:
New mirror:
http://inethub.olvi.net.ua/ftp/ut/utilites/
ftp://inethub.olvi.net.ua/ut/utilites/

Direct links:
http://inethub.olvi.net.ua/ftp/ut/ut...extractimg.rar
http://inethub.olvi.net.ua/ftp/ut/ut...ctimglower.rar
http://inethub.olvi.net.ua/ftp/ut/utilites/img.rar
http://inethub.olvi.net.ua/ftp/ut/utilites/imglower.rar

ftp://inethub.olvi.net.ua/ut/utilites/extractimg.rar
ftp://inethub.olvi.net.ua/ut/utilite...ctimglower.rar
ftp://inethub.olvi.net.ua/ut/utilites/img.rar
ftp://inethub.olvi.net.ua/ut/utilites/imglower.rar

Text data:
extractimg.bat:
Code:
@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\
extractimglower.bat (need program renlower.exe):
Code:
@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\
renlower.exe - CLI program, takes one argument - filename, and rename it to lowercase. In PHP its maybe:
PHP Code:
<?php rename($argv[1], dirname($argv[1]).'/'.strtolower(basename($argv[1])));
---
Theme cloned at http://inethub.olvi.net.ua/personal/ut.php
__________________
It's not who I am underneath, but what I do that defines me.
http://inethub.olvi.net.ua/personal/

Last edited by Enakin : 16th September, 2013 at 09:57 AM. Reason: New mirror links and bat file contents
Reply With Quote
  #2  
Unread 20th May, 2010, 02:02 PM
Enakin's Avatar
Enakin Enakin is offline
Rampage
 
Join Date: Jan 2009
Location: Ukraine
Posts: 87
Default

To moderators: Please sticky this thread or place on FAQ, if u want need this.
__________________
It's not who I am underneath, but what I do that defines me.
http://inethub.olvi.net.ua/personal/
Reply With Quote
  #3  
Unread 20th May, 2010, 02:20 PM
The_Cowboy's Avatar
The_Cowboy The_Cowboy is offline
Unstoppable
 
Join Date: Jan 2009
Location: India
Posts: 190
Default

Just the thing I needed
Thanks enakin
You really rock
Reply With Quote
  #4  
Unread 20th May, 2010, 02:21 PM
The_Cowboy's Avatar
The_Cowboy The_Cowboy is offline
Unstoppable
 
Join Date: Jan 2009
Location: India
Posts: 190
Default

Quote:
Originally Posted by Enakin View Post
To moderators: Please sticky this thread or place on FAQ, if u want need this.
+1

@enakin
can you code such that map names come in lower case because ut stats recognize lowercase

Last edited by The_Cowboy : 20th May, 2010 at 02:24 PM.
Reply With Quote
  #5  
Unread 20th May, 2010, 09:02 PM
2399Skillz 2399Skillz is offline
Super Moderator
 
Join Date: Jan 2004
Location: North Carolina
Posts: 2,245
Default

Mirror:
http://ut-files.com/index.php?dir=Stats/&file=img.rar

http://ut-files.com/index.php?dir=St...extractimg.rar
__________________

UT-FILES.COM
Get your files
Reply With Quote
  #6  
Unread 21st May, 2010, 01:09 AM
Enakin's Avatar
Enakin Enakin is offline
Rampage
 
Join Date: Jan 2009
Location: Ukraine
Posts: 87
Default

Quote:
Originally Posted by The_Cowboy View Post
can you code such that map names come in lower case because ut stats recognize lowercase
Extract pictures from map to lower case named files
__________________
It's not who I am underneath, but what I do that defines me.
http://inethub.olvi.net.ua/personal/
Reply With Quote
  #7  
Unread 21st May, 2010, 11:01 AM
Enakin's Avatar
Enakin Enakin is offline
Rampage
 
Join Date: Jan 2009
Location: Ukraine
Posts: 87
Default

New archive with same pictures but named in lower case
__________________
It's not who I am underneath, but what I do that defines me.
http://inethub.olvi.net.ua/personal/
Reply With Quote
  #8  
Unread 21st May, 2010, 04:00 PM
Killerbee Killerbee is offline
Dominating
 
Join Date: Dec 2005
Location: Netherlands
Posts: 139
Default

Thx Enakin, good work
__________________
>>>> www.online-multigaming.com <<<<

We do nerd around!
Reply With Quote
  #9  
Unread 11th November, 2010, 11:50 AM
[rev]rato.skt's Avatar
[rev]rato.skt [rev]rato.skt is offline
Godlike
 
Join Date: Aug 2010
Location: Brazil
Posts: 371
Default

Very Cool
__________________
Brazilian Server:
ip server 1.utbr.org:2017
ip server 1.utbr.org:2222
ip server 1.utbr.org:8888
ip server 1.utbr.org:5555
Reply With Quote
  #10  
Unread 16th September, 2013, 09:50 AM
Enakin's Avatar
Enakin Enakin is offline
Rampage
 
Join Date: Jan 2009
Location: Ukraine
Posts: 87
Default

New mirror:
http://inethub.olvi.net.ua/ftp/ut/utilites/
ftp://inethub.olvi.net.ua/ut/utilites/

Direct links:
http://inethub.olvi.net.ua/ftp/ut/ut...extractimg.rar
http://inethub.olvi.net.ua/ftp/ut/ut...ctimglower.rar
http://inethub.olvi.net.ua/ftp/ut/utilites/img.rar
http://inethub.olvi.net.ua/ftp/ut/utilites/imglower.rar

ftp://inethub.olvi.net.ua/ut/utilites/extractimg.rar
ftp://inethub.olvi.net.ua/ut/utilite...ctimglower.rar
ftp://inethub.olvi.net.ua/ut/utilites/img.rar
ftp://inethub.olvi.net.ua/ut/utilites/imglower.rar

Text data:
extractimg.bat:
Code:
@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\
extractimglower.bat (need program renlower.exe):
Code:
@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\
renlower.exe - CLI program, takes one argument - filename, and rename it to lowercase. In PHP its maybe:
PHP Code:
<?php rename($argv[1], dirname($argv[1]).'/'.strtolower(basename($argv[1])));
__________________
It's not who I am underneath, but what I do that defines me.
http://inethub.olvi.net.ua/personal/
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:32 AM.


 

All pages are copyright The Unreal Admins Page.
You may not copy any pages without our express permission.