}

It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
arrow-down2arrowcart2close4fat-arrow-leftfat-arrow-rightfeedbackfriends2happy-facelogo-gognotificationnotifications-emptyownedremove-menusad-facesearch2wishlist-menuwishlisted2own_thingsheartstartick
For those of you running Master of Orion 2 on linux systems, I wrote this little launcher script, which allows the user to choose if he wants a Singleplayer or Multiplayer game. All info needed should be in the script.

=== moo2_launcher.sh ==

#! /usr/bin/env bash

# === Info ===
# Version: 0.1
# Author: Verdan
# Created on: 04/13/2012
# Last modified: 04/13/2012
# Tested on: Archlinux 32-bit running Dosbox 0.74
#
# Small launcher for Master of Orion 2 on *nix systems
#
# Provides the choices for Multiplayer and Singleplayer games
# Beware, you need the hosts IP for a Network game!
#
# To run this script, put it in your MOO2 directory and launch it.
# I recommend using a script in /usr/local/bin to launch it, so that bash integrates it,
# (thereby you could call it from launchers like dmenu)

# === Script ===
# user prompt
function prompt {
echo What kind of game do you wish to run?
}

# execute relevant command
function eval {
OPTIONS="Singleplayer Connect Host Exit"
select opt in $OPTIONS; do
if [ "$opt" = "Singleplayer" ]; then
dosbox -conf dosboxMOO2.conf
exit
elif [ "$opt" = "Connect" ]; then
dosbox -conf dosboxMOO2_client.conf
exit
elif [ "$opt" = "Host" ]; then
dosbox -conf dosboxMOO2_server.conf
elif [ "$opt" = "Exit" ]; then
exit
else
clear
echo bad option
fi
done
}
prompt
eval
exit

=== End Script ===

I hope some of you can use this! Feedback is welcome, tell me if it doesn't work on a system or if you have found a error/bug/thingy.
Cheers!
Post edited April 13, 2012 by Verdan
Just finished a new version, this time with a nice GUI. (Good way to learn SDL!)
Just extract the following file to your MOO2 Directory.
To launch, open a terminal, cd to your MOO2 directory and type: "./moo2_launcher"
It should then work.

Here the archive:
https://rapidshare.com/files/2455064120/Launcher.tar

Feedback is welcome, hope someone can use this! (Attached a acreen of the launcher)

An script for /usr/local/bin could look like this:

#! /usr/bin/env bash

cd /directory/for/master_of_orion_2/
exec xterm -e ./moo2_launcher


Edit: Obviously, you need to have the SDL libraries installed :)
Attachments:
screen.png (24 Kb)
Post edited July 13, 2012 by Verdan
avatar
Verdan: Just finished a new version, this time with a nice GUI. (Good way to learn SDL!)
Just extract the following file to your MOO2 Directory.
To launch, open a terminal, cd to your MOO2 directory and type: "./moo2_launcher"
It should then work.

Here the archive:
https://rapidshare.com/files/2455064120/Launcher.tar

Feedback is welcome, hope someone can use this! (Attached a acreen of the launcher)

An script for /usr/local/bin could look like this:

#! /usr/bin/env bash

cd /directory/for/master_of_orion_2/
exec xterm -e ./moo2_launcher

Edit: Obviously, you need to have the SDL libraries installed :)
Your Rapidshare link is dead :(

Please rehost? This sounds extra good.
avatar
LogicalDash: Your Rapidshare link is dead :(

Please rehost? This sounds extra good.
Yeah...rapidshare sucks.... :D

Here is a dropbox link:
https://www.dropbox.com/sh/a6tp2govudr7brs/qpTSY7bGY-?m

It's not an archive this time, so just dump the contents of the folder into the game directory, then it should work!

There haven't been any improvements or changes, since I don't see a reason to do anything. It still works as it is....
Have fun!
The files plus description and picture can now be pulled from github too:

https://github.com/TimorLee/moo2_launcher

Hope this is useful for some people.