Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
solarsnowfall

Doom Pallet

Recommended Posts

I've heard taking a screen shot of the opening image is the best way to get the pallet set for custom graphics. When I do this, the colors are all polarised when I paste it into my graphics editor. What's another good way to get the pallet?

Share this post


Link to post

What I do, is make the picture, and then Import it into XWE, it will then set it to the closest colors it can find in the Doom Pallet, then I go back and clean up the now palletized images, and then re-import them

Share this post


Link to post

I dont think its a matter of XWE supporting it, as its a matter of ZDoom and whatever level editor your using, but Im pretty sure there would be no problem, then again, Im not a technical guy

Share this post


Link to post

Oh crap, I used XWE and tried running my level and got this error. I just followed the tutorial to the letter, added PP_START, loaded images, added to textures, added PP_END

Now, one texture I put in a new SKY1 (to be drawn by F_SKY) texture 128x256 I think to be used for the sky, and another wall texture 254x512. Now according to zdoom.org zdoom is supposed to accept textures up to 254 units tall. There was no problem using the textures in the Doom Builder. Any clues to what I did wrong???

Error

Code: ACCESS_VIOLATION
Tried to read address 09950546
Flags: 00000000
Address: 00468479

Windows NT 5.1 Build 2600 Service Pack 2

GS=0000 FS=003b ES=0023 DS=0023
EAX=09911710 EBX=00000220 ECX=00000011 EDX=0992c858
ESI=00000000 EDI=00000066
EBP=09950546 EIP=00468479 ESP=0012fa24 CS=001b SS=0023
EFlags=00210212
CF- PF- AF+ ZF- SF- TF- IF+ DF- OF- NT- RF+ VM- AC- VI- VP-

FPU State:
ControlWord=027f StatusWord=4000 TagWord=ffff
ErrorOffset=004ff565
ErrorSelector=011c001b
DataOffset=0012d9a0
DataSelector=ffff0023
Cr0NpxState=00000000

MM0=0000000000000000
MM1=0000000000000000
MM2=21fa0000000021fa
MM3=d200000000000000
MM4=0000000000000000
MM5=0000000000000066
MM6=0995054609911710
MM7=000000230012fa24

Running threads:
00000560 at 00468479*
00000fa8
00000c70
00000b40
00000f98
00000f60
00000ac4
00000c14
00000174

Loaded modules:
00400000 - 00630fff *zdoom.exe
7c900000 - 7c9affff ntdll.dll
7c800000 - 7c8f3fff kernel32.dll
773d0000 - 774d1fff COMCTL32.dll
77c10000 - 77c67fff msvcrt.dll
77dd0000 - 77e6afff ADVAPI32.dll
77e70000 - 77f00fff RPCRT4.dll
77f10000 - 77f55fff GDI32.dll
77d40000 - 77dcffff USER32.dll
77f60000 - 77fd5fff SHLWAPI.dll
71ad0000 - 71ad8fff WSOCK32.dll
71ab0000 - 71ac6fff WS2_32.dll
71aa0000 - 71aa7fff WS2HELP.dll
76b40000 - 76b6cfff WINMM.dll
10000000 - 10093fff fmod.dll
77be0000 - 77bf4fff MSACM32.dll
774e0000 - 7761cfff ole32.dll
763b0000 - 763f8fff comdlg32.dll
7c9c0000 - 7d1d3fff SHELL32.dll
76f50000 - 76f57fff wtsapi32.dll
76360000 - 7636ffff WINSTA.dll
5b860000 - 5b8b3fff NETAPI32.dll
77fe0000 - 77ff0fff Secur32.dll
5ad70000 - 5ada7fff UxTheme.dll
003b0000 - 003bffff ctagent.dll
73f10000 - 73f6bfff dsound.dll
77c00000 - 77c07fff VERSION.dll
76c30000 - 76c5dfff WINTRUST.dll
77a80000 - 77b13fff CRYPT32.dll
77b20000 - 77b31fff MSASN1.dll
76c90000 - 76cb7fff IMAGEHLP.dll
72d20000 - 72d28fff wdmaud.drv
72d10000 - 72d17fff msacm32.drv
77bd0000 - 77bd6fff midimap.dll
73ee0000 - 73ee3fff KsUser.dll
76fd0000 - 7704efff CLBCATQ.DLL
77120000 - 771abfff OLEAUT32.dll
77050000 - 77114fff COMRes.dll
6ce10000 - 6ce47fff dinput8.dll
688f0000 - 688f8fff HID.DLL
77920000 - 77a12fff SETUPAPI.DLL
73760000 - 737a8fff ddraw.dll
73bc0000 - 73bc5fff DCIMAN32.dll

Bytes near EIP:
00468469: 17 04 8b 54 24 1c 6b ed 1e a1 5c 7a 5b 00 03 ea
00468479: 0f bf 55 00 03 d8 c1 e2 10 89 13 0f bf 45 02 c1
00468489: e0 10 89 43 04 66 c7 43 16 ff ff 0f bf 45 1c 3b

ZDoom version 2.0.63a

Command line:
C:\Program Files\Zdoom\zdoom.exe -file humans.wad jailbreak1.wad
IWAD: doom2.wad

Current map: MAP01

viewx = 0
viewy = 0
viewz = 0
viewangle = 0

Possible call trace:
00468479 BOOM
0046b9eb call 004683f0
0050a993 call [00520118]
00502c08
0050e459 call [00520168]
0050ab7b call 0050e438
0050ab98 call 00504d17
00502c08
0050ab98 call 00504d17
00501b9d call 0050aba0
00504eba call [00520168]
00505eac call 00504ea7
00501c6c call 00505e8a
004d7253 call 0050fd3e
0042d723 call 0046b4f0
0042dfab call 0042dc50
0042a867 call 0042df90
0041b572 call 0042a7d0
0041760c call 0041b280
0040b083 call 0040afd0
0040b083 call 0040afd0
0049bbd1 call 0040b070
0049bcd3 call 004ffb16
00498d83 call 00417660
00499095 call 004989d0
00502fca call 00499020
00502e5e call 005008c0
00502e46

Stack Contents:
0012fa24: f0828847 000005dc 0012fc5c 000005d9 G·······\·······
0012fa34: 00000000 00000066 00000011 0992c858 ····f·······X···
0012fa44: 00000220 0000090b 00000000 09908e00 ···············
0012fa54: eb6a26e1 0012fc50 00511ee9 00000000 ·&j·P·····Q·····
0012fa64: 0046b9eb 00000000 005b0d24 00000000 ··F·····$·[·····
0012fa74: 00000000 7c801898 0062ab40 0000006c ·······|@·b·l···
0012fa84: 00bd4730 0062ab40 0000006c 00000000 0G··@·b·l·······
0012fa94: 00001000 7c810e48 00000000 0012fa7c ····H··|····|···
0012faa4: 0012fadc 0012fb18 7c8399f3 7c809bd8 ···········|···|
0012fab4: ffffffff 7c801898 0050a993 00000090 ·······|··P·····
0012fac4: 00bd4730 00001000 0012fae0 00000000 0G··············
0012fad4: 0062ab40 0000006c 00000003 00001000 @·b·l···········
0012fae4: 00001000 00502c08 0050e459 00391fa0 ·····,P·Y·P···9·
0012faf4: 0050ab7b 00000003 0050ab98 0000234c {·P·······P·L#··
0012fb04: 005a0648 098a1ad8 00001000 0012fb00 H·Z·············
0012fb14: 0989fad8 0012fb8c 00502c08 00562728 ·········,P·('V·
0012fb24: ffffffff 0050ab98 005a0648 00000153 ······P·H·Z·S···
0012fb34: 0012fb5c 00501b9d 098a1ad9 00bd4731 \·····P·····1G··
0012fb44: 00000153 0012fbe0 0000234c 0002fe8c S·······L#······
0012fb54: 00504eba 00babdf8 0012fb9c 00505eac ·NP··········^P·
0012fb64: 00000013 00501c6c 005a0648 00000000 ····l·P·H·Z·····
0012fb74: 00251a86 00000000 006dc832 00000000 ··%·····2·m·····
0012fb84: 00000156 00000000 014f0094 00000000 V·········O·····
0012fb94: f0828847 ffffc71d 00000000 00000000 G···············
0012fba4: 00000000 00000000 00000000 00000000 ················
0012fbb4: 00000000 00000000 00000000 00000000 ················
0012fbc4: 00000000 00000000 00000000 00000000 ················
0012fbd4: 00000000 00000000 00000000 00000000 ················
0012fbe4: 00000000 00000000 00000000 00000000 ················
0012fbf4: 00000000 00000000 00000000 00000000 ················
0012fc04: 00000000 00000000 00000000 00000000 ················
0012fc14: 005f9910 00000403 00c7971c 004d7253 ··_·········SrM·
0012fc24: 00c7971c 005b1300 000005d9 005b13c9 ······[·······[·
0012fc34: 00000003 00000000 4d414e50 00005345 ········PNAMES··
0012fc44: 00000001 eb6a26e1 0012fa68 0012fccc ·····&j·h·······
0012fc54: 00511fdd ffffffff 00000003 0042d723 ··Q·········#·B·
0012fc64: 00000008 00000003 00000001 00000000 ················
0012fc74: 00000000 0042dfab 0042a867 0000006e ······B·g·B·n···
0012fc84: 00000001 00000001 00000000 00000001 ················
0012fc94: 00000000 00000000 0041b572 00000004 ········r·A·····
0012fca4: 09873d68 0012fcd8 00000001 0041760c h=···········vA·
0012fcb4: 00000004 09873d68 00000001 00000001 ····h=··········
0012fcc4: 0000006d 0012fcb4 0012fe04 005111d5 m·············Q·
0012fcd4: 00000000 00000000 0000026e 000000f8 ········n·······
0012fce4: 0012fe6c 0000017e 25ca4c08 00baede8 l···~····L·%····
0012fcf4: e976a75e 831ca660 6d6f6f44 7475412e ^·v·`···Doom.Aut
0012fd04: 616f6c6f 73650064 6f645a2f 732f6d6f oload·es/Zdoom/s
0012fd14: 736e696b 0fef4e00 f6e1471b 182c0e02 kins·N···G····,·
0012fd24: 2915965e e209572d 96b46e3f 1796e7a7 ^··)-W··?n······
0012fd34: ea22ca4b 53fddf2e c4c20425 8cdda02f K·"·.··S%···/···
0012fd44: 635d03fc 8e07f806 00000002 eb6a26e1 ··]c·········&j·
0012fd54: 0040b083 0012fd64 00000002 eb6a26e1 ··@·d········&j·
0012fd64: 0040b083 0012fd74 0049bbd1 00531458 ··@·t·····I·X·S·
0012fd74: 0049bcd3 00000094 00000005 00000001 ··I·············
0012fd84: 00000a28 00000002 76726553 20656369 (·······Service
0012fd94: 6b636150 77003220 774ff399 001599a0 Pack 2·w··Ow····
0012fda4: 8007000e 776068e4 774ec2b4 00000000 ·····h`w··Nw····
0012fdb4: 0012fdd8 7751c334 001599a0 7c80977b ····4·Qw····{··|
0012fdc4: 0012fe00 00000000 7760683c 0012fdf8 ········<h`w····
0012fdd4: 774fee13 00000001 00000000 00000002 ··Ow············
0012fde4: 00000000 00000000 0000026e 0000017e ········n···~···
0012fdf4: 00000002 0012fe08 006a26e1 eb6a26e1 ·········&j··&j·
0012fe04: 0012fe60 005111f8 ffffffff 00498d83 `·····Q·······I·
0012fe14: ffffffff 7c80e00d 7ffde000 00000000 ·······|·······
0012fe24: 00000000 0000026e 0000017e 00000001 ····n···~·······
0012fe34: 000f4240 0012fe2c 00000020 00000276 @B··,··· ···v···
0012fe44: 00000000 00400000 00400240 00400218 ······@·@·@···@·
0012fe54: 7c800000 00400000 0012fe14 0012fe88 ···|··@·········
0012fe64: 005126d0 00000000 0012fe98 00499095 ·&Q···········I·
0012fe74: 7c80b529 00000000 7ffde000 0012fe74 )··|·······t···
0012fe84: 0012f648 0012ffb0 00502c08 00530b00 H········,P···S·
0012fe94: 00000000 0012ffc0 00502fca 00400000 ·········/P···@·
0012fea4: 00000000 00152334 00000001 00000094 ····4#··········
0012feb4: 00000005 00000001 00000a28 00000002 ········(·······
0012fec4: 76726553 20656369 6b636150 e4003220 Service Pack 2··
0012fed4: e46cd000 e46ce000 e46cf000 e46d0000 ··l···l···l···m·
0012fee4: e46d1000 e46d2000 e46d3000 e46d4000 ··m·· m··0m··@m·
0012fef4: e46d5000 ee202c18 86fc1280 80543dfd ·Pm··, ······=T·
0012ff04: 00000000 00000300 00000000 00000001 ················
0012ff14: 00000101 0000000d 00000000 01000001 ················
0012ff24: ee202c48 000036c9 80557600 ee202c48 H, ··6···vU·H, ·
0012ff34: 80542fc1 86ff2000 000036c9 00502e5e ·/T·· ···6··^.P·
0012ff44: 80000001 0330d920 7ffde000 00000044 ···· ·0····D···
0012ff54: 001535c8 001533f0 00153628 00000000 ·5···3··(6······
0012ff64: 00000000 00000000 00000000 00000000 ················
0012ff74: 00000000 00000000 00000401 00000001 ················
0012ff84: 00000000 00000000 00010001 00000000 ················
0012ff94: 00000408 00000000 00000001 00152334 ············4#··
0012ffa4: 00000000 0012feb0 80615ce3 0012ffe0 ·········\a·····
0012ffb4: 00502c08 0055e210 00000000 0012fff0 ·,P···U·········
0012ffc4: 7c816d4f 80000001 0330d920 7ffde000 Om·|···· ·0····
0012ffd4: 80543dfd 0012ffc8 84b0c580 ffffffff ·=T·············
0012ffe4: 7c8399f3 7c816d58 00000000 00000000 ···|Xm·|········
0012fff4: 00000000 00502e46 00000000

Share this post


Link to post

Quote off zdoom wiki "Any graphic in either >>>> Doom <<<< or PNG format that is between these markers is immediately treated as a texture/flat."

DooM format?

Share this post


Link to post

I think by the "Doom format" it refers to the image format that Doom handles. Originally, sprites, textures and misc images in Doom are in this image format.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×