Cyberdemon
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 > Freedoom > weird patch/texture bug
 
Author
All times are GMT. The time now is 20:53. Post New Thread    Post A Reply
hex11
Senior Member


Posts: 2237
Registered: 09-09


In the most recent /newstuff reviews, kashimir.wad looks okay with id's doom2.wad but under Freedoom there is lots of texture strangeness:
http://www.doomworld.com/vb/showthr...=&postid=983922

I don't understand what the warning "R_GenerateLookup: column without a patch (xxxxxxxx)" signifies, but it gets printed to console several hundred times.

Old Post 06-26-11 09:08 #
hex11 is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
boris
meow


Posts: 3631
Registered: 05-00


I'd say the problem is that kashimir.wad comes with a new TEXTURE1 lump, but not with a PNAMES lump, so it's using different (wrong) patches to build the texture.

Old Post 06-26-11 10:54 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
fraggle
Filled with the code of Doom


Posts: 7778
Registered: 07-00


Realistically I guess there are always going to be a few WADs that don't play properly under Freedoom. Boris's explanation sounds plausible. I guess theoretically we could construct the PNAMES lump so that the ordering of patches matches that from doom2.wad.

EDIT: After some more investigation, it seems that deutex doesn't preserve the order of patches as they appear in wadinfo.txt - they just appear in a random order in PNAMES. So I'd have to write a script to manually generate a PNAMES lump.

Ideally TEXTURE1 should be sorted in the same way (textures as they appear in doom2.wad at the start, added textures at the end). I think this might potentially affect multiplayer ports when playing between doom2.wad and Freedoom.

Old Post 06-26-11 18:34 #
fraggle is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
Catoptromancy
Senior Member


Posts: 1021
Registered: 08-06


http://www.doomworld.com/vb/freedoo...d-for-freedoom/

All the effort to rescript deutex or whatever needs done will only affect a dozen wads.

Old Post 06-26-11 23:34 #
Catoptromancy is online now Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
hex11
Senior Member


Posts: 2237
Registered: 09-09


So then, the majority of PWADs in /idgames that have a TEXTURES1 also contain a PNAMES lump? And if that is the case, is there something peculiar about his editing tools which explains this deviation?



Editor(s) used : Doom Builder 1.68, XWE



It's worth noting that kashimir.wad was just released, so there may be more situations like this in the future.

But at least prepending cct.wad to the -file arguments acts as a workaround. This is what the map looks like otherwise:

http://i.imgur.com/66ZcJ.png

http://i.imgur.com/1Kow3.png

http://i.imgur.com/Db3RD.png

The "gradient" sky in the last two pics is especially trippy. Goes well with the music. ;)

Old Post 06-27-11 11:35 #
hex11 is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
fraggle
Filled with the code of Doom


Posts: 7778
Registered: 07-00



hex11 said:
So then, the majority of PWADs in /idgames that have a TEXTURES1 also contain a PNAMES lump? And if that is the case, is there something peculiar about his editing tools which explains this deviation?
Generally speaking, having one without the other is a pretty bad idea. I don't know what tools were used to generate this WAD, TEXTURE1 and PNAMES are pretty closely intertwined, so it's hard to imagine one that could edit one without the other.

Old Post 06-27-11 12:40 #
fraggle is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
GreyGhost
Why don't I have a custom title by now?!


Posts: 8837
Registered: 01-08


I REALLY must try to type faster.


fraggle said:
After some more investigation, it seems that deutex doesn't preserve the order of patches as they appear in wadinfo.txt - they just appear in a random order in PNAMES. So I'd have to write a script to manually generate a PNAMES lump.

Ideally TEXTURE1 should be sorted in the same way (textures as they appear in doom2.wad at the start, added textures at the end). I think this might potentially affect multiplayer ports when playing between doom2.wad and Freedoom.

Random indeed. A quiet browse through the retail IWADs suggests to me that the PNAMES lump is derived from the TEXTURE* lump/s. It's a pity DeuTex doesn't do things that way. :(


hex11 said:
So then, the majority of PWADs in /idgames that have a TEXTURES1 also contain a PNAMES lump? And if that is the case, is there something peculiar about his editing tools which explains this deviation?
Nothing wrong with those tools. The author decided to replace some existing patches instead of defining new ones, which means no changes would have been made to the PNAMES lump - making it's inclusion unnecessary if you're playing with id's IWAD. Adding a PNAMES lump cures the problem with Freedoom - until you get to Map02.

Old Post 06-27-11 13:05 #
GreyGhost is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit || Quote
boris
meow


Posts: 3631
Registered: 05-00


Only editing TEXTURE1 can be useful if you want to create new textures with the existing patches, like makeing a new door texture with a radiation sign on it or whatever. However, in kashmir.wad no new textures are defined, just some patches are replaced. The TEXTURE1 lump seems to be exactly the same one from doom2.wad. I didn't do a checksum, but removing the TEXTURE1 lump makes the level look normal in Freedoom.


GreyGhost said:
Adding a PNAMES lump cures the problem with Freedoom - until you get to Map02.

What do you mean? Map02 looks fine.

Does the PNAMES lump server any purpose, besides saving some disk space? Maybe just a relic from eariler Doom builds?

Old Post 06-27-11 16:12 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
Memfis
Forum Spammer


Posts: 5801
Registered: 04-07



The TEXTURE1 lump seems to be exactly the same one from doom2.wad.

Not exactly. I've changed the width of ZZZFACE1 and ZZZFACE2.

Old Post 06-27-11 17:47 #
Memfis is online now Profile || Blog || PM || Email || Search || Add Buddy IP || Edit || Quote
boris
meow


Posts: 3631
Registered: 05-00



Memfis said:

Not exactly. I've changed the width of ZZZFACE1 and ZZZFACE2.


You are right, removing the TEXTURE1 lump results in incomplete textures, I just didn't notice it at the first glance.

Old Post 06-27-11 18:19 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
wesleyjohnson
Senior Member


Posts: 1056
Registered: 04-09


Somewhat similar to when I asked about Caesar.wad. My solution was to load gothic.wad or gothic2.wad also, which apparently has the PNAMES lump. It made Caesar.wad work.

Old Post 06-27-11 21:30 #
wesleyjohnson is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
fraggle
Filled with the code of Doom


Posts: 7778
Registered: 07-00


If I get the time I can probably hand-craft a TEXTURE1/PNAMES generator script.

Old Post 06-28-11 09:39 #
fraggle is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
All times are GMT. The time now is 20:53. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Freedoom > weird patch/texture bug

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.