neubejiita
Member

Posts: 425
Registered: 02-09 |
If you use Deutex, you can unpack your wad into a build folder with all of the resources available for editing and then repack it into a wadfile for running.
There is some information here that will help you out.
http://securitron.securitronlinux.com/doominfo.php
If you set that up, you can easily edit your graphics with the GIMP and they will be easily rebuilt into the wadfile. That is how Freedoom is built.
You create an empty subfolder to house your wadfile and place a wadfile into it and type deutext -xtract mywad.wad this will unpack the wadfile and then you may edit the resources.
As shown in this example.
code:
john@deep-thought:~/Documents/shareware$ deutex -xtract doom1.wad
i EX00 Extracting entries from wad doom1.wad
i WR19 Reading WAD ./doom1.wad: (1264 entries)
i WR19 Reading WAD doom1.wad: (1264 entries)
i ID10 PWAD entry identification...
i PL05 Palette is Doom
i EX10 Extracting levels...
i EX15 Extracting lumps...
i EX25 Extracting sounds...
i EX32 Extracting musics...
i EX35 Extracting graphics...
i EX40 Extracting sprites...
i EX45 Extracting patches...
w EX48 Will not overwrite file ./patches/sw18_7.ppm
i EX50 Extracting flats...
i EX55 Extracting sneaps...
i EX60 Extracting sneats...
i EX65 Extracting scripts...
i EX99 End of extraction
i AA99 Normal exit
Then as shown below, is how to re-build the wadfile after editing.
code:
john@deep-thought:~/Documents/shareware$ deutex -build wadinfo.txt doomshareware.wad
i CM01 Composing PWAD doomshareware.wad from wadinfo.txt
i WR19 Reading WAD ./doom1.wad: (1264 entries)
i WW01 Creating pwad doomshareware.wad
i WR19 Reading WAD ./levels/e1m1.wad: (11 entries)
i WR19 Reading WAD ./levels/e1m2.wad: (11 entries)
i WR19 Reading WAD ./levels/e1m3.wad: (11 entries)
i WR19 Reading WAD ./levels/e1m4.wad: (11 entries)
i WR19 Reading WAD ./levels/e1m5.wad: (11 entries)
i WR19 Reading WAD ./levels/e1m6.wad: (11 entries)
i WR19 Reading WAD ./levels/e1m7.wad: (11 entries)
i WR19 Reading WAD ./levels/e1m8.wad: (11 entries)
i WR19 Reading WAD ./levels/e1m9.wad: (11 entries)
i PL05 Palette is Doom
i CM30 Making lumps
i CM50 Making TEXTURE1
w TX38 Texture AASTINKY: width 24 not a power of 2
i TX44 Read 125 textures from ./textures/texture1.txt
i CM41 Making PNAMES
i CM60 Making sounds
w SC14 ./sounds/dsitmbk.au: sample rate != 11025 Hz, won't work on Doom < 1.4
i CM65 Making musics
i CM70 Making graphics
i CM75 Making sprites
i CM80 Making patches
i CM85 Making flats
i WW28 doomshareware.wad: wad is complete, 1260 entries, 4167656 bytes
i AA99 Normal exit
This way, using the shell script that I have on my website, you can rebuild the wadfile easily after editing and this will be safer than using Xwe.
Last edited by neubejiita on 01-18-12 at 09:15
|