Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13

Thread: Replace textures and sprites

  
  1. #11

    Default Re: Replace textures and sprites

    I've been trying as well, but ran into some difficulties. I ran this command:
    tools\pngpal2raw.exe -b -o "data\gui1-64.dat" -p "palette.dat" -f raw -l 0 "GFX\dgui1-64\filelist_gui1-64.txt"

    Then for every PNG file I get the following error: "libpng warning: iCCP: known incorrect sRGB profile". I ended up with a gui1-64.dat that was 0 bytes.

    And all I did was change two profile pictures around, the images come straight from the source file. Still, this error indicates a problem with the PNG, so I opened up one of the images, saved it again and ran this command:

    tools\pngpal2raw.exe -o "data\gui1-64.dat" -p "palette.dat" -f raw -l 0 "GFX\gui1-64\creature_portrait_64\creatr_portrt_imp.png"

    Now the tool ran without problems, but this bugged the hell out of the game. The image was not visible in game and it crashed eventually:
    Error: Attempt to write to inaccessible memory address.
    in keeperfx_hvlog.exe at 0023:00423d30, base 00400000

    What am I doing wrong?

  2. #12
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,235

    Default Re: Replace textures and sprites

    Quote Originally Posted by YourMaster View Post
    I get the following error: "libpng warning: iCCP: known incorrect sRGB profile".
    This is just a warning, many png files generate it. It can be ignored.

    Quote Originally Posted by YourMaster View Post
    I ended up with a gui1-64.dat that was 0 bytes.
    The reason for that must be something else. Could you attach a full log?

    Quote Originally Posted by YourMaster View Post
    tools\pngpal2raw.exe -o "data\gui1-64.dat" -p "palette.dat" -f raw -l 0 "GFX\gui1-64\creature_portrait_64\creatr_portrt_imp.png"
    you can't use "-f raw" to generate DAT/TAB files.

    Here's a log from successful build, with correct command lines:
    Code:
    15:49:14 **** Build of configuration debug for project keeperfx ****
    mingw32-make pkg-enginegfx 
    
    Building jonty sprites: pkg/data/creature.jty
    tools/pngpal2raw/bin/pngpal2raw.exe -m -o "pkg/data/creature.jty" -p "pkg/data/palette.dat" -f jspr -l 0 "gfx/sprites/animlist.txt"
    Saving JSPR file "pkg/data/creature.jty".
    Finished building: pkg/data/creature.jty
     
    Building RAW texture: pkg/data/frac00.raw
    tools/pngpal2raw/bin/pngpal2raw.exe -o "pkg/data/frac00.raw" -p "gfx/textures-32/fract_bw.pal" -r 255 -f raw -l 100 "gfx/textures-32/frac00.png"
    Saving RAW file "pkg/data/frac00.raw".
    tools/rnctools/bin/rnc.exe "pkg/data/frac00.raw"
    Compressing pkg/data/frac00.raw to pkg/data/frac00.raw...
    
    Finished building: pkg/data/frac00.raw
     
    Building RAW texture: pkg/data/frac01.raw
    tools/pngpal2raw/bin/pngpal2raw.exe -o "pkg/data/frac01.raw" -p "gfx/textures-32/fract_bw.pal" -r 255 -f raw -l 100 "gfx/textures-32/frac01.png"
    Saving RAW file "pkg/data/frac01.raw".
    tools/rnctools/bin/rnc.exe "pkg/data/frac01.raw"
    Compressing pkg/data/frac01.raw to pkg/data/frac01.raw...
    
    Finished building: pkg/data/frac01.raw
     
    Building RAW texture: pkg/data/frac02.raw
    tools/pngpal2raw/bin/pngpal2raw.exe -o "pkg/data/frac02.raw" -p "gfx/textures-32/fract_bw.pal" -r 255 -f raw -l 100 "gfx/textures-32/frac02.png"
    Saving RAW file "pkg/data/frac02.raw".
    tools/rnctools/bin/rnc.exe "pkg/data/frac02.raw"
    Compressing pkg/data/frac02.raw to pkg/data/frac02.raw...
    
    Finished building: pkg/data/frac02.raw
     
    Building RAW texture: pkg/data/frac03.raw
    tools/pngpal2raw/bin/pngpal2raw.exe -o "pkg/data/frac03.raw" -p "gfx/textures-32/fract_bw.pal" -r 255 -f raw -l 100 "gfx/textures-32/frac03.png"
    Saving RAW file "pkg/data/frac03.raw".
    tools/rnctools/bin/rnc.exe "pkg/data/frac03.raw"
    Compressing pkg/data/frac03.raw to pkg/data/frac03.raw...
    
    Finished building: pkg/data/frac03.raw
     
    Building RAW texture: pkg/data/frac04.raw
    tools/pngpal2raw/bin/pngpal2raw.exe -o "pkg/data/frac04.raw" -p "gfx/textures-32/fract_bw.pal" -r 255 -f raw -l 100 "gfx/textures-32/frac04.png"
    Saving RAW file "pkg/data/frac04.raw".
    tools/rnctools/bin/rnc.exe "pkg/data/frac04.raw"
    Compressing pkg/data/frac04.raw to pkg/data/frac04.raw...
    
    Finished building: pkg/data/frac04.raw
     
    Building RAW texture: pkg/data/frac05.raw
    tools/pngpal2raw/bin/pngpal2raw.exe -o "pkg/data/frac05.raw" -p "gfx/textures-32/fract_bw.pal" -r 255 -f raw -l 100 "gfx/textures-32/frac05.png"
    Saving RAW file "pkg/data/frac05.raw".
    tools/rnctools/bin/rnc.exe "pkg/data/frac05.raw"
    Compressing pkg/data/frac05.raw to pkg/data/frac05.raw...
    
    Finished building: pkg/data/frac05.raw
     
    Building RAW texture: pkg/data/frac06.raw
    tools/pngpal2raw/bin/pngpal2raw.exe -o "pkg/data/frac06.raw" -p "gfx/textures-32/fract_bw.pal" -r 255 -f raw -l 100 "gfx/textures-32/frac06.png"
    Saving RAW file "pkg/data/frac06.raw".
    tools/rnctools/bin/rnc.exe "pkg/data/frac06.raw"
    Compressing pkg/data/frac06.raw to pkg/data/frac06.raw...
    
    Finished building: pkg/data/frac06.raw
     
    Building RAW texture: pkg/data/frac07.raw
    tools/pngpal2raw/bin/pngpal2raw.exe -o "pkg/data/frac07.raw" -p "gfx/textures-32/fract_bw.pal" -r 255 -f raw -l 100 "gfx/textures-32/frac07.png"
    Saving RAW file "pkg/data/frac07.raw".
    tools/rnctools/bin/rnc.exe "pkg/data/frac07.raw"
    Compressing pkg/data/frac07.raw to pkg/data/frac07.raw...
    
    main_pack: Test unpack: Huffman decode error.
    Makefile:940: recipe for target 'pkg/data/frac07.raw' failed
    mingw32-make: [pkg/data/frac07.raw] Error 1 (ignored)
    Finished building: pkg/data/frac07.raw
     
    Building RAW texture: pkg/data/frac08.raw
    tools/pngpal2raw/bin/pngpal2raw.exe -o "pkg/data/frac08.raw" -p "gfx/textures-32/fract_bw.pal" -r 255 -f raw -l 100 "gfx/textures-32/frac08.png"
    Saving RAW file "pkg/data/frac08.raw".
    tools/rnctools/bin/rnc.exe "pkg/data/frac08.raw"
    Compressing pkg/data/frac08.raw to pkg/data/frac08.raw...
    
    Finished building: pkg/data/frac08.raw
     
    Building tabulated sprites: pkg/data/gui2-64.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/gui2-64.dat" -p "pkg/data/palette.dat" -f sspr -l 0 "gfx/gui2-64/filelist_gui2-64.txt"
    Saving SSPR file "pkg/data/gui2-64.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/gui2-64.dat"
    Compressing pkg/data/gui2-64.dat to pkg/data/gui2-64.dat...
    
    Finished building: pkg/data/gui2-64.dat
     
    Building tabulated sprites: pkg/data/gui2-32.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/gui2-32.dat" -p "pkg/data/palette.dat" -f sspr -l 0 "gfx/gui2-32/filelist_gui2-32.txt"
    Saving SSPR file "pkg/data/gui2-32.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/gui2-32.dat"
    Compressing pkg/data/gui2-32.dat to pkg/data/gui2-32.dat...
    
    Finished building: pkg/data/gui2-32.dat
     
    Building tabulated sprites: pkg/data/gui1-64.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/gui1-64.dat" -p "pkg/data/palette.dat" -f sspr -l 0 "gfx/gui1-64/filelist_gui1-64.txt"
    Saving SSPR file "pkg/data/gui1-64.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/gui1-64.dat"
    Compressing pkg/data/gui1-64.dat to pkg/data/gui1-64.dat...
    
    Finished building: pkg/data/gui1-64.dat
     
    Building tabulated sprites: pkg/data/gui1-32.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/gui1-32.dat" -p "pkg/data/palette.dat" -f sspr -l 0 "gfx/gui1-32/filelist_gui1-32.txt"
    Saving SSPR file "pkg/data/gui1-32.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/gui1-32.dat"
    Compressing pkg/data/gui1-32.dat to pkg/data/gui1-32.dat...
    
    Finished building: pkg/data/gui1-32.dat
     
    Building tabulated sprites: pkg/data/pointer64.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/pointer64.dat" -p "pkg/data/palette.dat" -f sspr -l 0 "gfx/pointer-64/filelist_pointer.txt"
    Saving SSPR file "pkg/data/pointer64.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/pointer64.dat"
    Compressing pkg/data/pointer64.dat to pkg/data/pointer64.dat...
    
    Finished building: pkg/data/pointer64.dat
     
    Building tabulated sprites: pkg/data/pointer32.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/pointer32.dat" -p "pkg/data/palette.dat" -f sspr -l 0 "gfx/pointer-64/filelist_lpointer.txt"
    Saving SSPR file "pkg/data/pointer32.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/pointer32.dat"
    Compressing pkg/data/pointer32.dat to pkg/data/pointer32.dat...
    
    Finished building: pkg/data/pointer32.dat
     
    Building tabulated sprites: pkg/data/points64.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/points64.dat" -p "pkg/data/palette.dat" -f sspr -l 0 "gfx/pointer-64/filelist_points.txt"
    Saving SSPR file "pkg/data/points64.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/points64.dat"
    Compressing pkg/data/points64.dat to pkg/data/points64.dat...
    
    Finished building: pkg/data/points64.dat
     
    Building tabulated sprites: pkg/data/points32.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/points32.dat" -p "pkg/data/palette.dat" -f sspr -l 0 "gfx/pointer-64/filelist_lpoints.txt"
    Saving SSPR file "pkg/data/points32.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/points32.dat"
    Compressing pkg/data/points32.dat to pkg/data/points32.dat...
    
    Finished building: pkg/data/points32.dat
     
    Building tabulated sprites: pkg/data/font1-64.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/font1-64.dat" -p "pkg/data/palette.dat" -f sspr -l 0 "gfx/font_simp-64/filelist_font1.txt"
    Saving SSPR file "pkg/data/font1-64.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/font1-64.dat"
    Compressing pkg/data/font1-64.dat to pkg/data/font1-64.dat...
    
    Finished building: pkg/data/font1-64.dat
     
    Building tabulated sprites: pkg/data/font1-32.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/font1-32.dat" -p "pkg/data/palette.dat" -f sspr -l 0 "gfx/font_simp-32/filelist_font1.txt"
    Saving SSPR file "pkg/data/font1-32.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/font1-32.dat"
    Compressing pkg/data/font1-32.dat to pkg/data/font1-32.dat...
    
    Finished building: pkg/data/font1-32.dat
     
    Building tabulated sprites: pkg/data/font2-32.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/font2-32.dat" -p "pkg/data/palette.dat" -f sspr -l 0 "gfx/font2-32/filelist_font2.txt"
    Saving SSPR file "pkg/data/font2-32.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/font2-32.dat"
    Compressing pkg/data/font2-32.dat to pkg/data/font2-32.dat...
    
    Finished building: pkg/data/font2-32.dat
     
    Building tabulated sprites: pkg/data/font2-64.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/font2-64.dat" -p "pkg/data/palette.dat" -f sspr -l 0 "gfx/font2-64/filelist_font2.txt"
    Saving SSPR file "pkg/data/font2-64.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/font2-64.dat"
    Compressing pkg/data/font2-64.dat to pkg/data/font2-64.dat...
    
    Finished building: pkg/data/font2-64.dat
     
    Building RAW texture: pkg/data/tmapa000.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/tmapa000.dat" -p "pkg/data/palette.dat" -f raw -l 0 "gfx/textures-32/filelist_tmapa000.txt"
    Saving RAW file "pkg/data/tmapa000.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/tmapa000.dat"
    Compressing pkg/data/tmapa000.dat to pkg/data/tmapa000.dat...
    
    Finished building: pkg/data/tmapa000.dat
     
    Building RAW texture: pkg/data/tmapa001.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/tmapa001.dat" -p "pkg/data/palette.dat" -f raw -l 0 "gfx/textures-32/filelist_tmapa001.txt"
    Saving RAW file "pkg/data/tmapa001.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/tmapa001.dat"
    Compressing pkg/data/tmapa001.dat to pkg/data/tmapa001.dat...
    
    Finished building: pkg/data/tmapa001.dat
     
    Building RAW texture: pkg/data/tmapa002.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/tmapa002.dat" -p "pkg/data/palette.dat" -f raw -l 0 "gfx/textures-32/filelist_tmapa002.txt"
    Saving RAW file "pkg/data/tmapa002.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/tmapa002.dat"
    Compressing pkg/data/tmapa002.dat to pkg/data/tmapa002.dat...
    
    main_pack: Test unpack: Huffman decode leads outside buffers.
    Makefile:947: recipe for target 'pkg/data/tmapa002.dat' failed
    mingw32-make: [pkg/data/tmapa002.dat] Error 1 (ignored)
    Finished building: pkg/data/tmapa002.dat
     
    Building RAW texture: pkg/data/tmapa003.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/tmapa003.dat" -p "pkg/data/palette.dat" -f raw -l 0 "gfx/textures-32/filelist_tmapa003.txt"
    Saving RAW file "pkg/data/tmapa003.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/tmapa003.dat"
    Compressing pkg/data/tmapa003.dat to pkg/data/tmapa003.dat...
    
    main_pack: Test unpack: Huffman decode error.
    Makefile:947: recipe for target 'pkg/data/tmapa003.dat' failed
    mingw32-make: [pkg/data/tmapa003.dat] Error 1 (ignored)
    Finished building: pkg/data/tmapa003.dat
     
    Building RAW texture: pkg/data/tmapa004.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/tmapa004.dat" -p "pkg/data/palette.dat" -f raw -l 0 "gfx/textures-32/filelist_tmapa004.txt"
    Saving RAW file "pkg/data/tmapa004.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/tmapa004.dat"
    Compressing pkg/data/tmapa004.dat to pkg/data/tmapa004.dat...
    
    Finished building: pkg/data/tmapa004.dat
     
    Building RAW texture: pkg/data/tmapa005.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/tmapa005.dat" -p "pkg/data/palette.dat" -f raw -l 0 "gfx/textures-32/filelist_tmapa005.txt"
    Saving RAW file "pkg/data/tmapa005.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/tmapa005.dat"
    Compressing pkg/data/tmapa005.dat to pkg/data/tmapa005.dat...
    
    Finished building: pkg/data/tmapa005.dat
     
    Building RAW texture: pkg/data/tmapa006.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/tmapa006.dat" -p "pkg/data/palette.dat" -f raw -l 0 "gfx/textures-32/filelist_tmapa006.txt"
    Saving RAW file "pkg/data/tmapa006.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/tmapa006.dat"
    Compressing pkg/data/tmapa006.dat to pkg/data/tmapa006.dat...
    
    Finished building: pkg/data/tmapa006.dat
     
    Building RAW texture: pkg/data/tmapa007.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/tmapa007.dat" -p "pkg/data/palette.dat" -f raw -l 0 "gfx/textures-32/filelist_tmapa007.txt"
    Saving RAW file "pkg/data/tmapa007.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/tmapa007.dat"
    Compressing pkg/data/tmapa007.dat to pkg/data/tmapa007.dat...
    
    main_pack: Test unpack: Huffman decode error.
    Makefile:947: recipe for target 'pkg/data/tmapa007.dat' failed
    mingw32-make: [pkg/data/tmapa007.dat] Error 1 (ignored)
    Finished building: pkg/data/tmapa007.dat
     
    Building tabulated sprites: pkg/data/swipe01.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/swipe01.dat" -p "pkg/data/palette.dat" -f sspr -l 0 "gfx/swipes/filelist_bhandrl.txt"
    Saving SSPR file "pkg/data/swipe01.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/swipe01.dat"
    Compressing pkg/data/swipe01.dat to pkg/data/swipe01.dat...
    
    Finished building: pkg/data/swipe01.dat
     
    Building tabulated sprites: pkg/data/swipe02.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/swipe02.dat" -p "pkg/data/palette.dat" -f sspr -l 0 "gfx/swipes/filelist_swordrl.txt"
    Saving SSPR file "pkg/data/swipe02.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/swipe02.dat"
    Compressing pkg/data/swipe02.dat to pkg/data/swipe02.dat...
    
    Finished building: pkg/data/swipe02.dat
     
    Building tabulated sprites: pkg/data/swipe03.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/swipe03.dat" -p "pkg/data/palette.dat" -f sspr -l 0 "gfx/swipes/filelist_scythlr.txt"
    Saving SSPR file "pkg/data/swipe03.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/swipe03.dat"
    Compressing pkg/data/swipe03.dat to pkg/data/swipe03.dat...
    
    Finished building: pkg/data/swipe03.dat
     
    Building tabulated sprites: pkg/data/swipe04.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/swipe04.dat" -p "pkg/data/palette.dat" -f sspr -l 0 "gfx/swipes/filelist_sticklr.txt"
    Saving SSPR file "pkg/data/swipe04.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/swipe04.dat"
    Compressing pkg/data/swipe04.dat to pkg/data/swipe04.dat...
    
    Finished building: pkg/data/swipe04.dat
     
    Building tabulated sprites: pkg/data/swipe05.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/swipe05.dat" -p "pkg/data/palette.dat" -f sspr -l 0 "gfx/swipes/filelist_stickrl.txt"
    Saving SSPR file "pkg/data/swipe05.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/swipe05.dat"
    Compressing pkg/data/swipe05.dat to pkg/data/swipe05.dat...
    
    Finished building: pkg/data/swipe05.dat
     
    Building tabulated sprites: pkg/data/swipe06.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/swipe06.dat" -p "pkg/data/palette.dat" -f sspr -l 0 "gfx/swipes/filelist_clawsrl.txt"
    Saving SSPR file "pkg/data/swipe06.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/swipe06.dat"
    Compressing pkg/data/swipe06.dat to pkg/data/swipe06.dat...
    
    Finished building: pkg/data/swipe06.dat
     
    Building RAW image: pkg/data/gmap64.raw
    tools/pngpal2raw/bin/pngpal2raw.exe -o "pkg/data/gmap64.raw" -p "pkg/data/palette.dat" -f raw -l 100 "gfx/guimap/gmap64.png"
    Saving RAW file "pkg/data/gmap64.raw".
    tools/rnctools/bin/rnc.exe "pkg/data/gmap64.raw"
    Compressing pkg/data/gmap64.raw to pkg/data/gmap64.raw...
    
    Finished building: pkg/data/gmap64.raw
     
    Building RAW image: pkg/data/gmap32.raw
    tools/pngpal2raw/bin/pngpal2raw.exe -o "pkg/data/gmap32.raw" -p "pkg/data/palette.dat" -f raw -l 100 "gfx/guimap/gmap32.png"
    Saving RAW file "pkg/data/gmap32.raw".
    tools/rnctools/bin/rnc.exe "pkg/data/gmap32.raw"
    Compressing pkg/data/gmap32.raw to pkg/data/gmap32.raw...
    
    Finished building: pkg/data/gmap32.raw
     
    Building tabulated sprites: pkg/data/gmapbug.dat
    tools/pngpal2raw/bin/pngpal2raw.exe -b -o "pkg/data/gmapbug.dat" -p "pkg/data/palette.dat" -f sspr -l 0 "gfx/parchmentbug/filelist-gbug.txt"
    Saving SSPR file "pkg/data/gmapbug.dat".
    tools/rnctools/bin/rnc.exe "pkg/data/gmapbug.dat"
    Compressing pkg/data/gmapbug.dat to pkg/data/gmapbug.dat...
    
    Finished building: pkg/data/gmapbug.dat

  3. #13

    Default Re: Replace textures and sprites

    Quote Originally Posted by mefistotelis View Post
    This is just a warning, many png files generate it. It can be ignored.


    The reason for that must be something else. Could you attach a full log?


    you can't use "-f raw" to generate DAT/TAB files.
    Thank you!
    Yes, that was my mistake. I used the 'raw' parameter instead of the 'sspr' parameter. If I use raw I get the empty file, if I use sspr I get the correct one. I get no logs by the way, just this:

    Code:
    D:\Games\KeeperHX>tools\pngpal2raw.exe -b -o "data\gui1-64.dat" -p "palette.dat"
     -f sspr -l 0 "GFX\gui1-64\filelist_gui1-64.txt"
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    Saving SSPR file "data\gui1-64.dat".

Similar Threads

  1. Adikted and map textures
    By Hades in forum KeeperFX
    Replies: 1
    Last Post: April 14th, 2013, 07:31
  2. Dungeon Keeper Resources (Sprites/Sounds/Animations)
    By Keepingates in forum Dungeon Keeper 1
    Replies: 5
    Last Post: December 21st, 2010, 06:42
  3. Fefnir from MMZ in Mega Man X 1-3 Style Sprites
    By Metal Gear Rex in forum Off Topic
    Replies: 0
    Last Post: May 12th, 2010, 04:48
  4. Hi Res Textures?
    By Synesthesia in forum Dungeon Keeper 2
    Replies: 18
    Last Post: October 7th, 2009, 21:22

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •