[mojosetup] set the working path for the desktop entry

Vianney Lecroart acemtp at gmail.com
Thu Nov 11 06:11:28 EST 2010

Thank you!

In fact, i didn't update the mail but i hacked the code and made something
similar that you did :)

I had to decide not to use mojosetup because mojo doesn't support 7z and bz2
doesn't compress enough for what we need.
You should perhaps add in the roadmap to incorporate 7z, it's free a small
free lib to add.

Just an example for our game:
uncompressed data 6.5gb
compressed with tar.bz2 => 2.38gb
compressed with 7z => 1.55gb

the difference between 7z and bz2 is really important.


Vianney Lecroart

On Thu, Nov 11, 2010 at 9:30 AM, Ryan C. Gordon <icculus at icculus.org> wrote:

>  Have you another idea to do that?
> I just added support for this:
>    http://hg.icculus.org/icculus/mojosetup/rev/35969605f674
> Update your source tree, and then in your config.lua, add this to your
> Setup.DesktopMenuItem:
>   workingdir = "%0"
> (%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.)
> 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.
> This is 100% untested. It definitely compiles, though!  :)
> Please let me know if this solves your problem.
> --ryan.
> _______________________________________________
> mojosetup mailing list
> mojosetup at icculus.org
> http://icculus.org/mailman/listinfo/mojosetup
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/mojosetup/attachments/20101111/a1b448e5/attachment.htm>

More information about the mojosetup mailing list