how do i execute a .mojo?

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Syntax
Greenhorn
Posts: 8
Joined: 23 Jun 2007, 05:12

how do i execute a .mojo?

Post by Syntax »

i need to update the warzone game on my little brothers machine, but can't figure out how to run a .mojo
any pointers?  :P
Kamaze
Regular
Regular
Posts: 1017
Joined: 30 Jul 2006, 15:23

Re: how do i execute a .mojo?

Post by Kamaze »

The mojo file is for linux only.
If you're on linux, make the mojo file executable +x and run it.

"./warzone2100-2.0.10.mojo"

As far as i know...
We all have the same heaven, but not the same horizon.
Syntax
Greenhorn
Posts: 8
Joined: 23 Jun 2007, 05:12

Re: how do i execute a .mojo?

Post by Syntax »

you gotta make it an executable first? i thought that was for some .sh files... not .mojo... ah well

thanks!
Kamaze
Regular
Regular
Posts: 1017
Joined: 30 Jul 2006, 15:23

Re: how do i execute a .mojo?

Post by Kamaze »

?topic=1070.0
We now use MojoSetup for the Linux installer since AutoPackage was a bit problematic, especially for x86_64 systems.
The installer is a binary you have to execute from a terminal (chmod +x warzone2100-2.0.8_rc1.mojo && ./warzone2100-2.0.8_rc1.mojo), and not a shell script with a graphical menu like the AutoPackage was. It is still being built with the AutoPackage build tools (apbuild/apgcc), though.
Please tell us your (good or bad) experiences with the Warzone 2100 MojoSetup Linux installer!
We all have the same heaven, but not the same horizon.
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: how do i execute a .mojo?

Post by DevUrandom »

In Konqueror you make a file executable by:
- Right click
- Choose Properties
- Click the Permissions tab
- Check the Executable box

You can then click it to execute.

On the console you do like Kamaze said:
First: chmod +x file
Then: ./file
Or short: chmod +x file && ./file

The current MojoSetup also has a GTK GUI, btw.