Advertisement
Guest User

Howto rips into sprites

a guest
Mar 3rd, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. The following BATch command used with ImageMagick, would generate a 320x200 (or rather 426x200 in case of 16:9 files) weapon sprites out of 720p source, for direct use in ZDoom. Use -trim and SLADE to position them correctly, or use a TEXTURES lump to do the same.
  2.  
  3. for %f in (<input directory>\*.*) do convert.exe %f -filter lanczossharp -resize 33.3x27.8% -mattecolor #000000 -channel alpha -threshold 89.4% <output directory>\%~nf.png
  4.  
  5. Add -trim to automatically trim sprites, and use this technique: http://www.doomworld.com/vb/wads-mods/69614-hd-sprites-from-doom-3/2/
  6. to generate yourself a TEXTURES lump
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement