Back to the Vavoom Forum Archives


Forum

[Fixed]Vavoom crashing with my Heretic WAD

Thu, 22 Oct 2009 20:21:30

kristus

I'm having problems getting my WAD to run solidly on Vavoom. I've noticed that if I just play the maps, it seems to be running stable. And if I just run the resource wad, I also didn't seem to have any issues. But when I ran the two of them together. It bombs out like grandma on mescaline. The first thing I suspected was the Mapinfo lump. Vavoom's mapinfo defines the secret map by "secret <lumpname>" while Zdoom requires it to be "secretnext <lumpname>" But then when I tried running and got a crash it was showing an error message with something about the sky.
Segmentation Violation

Stack trace:VSoftwareDrawer::CacheSkySurface <- VSoftwareDrawer::WorldDrawing <- VSkyPortal::DrawContents <- VPortal::Draw <- Best sky <- VRenderLevel::RenderWorld <- VRenderLevel::RenderScene <- VRenderLevel::RenderPlayerView <- R_RenderPlayerView <- SCR_Update <- Host_Frame
I doubt this is the only problem I've had though. Because this one only appears to happen when I start the game in a map where the sky is visible from the start of the map.I've experienced random crashes a lot with playing my Heretic WAD with Vavoom. I can't say much about if they would happen anyway though since I don't really use Vavoom to play Heretic. Another thing I've noticed is that the Dragonclaw's firing rate seems a bit slow.
Fri, 23 Oct 2009 12:33:29

Firebrand

OK, seems the combination of both of the wads you are doing is causing a problem somewhere, could you post a link to download your wad files? If you can't post them publicly please send it in a PM <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->.
Sat, 24 Oct 2009 01:23:42

kristus

Ok. PM sent. <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
Sun, 25 Oct 2009 19:06:23

Firebrand

The problem is fixed now <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->, you can find the latest Vavoom SVN version here, note that it will only work if you are running windows: [url:co3awkih]http://svn.drdteam.org/vavoom/
Sun, 25 Oct 2009 22:56:25

kristus

Sweet. Could you tell me what was causing it? EDIT: Tested now, it's running solid. <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
Mon, 26 Oct 2009 14:11:18

Firebrand

Yes, you were using a sky texture which was 1024 width by 256 height, there was a typo in the renderer that drawn the sky using width and width as height which obviously was trying to draw 1024 height units, noting that the texture's height is 256 units the remainder doesn't exist but was tried to be allocated when caching the file, causing a crash <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->, just fixed the typo in the code and it works fine.
Thu, 29 Oct 2009 00:54:51

kristus

ah. that explains it. <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->

Back to the Vavoom Forum Archives