For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com

Image Centering..

URP - the Unreal Retexturing Project: for those who are interested in High-Resolution Textures for Unreal & UnrealTournament or may want to take part in creating them

Moderator: ahaigh01

User avatar
[]KAOS[]Casey
OldUnreal Member
Posts: 4497
Joined: Sun Aug 07, 2011 4:22 am
Location: over there

Image Centering..

Post by []KAOS[]Casey »

This would be the best place to ask ...

is there a utility that can center non-standard {ex:55x59} textures on a 256x256 black/alpha'd background to mask?.. possibly in batch or by command line if possible..

i've googled for hours and found nothing. short of actually coding my own i don't think it exists :/
User avatar
Tronovision
OldUnreal Member
Posts: 160
Joined: Fri May 04, 2007 10:58 pm

Re: Image Centering..

Post by Tronovision »

I am not sure what the process is to import a picture file into a texture file package and what settings are required to get a masked background (like pink or green or something), however I pretty sure you can achieve what you are asking in photoshop. (Assuming you have a copy...) You could open a new 256x256 pixel image and add in your other 55x59 picture as another layer. You could then center the new layer on the background by selecting it and using Layer->Align To Selection->Vertical Centers, and do the same for Horizontal Centers. That should get the picture perfectly centered. Hope this helps you some...
User avatar
[]KAOS[]Casey
OldUnreal Member
Posts: 4497
Joined: Sun Aug 07, 2011 4:22 am
Location: over there

Re: Image Centering..

Post by []KAOS[]Casey »

I have psp9 and it apparently auto-centers, I just wanted some batch command or something so I don't have to do it for 400+ images :/
User avatar
[]KAOS[]Casey
OldUnreal Member
Posts: 4497
Joined: Sun Aug 07, 2011 4:22 am
Location: over there

Re: Image Centering..

Post by []KAOS[]Casey »

Oooooooh i totally forgot about its scripting feature... Hahaha i can definetly do this.. [smiley=thumbsup.gif]
User avatar
[]KAOS[]Casey
OldUnreal Member
Posts: 4497
Joined: Sun Aug 07, 2011 4:22 am
Location: over there

Re: Image Centering..

Post by []KAOS[]Casey »

Bah, it's in python and i can't figure out how to make new variables :/
User avatar
[]KAOS[]Casey
OldUnreal Member
Posts: 4497
Joined: Sun Aug 07, 2011 4:22 am
Location: over there

Re: Image Centering..

Post by []KAOS[]Casey »

Nevermind, made a correct script. Something called "Canvas Size"

Return to “High-Res Textures for Unreal & UnrealTournament”