Thank you!<br><br>In fact, i didn't update the mail but i hacked the code and made something similar that you did :)<br><br>I had to decide not to use mojosetup because mojo doesn't support 7z and bz2 doesn't compress enough for what we need.<br>
You should perhaps add in the roadmap to incorporate 7z, it's free a small free lib to add.<br><br>Just an example for our game:<br>uncompressed data 6.5gb<br>compressed with tar.bz2 => 2.38gb<br>compressed with 7z => 1.55gb<br>
<br>the difference between 7z and bz2 is really important.<br><br>Regards,<br><br clear="all">Vianney Lecroart<br>---<br><a href="http://www.ploki.info">http://www.ploki.info</a><br>
<br><br><div class="gmail_quote">On Thu, Nov 11, 2010 at 9:30 AM, Ryan C. Gordon <span dir="ltr"><<a href="mailto:icculus@icculus.org">icculus@icculus.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Have you another idea to do that?<br>
</blockquote>
<br></div>
I just added support for this:<br>
<br>
<a href="http://hg.icculus.org/icculus/mojosetup/rev/35969605f674" target="_blank">http://hg.icculus.org/icculus/mojosetup/rev/35969605f674</a><br>
<br>
Update your source tree, and then in your config.lua, add this to your Setup.DesktopMenuItem:<br>
<br>
workingdir = "%0"<br>
<br>
(%0 will translate to the installation folder, so if you installed to /home/user/mygame and want the Path to end up being "/home/user/mygame/data", you'd specify "%0/data" here.)<br>
<br>
If you don't care about the workingdir setting, you can omit it. Every thing I've shipped has figured out its installation directory at runtime, so I haven't needed this before.<br>
<br>
This is 100% untested. It definitely compiles, though! :)<br>
<br>
Please let me know if this solves your problem.<br>
<br>
--ryan.<br>
<br>
_______________________________________________<br>
mojosetup mailing list<br>
<a href="mailto:mojosetup@icculus.org" target="_blank">mojosetup@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/mojosetup" target="_blank">http://icculus.org/mailman/listinfo/mojosetup</a><br>
</blockquote></div><br>