Severed bunny head
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > XWE > XWE morphed my BMP!
 
Author
All times are GMT. The time now is 22:30. Post New Thread    Post A Reply
BeenJammin
Mini-Member


Posts: 55
Registered: 01-10


I'm trying to understand why adding a 128x128 BMP to a WAD using XWE and XWE recognizes it as a WAVESOUND. ?#!
The BMP works fine in-game, as if nothing crazy happened in XWE.
There has not been a problem caused by this phenom' but it's not right so I want it out.
Here is one of the pics that does it: http://i49.tinypic.com/2w6dixs.jpg

Help!

Old Post 06-22-12 04:50 #
BeenJammin is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
EarthQuake
9.5 on the Richter!


Posts: 2839
Registered: 05-03


XWE often misidentifies the type of a lump when viewing a wad, especially ones not between *_START/*_END markers. It's completely harmless and usually corrects itself when you reload the wad into XWE. If it doesn't, you can always forcibly change the "type" to another if you know the number for it.

Old Post 06-22-12 04:58 #
EarthQuake is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Kappes Buur
Forum Regular


Posts: 848
Registered: 11-02


The one big 'DO NOT DO THAT' with XWE is that it does not like to work with a file which is also opened with another program. Things can, and will, get very ugly.

Misreading a file type has never happened to me, but with the default settings it is conceivable for it to mistake a file type for something else, as you have experienced. One solution would be customization of XWE.INI.

For example, there is an all-encompassing entry for images
code:
[IMAGE] Entry : "*.JPG;*.TGA;*.BMP;*.PCX;*.pcx;*.DTX;*.NWX;*.FTX" Editor : ImageEditor Icon : image


take out *.BMP; and make an entry for it specifically, like there is one for PNG
code:
[PNG] Entry : "*.PNG" Signature : "$89 $50 $4E $47" Editor : ImageEditor Icon : png


Open a bmp image with a hex editor to find the specific signature for bmp files, which turns out to be BM6. So, the entry for BMP would look like this
code:
[BMP] Entry : "*.BMP" Signature : "$42 $4D $36" Editor : ImageEditor Icon : bmp


[addendum]

With Csabo's own admission, the code for XWE is quite convoluted and in urgent need of clean-up and streamlining. At one point he was set to rewrite the code in C++. But, since he distanced himself from the program, that will never happen.

Hence the loud patter of feet as most mappers move over to Slade3.
With Slade3 now at a point where the lump editor is stable and robust, I would recommend to give it a try.

Last edited by Kappes Buur on 06-22-12 at 23:53

Old Post 06-22-12 18:19 #
Kappes Buur is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 22:30. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > XWE > XWE morphed my BMP!

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.