Fisk
Member

Posts: 318
Registered: 02-07 |
Patches, sprites and flats all are basically just a mess of bytes which represents an 8-bit image (each byte refers to a specific PLAYPAL color entry if I'm not mistaken), and flats are always 64x64 (or in Hexen's case, a few are 64x128 or something bizarre of that nature) and are pure, raw data. I'm just kind of going off the top of my head, but I'm sure that's the rough idea. It would be nice if someone more experienced could help me out too.
Using XWE, and assuming you want to run your level in any port, I would do this.
1) File -> Open. Select a texture wad you want to combine resources with your map.
2) In the little row of buttons at the bottom, select "Patches" to filter out anything that isn't between P_START and P_END.
3) Left-click the first entry (at the top), then shift-left-click the last one. At the top bar, go to Entry -> Save as. Don't worry about assigning a filename, XWE will ignore it. Save inside of a folder you'll remember.
4) Repeat step 3 for Flats, in a different folder.
5) Repeat steps 3 and 4 for every texture wad.
6) Open your map wadfile.
7) Entry -> Add. Name it "P_START".
8) Entry -> Add. Name it "P_END".
9) Select P_START.
10) Entry -> Load. Open whatever folder you saved all your patches. Left-click the first one, then shift-left-click the last one, and press enter.
11) Wait... This could take a moment.
12) They should all appear between P_START and P_END! Now, select "Flats" or "Floors" (depending on which XWE version you're using) from the bottom bar. Do the same thing to Load all your patches in, except this time load your flats. XWE should do the appropriate "Save As Doom Flat" operation for each imported flat.
13) Shift-select all of your patches in the "Patches" view; right click any one of them and press Add To Texture.
Now, File -> Cleanup. This is assuming you are using numerous texture WADs, and that the textures are all single-patches, and retain their patch name in TEXTURE1 as an actual texture. Otherwise, if you want to be quick and use 1 texture WAD, open your map wad, and select File -> Merge.
|