Manually resaved one of the files with settings shown in the above pic but all "squares" still have black lines going through them.'[R-DEV wrote:Outlawz7;1388904']In case you're wondering what just happened; what this action did was resave the colormaps to 32-bit A8R8G8B8 format with one mipmap. This is the format that editor can use.
Recreating Map's Editor Files
-
- Posts: 1076
- Joined: 2010-03-18 16:25
Re: [Tutorial]Recreating Map's Editor Files
-
- Retired PR Developer
- Posts: 5144
- Joined: 2008-11-27 22:13
Re: [Tutorial]Recreating Map's Editor Files
did you have a look at all your files ? i guess that a detailtexture or a lowdetail.dds has this black lines in it
-
- Posts: 1076
- Joined: 2010-03-18 16:25
Re: [Tutorial]Recreating Map's Editor Files
I resaved tx00x00.dds for color, detail and lowdetail but black lines still there.[R-DEV]Amok@ndy wrote:did you have a look at all your files ? i guess that a detailtexture or a lowdetail.dds has this black lines in it
-
- Retired PR Developer
- Posts: 5144
- Joined: 2008-11-27 22:13
Re: [Tutorial]Recreating Map's Editor Files
so you had a look at all .dds files and made sure that there are no black lines in the texture ?
-
- Posts: 1076
- Joined: 2010-03-18 16:25
Re: [Tutorial]Recreating Map's Editor Files
Correct, none of the colormap textures have black lines[R-DEV]Amok@ndy wrote:so you had a look at all .dds files and made sure that there are no black lines in the texture ?
-
- Retired PR Developer
- Posts: 5144
- Joined: 2008-11-27 22:13
Re: [Tutorial]Recreating Map's Editor Files
detail and lowdetail ? as far as i remember i had this issue with a detail or lowdetail not beeing 512x512 but beeing 1024x1024
-
- Posts: 1076
- Joined: 2010-03-18 16:25
-
- Retired PR Developer
- Posts: 5144
- Joined: 2008-11-27 22:13
Re: [Tutorial]Recreating Map's Editor Files
so you have all your textures in /yourmap/ and in /yourmap/editor/ ?
-
- Posts: 1076
- Joined: 2010-03-18 16:25
-
- Retired PR Developer
- Posts: 5144
- Joined: 2008-11-27 22:13
Re: [Tutorial]Recreating Map's Editor Files
thats really strange, have you tried regenerating lowdetailmaps in the editor ?
-
- Retired PR Developer
- Posts: 21225
- Joined: 2007-08-15 14:32
Re: [Tutorial]Recreating Map's Editor Files
I has an idea...could you rename the original map's folder, and try loading the map again in the editor - perhaps a file is still pointing to the old files (maybe the .mat?) and that is resulting in this strangeness; just a thought.
-
- Retired PR Developer
- Posts: 4289
- Joined: 2007-09-04 07:32
Re: [Tutorial]Recreating Map's Editor Files
I just experienced the same problem. So after some investigation it looks like the action script isn't working correctly. When I checked my files they were all saved as DXT5. I started over and tried again to see if it would reproduce the same error and it did. So then I created a new script that saved the files correctly and the map looks correct now (i.e. no black lines).DHope129 wrote:Hi,
I was regenerating kashan for personal use and I got up the the part where you put the detail textures in and i put editor in detail texture mode and got black stripes spanning the map. I'm not entirely sure what im supposed to do in this case. Should i paint these areas, or did i do something wrong? Ill post a screenshot, Thanks.
Btw, I used Photoshop CS5 and Outlawz used CS3 so maybe that caused the issue, or maybe since the first link went down Outlawz uploaded an old/incorrect script the second time. In any case, a new script is needed. I would upload mine but I don't know how to make it save files to the right spot. I had to manually copy mine over after it was done.
-
- Posts: 1753
- Joined: 2009-06-07 00:58
Re: [Tutorial]Recreating Map's Editor Files
can u upload your updated/new script? Please
PR Community Faction Team - "Getting Sh*t Done..."
-
- Posts: 1
- Joined: 2012-05-30 16:16
-
- Retired PR Developer
- Posts: 17261
- Joined: 2007-02-17 14:59
Re: [Tutorial]Recreating Map's Editor Files
Redid it, check if it works, file attached.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 947
- Joined: 2009-03-22 05:16
Re: [Tutorial]Recreating Map's Editor Files
Did the black line issue get resolved? I tryed this "new" action script and Im still having black lines how is the manual way again?
edit:
Edit2:
using woody's Texture Viewer it tells me that the dds files from "detailmaps" are "format 16bit- R5G6B5 size 256x256 mipmap1/1"
after i run the action script in photoshop (im using CS5) it changes to the same except its now size 256x512 size..... shoudnt it be 512x512 ? Im not sure that the settings in the dds save dialogue is correct, and i wonder what they should be or if somone has a profile I can use that is correct.
Furthermore the action script dosent seem to have any effect on the dds save dialogue so it will save-as with the previous used dds settings, which means i guess i have to set them properly to get this to work.
Problem Solved ! see below
edit:
Am I right that it should save it as DXT1 -> alpha 1 -> no mips?[R-DEV]AFsoccer wrote:I just experienced the same problem. So after some investigation it looks like the action script isn't working correctly. When I checked my files they were all saved as DXT5. I started over and tried again to see if it would reproduce the same error and it did. So then I created a new script that saved the files correctly and the map looks correct now (i.e. no black lines).
Edit2:
using woody's Texture Viewer it tells me that the dds files from "detailmaps" are "format 16bit- R5G6B5 size 256x256 mipmap1/1"
after i run the action script in photoshop (im using CS5) it changes to the same except its now size 256x512 size..... shoudnt it be 512x512 ? Im not sure that the settings in the dds save dialogue is correct, and i wonder what they should be or if somone has a profile I can use that is correct.
Furthermore the action script dosent seem to have any effect on the dds save dialogue so it will save-as with the previous used dds settings, which means i guess i have to set them properly to get this to work.
Problem Solved ! see below
Last edited by Gracler on 2013-01-24 01:34, edited 7 times in total.
-
- Retired PR Developer
- Posts: 4289
- Joined: 2007-09-04 07:32
Re: [Tutorial]Recreating Map's Editor Files
It's probably best to create your own script. It's fairly easy to do so, and then you can have it save the files in the correct format and in whatever location you prefer. As for format, it should be 32-bit A8R8G8B8 512x512 and 1 mipmap.
-
- Posts: 947
- Joined: 2009-03-22 05:16
Solved!!
There is apparently nothing wrong with the script what I did to resolve my problem was!
- test save a dds to bring up the Nvidia dds format save dialogue. Here I set it to 8.8.8.8 ARGB 32 bpp and under MIP Map Generation i set it to "Generate MIP maps" "1"
- Then I ran the script like this guide describes and it worked fine
-
- Posts: 64
- Joined: 2014-08-26 09:54
Re: Recreating Map's Editor Files
Plz
I downloaded salvagecolordetail and I have PS2.So I opened rar file and in it was something that I just extracted(in tut it says install?) to Ps2/Presets/Actions (note I needed to create this actions folder). After I started proces I came to
" and select the SalvageColorDetail action set and under actions" in batch. But there wasnt this to select. I dont know how to activate/install this salvagecolordetail as there is not exe in downloaded
I downloaded salvagecolordetail and I have PS2.So I opened rar file and in it was something that I just extracted(in tut it says install?) to Ps2/Presets/Actions (note I needed to create this actions folder). After I started proces I came to
" and select the SalvageColorDetail action set and under actions" in batch. But there wasnt this to select. I dont know how to activate/install this salvagecolordetail as there is not exe in downloaded
-
- Retired PR Developer
- Posts: 222
- Joined: 2006-05-21 15:42
Re: Recreating Map's Editor Files
Any chance of getting the salvagecolordetail.atn updated for ps2019?
RETIRED