textures and paths


(DWM|Commando) #1

ok guys i am getting my map ready for its alpha and i am in the process of getting every tecture i used and putting it in 1 file ( i didnt know better when i first started mapping:( )so not onlyy do i have to find every texture manually(which i s a hell seeing as how i dont know which pk3 half them are in) but i also need to change the in game file paths. so my question is if i take all teh textures form the their files and put them in one, is there soem way i can change every single files texture path to a different one in 2 or 3 steps(i e not habving to retexture every part manually) if thsts possible it would help, or i have to retexture it all! :banghead:


(Ifurita) #2

Search and Replace
Click on Search For
CTRL+SHIFT on first texture
Click on Replace With
CTRL+SHIFT on first texture again and replace the folder name
Apply

Test this first on a back up copy so that you can play around with how this works.


(DWM|Commando) #3

ok thanks, you probably save me countless hours(Y)


(The Wanderer) #4

If you’re talking about the official textures(the ones that come with the game) then you don’t have to extract these and distribute them again because everyone already has them.
If you’re talking about textures from other custom maps’ pk3s then again you shouldn’t extract them because you shouldn’t use other people’s textures without their permission in the first place.
If however you do have their permission then go nuts.


(DWM|Commando) #5

i know all that, and i am in the process of contacting people… just some people dont answer their pms…

coughcoughmarkocoughcough


(SCDS_reyalP) #6

In general, its a good idea to map from a ‘clean install’, that doesn’t have any custom .pk3s in it. Then if you need a custom texture for something go out and look for it.

You can use fs_refrencedlist to see a list of pk3s that et thinks it is using.


(smallwood2000) #7

You need pakscape and you need to open all of the pak1 folder out to your etmain folder. with this program you can open any pk3 file and take out wots inside

http://www.fileplanet.com/dl.aspx?maldavria/pakscape/pakscape-011.zip


(SCDS_reyalP) #8

a pk3 file is just a zip file. Any zip program will open it. In any case, npacking pak0 isn’t going to do anything with respect to the custom textures he used in his map.


(smallwood2000) #9

http://uk.geocities.com/caldecottlambert@btinternet.com/tutorials.htm A very good tutorial i just made on how to fix this problem click on tutorial 2


(DWM|Commando) #10

smallwood, that program you were speaking of, will it show me all the textures that my map is suing, cause i also need to find what pk3s they are i nand extract them 1 by 1 and put them in my own main fodler for the map d/l. if that program does taht it would help, or if you or anyone know hwo i can get all the folder paths to my textures so i dont have to search every pk3. The search that mr. lego(i think it was) said to do dosnt work for me for sum reason…


(Ifurita) #11
  1. Test your map in a clean environment
  2. Enable logging
  3. Print your etmain/etconsole.log
  4. Read list of missing textures

You’ll also see the list of missing textures in yellow, if you drop the console immediately after loading the map


(DWM|Commando) #12

ok but will this show me which .pk3s they textures are in? becausei ahve go to the console before and can tell waht subfolders of teh texture folders they are in, jsut not hte pk3’s themselves. That is whati am mainly interested in, causei have about 200 .pk3’s


(Ifurita) #13

Well, that’s one of the reasons you want to limit the number of pk3s in your mapping environment, because Radiant will pull textures from any valid pk3 and as a result, you will have a lot of missing textures.

Pakscape is a very useful tool for browsing thru pk3 files

http://www.planetwolfenstein.com/4newbies/pakscape.zip


(DWM|Commando) #14

ok i willtry that, thanks


(SCDS_reyalP) #15

No. As I said.

You can use fs_refrencedlist to see a list of pk3s that et thinks it is using.

That won’t tell you which texture comes from which pk3, but it will narrow down the list quite a bit.

You can also use
fs_debug 1
which will spit out a line fire every file loaded, including which .pk3 it was loaded from. However, this will generate a huge log, so is only worthwhile if you know how to search the output. You must log the console, as stuff will quickly scroll off of what is available in the ingame console.