Jump to content

PNG file in place of DDS file?


tomomi1922

Recommended Posts

 

 

I saw an odd tuturial that was talking about the old Targa format and something else, but it was using something obscure graphics software other than Photoshop or Gimp ...

 

 

You could always have people upload a JPG and a DDS (actually you need 3 dds files for fallout 4), but you have no way to insure that the JPG and DDS files match other than checking by hand.

 

You see, the point of the mod is so that people are not required to learn how to create mod (to create DDS file) or even to manually replace DDS file. I bet only about a good 10-20% of people who use mods really understand how mods work. So if I have people upload JPG and DDS, I might as well not create the mod, because it is easier for them just to replace the texture themselves. Yes there need to be 3 DDS files. However, if I set this up correctly, the template of all 3 files should already be there. People only need to update the diffuse DDS file. This is what I hope to achieve.

 

 

It might be worth reading up on Image Processing (ImageMagick) and see if there is a fork that can handle dds file (assuming your using php to display the images). If your working with visual studio look to current dds plugins for photoshop and gimp to see if they can be used a library's inside your software.

 

 

No, I am not going to use server side script. PHP is a server side script. All PHP does is to customize HTML files. What I hoped to do, instead of trying to create an .exe file, I just create an .html file that stays right on players' computers. And client side Java script is enough to handle the Upload and file name change. But javascript is not feasible to convert any image file to DDS (and auto create mipmap while at it).

 

I guess trying to be simple is out of the question.

 

 

Web browsers do not know how to display dds. Unless you can convert it to another format or use a different language to generate a thumbnail ect. Not sure what else can be done.

Link to comment
Share on other sites

 

 

 

I saw an odd tuturial that was talking about the old Targa format and something else, but it was using something obscure graphics software other than Photoshop or Gimp ...

 

 

You could always have people upload a JPG and a DDS (actually you need 3 dds files for fallout 4), but you have no way to insure that the JPG and DDS files match other than checking by hand.

 

You see, the point of the mod is so that people are not required to learn how to create mod (to create DDS file) or even to manually replace DDS file. I bet only about a good 10-20% of people who use mods really understand how mods work. So if I have people upload JPG and DDS, I might as well not create the mod, because it is easier for them just to replace the texture themselves. Yes there need to be 3 DDS files. However, if I set this up correctly, the template of all 3 files should already be there. People only need to update the diffuse DDS file. This is what I hope to achieve.

 

 

It might be worth reading up on Image Processing (ImageMagick) and see if there is a fork that can handle dds file (assuming your using php to display the images). If your working with visual studio look to current dds plugins for photoshop and gimp to see if they can be used a library's inside your software.

 

 

No, I am not going to use server side script. PHP is a server side script. All PHP does is to customize HTML files. What I hoped to do, instead of trying to create an .exe file, I just create an .html file that stays right on players' computers. And client side Java script is enough to handle the Upload and file name change. But javascript is not feasible to convert any image file to DDS (and auto create mipmap while at it).

 

I guess trying to be simple is out of the question.

 

 

Web browsers do not know how to display dds. Unless you can convert it to another format or use a different language to generate a thumbnail ect. Not sure what else can be done.

 

 

Yep,. I have 2 choices: create an web app (that runs on a web browser, even on your computer), or a standalone program of some sort (that allows me to manipulate DDS file and create a thumbnail PNG file). And while at it let user pick Alpha (pick which color should go invisible (since most likely the logo/decal they want to have is a JPEG file with no Alpha data). Now this will take me a while to relearn how to program :(

 

Programming is not hard. I was very good at it. But the hard part was to get back into the game. It has been 10 years, and people use Windows 10 now instead of XP. And I never programmed anything that dealt with image processing. It's a bit like modding: everything is rather simple at concept level. But when I have to do it from scratch, ... where is the string to change weapon speed, how many strings do I need to alter to make certain items glow in the dark, what exactly do these values do? There is not always an instruction manual or comprehensive tutorial. Youtube usually offers tutorials for the most basic and popular of things.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...