HeXeN extraction problem(monster)

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Zell
Posts: 791
Joined: Thu Jul 24, 2003 7:47 am
Location: IN A GODDAMN BOX[In Erie.]

HeXeN extraction problem(monster)

Post by Zell »

I imported a green demon into doom, and when i summon him, he crashes the game. here is the error zdoom presents me with (its long) :

Code: Select all

Code: ACCESS_VIOLATION
Tried to read address 0071b288
Flags: 00000000
Address: 0043b85c

Windows NT 5.1 Build 2600 (really windowsXP)

GS=0000  FS=0038  ES=0023  DS=0023
EAX=00000000  EBX=00050000  ECX=00000000  EDX=00010000
ESI=00000280  EDI=00000280
EBP=00030001  EIP=0043b85c  ESP=0012fc3c  CS=001b  SS=0023
EFlags=00010246
 CF- PF+ AF- ZF+ SF- TF- IF+ DF- OF- NT- RF+ VM- AC- VI- VP-

FPU State:
 ControlWord=027f StatusWord=0320 TagWord=ffff
 ErrorOffset=0044a98d
 ErrorSelector=011d001b
 DataOffset=005da1b0
 DataSelector=ffff0023
 Cr0NpxState=00000000

MM0=0000000000000000
MM1=000000a7006b006b
MM2=a4610a4dc4c73000
MM3=a0b29b8000000000
MM4=0000000000000000
MM5=0000028000000280
MM6=0003000100000000
MM7=000000230012fc3c

Running threads:
00000184 at 0043b85c*
000003f0
000005a0
0000017c
000006e4
000004f4
0000024c
000006b4
0000060c

Loaded modules:
00400000 - 0060ffff *zdoom.exe
77f50000 - 77ff5fff  ntdll.dll
77e60000 - 77f44fff  kernel32.dll
71950000 - 71a33fff  COMCTL32.dll
77c10000 - 77c62fff  msvcrt.dll
77c70000 - 77caffff  GDI32.dll
77d40000 - 77dc5fff  USER32.dll
77dd0000 - 77e5afff  ADVAPI32.dll
78000000 - 7806dfff  RPCRT4.dll
772d0000 - 77332fff  SHLWAPI.dll
71ad0000 - 71ad7fff  WSOCK32.dll
71ab0000 - 71ac4fff  WS2_32.dll
71aa0000 - 71aa7fff  WS2HELP.dll
76b40000 - 76b6bfff  WINMM.dll
10000000 - 10086fff  fmod.dll
77be0000 - 77bf3fff  MSACM32.dll
771b0000 - 772bffff  ole32.dll
763b0000 - 763f4fff  comdlg32.dll
773d0000 - 77bbdfff  SHELL32.dll
5ad70000 - 5ada3fff  uxtheme.dll
42020000 - 42036fff  dwspy36.DLL
77120000 - 771aafff  OLEAUT32.dll
76f50000 - 76f57fff  wtsapi32.dll
76360000 - 7636efff  WINSTA.dll
76f90000 - 76f9ffff  Secur32.dll
51080000 - 510d5fff  dsound.dll
77c00000 - 77c06fff  VERSION.dll
72d20000 - 72d28fff  wdmaud.drv
72d10000 - 72d17fff  msacm32.drv
77bd0000 - 77bd6fff  midimap.dll
5ef80000 - 5ef83fff  KsUser.dll
76fd0000 - 77047fff  CLBCATQ.DLL
77050000 - 77114fff  COMRes.dll
6ce10000 - 6ce44fff  dinput8.dll
688f0000 - 688f8fff  HID.DLL
76670000 - 76753fff  SETUPAPI.DLL
51000000 - 51046fff  ddraw.dll
73bc0000 - 73bc5fff  DCIMAN32.dll

Bytes near EIP:
0043b84c: 20 8b 0d a4 ca 5d 00 8b 04 85 30 92 5b 00 d3 e6
0043b85c: 8b 0c 9d 88 b2 5d 00 c1 fa 0a c1 e2 0a 89 44 24
0043b86c: 18 8b 44 24 14 81 c2 30 92 5b 00 2b f7 03 c8 eb

ZDoom version 2.0.47

Command line:
 C:\games\HEXEN\zdoom.exe C:\games\HEXEN\Affliction.wad C:\games\HEXEN\gdh.wad
IWAD: doom2.wad

Current map: MAP01

viewx = -7336896
viewy = -21859833
viewz = 2686976
viewangle = 4287627264

Possible call trace:
 0043b85c  BOOM
 0043b8d6  call 0043b7f0
 0043bccf  call 0043b8c0
 0044404a  call 0043bcb0
 004f3b5d  call 00443d80
 004e25c0
 004f3ff4  call 004f3940
 004f517e  call 004f3d90
 004ee910  call 004ee870
 0047637d  call 004ee900
 0046d510  call 004f4030
 0046d5e5  call 0046d1f0
 00425bd7  call 0046d570
 00425a6e  call 0042a840
 00425a56

Stack Contents:
0012fc3c: 00000001 00000002 0012fcc8 00000000  ················
0012fc4c: 00000001 00000000 0012fcc8 0043b8d6  ··············C·
0012fc5c: 0000007d 0005ffe8 fffd0299 fffff0b2  }···············
0012fc6c: 000107a3 0043bccf 0669da44 00000003  ······C·D·i·····
0012fc7c: 0044404a 00000000 1c19bddb 004f3b5d  J@D·········];O·
0012fc8c: 00601f90 004e25c0 00000000 42b40000  ··`··%N········B
0012fc9c: e42b0be7 004f3ff4 00000000 00000001  ··+··?O·········
0012fcac: 00000003 00000000 00c29a90 0012fca8  ················
0012fcbc: 0012fe14 00510acc 00000000 0012fe20  ······Q····· ···
0012fccc: 004f517e 0000017e 0000026e 00000000  ~QO·~···n·······
0012fcdc: 3066ef59 00c2d448 e52c2ce0 66170335  Y·f0H····,,·5··f
0012fcec: 684f6977 c16a01ff 365efe5f 2c24b4d6  wiOh··j·_·^6··$,
0012fcfc: 2acf1b48 6d6f6f44 7475412e 616f6c6f  H··*Doom.Autoloa
0012fd0c: 732f0064 736e696b b8a37400 9f288a28  d·/skins·t··(·(·
0012fd1c: d0eb36f5 404670a5 d2502fb8 96d81d9f  ·6···pF@·/P·····
0012fd2c: dcd1f84e 7e49980c d5bdfed2 4735017b  N·····I~····{·5G
0012fd3c: 2ac1b150 2c672338 4ea3437c 1aae77fa  P··*8#g,|C·N·w··
0012fd4c: 45d4e16d 5fa3ec36 86492b65 546aa4ff  m··E6··_e+I···jT
0012fd5c: 00548580 3a8a2164 004ee910 00000002  ··T·d!·:··N·····
0012fd6c: 0012fd78 0047637d 00548580 005485b0  x···}cG···T···T·
0012fd7c: 00000005 00000001 00000a28 0000026e  ········(···n···
0012fd8c: 00000094 00000005 00000001 00000a28  ············(···
0012fd9c: 00000002 771cd500 772a9888 772a9880  ·······w··*w··*w
0012fdac: 772025e3 772a9888 7720fa91 00000000  ·% w··*w·· w····
0012fdbc: 0012fdc8 0012fdcc 00000000 00158b80  ················
0012fdcc: 77e777ef 77203968 00159b80 0012fe1c  ·w·wh9 w········
0012fddc: 772ad120 771ddc01 772ad188 772ad168   ·*w···w··*wh·*w
0012fdec: 0012fe10 0000017e 0000026e 0012fe6c  ····~···n···l···
0012fdfc: 00000000 0000026e 0000017e 00000000  ····n···~·······
0012fe0c: 3a821d64 3ac4c874 0012fe60 00510aef  d··:t··:`·····Q·
0012fe1c: ffffffff 0012fe6c 0046d510 ffffffff  ····l·····F·····
0012fe2c: 77e79c90 7ffdf000 00000000 00000000  ···w···········
0012fe3c: 0000026e 0000017e 00000001 000f4240  n···~·······@B··
0012fe4c: ffffffff 00000276 000001a6 77e60000  ····v··········w
0012fe5c: 0012fe28 0012fe88 00510af9 00000000  (·········Q·····
0012fe6c: 0012fe98 0046d5e5 77e79f93 00000000  ······F····w····
0012fe7c: 7ffdf000 0012fe74 0012f864 0012ffb0  ···t···d·······
0012fe8c: 0042b8f0 005259e8 00000000 0012ffc0  ··B··YR·········
0012fe9c: 00425bd7 00400000 00000000 00152373  ·[B···@·····s#··
0012feac: 00000001 00000094 00000005 00000001  ················
0012febc: 00000a28 00000002 f8684c00 f8684c08  (········Lh··Lh·
0012fecc: f8684c08 f8684c08 f8684c08 f8684c08  ·Lh··Lh··Lh··Lh·
0012fedc: f8684c08 e2f0f000 e2f10000 e2f11000  ·Lh·············
0012feec: e2f12000 e2f13000 e2f14000 e2f15000  · ···0···@···P··
0012fefc: e2f16000 e2f17000 e2f18000 e2f19000  ·`···p··········
0012ff0c: e2f1a000 e2f1b000 e2f1c000 e2f1d000  ················
0012ff1c: ff6e10e0 ff676980 0000a58d 00000001  ··n··ig·········
0012ff2c: 00000011 00000000 00000011 00001f0f  ················
0012ff3c: 8053e4a0 00425a6e 00000000 00000001  ··S·nZB·········
0012ff4c: 7ffdf000 00000002 80f73000 00152373  ········0··s#··
0012ff5c: 00000044 001533e8 00153398 00153448  D····3···3··H4··
0012ff6c: 00000000 00000000 00000000 00000000  ················
0012ff7c: 00000000 00000000 00000000 00000001  ················
0012ff8c: 00000001 00000000 ffffffff ffffffff  ················
0012ff9c: ffffffff 00000000 00000000 0012feb0  ················
0012ffac: f8684d10 0012ffe0 0042b8f0 00522cd0  ·Mh·······B··,R·
0012ffbc: 00000000 0012fff0 77e7eb69 00000000  ········i··w····
0012ffcc: 00000001 7ffdf000 f8684cf4 0012ffc8  ········Lh·····
0012ffdc: 8052f184 ffffffff 77e9bb86 77e95a18  ··R········w·Z·w
0012ffec: 00000000 00000000 00000000 00425a56  ············VZB·
0012fffc: 00000000                             ····
User avatar
Biff
Posts: 1061
Joined: Wed Jul 16, 2003 5:29 pm
Location: Monrovia, CA, USA

Post by Biff »

I copied all of the demon sprites from hexen.wad and put them in a small test wad (actually used your wtr.wad). It works, doesn't crash. There may be a file format problem with your wad. For example, are the demon sprites located between ss_start and ss_end markers? I did not put demon sounds or a sndinfo lump in the test wad and that caused no problems, other than I couldn't hear the demon.

Actually, I pasted both the green and brown demon sprites in the wad and the green one spawns with "summon demon1" and the brown one with "summon demon2".

If you get stuck, I'll take a look at your wad and check for whatever is making it crash. OK to mail to mjblakely@earthlink.net.
User avatar
Zell
Posts: 791
Joined: Thu Jul 24, 2003 7:47 am
Location: IN A GODDAMN BOX[In Erie.]

Post by Zell »

its probaly the sndinfo and sndseg lumps i have it in =(
if that doesnt work ill e-mail u the wad.
User avatar
Biff
Posts: 1061
Joined: Wed Jul 16, 2003 5:29 pm
Location: Monrovia, CA, USA

Post by Biff »

Here, check this. I've learned a few things. All of the monster sounds are defined in the sndinfo lump in Hexen.wad, that's why zdoom.wad sndinfo does not need those when playing Hexen (sndinfo is additive).

This example wad has all of the demon graphics, both green and brown, and their fireballs too. Also their sounds and a simple sndinfo lump to make it work. This is what's in the sndinfo:

$ifdoom

DemonSight sbtsit5
DemonActive sbtsit5
DemonPain minact1
DemonAttack dematk2
DemonDeath sbtdth3
DemonMissileFire impfire2
DemonMissileExplode impact3


So load up the example with doom2.wad, summon demon1 and/or demon 2. Heh, tell you what, I'll put an open script in the wad too, to bring two demons in automatically. Spawnspot command used with map spots....


Aw. It's 75k too large. All of those demon graphics.
Locked

Return to “Editing (Archive)”