Doom Comic
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 > Eternity > [ R1303] TRANMAP.dat problem
 
Author
All times are GMT. The time now is 22:18. Post New Thread    Post A Reply
Xtroose
Junior Member


Posts: 248
Registered: 12-09


I have created a TRANMAP.dat with tran_filter_pct set to 32 and converted it to TRANMAP.lmp using MAKTRLMP.EXE (part of Boom Editing Utilities package - download).

During file conversion MAKTRLMP.EXE prints a warning to the console:
"One or more CON code pages invalid for given keyboard code"

The transparency effect is broken when using the created TRANMAP lump in a map.

If I repeat the same procedure using Boom 2.02 (running in DOSBox) MAKTRLMP.EXE does not complain and I get the desired results.

I have made two test levels (download link at the bottom of this post):
  • boomrain.wad - Demonstrating the desired Boom 2.02 behavior
  • boomrain_ee.wad - Demonstrating the broken Eternity Engine R1303 behavior

I have also included Boom_TRANMAP.dat and ee_tranmap.dat in the zip.

[DOWNLOAD]

Old Post 10-10-10 02:52 #
Xtroose is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit || Quote
Quasar
Moderator


Posts: 6175
Registered: 08-00


EE's cached tranmap.dat files cannot be used with the BOOM tranmap utility any longer because they contain some versioning metadata in the header. This was necessary because Lee Killough made a mistake in the generation code for the file format which left out 2/3rds of the palette data.

This was never obvious until esselfortium caught it while working on his Vaporware project, which uses a different palette. Since his palette never varies from DOOM inside the first 1/3rd of the colors (only in the latter 2/3rds), the tranmap.dat file would be detected as matching the current palette and the translucency lookup loaded would become non-functional.

Old Post 10-10-10 06:37 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
esselfortium
A Major Doomworld Concern


Posts: 6666
Registered: 01-02


Indeed. Options for generating a tranmap lump include:

1) Use PrBoom or PrBoom-Plus to do it, combined with MAKTRLMP.EXE.

2) Use an image editor that supports layers, open up the palette you're using as a 1x256 image, and stretch it out to 256x256. Make another layer that rotates it 90 degrees, and set the opacity level on it to the desired level. (I may have accidentally mixed up whether the foreground or background layer needs to be rotated. I guess you'll know it if you end up with 68% opacity ingame instead of 32%.)
If you're using Photoshop, here is a template I made to do the job with the standard Doom palette.

Assuming I didn't get it backwards when I made these a year or two ago (if so, they're just the inverse of the translucency level I'm saying they are. :P), here's a 0, 25, 50, 75, and 100% tranmap set with the standard Doom palette:

http://sl4.poned.com/screens/tranmap-fx/tranmaps4joe/TRANS-0.png
http://sl4.poned.com/screens/tranmap-fx/tranmaps4joe/TRANS-25.png
http://sl4.poned.com/screens/tranmap-fx/tranmaps4joe/TRANS-50.png
http://sl4.poned.com/screens/tranmap-fx/tranmaps4joe/TRANS-75.png
http://sl4.poned.com/screens/tranmap-fx/tranmaps4joe/TRANS-100.png

Once you've generated your tranmap, import it into your wad and use either XWE to save it as a flat (yes, a 256x256 flat), or use Slade3's graphics converter to convert it to a Raw Graphic.

Hope this helps. Sorry for the uncertainty with it; it's been a while.

__________________
essel.spork-chan.net - doom stuff, artwork, and music by esselfortium

Old Post 10-10-10 06:47 #
esselfortium is online now Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
Xtroose
Junior Member


Posts: 248
Registered: 12-09


@Quasar: Thank you for clarifying. It is interesting how underused the palette and tranmap effects are given how easy it is to use them.

@esselfortium: From now on I will use the second option, so thank you very much for the .psd and the description of the entire procedure. I guess this is how you made those cool translucency effects. :D

Old Post 10-10-10 11:32 #
Xtroose is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit || Quote
All times are GMT. The time now is 22:18. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > [ R1303] TRANMAP.dat problem

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.