Page 2 of 3

Re: [Tutorial]Recreating Map's Editor Files

Posted: 2012-04-28 08:51
by Spyker2041
'[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.
Image
Manually resaved one of the files with settings shown in the above pic but all "squares" still have black lines going through them.

Re: [Tutorial]Recreating Map's Editor Files

Posted: 2012-04-28 09:07
by Amok@ndy
did you have a look at all your files ? i guess that a detailtexture or a lowdetail.dds has this black lines in it

Re: [Tutorial]Recreating Map's Editor Files

Posted: 2012-04-28 13:01
by Spyker2041
[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
I resaved tx00x00.dds for color, detail and lowdetail but black lines still there. :(

Re: [Tutorial]Recreating Map's Editor Files

Posted: 2012-04-28 20:29
by Amok@ndy
so you had a look at all .dds files and made sure that there are no black lines in the texture ?

Re: [Tutorial]Recreating Map's Editor Files

Posted: 2012-04-28 20:57
by Spyker2041
[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 ?
Correct, none of the colormap textures have black lines

Re: [Tutorial]Recreating Map's Editor Files

Posted: 2012-04-28 21:00
by Amok@ndy
detail and lowdetail ? as far as i remember i had this issue with a detail or lowdetail not beeing 512x512 but beeing 1024x1024

Re: [Tutorial]Recreating Map's Editor Files

Posted: 2012-04-29 11:33
by Spyker2041
Nope everything is 512x512

Re: [Tutorial]Recreating Map's Editor Files

Posted: 2012-04-29 12:03
by Amok@ndy
so you have all your textures in /yourmap/ and in /yourmap/editor/ ?

Re: [Tutorial]Recreating Map's Editor Files

Posted: 2012-04-29 12:33
by Spyker2041
Correct.

Re: [Tutorial]Recreating Map's Editor Files

Posted: 2012-04-29 12:38
by Amok@ndy
thats really strange, have you tried regenerating lowdetailmaps in the editor ?

Re: [Tutorial]Recreating Map's Editor Files

Posted: 2012-04-29 16:21
by Rudd
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.

Re: [Tutorial]Recreating Map's Editor Files

Posted: 2012-05-20 03:31
by AFsoccer
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.

Image
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).

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.

Re: [Tutorial]Recreating Map's Editor Files

Posted: 2012-05-20 04:45
by HangMan_
can u upload your updated/new script? Please :)

Re: [Tutorial]Recreating Map's Editor Files

Posted: 2012-05-30 16:26
by Clos3r
Nice tutorial!
Can you upload to us? :D

Re: [Tutorial]Recreating Map's Editor Files

Posted: 2012-05-31 09:52
by Outlawz7
Redid it, check if it works, file attached.

Re: [Tutorial]Recreating Map's Editor Files

Posted: 2013-01-23 13:41
by Gracler
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:
[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).
Am I right that it should save it as DXT1 -> alpha 1 -> no mips?

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

Re: [Tutorial]Recreating Map's Editor Files

Posted: 2013-01-23 20:35
by AFsoccer
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.

Solved!!

Posted: 2013-01-24 01:26
by Gracler
There is apparently nothing wrong with the script what I did to resolve my problem was!
  1. 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"
  2. Then I ran the script like this guide describes and it worked fine
The main problem was that I had checked "Use Existing MIP maps" which gave me a 256x512 format

Re: Recreating Map's Editor Files

Posted: 2016-05-06 15:44
by Ivancic1941
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

Re: Recreating Map's Editor Files

Posted: 2022-04-27 03:14
by Guedoe
Any chance of getting the salvagecolordetail.atn updated for ps2019?