PDA

View Full Version : [HELP ME] How to install Regnum Online on arch linux....


zero579911
06-23-2009, 02:10 AM
.
.
.
.
.
.
.
.
.
.
.
.

Nightchill
06-23-2009, 10:35 AM
first of all, yaourt is pacman wrapper, i.e. with yaourt you can only install packages in arch repos + aur. since regnum is neither you can't do that.
second, -Ss argument searches the repos, in your case for regnum so even if it was in repos you can't install it with -Ss, only -S.
third, to install RO do following:
chmod +x RegnumOnlineInstall_32
./RegnumOnlineInstall_32

linearguild
06-23-2009, 12:38 PM
You must perform those commands in the same directory as the file you downloaded.

ArcticWolf
06-23-2009, 03:51 PM
Right click in the file, go to properties and check "executable" or something like that. Then run the installer.

Cuchulainn
06-23-2009, 08:29 PM
in the tab "Permission" there is probably a option to allow the programm to be executed. You just have to activate this option. A click or double click on the installer file should execute it (except u use the 64bit Archlinux).

Btw. to get sound in Regnum u probably have to install openal. To do this type "pacman -S openal" as root in a terminal.

Nightchill
06-23-2009, 09:26 PM
easiest solution for you: get debian/ubuntu. everything works out of the box there, even regnum

Nightchill
06-23-2009, 10:51 PM
Oh ya nightchill yes i know its better to get debian/ubuntu but i can't change it because my older brother wants to keep it to arch linux. He said its faster than ubuntu and debian in some ways.

no, ubuntu is better for YOU. actually, windows xp is the best solution for you since it's obvious you've no clue about computers. ask your brother to make a new partition on the hdd and to put on winxp or ubuntu on it so you can play games with no hussle.

linearguild
06-24-2009, 12:55 AM
What do you mean by performing the commands in the same directory?

The file was downloaded in my home desktop... Going to my Home folder then clicking the desktop folder thing.

I went and opened the homefolder then going to the desktop folder thing and then i opened terminal and it just says the same thing.... Please help.

Okay, first of all, go to your terminal and type:

getconf LONG_BIT

It should say 32 or 64. You should use the RegnumOnlineInstaller_XX that matches.

Now in the terminal, you must move from your home directory to the location of the installer you downloaded. If you can't tell where it is, you can search for it:

find ~ -name 'RegnumOnlineInstall_32'

You'll get something that looks like /path/to/RegnumOnlineInstall_32. Change to this directory (replace /path/to with what you got from the find command):

cd /path/to

To confirm that you're in the right place, ls RegnumOnlineInstall_* should list the file instead of showing an error message.

Now you can execute the commands in Nightchill's post:

chmod +x RegnumOnlineInstall_32
./RegnumOnlineInstall_32

linearguild
06-24-2009, 02:43 AM
Sorry for not being clear. You should completely replace the /path/to part with result of your find command, as in:

cd /home/myname/Desktop

(Put your real name back of course :)

linearguild
06-24-2009, 03:16 AM
You must remove the filename at the end to get its directory.

Just type in cd /home/myname/Desktop exactly.

Arafails
06-24-2009, 08:21 AM
Wow. :huh:

The fact that the flags are greyed out actually suggests he doesn't own the file anyway (did you run firefox with root privileges or something?)

Anyway, Nightchill, RO actually doesn't work out of the box with Ubuntu. You have to install OpenAL yourself (I know, WTF?)

Nightchill
06-24-2009, 11:27 AM
What you are doing is changing the directory to RegnumOnlineInstall_32, and since that is a file you can not change the directory to it. That means you can't do the following:
cd /home/an/Desktop/RegnumOnlineInstall_32

So, here's how you do this
cd /home/$USER/Desktop
chmod +x RegnumOnlineInstall_32
./RegnumOnlineInstall_32

IF you still have permission problems and can not execute I suggest you do the following:
su -
chown $USER /home/$USER/Desktop/RegnumOnlineInstall_32
su - $USER

Now just repeat the cd steps above.

Note: $USER = your username, e.g. if your username is johndoe than you replace $USER with johndoe. (e.g. /home/johndoe instead of /home/$USER)

@arathael, umm, last time i installed ubuntu ibex (2 days ago) and ran regnum libopenal was already installed.

onemyndseye
06-24-2009, 06:22 PM
please post the output of the following command:



mount




Thanks,

Nightchill
06-24-2009, 09:59 PM
let me break it down,

the following changes the user from you to root, for that you need the root password (ask your brother for it)
su -
chown changes the owner of the file from someone else to you (since i'm guessing that might be the problem if it won't start even after you did chmod +x)
chown $USER /home/$USER/Desktop/RegnumOnlineInstall_32
and the last bit changes back from root to you
su - $USER

onemyndseye
06-25-2009, 06:20 AM
Ok...one more:

show output of this command:


ls -l /




(Nightchill: Im thinking his home dir may be set to noexec)

[/code]

Nightchill
06-25-2009, 09:22 AM
(Nightchill: Im thinking his home dir may be set to noexec)

o,o if it is that then it's weird :D

@zero: btw what is your system configuration, i.e. what graphic card do you have?

_dracus_
06-25-2009, 09:27 AM
easiest solution for you: get debian/ubuntu. everything works out of the box there, even regnum

Hum not really, The executable available on the website seemed to be faulty last time I checked.

Downloaded it twice, and twice it was not running saying some crap like

sh: ('!

linearguild
06-25-2009, 02:19 PM
Please give the output of

cat /etc/fstab

linearguild
06-25-2009, 03:32 PM
wow so many outputs....anyways here it is:

cat /etc/fstab



So any luck on helping me?????

We're getting there. NTFS-3G is slightly bugged in that it likes to mount things noexec without telling you.

For quick fix, do:

sudo mount -oremount,exec /pub/data1

However, you will lose this fix when you reboot. To make it permanent, edit /etc/fstab like this (changes in red):

/dev/sda2 /pub/data1 ntfs-3g rw,defaults,user,exec 0 0
/dev/sdb1 /pub/data2 ntfs-3g rw,defaults,user,exec 0 0

You'll need help from your brother, or whoever else has admin rights, to do the above steps.

You should be able to do the chmod +x etc. sequence at this point. If not, show the output of mount command again.

linearguild
06-25-2009, 04:44 PM
It's a protected file that regular users can't edit. Ask your brother (or whoever has sudo rights on the machine) to make the changes as root user.

After making the changes, just reboot and retry the chmod sequence.

Znurre
06-26-2009, 04:58 AM
Ok, so I have an idea.
Open a terminal and write this
cp /home/$USER/Desktop/RegnumOnlineInstall_32 /tmp/
cd /tmp
chmod +x ./RegnumOnlineInstall_32
./RegnumOnlineInstall_32

You should not even need to replace $USER with your username since it's an environment variable...

Znurre
06-26-2009, 06:11 PM
WOAH! THX MAN! it works!!! Im installing it right now! Thanks a million! no BILLIONS! no TRILLIONS!!!! Thank you all who have tried to help me! I will be looking forward to this awesome game!

EDIT: Hey i have installed it but... When i launch the game it doesn't show anything... not even an application or anything!! help me pls!You probably have to choose to install it to /tmp too.

Znurre
06-26-2009, 08:27 PM
and how do u do that??? sry if im a noob at this arch linux stuff.When you run the installer, it will, just like in Windows, ask you for an installation location.
Choose to install it to /tmp/regnum.

onemyndseye
06-26-2009, 10:12 PM
muhaha...

/me guess the noexec bit :P

onemyndseye
06-27-2009, 02:21 PM
so uninstall the current one and reinstall it to /tmp/regnum?


onemyndseye no offense but that was kind of mean

Edit: how do u uninstall the game??? I click the start menu thing in the bottom left, went to lost and found and clicked the uninstall regnum button but nothing showed up please help me!




muhaha...

/me guess the noexec bit :P




You care to explain why this comment is "mean"? I was merely commenting that my guess was correct.


You will not be able to properly uninstall RO since you have a noexec home directory... actually - you shouldnt have regnum installed so uninstalling wont be needed

I would do this to keep RO working ok

cd ~/
rm -rfd ./regnum
ln -s /tmp/regnum regnum

onemyndseye
06-27-2009, 05:10 PM
its ok to skip that step as its merely a convenience

Znurre
06-27-2009, 06:23 PM
Did you choose to install it to /tmp/regnum and you still can't launch the game?
In that case, open up a terminal and type this:
cd /tmp/regnum
./rolauncher
Post any output here.

onemyndseye
06-27-2009, 07:29 PM
Im sorry, to go any further would require admin access to this computer.

Znurre
06-27-2009, 10:07 PM
Thats ok, I don't plan to do anything that requires admin access. now can u do me one last favour? How do u uninstall the game?
rm -rf /tmp/regnum