Modifying dds Files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • texascowboy
    Senior Member
    • Sep 2022
    • 103
    • Ft Worth, Texas
    • General

    #1

    Modifying dds Files

    I'm looking to modify a dds file to make it more representative of a particular structure. Is there a way to access said file and cut & paste parts of other dds and/or ace files into the modified file? clint
  • kapitaen
    Senior Member

    • May 2010
    • 331
    • Germany
    • German + a little bit English
    • MSOR

    #2
    https://www.elvastower.com/forums/in...ost__p__318322

    Jan

    Comment

    • rdayt
      1000 Post Veteran

      • Nov 2007
      • 1291
      • SW MO
      • ORTS

      #3
      I use PaintDotNet, https://getpaint.net/
      It's free and handles .dds textures. Not too hard to use.

      Randy

      Comment

      • eric
        9500 Post Veteran and Administrator



        • Dec 2002
        • 9583
        • NS MP245.4 CNO&TP South District
        • English, SQL
        • General

        #4
        Originally posted by rdayt
        I use PaintDotNet, https://getpaint.net/
        It's free and handles .dds textures. Not too hard to use.

        Randy
        Same. Very easy to use layers and cover up what you want changed without losing the original. Save as a PDN, and then export/save as a DDS to flatten out the layers for the game engine.

        Sent from my SM-S911U using Tapatalk

        If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, or items available in our library, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!

        Comment

        • texascowboy
          Senior Member
          • Sep 2022
          • 103
          • Ft Worth, Texas
          • General

          #5
          Much appreciate the help guys. Thanks...clint

          Comment

          • pwillard
            3000 Post Veteran



            • Nov 1999
            • 3070
            • Cumming Ga
            • ORTS

            #6
            For those do inclined, the Gimp 3.x Supports DDS files as well.

            Also, do not skip that "save in a native format" step, as a one-time edit of a .dds file doesn't make much of a noticeable difference; however, subsequent edits will seriously degrade the result when DXT is used. (which we use)


            http://www.railsimstuff.com
            Just Blender now, 3DCrafter only when I have to.
            Formerly The Keystone Works (All Permissions Granted)
            Things I work on: https://github.com/pwillard

            Comment

            • wacampbell
              Senior Member
              • Jun 2002
              • 492
              • BC, Canada

              #7
              I am curious how .dds users handle reading the texture files into Blender? Blender can't read .dds nor .pdn ( that I know of ). So do you save also as a 3rd format like .tga for Blender to use?

              Comment

              • scottb613
                2500 Post Veteran


                • Apr 2003
                • 2848
                • Downeast Maine (soon)
                • ORTS

                #8
                Originally posted by wacampbell
                I am curious how .dds users handle reading the texture files into Blender? Blender can't read .dds nor .pdn ( that I know of ). So do you save also as a 3rd format like .tga for Blender to use?
                Hi Wayne,

                All my modeling textures are TGA.

                I use NVDXT to convert TGA to DDS.

                Code:
                    #Make DDS
                    echo ""
                    echo "Process [TXT] Default"
                    "${NVDXT}" -box -u888 -file "${DOSCVSPATH}\Default.tga" -outdir "${DOSEXPPATH}"
                    
                    echo ""
                    echo "Process [TXT 2048] Prime"
                    "${NVDXT}" -box -u888 -file "${DOSCVSPATH}\Prime.tga" -outdir "${DOSEXPPATH}"
                    
                    echo ""
                    echo "Process [TXT 2048] PrimeFlat"
                    "${NVDXT}" -box -u888 -file "${DOSCVSPATH}\PrimeFlat.tga" -outdir "${DOSEXPPATH}"
                    
                    echo ""
                    echo "Process [TXT 4096] Cab"
                    "${NVDXT}" -box -u888 -file "${DOSCVSPATH}\Cab.tga" -outdir "${DOSEXPPATH}"
                    
                    echo ""
                    echo "Process [TXT 2048] Gauges"
                    "${NVDXT}" -box -u888 -file "${DOSCVSPATH}\Gauges.tga" -outdir "${DOSEXPPATH}"
                    
                    echo ""
                    echo "Process [TXT 1024] Bogie"
                    "${NVDXT}" -box -u888 -file "${DOSCVSPATH}\Bogie.tga" -outdir "${DOSEXPPATH}"
                        
                    echo ""
                    echo "Process [TXT 1024] Wheel"
                    "${NVDXT}" -box -u888 -file "${DOSCVSPATH}\Wheel.tga" -outdir "${DOSEXPPATH}"
                    
                    echo ""
                    echo "Process [TXT 256] Fan"
                    "${NVDXT}" -box -u888 -file "${DOSCVSPATH}\Fan.tga" -outdir "${DOSEXPPATH}"
                    
                    echo ""
                    echo "Process [TXT 512] Leather"
                    "${NVDXT}" -box -u888 -file "${DOSCVSPATH}\Leather.tga" -outdir "${DOSEXPPATH}"
                        
                    echo ""
                    echo "Process [TXT 512] MetalLight"
                    "${NVDXT}" -box -u888 -file "${DOSCVSPATH}\MetalLight.tga" -outdir "${DOSEXPPATH}"
                    
                    echo ""
                    echo "Process [TXT 512] MetalDark"
                    "${NVDXT}" -box -u888 -file "${DOSCVSPATH}\MetalDark.tga" -outdir "${DOSEXPPATH}"
                    
                    echo ""
                    echo "Process [TXT 512] MetalYellow"
                    "${NVDXT}" -box -u888 -file "${DOSCVSPATH}\MetalYellow.tga" -outdir "${DOSEXPPATH}"
                    
                    echo ""
                    echo "Process [TXT 64] NumberLight"
                    "${NVDXT}" -box -u888 -file "${DOSCVSPATH}\NumberLight.tga" -outdir "${DOSEXPPATH}"
                    
                    echo ""
                    echo "Process [TXT ALPHA] Number"
                    "${NVDXT_A}"  -box -dxt5 -file "${DOSCVSPATH}\Number.tga" -outdir "${DOSEXPPATH}"
                    
                    echo ""
                    echo "Process [TXT ALPHA] Number1510"
                    "${NVDXT_A}"  -box -dxt5 -file "${DOSCVSPATH}\Number1510.tga" -outdir "${DOSEXPPATH}"
                    
                    echo ""
                    echo "Process [TXT ALPHA] Number1514"
                    "${NVDXT_A}"  -box -dxt5 -file "${DOSCVSPATH}\Number1514.tga" -outdir "${DOSEXPPATH}"
                    
                    echo ""
                    echo "Process [TXT ALPHA] Number1517"
                    "${NVDXT_A}"  -box -dxt5 -file "${DOSCVSPATH}\Number1517.tga" -outdir "${DOSEXPPATH}"
                
                    echo ""
                    echo "Process [TXT ALPHA] Number1519"
                    "${NVDXT_A}"  -box -dxt5 -file "${DOSCVSPATH}\Number1519.tga" -outdir "${DOSEXPPATH}"
                    
                    echo ""
                    echo "Process [TXT ALPHA] Glass"
                    "${NVDXT_A}"  -box -dxt5 -file "${DOSCVSPATH}\Glass.tga" -outdir "${DOSEXPPATH}"
                        
                    echo ""
                    echo "Process [TXT ALPHA] Glass_In"
                    "${NVDXT_A}"  -box -dxt5 -file "${DOSCVSPATH}\Glass_In.tga" -outdir "${DOSEXPPATH}"
                }
                I've completely automated my export from Blender with Cygwin Bash:
                • Build all new texture set
                • Fix animations for 16 frames (Shape File Edit)
                • Make individual units (Shape File Edit)
                • Make 3D Cab (Shape File Edit)
                • Compress Shapes
                • Copy all files to production location
                Bash Script
                BlendAlco.txt

                It makes an export as simple as running the script - then launching ORTS to check the changes.

                Regards,
                Scott



                <a href=https://www.trainsim.com/forums/filedata/fetch?filedataid=80663&type=full title=thumb_80663.png >thumb_80663.png</a>​ My Blender Models

                Comment

                • superheatedsteam
                  Senior Member


                  • Jun 2004
                  • 764
                  • Perth, WA, Australia.

                  #9
                  I export PNG from GIMP for use in Blender and export DDS from GIMP for OR for .S files.

                  For glTF/glb export from Blender there is no need for DDS.

                  Cheers,

                  Marek.

                  Comment

                  • pwillard
                    3000 Post Veteran



                    • Nov 1999
                    • 3070
                    • Cumming Ga
                    • ORTS

                    #10
                    With Blender, I only use PNG files... so that's an option.
                    http://www.railsimstuff.com
                    Just Blender now, 3DCrafter only when I have to.
                    Formerly The Keystone Works (All Permissions Granted)
                    Things I work on: https://github.com/pwillard

                    Comment

                    Working...