mayingzhen / nvidia-texture-tools

Automatically exported from code.google.com/p/nvidia-texture-tools
Other
0 stars 0 forks source link

nvassemble can't load images #123

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. calling a script like this:
nvassemble.exe -cube file1 .. file6

leads to:
*** error loading file

What is the expected output? What do you see instead?
The same script has worked previously (~ a year ago with another version of
the texture tools that I don't have any more).
I tried with jpg, png, tif

It would also help to add the number or name of the image to the error
message, that is producing the error.

What version of the product are you using? On what operating system?
Latest Download, November 2009.
Win7 64 bit.

Original issue reported on code.google.com by marcel.l...@gmail.com on 9 Apr 2010 at 12:41

GoogleCodeExporter commented 8 years ago
I suggest using the 32 bit version of nvassemble, or compiling it yourself. The 
image
loading libraries that I rely on to load jpg, png and tiff files are not 
available
for 64 bit, so the only input formats supported in 64 bit builds are tga and 
dds.

It should be possible to compile these libraries for 64 bit easily if you need 
that,
but I don't want to have to maintain updated 64 bit builds of them. Hopefully, 
the
mingw project will soon have an official 64 bit compiler and the gnuwin32 
project
will follow.

Another option is to rely on stb_image as a fallback. See Issue 31 for more 
info.

Original comment by cast...@gmail.com on 9 Apr 2010 at 7:07

GoogleCodeExporter commented 8 years ago
ok thanks

I had read Issue 31 but only jpeg and png were mentioned there, so I also tried 
tiff.
Also I was confused because there are the dlls for the file formats installed 
by the
setup, but it seems like they are the wrong ones.

I agree it's not important to maintain two versions - I suggest some 
informative text
during setup, as well as an option to install either the fully functional 32 bit
version or the 64 bit version.

Original comment by marcel.l...@gmail.com on 10 Apr 2010 at 9:57

GoogleCodeExporter commented 8 years ago
I think that ideally the 32 and 64 bit libraries should be distributed in the 
same
package. I'll send your feedback to the package manager at NVIDIA.

Original comment by cast...@gmail.com on 11 Apr 2010 at 3:52

GoogleCodeExporter commented 8 years ago

Original comment by cast...@gmail.com on 11 Apr 2010 at 3:52