Tag Archive: howto


 

0 AD

Howto: installing 0 A.D (Zero Anno Domini) on linux/ubuntu

0 A.Dis an open source Real time strategy game developed by wildfiregames. This game has extremely well done graphics and is a must for any gamer.

Since this game has very good 3D graphics, the requirements are kind of high too. The developers say that having an Geforce 4 or Intel 945GM graphics card or worse will give you very bad gaming results and therefore you are advised not to play the game if you have such a graphics card.

Installing:

1. Make sure you have svn installed. If not, install it:

sudo apt-get install svn

2. After you have SVN installed, you can then download the latest version of the game:

svn co http://svn.wildfiregames.com/public/ps/trunk/

Leave this terminal window open because the download will take a while and until the game finishes downloading, go to step 3.

3. Install needed packages for compiling:

sudo apt-get install build-essential libsdl1.2-dev zlib1g-dev libpng12-dev libjpeg62-dev libgamin-dev nasm libwxgtk2.8-dev libboost-dev libboost-signals-dev libopenal-dev libalut-dev libvorbis-dev libogg-dev libcrypto++-dev binutils-dev libnspr4-dev libdevil-dev libenet-dev libxml2-dev

4. Before compiling the game, you should install SpiderMonkey for better memory management. To install it, follow the steps below:
a) Download it:

wget http://ftp.mozilla.org/pub/mozilla.org/js/js-1.60.tar.gz

b) Extract the archive:

tar -xzf js-1.60.tar.gz && cd js/src

c) Compile it:

JS_THREADSAFE=1 INCLUDES=-I/usr/include/nspr OTHER_LIBS=-L/usr/lib make -f Makefile.ref && make -f Makefile.ref export

d) Move the files to their respective folders:

cd ../../dist/Linux_All_DBG.OBJ && sudo cp lib/* /usr/lib &&sudo mkdir /usr/include/js && sudo cp include/* /usr/include/js && sudo ldconfig

Compilling 0 A.D. (Zero Anno Domini)

Now everything is ready and we can proceed on compiling the game:1. In the terminal that you used to download the game (or open another one and navigate to the folder where you downloaded the game), paste this:

cd trunk/libraries/fcollada/src && make

2. And then change the directory to where we need to run script that takes care of the files needed for compilation:

cd ../../../../trunk/build/workspaces

3. And run the script:

./update-workspaces.sh

4. Now we can proceed to compiling:

cd gcc && make -j3

5. After the process finishes:

cd ../../../binaries/system

6. If all goes well, there there should be a file named “pyrogenesis_dbg” in this folder, which is the game. So you should now be able to run the game like this:

./pyrogenesis_dbg

PSP With Linux Wallpaper

Ever want to build you own PSP game but didn’t know where to start? Well installing a pspsdk would be the best place to do this. A SDK allows provides you with everything needed to develop a psp game. With out it you wouldn’t be able to compile your source for PSP production. Note: You need Custom Firmware for your program to work. Also you need to know how to program in C++ or C to use this SDK Efficiently.

Tested on: Ubuntu, Fluxbox, Mint 9 and slax

First we need to install a few things:

sudo apt-get install build-essential autoconf automake bison flex \
  libncurses5-dev libreadline-dev libusb-dev texinfo libgmp3-dev   \
  libmpfr-dev subversion gcc

Download the install:
svn checkout svn://svn.ps2dev.org/psp/trunk/psptoolchain
This will create a folder named psptoolchain in your home. Keep it

Setting up the Environment:
With out this you can not start installing.
So edit your .profile file (located in the home directory).

  gedit .profile

Now add these line at the bottom of the file:
export PSPDEV="/usr/local/pspdev"
export PSPSDK="$PSPDEV/psp/sdk"
export PATH="$PATH:$PSPDEV/bin:$PSPSDK/bin"

Save the file.
Now in the terminal type:
source profile

Now for the install:
cd /psptoolchain
sudo ./toolchain-sudo.sh

This will take about 1-3 hours. (maybe less) but it take some time, so go out get some air, study your c++/C book, google psp homebew tutorials, then come back hopefully the install will be finished.
After the install is done, you will need to keep the psptoolchain folder on your home, so don’t mess with that.
You wont notice anything different about your system, no applicaiton installed or any physical psp tools. This pretty much allows you to compile your source for the psp to read. Have fun and enjoy making PSP homebrews.

Fluxbox

The config file for shortcuts is in /home/username/.fluxbox/keys
Username being the account your on.
So go:
vim /home/username/.fluxbox/keys
or replace vim with whatever editor you use.

A few shortcuts will be seen, lets learn how to make or modify our own!

you’ll need to know this:
Mod1 == Alt
Mod4 == Windows key
Control == Ctrl
Shift == Shift

So a short cut for “alt+f2″ would be “Mod1 F2″.
The reset are practically the same as you would expect.

Thats pretty much it!
Heres a link to an example of mine

Thanks,
Pastelinux

 

Lxdream

 

When you think of dreamcast emulators names like nullDC, Makaron, or Chankast fist come up. Now who needs those mainstream emulators when Lxdream is offered for linux users?
Lxdream has been in production since June 2006 and still growing. Nkeynes aka Nathan Keynes is the lead developer in this great emulator.
Keynes has provided the community with a wiki, forum and constant news update to keep everyone informed. In addition a Mailing list is intergrated with his updates and community issues.
Lxdream has a great stability as well as Compatibility page .
So if you interested in intergrating Lxdream into daily dreamcast needs (i know you linux users love your dreamcasts) then take a stop by the download section and get your game on.
Enjoy!
~Pastelinux

Like Posts like this? Why not grab the RSS feed to stay updated!

Looking to test out a Distro but don’t want to install on a cd or a hard-drive? Why not check out our Live USB store!

µTorrent for Linux soon?

utorrent

utorrent

µTorrent has been a popular bittorrent for windows, but what about the love for linux? Sure you can run it inside wine, but why not natively for linux? µTorrent for Linux is in its alpha stage but its very stable suprisingly. Download is fast and might be faster then wine.

All you need to know to get started is the URL to connect to utorrent, user and password:
Url: http://localhost:8080/gui/
Username: admin
Password: (empty)

Download:
http://www.utorrent.com/downloads/linux

How to: Force Kill an Application

Sometimes you run into an issue with a linux application locking up on you. When this does happen, its frustrating… The question is now, whats the easiest way to do this? Well heres your tutorial

1. Click killing
Press keys alt+f2, then in the box type:
xkill
now click the application that is frozen and your done!

2. Terminal Killall
Open up the Terminal, type:
sudo killall application-name

3. Terminal PID killing
Open up the terminal again, type:
ps aux | grep
look for the PID of the application you want to kill,
then type;
kill PID#

i hope you learned something new and wont ever have to worry about how to force kill an application!
-Pastelinux

How to: Install SSH

Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices

Great for connecting on networks or from one computer to another
You may follow the video below or check out the text

Installing:
sudo apt-get install ssh
Thats it!

Using SSH:
To connect to local host:
ssh localhost
Type yes when it ask for the authentication.
Now your remotely connected to your localhost

Connecting to localhost from another account:
ssh accountname@localhost

Connecting to an ip:
ssh username@ipaddr
Example: ssh john@10.10.10.100

Any questions ask below or on the video!

Download appropriate version from here

libreOffice install

It seems openoffice has seen the end of its name. After sun decided to drop openoffice, the team members who did enjoy working on it decided it was time to take the project up themselves. Calling it LibreOffice.

Lets get started on the installing:

Tested on: Ubuntu 10.10 , Mint 9, Fluxbox 9

Please note that LibreOffice is still a beta version and not meant for production purposes.

Since openoffice is getting replaced by this if you wish to uninstalling open office follow this:

sudo apt-get remove openoffice*.*

Installing:

  • Download appropriate version from here
  • Extract the file to ~/Desktop
  • Rename the file as libreoffice
  • Paste this in the terminal


sudo dpkg -i ~/Desktop/libreoffice/DEBS/*.deb

  • Run the following command to finish the installation:

sudo dpkg -i ~/Desktop/libreoffice/DEBS/desktop-integration/libreoffice3.3-debian-menus_3.3-9526_all.deb

If the install was successful, access shall be seen in Applications > Office

How To: Open a port on Linux!

How To: Open a port on Linux!

warning:
Not sure if this works with everyone firewall, but it worked with fire starter

Open up your termal and copy this:
//1234 is were the port you open should be changed. (unless you want to open 1234).
iptables -A INPUT -p tcp -d 0/0 -s 0/0 --dport 1234 -j ACCEPT

Works with ubuntu, mint & fluxbox!
chrome
Edit your “/etc/apt/sources.list ”

sudo vim /etc/apt/sources.list
//Note if you don’t know how to use vim replace vim with gedit
So: sudo gedit /etc/apt/sources.list

Add this to the bottom
deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu intrepid main
deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu intrepid main

then upload and install:
sudo apt-get update
sudo apt-get install chromium-browser

Now you should be good. There seems to sometimes be a bug in the install so just to be safe check if this is installed
sudo apt-get install msttcorefonts

Then Your Done!
Welcome to Chrome! You did a good thing for your linux OS!
-Pastelinux

%d bloggers like this: