<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Maratis forum - Error Load Sound on newer version of Maratis]]></title>
	<link rel="self" href="http://forum.maratis3d.com/extern.php?action=feed&amp;tid=279&amp;type=atom"/>
	<updated>2012-01-23T10:26:14Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.maratis3d.com/viewtopic.php?id=279</id>
		<entry>
			<title type="html"><![CDATA[Re: Error Load Sound on newer version of Maratis]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1264#p1264"/>
			<content type="html"><![CDATA[<p>wow, strange, it&#039;s works.<br />all sound works flawlessly.<br />thank you very much.</p><p>The error must be from my machine library when compiling.<br />I don&#039;t know what make it error.</p><p>Problem solved.<br />Thank you again <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[jurgel]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=522</uri>
			</author>
			<updated>2012-01-23T10:26:14Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1264#p1264</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error Load Sound on newer version of Maratis]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1258#p1258"/>
			<content type="html"><![CDATA[<p>I build the last svn version :<br /><a href="http://www.maratis3d.org/download/M_Linux-build-rev93.zip">http://www.maratis3d.org/download/M_Lin &#133; -rev93.zip</a></p><p>I&#039;m curious to see if it works for you (I just ran python scons.py)</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-01-23T09:37:17Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1258#p1258</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error Load Sound on newer version of Maratis]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1248#p1248"/>
			<content type="html"><![CDATA[<p>Oh, so there is already a plan to able to get objects from other scenes, currently I just able to get objects from HUD Layer.<br />I&#039;ll look for next release <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Thank you for a time to check compilation on linux.</p><p>btw, if you want to look at my code, <a href="http://dl.dropbox.com/u/23178288/dev.tar.gz">here it&#039;s</a>, it&#039;s just MSDK and Maratis folder,<br />and I&#039;m edit from Nistur build.</p>]]></content>
			<author>
				<name><![CDATA[jurgel]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=522</uri>
			</author>
			<updated>2012-01-22T12:31:29Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1248#p1248</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error Load Sound on newer version of Maratis]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1246#p1246"/>
			<content type="html"><![CDATA[<p>ok, interesting.<br />It make me remeber that for the next release we need to update the scrip function &quot;getObject&quot; to be able to also get objects from other scenes (now it&#039;s true it&#039;s only getting current scene objects).</p><p>About your compilation, this afternoon I will check that everything compile on linux, if it&#039;s working I&#039;ll give you a link for you to try.</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-01-22T12:10:09Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1246#p1246</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error Load Sound on newer version of Maratis]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1244#p1244"/>
			<content type="html"><![CDATA[<p>Ahh, my mistake, I didn&#039;t realize that it&#039;s unsigned int, so it can&#039;t be negative. Many thanks.</p><p>It&#039;s just like tutorial &quot;How to create game interface&quot; that you make, but I embed it in MGame, I&#039;ve edit MLevel and MScript, and so MaratisEditor.<br />So if I create new project, the default created scene is Scene-1 and HUD Layer, if open from older project, just add new scene named &quot;HUD Layer&quot;, so that layer objects are shareable and controlable from currentScene (ex. Scene-1), so you don&#039;t need to create c++ file to make game interface, and the good thing is you can share/control any objects in HUD Layer from currentScene script.</p>]]></content>
			<author>
				<name><![CDATA[jurgel]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=522</uri>
			</author>
			<updated>2012-01-22T11:36:10Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1244#p1244</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error Load Sound on newer version of Maratis]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1243#p1243"/>
			<content type="html"><![CDATA[<p>About your HUD, I&#039;m not sure to understand what you are doing, but for the limit it is the maximum that can handle an unsigned int (I don&#039;t have the number in head).</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-01-22T11:20:59Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1243#p1243</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error Load Sound on newer version of Maratis]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1242#p1242"/>
			<content type="html"><![CDATA[<p>yes I am,<br />I&#039;ve remove libsndfile-devel from my system.</p>]]></content>
			<author>
				<name><![CDATA[jurgel]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=522</uri>
			</author>
			<updated>2012-01-22T11:11:00Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1242#p1242</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error Load Sound on newer version of Maratis]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1240#p1240"/>
			<content type="html"><![CDATA[<p>just to be sure,<br />the only libsnd libs and headers you have are the one from Maratis svn ?<br />- there is no libsnd headers / libs in your system ?</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-01-22T11:01:51Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1240#p1240</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error Load Sound on newer version of Maratis]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1238#p1238"/>
			<content type="html"><![CDATA[<p>I had try compile Maratis to debug,<br />and here it&#039;s</p><div class="quotebox"><blockquote><p>#0&nbsp; 0x080d91d5 in M_SFRead (ptr=0x8d75b60, count=12, user_data=0x0)<br />&nbsp; &nbsp; at Maratis/Common/MLoaders/MSndFileLoader.cpp:57<br />#1&nbsp; 0x001bb568 in psf_fread (ptr=0x8d75b60, bytes=1, items=12, psf=0x8d6c830)<br />&nbsp; &nbsp; at file_io.c:321<br />#2&nbsp; 0x001b988c in header_read (psf=0x8d6c830, ptr=&lt;optimized out&gt;, bytes=12)<br />&nbsp; &nbsp; at common.c:817<br />#3&nbsp; 0x001ba1a9 in psf_binheader_readf (psf=0x8d6c830, format=0x1e46fe &quot;b&quot;)<br />&nbsp; &nbsp; at common.c:1039<br />#4&nbsp; 0x00191aed in guess_file_type (psf=0x8d6c830) at sndfile.c:2312<br />#5&nbsp; 0x0019778b in psf_open_file (psf=0x8d6c830, sfinfo=0xbfffe1c8)<br />&nbsp; &nbsp; at sndfile.c:2671<br />#6&nbsp; 0x00198704 in sf_open_virtual (sfvirtual=0xbfffe1e0, mode=16, <br />&nbsp; &nbsp; sfinfo=0xbfffe1c8, user_data=0x8eecc00) at sndfile.c:397<br />#7&nbsp; 0x080d92be in M_loadSound (<br />&nbsp; &nbsp; filename=0x8ed1330 &quot;/home/jurgel/Downloads/Maratis-3.02cBeta-Linux_x86-32/Examples/test/sounds/spring.ogg&quot;, data=0xbfffe268)<br />&nbsp; &nbsp; at Maratis/Common/MLoaders/MSndFileLoader.cpp:82<br />#8&nbsp; 0x0017c978 in MDataLoader::loadData (this=0x172d34, <br />&nbsp; &nbsp; filename=0x8ed1330 &quot;/home/jurgel/Downloads/Maratis-3.02cBeta-Linux_x86-32/Examples/test/sounds/spring.ogg&quot;, data=0xbfffe268)<br />&nbsp; &nbsp; at MSDK/MCore/Sources/MDataLoader.cpp:74<br />#9&nbsp; 0x0015dfb6 in MSoundRef::update (this=0x8eb83c8)<br />&nbsp; &nbsp; at MSDK/MEngine/Sources/MSoundRef.cpp:68<br />---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit---<br />#10 0x0014397d in MLevel::loadSound (this=0x8813e08, <br />&nbsp; &nbsp; filename=0xbfffe504 &quot;/home/jurgel/Downloads/Maratis-3.02cBeta-Linux_x86-32/Examples/test/sounds/spring.ogg&quot;, preload=true)<br />&nbsp; &nbsp; at MSDK/MEngine/Sources/MLevel.cpp:256<br />#11 0x080d7a88 in M_loadLevel (<br />&nbsp; &nbsp; filename=0x8acaf04 &quot;/home/jurgel/Downloads/Maratis-3.02cBeta-Linux_x86-32/Examples/test/levels/test.level&quot;, data=0x8813e08, clearData=true)<br />&nbsp; &nbsp; at Maratis/Common/MFileManager/MLevelLoad.cpp:644<br />#12 0x080d747a in xmlLevelLoad (<br />&nbsp; &nbsp; filename=0x8acaf04 &quot;/home/jurgel/Downloads/Maratis-3.02cBeta-Linux_x86-32/Examples/test/levels/test.level&quot;, data=0x8813e08)<br />&nbsp; &nbsp; at Maratis/Common/MFileManager/MLevelLoad.cpp:470<br />#13 0x0017c978 in MDataLoader::loadData (this=0x172d70, <br />&nbsp; &nbsp; filename=0x8acaf04 &quot;/home/jurgel/Downloads/Maratis-3.02cBeta-Linux_x86-32/Examples/test/levels/test.level&quot;, data=0x8813e08)<br />&nbsp; &nbsp; at MSDK/MCore/Sources/MDataLoader.cpp:74<br />#14 0x0808d5ff in Maratis::loadLevel (this=0x83b71e0, <br />&nbsp; &nbsp; filename=0x8acaf04 &quot;/home/jurgel/Downloads/Maratis-3.02cBeta-Linux_x86-32/Examples/test/levels/test.level&quot;) at Maratis/Editor/Maratis/Maratis.cpp:1114<br />#15 0x0808d462 in Maratis::loadProject (this=0x83b71e0, <br />&nbsp; &nbsp; filename=0xbfffeb34 &quot;/home/jurgel/Downloads/Maratis-3.02cBeta-Linux_x86-32/Examples/test/test.mproj&quot;) at Maratis/Editor/Maratis/Maratis.cpp:1062<br />#16 0x0808d32e in Maratis::okLoadProject (<br />---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit---<br />&nbsp; &nbsp; filename=0xbfffeb34 &quot;/home/jurgel/Downloads/Maratis-3.02cBeta-Linux_x86-32/Examples/test/test.mproj&quot;) at Maratis/Editor/Maratis/Maratis.cpp:1028<br />#17 0x080b0a07 in MaratisUI::fileBrowserEvents (fileBrowser=0x8a42948, <br />&nbsp; &nbsp; event=MGUI_FILE_BROWSER_EVENT_OK)<br />&nbsp; &nbsp; at Maratis/Editor/Maratis/MaratisUI.cpp:2234<br />#18 0x080f5c70 in MGuiFileBrowser::fileBrowserOkButtonEvents (button=<br />&nbsp; &nbsp; 0x8a43958, guiEvents=0xbfffec98)<br />&nbsp; &nbsp; at MSDK/MGui/Sources/MGuiFileBrowser.cpp:46<br />#19 0x080f2fb6 in MGuiButton::onEvent (this=0x8a43958, windowEvent=0xbfffeee8)<br />&nbsp; &nbsp; at MSDK/MGui/Sources/MGuiButton.cpp:212<br />#20 0x080fcc14 in MGuiWindow::internalEvent (this=0x8a42a18, <br />&nbsp; &nbsp; windowEvent=0xbfffeee8) at MSDK/MGui/Sources/MGuiWindow.cpp:190<br />#21 0x080fd59c in MGuiWindow::onEvent (this=0x8a42a18, windowEvent=0xbfffeee8)<br />&nbsp; &nbsp; at MSDK/MGui/Sources/MGuiWindow.cpp:391<br />#22 0x080ef994 in MGui::onEvent (this=0x83b7cc0, windowEvent=0xbfffeee8)<br />&nbsp; &nbsp; at MSDK/MGui/Sources/MGui.cpp:194<br />#23 0x080b2977 in MaratisUI::windowEvents (windowEvents=0xbfffeee8)<br />&nbsp; &nbsp; at Maratis/Editor/Maratis/MaratisUI.cpp:2906<br />#24 0x081047b0 in MWindow::sendEvents (this=0x83b7a20, events=0xbfffeee8)<br />&nbsp; &nbsp; at MSDK/MGui/Sources/X11/MX11Window.cpp:329<br />#25 0x08104a4a in MWindow::onEvents (this=0x83b7a20)<br />&nbsp; &nbsp; at MSDK/MGui/Sources/X11/MX11Window.cpp:416<br />#26 0x080a06d3 in main (argc=1, argv=0xbffff264) at Maratis/Editor/main.cpp:160<br />(gdb) quit</p></blockquote></div><p>It&#039;s certainly error from libsndfile, I&#039;m use libsndfile from maratis folder.</p><p>Thanks.</p><br /><p>*edit<br />Ahh, I&#039;ve some question.<br />I&#039;d create HUD Layer, and embed it in MGame, so I can scripting easier, I can display and control any object in HUD Layer from current Scene.<br />I&#039;d test it, and it&#039;s works. So, for scripting, every object in each scene have id, right? And I don&#039;t want to have same id from current Scene and HUD Layer. So I made every id from HUD Layer to be negative, but it&#039;s fail, I think object&#039;s id can&#039;t be negative, then I try to change every id from HUD Layer + 100 (if id=1 then id=101) and it&#039;s works flawlessly.<br />But I think, I can&#039;t create objects from current scene more than 100 to make it different to objects in HUD Layer, so I want to know what is the largest number of objects that I can create, so I can divide it by 2, or any other suggestion?<br />I can upload soon.</p><p>Thank you <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[jurgel]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=522</uri>
			</author>
			<updated>2012-01-22T10:52:34Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1238#p1238</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error Load Sound on newer version of Maratis]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1235#p1235"/>
			<content type="html"><![CDATA[<p>Codec: Vorbis<br />Channel: Stereo<br />Sample rate:44100 Hz<br />Bitrate: 256 kbps</p><p>I also can&#039;t play wav format,<br />I test the example WaterGameDemo and Door(from scripting tutorial)</p>]]></content>
			<author>
				<name><![CDATA[jurgel]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=522</uri>
			</author>
			<updated>2012-01-21T11:59:56Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1235#p1235</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error Load Sound on newer version of Maratis]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1233#p1233"/>
			<content type="html"><![CDATA[<p>I checked the error &quot;ERROR Load Sound : non supported format&quot;<br />it happens after libsndfile read the sound but if the format is not supported,<br />just to be sure, are you using a sound that is 8bits or using more than 2 channels by any chance ?</p><p>(it would not explain why it works on the previous version thought)</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-01-21T10:34:07Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1233#p1233</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error Load Sound on newer version of Maratis]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1232#p1232"/>
			<content type="html"><![CDATA[<p>Ok, I&#039;d remove libsndfile-devel and openal-devel,<br />then recompile from svn, I&#039;d delete build/ and prod/ before compile,<br />and open MaratisEditor then open my project,<br />but the error still &quot;ERROR Load Sound : non supported format&quot;</p><p>I think it&#039;s cause by my other system libs/header, the version maybe not compatible with maratis.<br />So, I&#039;ll wait for next official release.</p><p>In the current working version, there isn&#039;t Object list, that help me so much.<br />and in the lua scripting, function changeScene() give me Segmentation fault. (didn&#039;t happen in svn version)</p><p>I&#039;ll wait for it <img src="http://forum.maratis3d.com/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p>Thanks.</p>]]></content>
			<author>
				<name><![CDATA[jurgel]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=522</uri>
			</author>
			<updated>2012-01-21T04:13:36Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1232#p1232</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error Load Sound on newer version of Maratis]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1224#p1224"/>
			<content type="html"><![CDATA[<p>It&#039;s possible that, when you compile it yourself, the compiler use the headers of your system libsndfile (if you have, and if the version is different than the svn one), not sure... I had something like that when building the linux version, at some point it was not clear so I removed all the double libs or headers that was in the system.</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-01-20T16:00:14Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1224#p1224</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error Load Sound on newer version of Maratis]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1222#p1222"/>
			<content type="html"><![CDATA[<p>I&#039;ve already try to use libsndfile from Maratis folder, and from my system lib, both of these not work,<br />and there is no openal in Maratis folder, so I use from my system lib.</p><p>In older version of Maratis, I use libsndfile and openal from my system lib, and everything works ok.</p><p>I&#039;ll find the error more specific again later, maybe the error isn&#039;t come from libsndfile or openal.<br />and I will report if I have a progress.</p><p>Thanks.</p>]]></content>
			<author>
				<name><![CDATA[jurgel]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=522</uri>
			</author>
			<updated>2012-01-20T15:53:03Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1222#p1222</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error Load Sound on newer version of Maratis]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=1211#p1211"/>
			<content type="html"><![CDATA[<p>Mh... strange...<br />is there any chance you have another version of libsndfile installed on your system ?<br />when building, the compiler first looks at the system libraries.<br />&gt; in case it is, try to remove openAL and libsndfile dynamic libs from your maratis folder (to force use of system lib)</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2012-01-20T09:41:12Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=1211#p1211</id>
		</entry>
</feed>
