Host, Run & Play OpenArena

Host, Run & Play OpenArena

From discuss.fsftn.org:

OpenArena is a multiplayer First Person Shooter game (This could be considered the Free Software Alternative for the famous Counter Strike).

This game is designed cross platform, so it doesn’t matter what operating system you use and you can play it on all operating systems.

This post is intended to help you Setup, host the game in your computer so that you can invite your friends to play from their computer via Internet. We will be using Debian GNU/Linux operating system in this tutorial. You can use any GNU/Linux Distribution to host / play the game.

Step 1: Download the Binary

You can download the binary files (i.e executable files) from here

Step 2: Unzip / Extract the files

Step 3: Navigating to the Extracted folder via Terminal

Open the Terminal. Navigate to the folder, using ‘cd’ command like shown below

cd Downloads/Application/openarena-x.x.x

Note: I have unzipped or extracted the zip file into Downloads/Application folder, so you have to find out the path where you have your openarena folder. (x.x.x is the version number in the name of the folder).

Step 4: Starting the Game

You have to identify what is the architecture of your Operating System. 32 / 64 bit. You can find it from the terminal itself. Try executing the below command,

uname -a

Check the output of the above command. It should be something like this

Linux crunchbang 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt2-1 (2014-12-08) x86_64 GNU/Linux

The output may vary according to your operating system. But the important part is, if you see x86_64 then it means 64 bit, else if you see something like i386 or similar to that, it is 32 bit architecture.

The reason we need to find that was, the openarena binary that we downloaded contains executable files for both 32 and 64 bit architecture for Gnu/Linux, Windows & Mac OSX Operating systems. We need to find and execute or run the binary file that matches ours.

If it is 64 bit, execute the following to start the game (Note the .(dot) and slash(/)

./openarena.x86_64

If it is 32 bit,

./openarena.i386

This will start the game, this way you are starting and can play the game in Single player mode or if you have Internet connection, you can join other people online with Multiplayer option. But you cannot invite others to play, because you aren’t hosting the game from your game or you can tell the name of the Arena (server) that you have joined in Multiplayer mode and tell your friend also to find and join the same arena, So you people can play together.

Step 5: Server Configuration

So now, you have decided to host the game server, i.e instead of joining already available public arena from Multi-player option, you wanted to create a new server and invite others to join that.

We need a configuration file to tell OpenArena that we are going to start this game as a server & give some name to the server so that people can find it easily through Internet. Download the sample Server.cfg file.

Download and move the server.cfg file to ‘baseoa‘ folder inside Openarena-x.x.x

Now open the server.cfg in any text editor of your choice.

You can give a new name for your Server, find sets sv_hostname “My_Arena” and change My_Arena to the name that you want to have for your server. Same way you can read the file and know what each line means and configure accordingly.

After you have made changes to the configuration file, save the file and close it.

Step 6: Port Forwarding

This is an important step. Each network based application in an operating system runs in a specific port, so that any request to that application through Internet can be forwarded to that port number. Think port as a gate to enter into that application. So, Port forwarding has to be configured in your modem or router. Let’s see how to do that.

Open Firefox -> http://192.168.0.1 (or) -> http://192.168.1.1

It will prompt for username and password. Mostly it should be “admin” & “password”. If you have changed, then you know what to enter. If not, check the manual that came with your router or modem for username and password. I use D-Link Router, So the example will be based on that.

We need the local ip address of your computer, go to network connections and find your ip address.

Search and find for “Port Forwarding” option in your router’s advanced settings (In Some router, it will be named as Virtual Servers). We are going to add a new entry for openarena here. OpenArena runs in port number 27960 by default. See the below image for reference

setupSave this configuration, No need to restart router for this to take effect.

Step 7: Starting the Server

Our router or modem is now listening for outside connections and will forward the requests to port 27960 where we are going to run our OpenArena Server.

In Terminal, again navigate to the OpenArena extracted folder and execute the following

Note: Depending on 32 or 64 bit, choose the 0a_ded file.

./oa_ded.x86_64 +set dedicated 2 +set net_port 27960 +exec server.cfg

This should start the server. Others can join this server and play.

Step 8: Invite friends and play

Visit http://dpmaster.deathmask.net/?game=openarena and search for Your Server name. If  the above steps are properly carried out, then you should find the name of your server along with IP address and port number that it is serving and listening to.

Share the IP and Port number to your friends enjoy Shooting 😉

Starting the server doesn’t mean you will also join the game to play. You should start the OpenArena client in a separate tab of terminal to join the game too.

./openarena.x86_64 and then selecting multi-player will put you inside the game with others.

Note: If you stop the server or if you computer gets switched off in the middle, then the game will end for everyone and eventually everyone will get disconnected.

Advertisements

Edubuntu in Girls Government High School

We have been talking about installing Gnu/Linux Distro’s for the Computers in Savararayalu Government Girls Higher Secondary School at Puducherry, since Hemavathy, Principal of that school wished to migrate from Windows to Gnu/Linux after visiting & inspired by Kerala Schools.

We had discussions on what Gnu/Linux distribution we should install. Finally we chose Edubuntu (an official derivative of Ubuntu operating system) and the version is 14.04.1 LTS. We also had other choices like EduBOSS (official derivative of BOSS – Indian government funded customized debian derivative operating system by C-DAC). The number of packages that came along with EduBOSS is very limited compared to Edubuntu. Moroever, edubuntu gave more choices while installing with respect to leave out or include education tools based on the age category like elementary, primary or secondary level students.

We found out that Edubuntu can acts as a thick client serving thin clients connected via local network. Though, we did not use it due to the fact that there was no LAN in their school.

Prasanna, Sinduja & Sarath volunteered the installation session.Thanks to Sinduja, she had already installed various Free Software Educational tools in most of the machines running windows. There were Posters on Richard Stallman, Aaron Swartz, Charles Babbage, Free Software Philosophy, Linus Torvalds, etc., There were 9 Desktop in which Five machines running Windows 7 and four Windows XP. We tested Edubuntu performance in all the machines before installing. We disabled Unity interface and sticked with Gnome fallback environment because of low availability of hardware resources(1.25 GB of RAM) and the fact that Unity also consumes more memory of graphical overlay.

We installed Edubuntu in 7 machines along with the existing operating system as dual boot & in 2 machines we had to install it as a primary OS since their windows installation has already been corrupted and required a reinstall.

We named those machines after the name of Free Software activists, Privacy enthusiasts & Scientists (RMS, Linus Torvalds, Aaron Swartz, Edward Snowden, Jimmy wales, Julian Assange, Ramanujam, Charles Babbage, Lady Ada). We started the installation session at 2 pm and finished by 5.00 pm.

Thanks to Hemavathy Madam for allowing us to install Edubuntu in their school computer lab. Soon students will be using Gnu/Linux in their school. There will be continuous classes for students on various tools available in the OS. We are in need of volunteers to teach the students. We have lots of work to do. Gear up people.

Installation Pictures – https://prasanna.trovebox.com/photos/album-9/list

P.S: This Post is composed by Sarath and edited by Prasanna.

Is it time to switch to Linux?

Windows XP was one of the most successful version of Microsoft Windows operating system, in terms of its adoption and popularity. It was there and still being used in most of the PC’s for nearly 12 years.

While Microsoft has ended their support to Windows XP on April 8th, there was a lot of confusion, fear of losing sensible data, uncertainty, etc., But these are not the consequences of a regular PC users who switch on their PC for browsing, gaming and watching movies.

Rather the concerns are from the Public and Private sectors like Banks, Government Offices which were running Windows XP in their ATM’s and other mission critical machines.

If those machines are affected, indeed it affects everything. Imagine, all ATM’s are compromised because of an vulnerability in Windows XP. Now even though microsoft knows there is an vulnerability, they will not fix or send an patch, because they have officially ceased their support and the public services that every common people use daily are affected.

There is a high risk of losing your transactions to online fraudulences using these vulnerabilities. A nations economy is now in stake. We are literally in the mercy of some Proprietary Software (Windows) which is from another Country (Microsoft – USA). It is like handing over a nations wealth to another nation.

Now if that another nation does something, it largely affects this nation, which is what is happening right now in India. People can switch to Windows 8 or something ++, but what is the guarantee that Microsoft will not cease the support of the same in next 8 or 4 years, so we have to waste our money on upgrading to new hardwares that support new versions of Operating systems and to purchase new support license for their new version. It is okay for 1 machine, but banks and other public sectors aren’t running 1 machine, there are thousands of machines.

It’s time to learn from mistakes and not to repeat them again. Let us make the Government of India hear our voices. Adopt Free Software, Support Free Software. This will create new employment opportunities for our Computer science and IT engineers within our country.

This is the reason why it is a perfect time to switch to a GNU/Linux distribution.

January Meetup Report

New year with new activities with same objective but with a new approach. January is a special month for us, since PuduvaiGLUG is born the same month 3 years ago. To celebrate this occasion and the upcoming Education Freedom Day, we have planned for various activities this month end. So keep following us.

First meet-up for this year and the month held on 12/01/2014 (Sunday) between 2pm – 5pm at Ocean Academy, ECR, Lawspet, Pondicherry. Around 15-17 members turned up for the meetup. We had an Introduction to Python programming by Prasanna Venkadesh (myself) followed by Vikneshwaren sharing his experience on Hacking Tor at IIT-Madras Hackfest and then followed by discussion on Agenda for Education Freedom day celebration.

We are looking for volunteers to take up the session on the following topics. If you are interested please do ping back.

  1. GCompris (http://gcompris.net/index-en.html)
  2. Stellarium (http://stellarium.org/), Celestia (http://shatters.net/celestia/) OpenUniverse (http://www.openuniverse.org/)
  3. gElemental, Kalzium (http://www.kde.org/applications/education/kalzium/)
  4. GeoGebra (www.geogebra.org/cms/)
  5. Operating System vs Kernel (differences)
  6. Compilers (Gcc), Language (C, Python), IDE (CodeBlocks).
  7. Wikipedia / DDG / Firefox / Diaspora.
  8. Open Hardware (Arduino / Raspberry Pi).

Pictures of the sessions are here – https://www.facebook.com/media/set/?set=a.699273173450941.1073741832.248993515145578&type=1&l=0b6da4d97f

Registrations Closed

Hey all,

We are back this year for Software Freedom day with two program as mentioned in our previous posts. The first program on August 25, 2013 is a series of Technical talks, which is what this registration is for.

Agenda

Registration Fee: Rs. 100 (for students) and Rs. 150 (for others).

Registration fee includes Lunch, Certificate and goodies. Bring your Pendrive and get GNU/Linux Operating system.

Click here to register. Your entry will be confirmed as soon as you pay the fee to one of the Student Representative for PuduvaiGLUG at your institution. You will receive a email of confirmation on successful payment which is the ticket to attend the event. Below is the list of Institutions and the name of Respective student reps.

Stdreps

pec&mec

You can find our poster for the event attached below.

Note – The Venue has been updated. Details of New Venue can be found below

Bliss Inn, 30, Chinna Subburaya Pillai Street, Puducherry – 605001.

Open Street Map – http://osm.org/go/y4D1TrnMc–?m=

Contact details are mentioned in the above poster.

The Student Reps. Program

Today, we are announcing the new program exclusively for College students in and around Puducherry. The program will be called as ” The Student Reps. Program “, where Reps stands for Representatives.

What exactly is Student Reps. program of PuduvaiGLUG ?

Students from any College ( Engineering / Arts & Science / Medical / Polytechnic / ITI ) can join this program. Each college can have any number of student representatives registered with us.

The role of a typical Student representative of PuduvaiGLUG

  1. To learn and create awareness on Free Software & Gnu/Linux Operating Systems at Your College.
  2. Become a part of Organizing committee for PuduvaiGLUG.
  3. Connecting PuduvaiGLUG with Your friends at Your College / Institution.
  4. Organizing and conducting technical events in Your Institution with PuduvaiGLUG.

In short, You will represent PuduvaiGLUG at your College.

How do I Register?

You can register by visiting the following link and filling out the form.
http://goo.gl/cF7k9
There is no fee involved for registration. It’s free. Once registered, we will send an email to you for confirmation and other details within 2-3 days.

June End Meetup

We have our Meet-up Tomorrow morning at 11:00 AM in Ocean Academy, 1st Floor, ECR Road (Next to latha steel house), Lawspet, Pondicherry -8.

Approximately meet-up will end before 12:30 PM. You don’t need to bring anything mandatory with you. In case if you have doubts in anything particular to Gnu/Linux, you can bring your Laptop. We have various Gnu/Linux distro’s, if anyone needed, just come and get it from us. We will also discuss about the upcoming event – Software Freedom Day 2013 (http://softwarefreedomday.org)

Contact: 9940325718 (Prasanna)