Photoshop WAL file format plugin V1.0 23 JAN 98

This is a plugin for Adobe Photoshop, Corel Photopaint and any package that complies with the Adobe File Format Plugin specification. It allows you to load and save Quake 2 WAL texture files. Any file loaded or created in Photoshop can be saved as a WAL after converting to 256 indexed colour in the Quake 2 palette. Likewise, a loaded WAL file can be saved out in any format supported by Photoshop. It therefore allows you create and work with WAL textures inside Photoshop.

Unzip WAL.8BI and put it in :

\Adobe\photoshop\plugins\formats\  (for Adobe Photoshop)

or 

\corel\draw70\filters\plugins\  (for Corel Photopaint)

Photoshop will now understand the WAL file format. If you work in 24bit colour make sure you reduce to 256 colour indexed colour mode and use the Quake2 palette. This is enclosed as Q2.ACT and should be put in \Adobe\photoshop\palettes\

Technical note : When reading a WAL texture, only the first MIP is read. When saving as WAL, the first MIP is written and then the plugin calculates and writes the submips. The algorithm used for this calculation may differ slightly from that used by ID and so just loading and then saving a WAL file will produce a very slightly different file. This difference should not be noticeable, but if you wish to preserve your original Quake 2 textures then work with copies of them and don't save over them. Also note that when saving for the first time, or doing a Save As, the plugin will prompt you for a texture name. This name will default to the loaded WAL file name and should be changed if necessary to the same as the filename you are saving as, but complete with its final directory name. Eg, if you save the file in a subdirectory under Quake2\baseq2\textures\ called e1u1 and name the file foobar.wal then the texture name would be e1m1/foobar. If the texture is intended to be a multi file animated texture then you must also fill in the animated texture in the same format but giving the name of the next texture file in the animation sequence. Texture content flags are not yet supported and will be saved as zero.

This program is used entirely at your own risk and no warranty of any form is expressed or implied. All trademarks recognised. This software is free and may be distributed by any means so long as no charge is made for it and it is distributed as the original intact archive.

 -- Git --
miranda@netcomuk.co.uk


History

// 11 JAN 98
First version working OK.

// 13 JAN 98
1) Maximum texture size now limited to 384x384
2) Dialog allows setting of texture and anim names
3) Greatly increased error checking
4) Option to save as WAL file only for 256 color indexed images
5) Texture and anim names are retained when a WAL is loaded
6) Enforced width and height to be multiple of 16 pixels
7) Removed Photoshop enforced limit of 64K writes
