PDA

View Full Version : Sound_looping exceptions



L0d3x
May 25th, 2009, 02:54 AM
So, I made some custom .sound tags, using the sound convertor tool. I then went on to make a .sound_looping tag that uses these .sounds. Everything plays fine in guerilla, yet whenever I try to play it ingame or in sapien, I get the following exception:


05.25.09 01:34:17 sapien pc 01.00.00.0609 ----------------------------------------------
05.25.09 01:34:17 reference function: _write_to_error_file
05.25.09 01:34:17 reference address: 401b13
05.25.09 01:34:17 Couldn't read map file './sapienbeta.map'
05.25.09 01:34:17 CreateDevice succeeded with refresh rate = 0
05.25.09 01:34:17 Sound card doesn't meet minimum hardware requirements. Disabling hardware option.
05.25.09 01:34:18 Increasing sound decompression buffer size to 1048576 bytes
05.25.09 01:34:23 WARNING: 1 clusters in structure_bsp levels\forerunneroutpost\forerunneroutpost have no background sound or sound environment.
05.25.09 01:34:24 local player 0, weapon (0x0), deleted unexpectedly
05.25.09 01:35:01 EAX: 0x336FF5E8
05.25.09 01:35:01 EBX: 0x00000000
05.25.09 01:35:01 ECX: 0x76894AAE
05.25.09 01:35:01 EDX: 0x03543690
05.25.09 01:35:01 EDI: 0x769209B8
05.25.09 01:35:01 ESI: 0x76894994
05.25.09 01:35:01 EBP: 0x0017EB28
05.25.09 01:35:01 ESP: 0x0017EAB8
05.25.09 01:35:01 EIP: 0x001911DB, D9 00 83 EC ?????
05.25.09 01:35:01 00641F64 ?????
05.25.09 01:35:01 10003B21 ?????
05.25.09 01:35:01 EXCEPTION_ACCESS_VIOLATIONDoes anybody have a clue how to fix this? I've tried setting the .sound as projectile_impact, and as music. Note that when I use sound_impulse_start to play off my .sound's that that does work, though it doesn't play off the entire .sound tag :(

Help!

EDIT: should it be important to know, I had my music files as .wav, the sample rate was 22 050, i had 16 bit sample sizes, and the channel was stereo.

Higuy
May 25th, 2009, 09:06 AM
When you make a .sound, in my experience you need to make the .sound, set it up, then run it threw tool or the converter, etc.

NerveBooger
May 27th, 2009, 05:09 AM
Long sounds (more than 15 seconds), such as music must be in permutations, or it will cause exception errors. Also, if it is a sound detail, if there is a detail selection, but no valid permutation (single or multiple), it will exception. >> valid tut: http://hce.halomaps.org/index.cfm?fid=4046

L0d3x
May 27th, 2009, 05:39 AM
I'll look into that tut. I should note though, that I had UnevenElefant make me some sound_loopings instead, as mine kept exceptioninig. The sound_loopings that he made worked perfectly for him in Sapien, so I asked him to send the tags.

Strangely, what worked perfectly for him, exceptions for me, still. I'm starting to have a suspicion this may have something to do with having disabled UAC for vista.

Why exactly I can't say, but I don't like the sound of "EXCEPTION ACCESS VIOLATION" in my debug.txt.

p0lar_bear
May 27th, 2009, 06:01 AM
Zip up the tags and source files, I'll have a look at them...

L0d3x
May 27th, 2009, 06:13 AM
Well okay, do you have either AIM, MSN or xfire? Didn't see it on your contact info.

CodeBrain
May 27th, 2009, 01:43 PM
Another user was having the same issue related to music files.

http://www.modacity.net/forums/showthread.php?t=7140&highlight=EXCEPTION+ACCESS+VIOLATION

Search is my friend :iamafag:

Moving on, the last post on that thread is from November 20th, 2007.

Don't bump it D:

L0d3x
May 27th, 2009, 02:52 PM
Trying what was suggested did not work! Saf face.

CheesePoofs
June 18th, 2009, 01:14 AM
dont use the converter it messes it up and crashes sapien for some reason i got that problem several times

p0lar_bear
June 18th, 2009, 01:39 AM
I was helping L0d3x with this personally, but last thing that happened was him borking his CE install somehow and reinstalling. Haven't seen him (off of the forums) since...

NerveBooger
June 19th, 2009, 03:35 AM
Ensure the sound file is correct format before using tool, must be wav 16 bit signed PCM stereo or mono, ogg stereo or mono. "free" codecs arent always legitimate-working codecs and will cause that exception as will using less than 22050 hz. It will compile without problem, but randomly causes this same exception error both in sapien and in compiled maps.

If it is a valid format, then first update your xbox and/or ogg codecs, then resave, then re-tool it. If you get the same error, I suspect your tool might be one made by {TLS} Udie who also made the sound converter, which in itself uses mismatched xbox format is his own version of tool. Use a diff version of tool and codecs.

It works on his machine, because his codecs are valid and authentic and yours aren't - (this part makes sense, but is a guess)

L0d3x
June 19th, 2009, 03:48 AM
Seems possible, I was indeed using Udie's tool.

I reverted back to my older, normal, tool some time ago, and Polar was indeed helping me...then I got caught up in exams :(

Won't be working on this till at least the 24th, I'll be sure to take your suggestions into account then, booger.