[ian-reeds-games] Re: more info on the sound errors in rpg

  • From: Ian Reed <support@xxxxxxxxxxxxxxxxxxx>
  • To: ian-reeds-games@xxxxxxxxxxxxx
  • Date: Thu, 30 May 2013 21:20:31 -0600

Re-saving the sounds might work.
Since it doesn't crash on my machine I can't test it with just one sound file but if you want to see if it fixes it that would be great information to have.



On 5/30/2013 5:04 PM, shaun everiss wrote:
I wander what would happen if you recoded all sounds well resaved them as 16 bit standard pcm wavs or something.
who knows.
it works on 7 but hmmm.
maybe you could send me a debug version which will log the errors but not crash or will log and crash with whatever error it is and I then can send the log here or something.

At 03:39 AM 5/31/2013, you wrote:
Hey Shaun, sorry to hear you're still getting errors.

The problem is with loading the sounds. The code that loads the sound chooses not to crash and instead just use SAPI to announce it couldn't load the file, but that is where the real error is. The error you sent is because the first person code expects the sounds to get loaded correctly and breaks when they aren't.

Maybe in the next version I will let the original sound loading error crash the game which will give me the technical error. I've done that in the past and sometimes it's helpful and plenty of times it still doesn't make much sense.
It ends up giving a DirectX error if I do that.

Glad it's working on your Windows 7 machine though.

I can't say much about which code the vocal sounds are using as I didn't record them myself.

Ian Reed


On 5/30/2013 5:00 AM, shaun everiss wrote:
Hi ian.
Well I coppied the error dump from the game when I run the game on my xp system. It keeps saying sounds in all unit folders are having issues but I downloaded a fresh coppy and left everything in tact.

on win7 this works fully however on my xp box I get the following dump.
its all coded noncence to me but this is probably what you may find usefull. it doesn't look like its much of a sound error at all but a dotnet event error.
is it because this game uses dotnet 4.5 and or 5.0 code?
if so forget it I will just have to play this game on my updated laptop its no biggy but if you could fix this then cool as it basically does load.
---------------------------

---------------------------
An error has occurred.  Please notify the game creator of this error.
You can copy the entire error to your clipboard by pressing control + C. Then you can paste it into an email by pressing control + V and send the email to support@xxxxxxxxxxxxxxxxxxx. System.NullReferenceException: Object reference not set to an instance of an object.

   at Game.SoundSequence.set_Mute(Boolean value)

   at Game.FPExploring.HandleSilencingAmbientSounds()

   at Game.FPExploring.Process(World ent)

   at Game.StateMachine`1.Process()

   at Game.Form1.RunGameLoop(Boolean keyPressed)

   at Game.Form1.GameLoopTimer_Tick(Object sender, EventArgs e)

   at System.Windows.Forms.Timer.OnTick(EventArgs e)

   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
---------------------------
OK
---------------------------
from looking at the code junk it sounds like some event loop and timer conflict but I really don't know I am just guessing. I do have the latest vc 2012 libs ofcause and v4.0 of dotnet but not anything later on xp on my 7 system I have everything else, but I guess its just one of those things, bound to happen that newer games won't work so well though tactical battle works.

shaun







Other related posts: