SiN .SWL to .PCX converter by Clayten Hamacher (WhiteNight) based on source from Trey Harrison Nov 13, 1998 (Friday) -- I wanted to view the textures for SiN, and I didn't feel like writing my own util from scratch, that's where Trey's handy .WAL -> .PCX converter came in. There are no command-line options. You simply specify the name of the .swl file, and if possible, the code strips off the .swl extension, and adds a .pcx extension. In the case that there is no extension, or the extension is not .swl, the .pcx extension is appended onto the full filename. In dos this will likely create problems if there are two '.'s in a filename, but in other operating systems, it shouldn't be a problem. Because the lower mips are all generated by the pcx2swl program, I only extract the first (full size) mip. I would code the pcx2swl, but there are a lot of surface properties and I don't know how best to handle these. It's more of a job for someone who edits SiN and knows what would be the most convenient. The .PCX -> .SWL program should be fairly easy, the PCX part is fairly well documented in the swl2pcx program, and Ritual has documented the .swl file format in "SinEd Support Help_.doc" in their sintools.zip package. Just remember that in the .swl, shorts and longs both take four bytes of storage. The code compiles without errors using DJGPP, and MSVC++ v4.0, which is what I used for the final build. wnight@rocketmail.com whitenight@home.com <- primary