<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Maratis forum - package file request]]></title>
		<link>http://forum.maratis3d.com/viewtopic.php?id=226</link>
		<description><![CDATA[The most recent posts in package file request.]]></description>
		<lastBuildDate>Mon, 09 Apr 2012 17:42:44 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: package file request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=1808#p1808</link>
			<description><![CDATA[<p>That&#039;s awesome! Now the whole game can be packaged up nicely <img src="http://forum.maratis3d.com/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p><p>I think there are some more things I would like to add at some point, as I said before, specifying the tea key for publishing and loading would be nice. Also, I&#039;m not entirely sure I&#039;ve done this, but I might: It might be a good idea at some point to check whether multiple packages do actually work. They&#039;re not needed in some games, but if you have a couple of smaller packages, you could more easily provide updates without having to replace _all_ the data <img src="http://forum.maratis3d.com/img/smilies/wink.png" width="15" height="15" alt="wink" /> either by layering packages on top, or just replacing older packages for newer ones.</p>]]></description>
			<author><![CDATA[dummy@example.com (Nistur)]]></author>
			<pubDate>Mon, 09 Apr 2012 17:42:44 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=1808#p1808</guid>
		</item>
		<item>
			<title><![CDATA[Re: package file request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=1806#p1806</link>
			<description><![CDATA[<p>So finally I made a change to tinyXml to read from a buffer,<br />as the xml levels are not long to load, and might change a lot in the future, it should be ok.</p><p>The packing system is normally finished ! It just need some testing, specially on Linux.</p><p>cheers <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Mon, 09 Apr 2012 17:30:46 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=1806#p1806</guid>
		</item>
		<item>
			<title><![CDATA[Re: package file request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=1357#p1357</link>
			<description><![CDATA[<p>That&#039;s great, I&#039;ll sync and check it tonight on Linux <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /> Great to hear that you found the problem.</p><p>I had a look at what you did to add the mesh files and yes, I think that&#039;s much cleaner <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>I unfortunately can&#039;t do anything at lunch as some recruiter is going to call, and then I want to quickly try to export, import, load etc stuff, maybe give you some pretty things for the showcase courtesy of my friend Umar <img src="http://forum.maratis3d.com/img/smilies/tongue.png" width="15" height="15" alt="tongue" /> Using some more of his existing work to make sure I have an art pipeline I understand</p>]]></description>
			<author><![CDATA[dummy@example.com (Nistur)]]></author>
			<pubDate>Tue, 31 Jan 2012 12:54:43 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=1357#p1357</guid>
		</item>
		<item>
			<title><![CDATA[Re: package file request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=1356#p1356</link>
			<description><![CDATA[<p>Hi,</p><p>I finished the bin mesh publishing, I tested on mac and windows only,<br />and now the mac version put everything in the app.</p><p>There was some problem with the bin mesh :<br />- The anim data ref was not put to NULL when calling mesh-&gt;clean() so as we was re-using it, the mesh bin export was accessing removed refs.<br />- I forgot something in the anim mesh bin loader, when reading the animation keys (I forgot to init the key type... oups...).</p><p>... I spend some hours yesterday to find out <img src="http://forum.maratis3d.com/img/smilies/hmm.png" width="15" height="15" alt="hmm" /></p><p>I removed writing to package, I don&#039;t think it is necessary, and it was a bit confusing. It&#039;s better to just create temp files manually and add the file to the package, I added an entityName argument to it.</p><p>Normally it is working, but we should check on linux to be sure.<br />Only thing remaining are the level files... I&#039;ll try this week if I can...</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Tue, 31 Jan 2012 12:32:52 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=1356#p1356</guid>
		</item>
		<item>
			<title><![CDATA[Re: package file request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=1355#p1355</link>
			<description><![CDATA[<p>ok perfect <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /> I didn&#039;t see it</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Mon, 30 Jan 2012 21:41:39 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=1355#p1355</guid>
		</item>
		<item>
			<title><![CDATA[Re: package file request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=1353#p1353</link>
			<description><![CDATA[<p>You had me a little worried there for a second, m_buffer is a member of the MPackageFile and _should_ be cleaned up by it at the end of MWritablePackageFile::close (return MPackageFile::close(); )</p><p>And yeah, I think I made it about 10MB, which is far too big, but I&#039;m not entirely sure what the best idea for a dynamic size buffer would be when we are expecting to keep writing to it.</p>]]></description>
			<author><![CDATA[dummy@example.com (Nistur)]]></author>
			<pubDate>Mon, 30 Jan 2012 20:30:35 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=1353#p1353</guid>
		</item>
		<item>
			<title><![CDATA[Re: package file request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=1351#p1351</link>
			<description><![CDATA[<p>in MWritablePackageFile I don&#039;t see any delete of the buffer (which is big) :<br />m_buffer = new char[WRITABLE_BUFFER_SIZE];</p><p>I&#039;m starting checking tonight, I&#039;ll try to give a review tomorrow or late in the night,<br />good evening,</p><p>Anaël.</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Mon, 30 Jan 2012 20:20:17 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=1351#p1351</guid>
		</item>
		<item>
			<title><![CDATA[Re: package file request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=1336#p1336</link>
			<description><![CDATA[<p>No problem, I just got my linux install finally set up properly, so I can do development here <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /> The problem is that I built Maratis from svn and it crashed when trying to load the WaterGameDemo, on libsndfile. So I finally had a dig around as to how to build a debug version using scons.</p><p>Turns out, for whatever reason, I didn&#039;t put a null pointer check on the sound loader... oooops! Fix incoming shortly!</p><p>Also, is there any reason why libsndfile might not be able to read a .wav? :S</p>]]></description>
			<author><![CDATA[dummy@example.com (Nistur)]]></author>
			<pubDate>Sat, 28 Jan 2012 16:12:09 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=1336#p1336</guid>
		</item>
		<item>
			<title><![CDATA[Re: package file request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=1335#p1335</link>
			<description><![CDATA[<p>Hi, thanks !<br />I will have a look</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Sat, 28 Jan 2012 15:33:50 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=1335#p1335</guid>
		</item>
		<item>
			<title><![CDATA[Re: package file request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=1332#p1332</link>
			<description><![CDATA[<p>I will submit it in a few minutes, I&#039;ve been tidying up. I don&#039;t really understand the binary stuff myself yet, so if you can have a quick look then it will probably be solved much quicker. It&#039;s also quite possible that I&#039;ve done something stupid which I haven&#039;t seen. I will take another look at it tomorrow.</p><p>Errm, the has functions that I linked to are similar to md5sums, although for a smaller scale. They are usually a trade off between speed and potential clashes. The main use for them is comparing and storing strings, which are large and slow to work with. Most hash functions can hash arbitrary length strings into 32 bits with few clashes. Makes them useful for creating keys for std::maps <img src="http://forum.maratis3d.com/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>EDIT: the code is submitted. I hope I haven&#039;t broken anything <img src="http://forum.maratis3d.com/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Nistur)]]></author>
			<pubDate>Sat, 28 Jan 2012 00:33:11 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=1332#p1332</guid>
		</item>
		<item>
			<title><![CDATA[Re: package file request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=1331#p1331</link>
			<description><![CDATA[<p>ok, thank you for the effort, if you prefer to not commit it, you can just send me the files and I will look at it,<br />i also not tested the bin mesh so much, I maybe left a bug or something...</p><p>about the hash function, i never dealed with that, what is it for ? to encrypt a pass ?<br />will it be compatible with potentially another pack system ?<br />for the where to put it, it could be a new file in MCore I guess, like MHashTools.h / cpp</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Fri, 27 Jan 2012 23:20:31 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=1331#p1331</guid>
		</item>
		<item>
			<title><![CDATA[Re: package file request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=1330#p1330</link>
			<description><![CDATA[<p>I don&#039;t know whether to submit it tonight. The mesh file loading was a simple fix, it was a combination of not stripping the project filename to a local filename when embedding it, and embedding it with .exe (it should be .mproj for the embedding to work properly)</p><p>The problem is now, I still can&#039;t reliably export bin files, and I also can&#039;t reliably load them. I guess I will tidy up what I can, then comment out the section which doesn&#039;t work, or wrap it in #ifdef, so you can have a look to see if I&#039;m doing anything silly.</p>]]></description>
			<author><![CDATA[dummy@example.com (Nistur)]]></author>
			<pubDate>Fri, 27 Jan 2012 21:11:33 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=1330#p1330</guid>
		</item>
		<item>
			<title><![CDATA[Re: package file request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=1329#p1329</link>
			<description><![CDATA[<p>I&#039;ll try and sort the materials and then submit tonight, maybe after checking what&#039;s happening with the loading and why it&#039;s taking the same time for both xml and binary versions. Probably after a round of filling in comments everywhere <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Also, what do you think about the method for calculating a teakey by hashing a passphrase? If it&#039;s acceptable, where would you like the hash function kept, and do you have a preference as to which hash function? There are a load <a href="http://www.partow.net/programming/hashfunctions/">here</a> with downloads <a href="http://www.partow.net/downloads/GeneralHashFunctions_-_CPP.zip">here</a>. Originally I just chose one of those to test it.</p><p>Is there anything else you would like to be added this weekend that comes to mind? I&#039;m going quickly add functionality to change the package extension, if it&#039;s desired. Then I think I&#039;m done with it <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>EDIT: It seems that for some reason, the published executable is still referencing the original project location, so yes, it was still picking up the original files. I have no idea how this happened, but shouldn&#039;t be too hard to fix.</p>]]></description>
			<author><![CDATA[dummy@example.com (Nistur)]]></author>
			<pubDate>Fri, 27 Jan 2012 19:49:46 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=1329#p1329</guid>
		</item>
		<item>
			<title><![CDATA[Re: package file request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=1327#p1327</link>
			<description><![CDATA[<p>Hi, for the materials anims, it is MMaterialsAnim (with a &#039;s&#039;) :</p><p>MMaterialsAnim * materialsAnim = MMaterialsAnim::getNew();<br />...<br />if(engine-&gt;getMaterialsAnimLoader()-&gt;loadData(filename, materialsAnim))<br />&nbsp; &nbsp; &nbsp; &nbsp; exportMaterialsAnimBin(filenameDest, materialsAnim);</p><p>If the loading of your model is 9s for both, it means it&#039;s still loading the xml, it cannot be the same time for the bin...<br />If it&#039;s compiling you can still commit it, I can have a look when I have time (today and this week-end is the Angoulême comics festival so I&#039;m not sure when).</p><p>cheers,<br />Anaël.</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Fri, 27 Jan 2012 15:02:57 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=1327#p1327</guid>
		</item>
		<item>
			<title><![CDATA[Re: package file request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=1323#p1323</link>
			<description><![CDATA[<p>Ok, so I&#039;ve tested it with Visual Studio builds and Windows scons builds and it works fine on almost all the examples, just the Demos project seems to be playing up a little bit. I&#039;m not sure what is special about it, but I cannot export the binary mesh files as the anim refs seem to be corrupt for about half of the meshs. I&#039;m not sure if this is stable enough to submit yet as I have absolutely no idea why it is doing this.</p><p>Also, I stuck the 50.8MB model through the exporter, I&#039;m sorry to say that MaratisPlayer opened both binary version and xml version in ~9s. Interestingly, though, the bin is 979KB</p>]]></description>
			<author><![CDATA[dummy@example.com (Nistur)]]></author>
			<pubDate>Fri, 27 Jan 2012 13:38:47 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=1323#p1323</guid>
		</item>
	</channel>
</rss>
