... just wondering


(Cambodunum) #1

hey gals and boys :smiley:

… im just wondering if there is a way to get a list of the “textures” which been used in my map
… im sure there is a solution, cuz im going nuts if i have to search em one by one
… i just saw the list of missing textures when ya load a map into radiant (but this wont help me)

thx in advance
greetz Cambo


(Berzerkr) #2

Use a clean installation of ET, load your map and open the console.
Then add the missing textures to the pk3 of your map.
Is it this what you meant?


(Miki) #3

I think he wants to have something that automaticly gets the textures out of the other PK3’s or something?


(Flippy) #4

I suppose what he wants is just a list of all the textures that his map uses, so he knows which ones to put in his PK3.

While this could have been avoided by using a clean installation, I suppose this information is stored somewhere in the .map file. Try opening the map file with notepad. It’s not an ideal solution (it will be hard to find manually) but it may do the job.

Actually I might try to write a program that extracts this information, I suppose that could be very handy!


(Cambodunum) #5

I suppose what he wants is just a list of all the textures that his map uses, so he knows which ones to put in his PK3.

While this could have been avoided by using a clean installation, I suppose this information is stored somewhere in the .map file. Try opening the map file with notepad. It’s not an ideal solution (it will be hard to find manually) but it may do the job.

Actually I might try to write a program that extracts this information, I suppose that could be very handy!

thats exactly what im looking for … :smiley:

ill give a try to solve it via map-file … a program would be awesome … cuz its a pain if youre using textures from many different locations xD

greetz & thx
Cambo


(-SSF-Sage) #6

Hey Cambo :stroggbanana:

What if you unzipped every (map) pk3… then checked the missing textures from the console and add each missing texture from the folders. Then after that delete them all, and for that moment, map on a CLEAN installation. (I have 4-5 installations of ET, so that is NOT a problem… been that way for ages and everything works as supposed)


(Wezelkrozum) #7

I think the fasts way is to open the your bsp or map file in notepad and use the search tool. Then type in texture/ and all the textures will be found:wink:


(Magic) #8

Iu use a prog called Bspshoe - it lists all textures and shaders in your BSP file

bspshoe_20


(Flippy) #9

Too bad that the texture strings do not start with “texture/” :wink:

It just looks like this for brushes:

// brush 4821
{
(-389 983) (981 120) (0 93) common/caulk 0.0 0.0 0.5 0.5
... (six times)
}

And for patches it is also different…

I made a quick start for my program but still figuring out the regex needed to extract the texture paths :stuck_out_tongue: Will take some time I guess…


(IndyJones) #10

but BSP does use textures path.


(Cambodunum) #11

bspshoe doesnt work for me … maybe its no compatible to vista … even if ill try xp-comp. :frowning:
hopefully flippy is able to solve the path-problem xD


(-SSF-Sage) #12

What was wrong with my solution or couple other? It would take like 20 mins or so, why to bother your head with it? :eek:


(IndyJones) #13

just open the bsp in notepad and you will have list of textures…


(Cambodunum) #14

its nothing wrong with all these solutions … thats the way ive solved it mostly … just wondering if there would be an uncomplicated one … cuz im annoyed of searching one by one xD

… my current project is nearly finished … and im afraid of searching all these textures for it


(Flippy) #15

Well, my program is not really coming along great…

The textures are hidden too well in the .Map files (hard to extract them for a computer, not for a human I mean), and they are much more easily extractable from the BSP file.

However, I can’t seem to read the BSP file correctly… If I use Notepad or Wordpad it shows me loads of unknown characters, but I can still read the “textures/ …” strings I need.
But when I read the file with my program, it is 99% weird characters and I cannot see a single “textures/ …” anymore… :frowning:

Does anyone know which encoding is used for the BSP file maybe? :\


(Flippy) #16

Well it works so far…

I might make it a little more useful by providing you with the shader when you doubleclick it, and with the actual texture image if available. I could also compare each texture to a hardcoded list of standard textures so my program can tell you exactly which textures you need to put in your PK3 and which you don’t need…


(Cambodunum) #17

awesome flippy!! really great!!


(Pande) #18

OMG guys… srsly that is OVERKILL! xD Use Ctrl + A, then U in radiant and you will get all shaders and textures used in your map displayed in the texture pane. jot down or use your memory if its a small map and put the custom ones into new mapfolders for .pk3.


(-SSF-Sage) #19

Let me quote myself:

Let the guys play… :D:D:D:D


(IndyJones) #20

ctrl+a and ctrl+c in log window doesn’t work for me, at least on win xp and radiant 1.4. you have to do everything with right click mouse. :slight_smile: