{"action":"created","issue":{"url":"https://api.github.com/repos/libertyernie/brawltools/issues/81","repository_url":"https://api.github.com/repos/libertyernie/brawltools","labels_url":"https://api.github.com/repos/libertyernie/brawltools/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/libertyernie/brawltools/issues/81/comments","events_url":"https://api.github.com/repos/libertyernie/brawltools/issues/81/events","html_url":"https://github.com/libertyernie/brawltools/issues/81","id":183822589,"number":81,"title":"Wii Sports (Tennis) results in error upon exporting of WAV","user":{"login":"awesomebing1","id":10055256,"avatar_url":"https://avatars.githubusercontent.com/u/10055256?v=3","gravatar_id":"","url":"https://api.github.com/users/awesomebing1","html_url":"https://github.com/awesomebing1","followers_url":"https://api.github.com/users/awesomebing1/followers","following_url":"https://api.github.com/users/awesomebing1/following{/other_user}","gists_url":"https://api.github.com/users/awesomebing1/gists{/gist_id}","starred_url":"https://api.github.com/users/awesomebing1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awesomebing1/subscriptions","organizations_url":"https://api.github.com/users/awesomebing1/orgs","repos_url":"https://api.github.com/users/awesomebing1/repos","events_url":"https://api.github.com/users/awesomebing1/events{/privacy}","received_events_url":"https://api.github.com/users/awesomebing1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-18T22:46:21Z","updated_at":"2016-10-19T23:11:02Z","closed_at":null,"body":"(I mentioned this in #62 but it appears it is a different issue, so I created a new one.)\r\n\r\nUpon opening the Tennis .brsar (which can be downloaded [here](https://keybase.pub/awesomebing1/rp_Tns_sound.brsar), the format loads as expected however some cannot be played. For example, anything in FANFARE/ or Fanfare/ or Bgm/ can be played, same in Bgm/, but things in BGM/ and STRM/ and several other places cannot be played. Attempting to export non-playable sounds result in the following error:\r\n\r\n```\r\nObject reference not set to an instance of an object.\r\n   at System.Audio.WAV.ToFile(IAudioStream source, String path, Int32 samplePosition, Int32 maxSampleCount)\r\n   at BrawlLib.SSBB.ResourceNodes.RSARSoundNode.Export(String outPath)\r\n   at BrawlBox.GenericWrapper.OnExport(String outPath, Int32 filterIndex)\r\n   at BrawlBox.GenericWrapper.Export()\r\n   at BrawlBox.GenericWrapper.ExportAction(Object sender, EventArgs e)\r\n   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)\r\n   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)\r\n   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)\r\n   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)\r\n   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)\r\n   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)\r\n   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)\r\n   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)\r\n   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)\r\n   at System.Windows.Forms.Control.WndProc(Message& m)\r\n   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)\r\n   at System.Windows.Forms.ToolStrip.WndProc(Message& m)\r\n   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)\r\n   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)\r\n   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)\r\n   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)\r\n```"},"comment":{"url":"https://api.github.com/repos/libertyernie/brawltools/issues/comments/254967203","html_url":"https://github.com/libertyernie/brawltools/issues/81#issuecomment-254967203","issue_url":"https://api.github.com/repos/libertyernie/brawltools/issues/81","id":254967203,"user":{"login":"awesomebing1","id":10055256,"avatar_url":"https://avatars.githubusercontent.com/u/10055256?v=3","gravatar_id":"","url":"https://api.github.com/users/awesomebing1","html_url":"https://github.com/awesomebing1","followers_url":"https://api.github.com/users/awesomebing1/followers","following_url":"https://api.github.com/users/awesomebing1/following{/other_user}","gists_url":"https://api.github.com/users/awesomebing1/gists{/gist_id}","starred_url":"https://api.github.com/users/awesomebing1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awesomebing1/subscriptions","organizations_url":"https://api.github.com/users/awesomebing1/orgs","repos_url":"https://api.github.com/users/awesomebing1/repos","events_url":"https://api.github.com/users/awesomebing1/events{/privacy}","received_events_url":"https://api.github.com/users/awesomebing1/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T23:11:02Z","updated_at":"2016-10-19T23:11:02Z","body":"I can confirm that file is there, in the stream folder.\r\n\r\n```\r\n> ls -R\r\n.:\r\nrp_Tns_sound.brsar  stream\r\n\r\n./stream:\r\nRP_Tns_Bgm_GameResultDisp.t.32.c4.brstm  RP_Tns_Bgm_TrainingResultDisp.t.32.c4.brstm  RP_Training_Bgm_Result03.t.32.c4.brstm       RP_Training_Tns_Bgm_Renzoku.t.32.c4.brstm\r\nRP_Tns_Bgm_GameSetReplay.t.32.c4.brstm   RP_Training_Bgm_Result01.t.32.c4.brstm       RP_Training_Tns_Bgm_Kabeuchi.t.32.c4.brstm\r\nRP_Tns_Bgm_SelectPosition.t.32.c4.brstm  RP_Training_Bgm_Result02.t.32.c4.brstm       RP_Training_Tns_Bgm_Nerauchii.t.32.c4.brstm\r\n```\r\n\r\nI personally had not noticed that folder existed, my fault for not seeing it. Upon opening the file (which can be dowloaded [here](https://keybase.pub/awesomebing1/RP_Training_Tns_Bgm_Nerauchii.t.32.c4.brstm)) in BrawlBox, all I heard was a bunch of static.\r\n\r\nI was able to reproduce both of these issues on a Windows 8.1 64bit and Windows XP 32bit installation, both running in Parallels on my Mac. (These files were not stored via Parallel's virtual file handling thing, I copied them to the local drive.)"}}
{"actor":{"display_login":"awesomebing1"}}