maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [OS2008] Command and Conquer - Red Alert - 1 (https://talk.maemo.org/showthread.php?t=18436)

3xternal 2008-04-11 09:12

Re: Command and Conquer - Red Alert - 1
 
from step 14:

I input:

ln -s /media/mmc1/raData /usr/share/games/freera/data

and it spat back:

ln: /usr/share/games/freera/data/raData: Operation not permitted

???

tagazok 2008-04-11 10:04

Re: Command and Conquer - Red Alert - 1
 
maybe you should be root:
sudo gainroot
ln -s /media/mmc1/raData /usr/share/games/freera/data

does it work?

3xternal 2008-04-11 10:12

Re: Command and Conquer - Red Alert - 1
 
I typed in

sudo gainroot

it replied: Root shell enabled

I already had that enabled before I tried step 14.

In other words, yeah, I'm logged in as root, but it still doesn't work.

kernelpanic 2008-04-11 11:10

Re: Command and Conquer - Red Alert - 1
 
Quote:

Originally Posted by 3xternal (Post 168331)
from step 14:

I input:

ln -s /media/mmc1/raData /usr/share/games/freera/data

and it spat back:

ln: /usr/share/games/freera/data/raData: Operation not permitted

???

Sounds like the directory 'data' exists. Try-
sudo gainroot
rmdir /usr/share/games/freera/data
ln -s /media/mmc1/raData /usr/share/games/freera/data


If that doesn't work, post back.

cheers,
kernelpanic

3xternal 2008-04-11 11:32

Re: Command and Conquer - Red Alert - 1
 
rmdir /usr/share/games/freera/data

replies:
rmdir: '/usr/share/games/freera/data': Not a directory

Bundyo 2008-04-11 11:47

Re: Command and Conquer - Red Alert - 1
 
So if it's not a directory, then you already have a symlink or another file there.

3xternal 2008-04-11 12:38

Re: Command and Conquer - Red Alert - 1
 
You have mentioned symlinks often. I don't know how to create them or what they are. Telling me "you already have a symlink or another file there." doesn't help.

Where is the "there" you mention?

If there is a symlink there or another file, what should I do with it?

EDIT: I'm on step 19 with the game running. I will try and get the game data files in place and post back

jolouis 2008-04-11 13:24

Re: Command and Conquer - Red Alert - 1
 
3xternal, I did my write up based on the assumption that you were going from having NOTHING installed (no previous attempts) to a full install. It definately sounds like you already have a symbolic link in place that you'll need to get rid of. A symbolic link is simply the Linux equivalent to a shortcut (well, it's more complicated than that, but from a theoretical point of view that's the easiest way to think of it).
You give it a name (in this case "data"), and it targets/points to somewhere else (in this case the "raData" directory on your MMC); then, you can access/read/cd/etc to that target, you can do so simply by refering to the symbolic link. In this scenario, any time RA tries to read from the /usr/share/games/freera/data directory, it will automatically end up reading from /media/mmc1/raData.

A symbolic link is considered a "file" by the file system (even if it targets a directory like the one we're using here), so to remove it you simply need to use the remove file command:
rm /usr/share/games/freera/data

if it gives you an error, just be a bit more "forceful" in telling it that you want to get rid of whatever the heck data is, like this:

rm -rf /usr/share/games/freera/data

That will "force remove recursively" anything that is /usr/share/games/freera/data, whether it be link, directory, file, etc

Once that's done, you can try step 14 again and it should work without problem.

3xternal 2008-04-11 15:27

Re: Command and Conquer - Red Alert - 1
 
The game is now running fine in full mode using the directory you told me to remove. Ah well, it works. I'm happy. Thanks for your assistance!

bobloadmire 2008-04-11 20:42

Re: Command and Conquer - Red Alert - 1
 
\sorry i didn't see


All times are GMT. The time now is 21:52.

vBulletin® Version 3.8.8