Did you know? All of these messages will likely be replaced before release.

Creating S3TC Textures

For questions and discussion about UnrealEd, UnrealScript, and other aspects of Unreal Engine design.

Moderators: Semfry, ividyon

Wail
Skaarj Scout Skaarj Scout
Posts: 40
Joined: 26 Dec 2007, 15:05

Subject: Creating S3TC Textures

Post Posted: 09 Jan 2008, 04:07

Bit of a newbish question here, but here goes: How does one go about creating S3TC textures for UT?
I've created a few textures for UT2004, but haven't done much in the way of textures for UT99. The only information I've been able to find regarding textures in UT99 is using bright to create palettized bmp textures. Any help?

User avatar sm1key
Skaarj Scout Skaarj Scout
Posts: 14
Joined: 21 Dec 2007, 03:06
Location: The Netherlands
Contact:

Subject:

Post Posted: 09 Jan 2008, 14:52

contact Diehard of the CelticWarriors clan ?

http://www.celticwarriors.net/

He can give you more information ;)

User avatar zYnthetic
Skaarj Warlord Skaarj Warlord
Posts: 510
Joined: 12 Nov 2007, 00:10

Subject:

Post Posted: 10 Jan 2008, 02:10

Instructions per UA
Make folders
s3tcmake\oldhigh
s3tcmake\srclow
You need 2 texture packages. The low/normal rez should be imported 256 (or below) pcx. Then the high should be 512 (or above) 24bit bmp (masked tex will still need to be pcx). Both filenames (including tex names) will need to be the same so after making one place it in it's respective folder. Not every lowrex tex needs a highrez but each highrez needs a lowrez.
Copy the following text and save it as S3TC_Make.bat in s3tcmake\

Code: Select all

@echo off
cd ..
cd System
echo ====== S3TC MAKE ======
echo Converting UTX to S3TC...
ucc.exe mergedxt ..\s3tcmake\srclow\ ..\s3tcmake\oldhigh\ ..\s3tcmake\
echo Completed!...

Run the bat via cmd and it'll merge the packages into s3tc. You may have to later assign detail tex and such.
Image

Wail
Skaarj Scout Skaarj Scout
Posts: 40
Joined: 26 Dec 2007, 15:05

Subject:

Post Posted: 11 Jan 2008, 03:12

zYnthetic wrote:Instructions per UA
Make folders
s3tcmake\oldhigh
s3tcmake\srclow
You need 2 texture packages. The low/normal rez should be imported 256 (or below) pcx. Then the high should be 512 (or above) 24bit bmp (masked tex will still need to be pcx). Both filenames (including tex names) will need to be the same so after making one place it in it's respective folder. Not every lowrex tex needs a highrez but each highrez needs a lowrez.
Copy the following text and save it as S3TC_Make.bat in s3tcmake\

Code: Select all

@echo off
cd ..
cd System
echo ====== S3TC MAKE ======
echo Converting UTX to S3TC...
ucc.exe mergedxt ..\s3tcmake\srclow\ ..\s3tcmake\oldhigh\ ..\s3tcmake\
echo Completed!...

Run the bat via cmd and it'll merge the packages into s3tc. You may have to later assign detail tex and such.


Thanks, I will give this a try.

User avatar Diehard
Skaarj Warrior Skaarj Warrior
Posts: 90
Joined: 14 Dec 2007, 20:37
Location: The Netherlands
Contact:

Subject:

Post Posted: 18 Jan 2008, 02:19

Yep, UT has native support for S3TC textures, so you can use that safelly.


Can you post a few examples from your work?, always cool to see what people do create :)
.
.
.
DìèHárd»§ÇW§

User avatar Raven
Skaarj Warlord Skaarj Warlord
Posts: 807
Joined: 12 Nov 2007, 09:39
Location: Nørresundby
Contact:

Subject:

Post Posted: 06 Apr 2008, 12:35

Small tool, which helps creating merged S3TC packages. It's a GUI for ucc mergedxt. It has all basic options like remember all paths and deleting merged files before it calls ucc mergedxt. Download link: http://turniej.unreal.pl/pliki/ued/prog/MergeDXT.rar

Image
Last edited by Raven on 06 Apr 2008, 12:55, edited 1 time in total.
Madness, as you know, is like gravity…all it takes is a little push!
Image
http://turniej.unreal.pl/portfolio

User avatar Creavion
Skaarj Warlord Skaarj Warlord
Posts: 745
Joined: 12 Nov 2007, 09:43

Subject:

Post Posted: 06 Apr 2008, 12:53

Raven wrote:Download link:

Where? :?

@zYnthetic: Ah and I thought the whole time dds textures would be imported... interesting..
Last edited by Creavion on 06 Apr 2008, 12:57, edited 1 time in total.

User avatar Raven
Skaarj Warlord Skaarj Warlord
Posts: 807
Joined: 12 Nov 2007, 09:39
Location: Nørresundby
Contact:

Subject:

Post Posted: 06 Apr 2008, 12:55

I was 100% sure I pasted it :) http://turniej.unreal.pl/pliki/ued/prog/MergeDXT.rar sorry :P
Madness, as you know, is like gravity…all it takes is a little push!
Image
http://turniej.unreal.pl/portfolio

User avatar Creavion
Skaarj Warlord Skaarj Warlord
Posts: 745
Joined: 12 Nov 2007, 09:43

Subject:

Post Posted: 06 Apr 2008, 12:59

Raven wrote:I was 100% sure I pasted it :) http://turniej.unreal.pl/pliki/ued/prog/MergeDXT.rar sorry :P

Thanks dude... and how is that with that scaling of the highres textures?

I guess I try it with out with Hour Indux X and his other stuff... those package should be really Highres for ut1.

Edit: So, I will try it with 2 textures from Hour Indus X, I exported the Highres from the ut04 version.

HourIndusX_UT.Bricks.HourIndus_brick4

HourIndusX_UT.Bases.HourIndus_basemetalwarningcol

Edit 2: The pathes in that tool, what do they contain exactly? The pcx and the bmps? Sry yearh I know I havent understand that yet :/

Would I need the Low thingy path if I would make only a Highres version of HourIndusX_UT?

User avatar Creavion
Skaarj Warlord Skaarj Warlord
Posts: 745
Joined: 12 Nov 2007, 09:43

Subject:

Post Posted: 06 Apr 2008, 15:30

sry for double post, but I really want a answer
Well, I guess I make a lot of wrong.. the datas:

C:\Games\FirstPerson\UT-Goty\s3tcmake\srclow

includes HourIndus_basemetalwarningcol.pcx and HourIndus_brick4.pcx (the exported textures from the original package)

C:\Games\FirstPerson\UT-Goty\s3tcmake\oldhigh

includes HourIndus_basemetalwarningcol.bmp (1024 x 1024, 24 bit) and HourIndus_brick4.bmp (1024 x 1024, 24 bit)

Merge DXT Folders
Low resolution textures: C:\Games\FirstPerson\UT-Goty\s3tcmake\srclow\
High resolution textures: C:\Games\FirstPerson\UT-Goty\s3tcmake\oldhigh\
Merged textures: C:\Games\FirstPerson\UT-Goty\s3tcmake\merge\ (empty folder)
ucc.exe directory: C:\Games\FirstPerson\UT-Goty\System\
(I believe, thats the only thing I made right :o )

the S3TC_Make.bat is in the C:\Games\FirstPerson\UT-Goty\s3tcmake folder and the MergeDXT.exe as well.
So, what the hell do I have to do now??????

User avatar Raven
Skaarj Warlord Skaarj Warlord
Posts: 807
Joined: 12 Nov 2007, 09:39
Location: Nørresundby
Contact:

Subject:

Post Posted: 06 Apr 2008, 15:53

as far as I understand you put bmp/pcx in folder ?? If yes - it will never work. You have to import low-res textures into utx (save it in src low), reopen UED and import high-res textures (save utx in oldhigh). The trick is, that both of packages must be identical. So both utx must have same name, and inside same texture names and groups. UED can import 24bit bmp files (as well as mp3 into uax files). My tool is just simple GUI for ucc mergedxt. You have to create utx by your self and then merge them.

EDIT:
I've made little changes in GUI :).
Madness, as you know, is like gravity…all it takes is a little push!
Image
http://turniej.unreal.pl/portfolio

User avatar Creavion
Skaarj Warlord Skaarj Warlord
Posts: 745
Joined: 12 Nov 2007, 09:43

Subject:

Post Posted: 06 Apr 2008, 15:58

I dont know much really more than before... uff thats bad
but some details are more clearly know, but not that with the 24 bits import into ued...

User avatar Raven
Skaarj Warlord Skaarj Warlord
Posts: 807
Joined: 12 Nov 2007, 09:39
Location: Nørresundby
Contact:

Subject:

Post Posted: 06 Apr 2008, 16:08

A little sample.

Import low-res version textures int UED (name package S3TCTest, group All). Save utx in srclow. Now import 24-bit bmp version of that textures (name package S3TCTest and group All). Save utx in oldhigh. Be sure that both packages has same number of textures inside (and texture names are same). Then merge bot by using bat or my tool. ucc mergedxt will combine both packages into one utx and compress high-res textures into S3TC.

To import bmp in UED just change in import dialog file type form PCX File(*.pcx) to All Files.
Madness, as you know, is like gravity…all it takes is a little push!
Image
http://turniej.unreal.pl/portfolio

User avatar Creavion
Skaarj Warlord Skaarj Warlord
Posts: 745
Joined: 12 Nov 2007, 09:43

Subject:

Post Posted: 06 Apr 2008, 16:37

ok, thats clear now, but isnt it so, that the ued changes the 24 bits into 256 color 8 bits?

ok it worked but I exported the testtexture - with utpt
before I had around 37000 colors (original was jpg) and now only around 8300 colors. Well, I guess its normal, isnt it?

User avatar Raven
Skaarj Warlord Skaarj Warlord
Posts: 807
Joined: 12 Nov 2007, 09:39
Location: Nørresundby
Contact:

Subject:

Post Posted: 06 Apr 2008, 16:41

No. At least I didn't see difference. But if you export 24bit textures from UTX, they'll be saved as 8bit pcx :).
Madness, as you know, is like gravity…all it takes is a little push!
Image
http://turniej.unreal.pl/portfolio

Next

Who is online

Users browsing this forum: No registered users and 33 guests

Copyright © 2001-2024 UnrealSP.org

Powered by phpBB® Forum Software © phpBB Limited