Aller au contenu

Photo

DDS files unusable--problem with Win 7? or x64? or PS CS4?


  • Veuillez vous connecter pour répondre
11 réponses à ce sujet

#1
Ancalimohtar

Ancalimohtar
  • Members
  • 50 messages
I've tried the converter (http://eliteforce2.f...Converter;29412) and the nVIDIA plugin for Photoshop (http://developer.nvi...ds_plugins.html) and neither works. The converter's "Convert" button is gray, and the PS plugin does nothing after a seemingly successful install.

After some googlework, it seems possible that the problem lies with Win 7, with x64, or with the CS4 version of PS. Does anyone know which it is? What would be the easiest way for me to edit DDS (or convert to-and-from) DDS? Thanks.

Modifié par Ancalimohtar, 25 mars 2010 - 03:33 .


#2
FollowTheGourd

FollowTheGourd
  • Members
  • 572 messages
There's some plugin for GIMP - might try that if all else is failing.

#3
Charsen

Charsen
  • Members
  • 2 266 messages
I think it has to do with the CS4 plugin for dds, but I am not 100%. My friend that does textures decided to go back to the previous version of Photoshop since the plugin works fine there.

Like FollowTheGourd said, GIMP might be a good solution instead of that, though.

#4
Weiser_Cain

Weiser_Cain
  • Members
  • 1 945 messages
Install? I though you just stuck it in the plugin folder, haven't used it in years though so I may be completely wrong

#5
Ancalimohtar

Ancalimohtar
  • Members
  • 50 messages
Thanks, gonna try GIMP tomorrow.



And Weiser, yeah it's an .exe.

#6
tmp7704

tmp7704
  • Members
  • 11 156 messages
the nvidia plugin only works with 32-bit version of Photoshop, so if you have 64-bit version only that'd be your problem. Try to access it from the 32-bit version instead if you can. (it can be installed on 64-bit system and co-exist with 64-bit version of the Photoshop just fine)

Another option would be to use DxTex (DirectX Texture Tool) -- a stand-alone viewer/converter for the textures which comes as part of directX SDK available from Microsoft web site.

Modifié par tmp7704, 25 mars 2010 - 12:15 .


#7
Jukesbox360

Jukesbox360
  • Members
  • 21 messages
The GIMP has a DDS file plugin to view, edit and save DDS file formats, you can get it here: registry.gimp.org/node/70

If your looking to extract all the DDS files from the DAO directory folder, then I'd suggest using Multiextractor and you can get that from: www.multiextractor.com as a fast and painless way to grab every single DDS file from the entire folder.

If you'd rather not spend the money for Multiextractor, the alternative is slower but still works for free:
Open the Toolset:
go to FILE -> OPEN FILE -> ( Select the file with the .erf extension that you want to open )
 this will show you all the .dds files inside.
Next thing to do is choose a file to extract or choose to extract all of the .dds files and to do that, you simply move the mouse cursor to the .dds file list and press the Right Mouse Button.. in the small window that appears, either choose "Extract Resource" for a single file or choose "Extract All Resources" ... a Browse to Folder window will appear so you can select where to put your .dds files.

Now that you have your .dds files you can open The GIMP ( or The GIMPshop.. for Photoshop fans ).
Browse to the folder where you just put your .dds files and edit away..
When your done, simply save the file as a .dds file.

Back in the Toolset, drag and drop your edited .dds file to the resource window and your done.

I am brand new to the Toolset after finishing DAO / DAO-A.. and I have searched for days to get this information.
My hope is that somebody here could use it. Image IPB

Modifié par Jukesbox360, 25 mars 2010 - 02:54 .


#8
Ancalimohtar

Ancalimohtar
  • Members
  • 50 messages
Alright, I downloaded GIMP and the DDS plugin, and use it to convert to .PSD, which I then edit in PS, and then reopen in GIMP and convert back to DDS. Whew.



Thanks for the help, all.

#9
nezroy

nezroy
  • Members
  • 99 messages
Honestly it's much easier to just save to TGA and then use the nvdxt command line tool to do your DDS conversions (which you can d/l from the nvidia DDS tools site or use the one included with the toolset in "dragon age origins\\tools\\ResourceBuild\\Processors\\"). You generally get better quality textures that way and aren't stuck with any particular graphics program either. If you setup a batch or cmd file to do a bunch of stuff all at once, you can even quickly and easily generate all your different sized textures (high and medium, different LODs, etc.) from a single hires source TGA with a single click.

EDIT1: The GIMP DDS plugin sucks, BTW. It produces crappy quality DXT5 compression and it crashed my win7 64-bit GIMP *all* the time. Maybe that was just me, but anyway, I was much happier when I went to a TGA->nvdxt workflow.

EDIT2: Here's the start of the batch file I use to convert my source hires TGA into multi-res LOD versions, etc., for an armor piece as an example. This isn't the entire batch file, but just an example of what you might use. Of course it could also be much simpler than this too...

@echo off

set DDSPROG=C:\\Program Files (x86)\\NVIDIA Corporation\\DDS Utilities\\nvdxt.exe
set DDSOPTS=-quality_highest
set ARTPATH=C:\\Users\\nezroy\\Documents\\BioWare\\Dragon Age\\AddIns\\nez_SALeliana\\assets\\art
set HIPATH=C:\\Users\\nezroy\\Documents\\BioWare\\Dragon Age\\AddIns\\nez_SALeliana\\core\\textures\\high\\texturepack
set MEDPATH=C:\\Users\\nezroy\\Documents\\BioWare\\Dragon Age\\AddIns\\nez_SALeliana\\core\\textures\\medium\\texturepack

if "%1" == "all" goto chest
if "%1" == "chest" goto chest
if "%1" == "boots" goto boots
if "%1" == "gloves" goto gloves
if "%1" == "dagger" goto dagger
if "%1" == "bow" goto bow
if "%1" == "quiver" goto quiver

echo usage tga_to_dds.bat all/chest/boots/gloves/dagger/bow/quiver
goto end


:chest
SET SRCTGA=%ARTPATH%\\chest\\diffuse.tga
SET DDSBASE=pf_nez_chSA_0d
SET DDSTYPE=-dxt1
"%DDSPROG%" %DDSOPTS% %DDSTYPE% -file "%SRCTGA%" -output "%HIPATH%\\%DDSBASE%.dds"
"%DDSPROG%" %DDSOPTS% %DDSTYPE% -file "%SRCTGA%" -prescale 512 512 -output "%HIPATH%\\%DDSBASE%l2.dds"
copy "%HIPATH%\\%DDSBASE%l2.dds" "%MEDPATH%\\%DDSBASE%.dds"
"%DDSPROG%" %DDSOPTS% %DDSTYPE% -file "%SRCTGA%" -prescale 256 256 -output "%HIPATH%\\%DDSBASE%l3.dds"
copy "%HIPATH%\\%DDSBASE%l3.dds" "%MEDPATH%\\%DDSBASE%l2.dds"
"%DDSPROG%" %DDSOPTS% %DDSTYPE% -file "%SRCTGA%" -prescale 128 128 -output "%MEDPATH%\\%DDSBASE%l3.dds"

SET SRCTGA=%ARTPATH%\\chest\\specular.tga
SET DDSBASE=pf_nez_chSA_0s
SET DDSTYPE=-dxt5
"%DDSPROG%" %DDSOPTS% %DDSTYPE% -file "%SRCTGA%" -output "%HIPATH%\\%DDSBASE%.dds"
"%DDSPROG%" %DDSOPTS% %DDSTYPE% -file "%SRCTGA%" -prescale 512 512 -output "%HIPATH%\\%DDSBASE%l2.dds"
copy "%HIPATH%\\%DDSBASE%l2.dds" "%MEDPATH%\\%DDSBASE%.dds"
"%DDSPROG%" %DDSOPTS% %DDSTYPE% -file "%SRCTGA%" -prescale 256 256 -output "%HIPATH%\\%DDSBASE%l3.dds"
copy "%HIPATH%\\%DDSBASE%l3.dds" "%MEDPATH%\\%DDSBASE%l2.dds"
"%DDSPROG%" %DDSOPTS% %DDSTYPE% -file "%SRCTGA%" -prescale 128 128 -output "%MEDPATH%\\%DDSBASE%l3.dds"

SET SRCTGA=%ARTPATH%\\chest\\tint.tga
SET DDSBASE=pf_nez_chSA_0t
SET DDSTYPE=-dxt5
"%DDSPROG%" %DDSOPTS% %DDSTYPE% -file "%SRCTGA%" -output "%HIPATH%\\%DDSBASE%.dds"
"%DDSPROG%" %DDSOPTS% %DDSTYPE% -file "%SRCTGA%" -prescale 512 512 -output "%HIPATH%\\%DDSBASE%l2.dds"
copy "%HIPATH%\\%DDSBASE%l2.dds" "%MEDPATH%\\%DDSBASE%.dds"
"%DDSPROG%" %DDSOPTS% %DDSTYPE% -file "%SRCTGA%" -prescale 256 256 -output "%HIPATH%\\%DDSBASE%l3.dds"
copy "%HIPATH%\\%DDSBASE%l3.dds" "%MEDPATH%\\%DDSBASE%l2.dds"
"%DDSPROG%" %DDSOPTS% %DDSTYPE% -file "%SRCTGA%" -prescale 128 128 -output "%MEDPATH%\\%DDSBASE%l3.dds"

SET SRCTGA=%ARTPATH%\\chest\\normal.tga
SET DDSBASE=pf_nez_chSA_0n
SET DDSTYPE=-dxt5
"%DDSPROG%" %DDSOPTS% %DDSTYPE% -file "%SRCTGA%" -output "%HIPATH%\\%DDSBASE%.dds"
"%DDSPROG%" %DDSOPTS% %DDSTYPE% -file "%SRCTGA%" -prescale 512 512 -output "%MEDPATH%\\%DDSBASE%.dds"

if "%1" == "chest" goto :end

Modifié par nezroy, 25 mars 2010 - 09:16 .


#10
Ancalimohtar

Ancalimohtar
  • Members
  • 50 messages
I'm not familiar with the Windows command-line language, so I'm not going to be able to write or edit batch files really.

The nvdxt file, when run, opens a command line, runs a bunch of stuff super fast, and then closes. How do I actually use it?

Modifié par Ancalimohtar, 25 mars 2010 - 09:46 .


#11
Jukesbox360

Jukesbox360
  • Members
  • 21 messages

Ancalimohtar wrote...

I'm not familiar with the Windows command-line language, so I'm not going to be able to write or edit batch files really.

The nvdxt file, when run, opens a command line, runs a bunch of stuff super fast, and then closes. How do I actually use it?


I agree that the batch file would be a fast approach but it's not useful for everyone... and even I have forgotten most of the syntax for DOS, so this option would be another hurdle to overcome. If your able to write batch files and your happy using that method then I say "Hat's off to you Ser".

The GIMP comes in 2 flavors, Original and Photoshop.. The Gimp, and The GimpShop respectively.
The GimpShop was modded to mirror Photoshop for those that are accustomed to it's layout and shortcuts.

I personally use TheGimpshop, so that I can follow the Photoshop tutorials found everywhere on the Net.
Anyways, thats not the reason to post back here....

I am wondering if anyone knows the exact file folder that contains the ico_longbow.dds file.
Or any of those ico_ files that are used when looking at the Players inventory screen?

I have over 5k .dds files I have extracted from resources, I can even go directly to the folder they were extracted from with the same extractor program... but the problem is that the program uses numbers for each file thats extracted, rather then the actual file name and to make it worse.. I don't have a sample picture of the file.. which means I have over 5k files to click on to see the contents.

*edit: Found IrfanView works awsome to see all the .dds files in a folder without clicking on each one.

Modifié par Jukesbox360, 26 mars 2010 - 01:27 .


#12
tmp7704

tmp7704
  • Members
  • 11 156 messages

Jukesbox360 wrote...

I am wondering if anyone knows the exact file folder that contains the ico_longbow.dds file.
Or any of those ico_ files that are used when looking at the Players inventory screen?

Most if not all icons seem to be located in the file "../packages/core/data_tools/guitools.erf"