Mancubus
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 > Bug found in 1.16 (and earlier)
 
Author
All times are GMT. The time now is 06:13. Post New Thread    Post A Reply
RTC_Marine
Junior Member


Posts: 506
Registered: 06-01


to execute, do the following:

1) open doom2.wad (or any wad using doom picture format for gfx)
2) save a picture (such as CHGGA0) using Entry->Save As
3) create a new wad and try loading that picture back in, it should give you an "invalid filename"

I dont know if this happens to anyone else, but it sure is an annoying bug.

Old Post 02-12-06 21:11 #
RTC_Marine is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Csabo
Moderator


Posts: 541
Registered: 02-02


I did these steps and everything was fine. Doesn't seem to happen to me. Does the saved file open in other image viewers? (ie. is it a valid BMP)? After you get the error message, is it still imported?

Old Post 02-12-06 21:38 #
Csabo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
myk
volveré y seré millones


Posts: 14424
Registered: 04-02


I don't get that error either.

There's one thing I wanted to mention though; BMPs created that way give a kind of error message on The GIMP when opened: "Image resolution is out of bounds, using the default resolution instead." I've rarely if ever seen that except with graphics dumped by XWE. The same sprites dumped by (let's say) DeuTex won't produce the message. Other than the message I don't see any issues, though; the file doesn't seem to suffer in any obvious way.

Old Post 02-12-06 21:50 #
myk is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Enjay
ASK ME ABOUT FOOTBALL / STEAM / DEAD CELEBRITIES / THE BLAIR WITCH PROJECT


Posts: 5596
Registered: 12-00


Well, it's working for me, and PSP doesn't give me any indication of any kind of problem like myk mentioned with the gimp either.

Old Post 02-12-06 23:12 #
Enjay is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Csabo
Moderator


Posts: 541
Registered: 02-02


myk, this is by design I guess. When you export sprites, XWE saves the alignment data in the BMP file. The bytes I used were zeroes in all the BMPs I ever saw, it's for image (print?) resolution according to the specs. Most programs that handle BMPs ignore these bytes, it looks like Gimp doesn't. (Unfortunately BMPs aren't extendable like GIFs or JPGs or PNGs, hence this hack.)

So basically what you gain by this is that if you export let's say 10 sprites from a WAD, and re-import them, they will retain the alignment, so you don't have to redo that manually. Try setting a sprite's alignment to 0,0 and export it: GIMP should be quiet.

If it's a real problem for you I guess I could make it optional so you'd be able to turn this behavior off.

Old Post 02-12-06 23:22 #
Csabo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
myk
volveré y seré millones


Posts: 14424
Registered: 04-02


Nah (as far as I'm concerned), it's just a message, and it seems handy overall. I just wondered why it came up and there is the answer.

Old Post 02-12-06 23:39 #
myk is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
RTC_Marine
Junior Member


Posts: 506
Registered: 06-01


csabo: is there any checking you have in xwe that will say "invalid filename" ?

I'd like to fix this problem :/

Old Post 02-13-06 00:41 #
RTC_Marine is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Csabo
Moderator


Posts: 541
Registered: 02-02


I searched through the source code, but this message is not there. It probably isn't coming from XWE, but from Windows. You didn't answer my question though about the exported BMP being "fine". This may help to narrow it down: if the exported BMP is fine, then the import part is at fault. If the BMP has a problem then it's the export.

Old Post 02-13-06 00:54 #
Csabo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
RTC_Marine
Junior Member


Posts: 506
Registered: 06-01


Oh yeah, right.

The exported bmp works fine with other programs.

Old Post 02-13-06 00:57 #
RTC_Marine is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Csabo
Moderator


Posts: 541
Registered: 02-02


So it's the importing then. Does it happen for ANY bmp you try to import? (ie. something that was not exported from XWE.)

Also, during import it will try to find your DOOM.WAD. Perhaps it can't locate that file, and that's why the message comes up. Check XWE.INI, look for the (TOOLS) section at the bottom, and make sure MainWAD points to an existing (and correct) file.

Old Post 02-13-06 01:10 #
Csabo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
RTC_Marine
Junior Member


Posts: 506
Registered: 06-01


any bitmap it seems

Old Post 02-13-06 01:27 #
RTC_Marine is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Csabo
Moderator


Posts: 541
Registered: 02-02


Can't import any bitmaps? Whew, that's a pretty big bug, it renders XWE almost completely useless. I think it may be something specific to your system, something of this magnitude probably would have been noticed.

How about the MainWAD entry I asked you previously? If I assuming that setting is correct for you, I think I will have to create a special debug compile, send that to you, and ask you what it outputs. Perhaps I can track down that's causing the error. I need a bit of time for that though.

Old Post 02-13-06 17:53 #
Csabo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
RTC_Marine
Junior Member


Posts: 506
Registered: 06-01


here is an example image I tried loading in but couldn't (stolen from do-tims, sorry death :P) SAU1G3

to note, I also exported this with xwe.

Old Post 02-13-06 20:32 #
RTC_Marine is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
myk
volveré y seré millones


Posts: 14424
Registered: 04-02



RTC_Marine said:
here is an example image I tried loading in but couldn't (stolen from do-tims, sorry death :P) SAU1G3
This loads into a wad for me.

Recently I've been aware of another quirk I hadn't seen before. Each time I close XWE, irrespective of whether I opened a wad with it or I simply opened the program by itself, I get the following message:

http://www.doom2.net/~mykdoom/misc/denied.png

At first my IWADs were write protected (as I had copied them from a backup CD), but removing that attribute didn't get rid of the message (but maybe that has nothing to do with it...)

Old Post 02-25-06 13:52 #
myk is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
TheDarkArchon
Forum Staple


Posts: 2294
Registered: 08-04


View -> Options, look what is in your temporary folder is in the general tab. Find and get the properties of the folder and uncheck "Read Only". I've only had this happen when Read Only was checked or grey-checked.

__________________
* insert completely and utterly useless nonsense here that nobody will ever read ever *

Old Post 02-25-06 15:09 #
TheDarkArchon is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
myk
volveré y seré millones


Posts: 14424
Registered: 04-02



TheDarkArchon said:
View -> Options, look what is in your temporary folder is in the general tab. Find and get the properties of the folder and uncheck "Read Only". I've only had this happen when Read Only was checked or grey-checked.
Heh, that's it; it was set to drive C. No idea how it got that way. Thanks!

Old Post 02-25-06 15:40 #
myk is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 06:13. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > XWE > Bug found in 1.16 (and earlier)

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.

Forums Directory