Wednesday, April 29, 2009

Nostalgic PoP

Hi All,

Ok now what I mean by PoP is - Prince of Persia. I dont know as to how many could figure out as to what it is.... For some nostalgic moments, it was a DOS (Disk Operating System) game long back when I used to play it in my dad's no-harddisk computer using a 5 and a quarter inch floppy disk.

But gone are those days and now these days we have got recent PoP games like 3D games of PoP.

Here I would let you know as to how to install the old and the first PoP game for all of your recalling moments. Also this post works for both Windows and Linux.

1. The Windows Way --->>

Hit your browser to Abandonia Site and search for Prince. Download the zip file and type Ctrl+R and type cmd. Finally cd into that folder where you have saved it and then type prince. Thats it you are done.

2. The Geeky Way --->>

Ok this is for Linux Geeks. Search for Dosbox in your fav Linux OS. Configure it compile it andn then install it. For all Debian folks - Dosbox comes by default.

Once your installation is done -- Press Alt+F2 and then type Konsole / Gnome-terminal and type dosbox inside the terminal.

cd to that directory.

Give the below command -->>

$mount x prince/

Then type "x:" (Without the quotes)

Finally type prince.

Thats it you are done.


Hope you all liked this post.

The same processes works for other DOS games like Dave, Pacmania, etc etc. The same site gets you all the games too.

Thanks abandonia for such a wonderful free site.

Thank you all,
Ananth Gouri

Wednesday, April 22, 2009

Great Indian Developer Summit

Hey All,

Hope that many of my friends who are developers themselves, visit my blog regularly.

This Friday, April 24th -2009,IST, I will be attending the Java Day of Great Indian Developer Summit at Indian Institute of Science, Bangalore.

I am just too excited of this day, that I was waiting for long.

Guess what - we have some great Java Godfathers giving sessions on that day.

Some of these great folks are :-
1. Craig McClanahan - Could not guess who he is??? Ok, he is the founder of Apache Struts Framework. I am planning to attend like 2 to 3 of his sessions. Some interesting sessions being on Cloud Computing, RESTful Webservices, Ruby on Rails and many more.

2. Mike Keith - Ok this is the guy that I am thinking. This great man has written some wonderful books on JPA (Java persistence architecture), and also on EJB. I am hoping this is the same person I am thinking of. You never know that - my dreams may come true if he is the same.

Apart from these folks - there are other major things that are attracting many folks to this whole GIDS events.

Around Rs. 8 lakh worth prizes to be won from the 4 days event which started today and ends on Saturday- the April 25th.

Though I am more interested in learning from these great people of the "World of Java", the last thing for which I am interested and hope to win is ---- The Wiley technical books that are given away after each session.

We need to present a feedback after every session - which would win us these books.

Donno how many I may win???? !!!! ;-)

Hope to meet you fellow bloggers on that day.

Will keep you posted on the updates after that event. Have got prizes for that one too.

You never know as to from where all luck hits you. Ha ha ... ;-) :-)

Take care all,
Ananth Gouri

OpenGL Programming under LINUX

First of all for all those folks who have no idea of what is OpenGl, please visit this link
OpenGL Website

Ok hoping that you have read the website and got some info, now I teach you to configure OpenGL onto your LINUX system.

The things that you need to work on are:
1. Eclipse - for Eclipse you need Sun Java or OpenJDK configured.
Download openJDK from Open JDK Site

With LINUXs like Debian, Ubuntu and many more, you would already have been provided with OpenJDK. Open your Package Manager and do a search for the same and then configuring it would be pretty simple.

Check if your /etc/jvm file has the JVM version mentioned in your LINUX system. If its present, then, download Eclipse Latest version Ganymede from this site - Eclipse Home

2. Eclipse CDT - C/C++ Developement Kit
Note while you download, it would be fair if you can download the Eclipse CDT rather than the basic Java Eclipse. But note that you would still be requiring Java to run Eclipse.

If you have an OS like Fedora, Ubuntu or my fav Debian, then you can configure CDT from the package managers itself.

3. OpenGL Tool Kit
Update your repos and finally install the following - OpenGL Took Kit, libgl, libglut, libglu, mesa, freeglut3. The package names mentioned here above are present in Debian Repos. You may have to figure out as to how to get them for your box.

Note that all the above lib files are not required to run your OpenGL programs. If you have freeglut3 along with libglut - that is more than sufficient.

Finally the code configuration

Open CDT, choose your workspace and then create a new Managed C++ project.

Search for some OpenGL helloworld code from Google. But if you are really interested to learn OpenGL, I suggest the following book - OpenGL SuperBible 4th Edition by Richard S Wright and co.

Copy paste the code to the program - dont forget to name your file as main.cpp or as if you have your whole code inside main method of C/C++. Recalling C/C++???? Great...!

Configuring the Library

Right Click on your project, go to properties, click on C/C++ Build --> Libraries --> Add your Library as "glut" --> If prompted enter the path for Glut Library which is usually /usr/lib/opengl or /usr/lib/glut

After all these steps -- If your code is correct, then you would have run your first C/C++ program. [To Run --> Right click your code and select Run as Local C/C++ Application]

If you have any issues do mail me.

For advanced users there are many more things to learn -- Check out SDL Language, Mesa and many more. Happy coding!!!!

Ananth Gouri

Monday, April 6, 2009

Installing Adobe Reader in Debian 5

This is for all book lovers who cant leave without Adobe Reader.

Open your browser to and select Linux -x86 (.deb) from the first drop down.

Rename the file to adobereader.deb.

After download, issue the following below command as root:
dpkg -i install adobereader.deb

Thats it you are done now to use Adobe Reader and of course your fav books in it.

How-to connect to a Unix server using Putty

Hi this would explain as to how to connect to a Unix Environment using Putty in Linux. In particular I would discuss for Debian 5.

Putty is like an interface to connect to servers basically. It supports multiple type of protocols like SSH, Telnet etc.

Download putty from the following link for Debian 5:

Download the putty with version number 0.60.

Rename the file to putty.deb using the below command:
mv putty_some_extensions.deb putty.deb

Then finally install it using the following command and being a root user:
sudo dpkg -i putty.deb

Finally open a terminal and type putty, enter your server configurations and thats it you are done. You can connect to a Unix machine using Putty in Debian 5.


Ananth Gouri

Back with a bang

Hi Folks,

Sorry for all those readers to whom I could post none of the topics. Was really busy for the past few weeks in Office.

Was working to get my dream come true. Now I have only Linux installed on my office Laptop and no more Windows, Doors etc.

I installed Debian 5 (Lenny). I would post some topics that would be of special interest to development thro Java.

Keep waiting.

Ananth Gouri