maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Accelerometer game proposal: sheepdog (https://talk.maemo.org/showthread.php?t=36198)

TA-t3 2010-01-02 18:19

Re: Accelerometer game proposal: sheepdog
 
You only have to find out where it is.. :-)
Then you put yourself in /home/user, that's where you are whenever you open a new xterm, or whenever you just enter 'cd' in an xterm.
Then specify the path to where the file is, e.g. tar zxvf MyDocs/sheep.tar or MyDocs/.documents/sheep.tar (you see, I don't know exactly which path is used for mass storage, I haven't used it). You can always find it with
find . -name sheep.tar
in an xterm.

RevdKathy 2010-01-02 18:23

Re: Accelerometer game proposal: sheepdog
 
Quote:

Originally Posted by TA-t3 (Post 450126)
You only have to find out where it is.. :-)
Then you put yourself in /home/user, that's where you are whenever you open a new xterm, or whenever you just enter 'cd' in an xterm.
Then specify the path to where the file is, e.g. tar zxvf MyDocs/sheep.tar or MyDocs/.documents/sheep.tar (you see, I don't know exactly which path is used for mass storage, I haven't used it). You can always find it with
find . -name sheep.tar
in an xterm.

Sorry - this is only my second ever venture into xteminal. Yeah, I really AM that much of a n00b!

I got as far as opening it, but I get 'permission denied'. :( I'm obviously doing something very stupid.

hopbeat 2010-01-02 18:28

Re: Accelerometer game proposal: sheepdog
 
Sorry, I'm stupid...
Here is the package:

http://www.student.dtu.dk/~s081608/s....0.1_armel.deb

download it somewhere, copy to the device.
Go to Terminal.
Gain root.
Go to the directory, where the package is.

Do

Code:

dpkg -i sheep_0.0.1_armel.deb
You can now exit root (just type 'exit').
Type 'sheep'.
It should work :)

To remove (as root):

Code:

apt-get remove sheep

casper27 2010-01-02 18:28

Re: Accelerometer game proposal: sheepdog
 
try executing

chmod 777 sheep_pack

This should allow you to open it.

hopbeat 2010-01-02 18:30

Re: Accelerometer game proposal: sheepdog
 
@rcull, could you elaborate on those directions? Is it up and down (it can seem tricky)?

TA-t3 2010-01-02 18:30

Re: Accelerometer game proposal: sheepdog
 
Ok, I'm not sure exactly what you did - what do you mean by 'opening' it?

The steps are:
1: Download the file, e.g. to your PC
2: Copy it to the N900. I _think_ it will end up in /home/user/MyDocs/ then.
3: Open an xterm
4: There should now be a file /home/user/MyDocs/sheep.tar, you can check with
Code:

ls -l MyDocs/sheep.tar
5: Unpack it with the command
Code:

tar zxvf MyDocs/sheep.tar
6: Run the program with
Code:

cd sheep_pack
./sheep

(Note leading '.' in ./sheep)

EDIT: hopbeat beat me to it with a proper .deb package.

rcull 2010-01-02 18:44

Re: Accelerometer game proposal: sheepdog
 
Hopbeat

As I said it might be just my expectations but if I tilt the 900 forward I would expect the attractor to move forwards not backwards ( roll down the slope as it were ) the same with tilting left and right. :)

I'm surre I could eventually get used to it but it all seem diametrically opposite to what I instinctively expect.

Rick

RevdKathy 2010-01-02 18:47

Re: Accelerometer game proposal: sheepdog
 
1 Attachment(s)
./sheep: error while loading shared libraries: libQtGui.so.4 cannot open shared objec file: No such file or directory
~sheep_pack

(This may be terribly annoying for you but it's actually quite exciting for me... I'm actually working in Xterminal! :eek: )

hopbeat 2010-01-02 18:52

Re: Accelerometer game proposal: sheepdog
 
@RevdKathy

gain root and do
Code:

apt-get install libqt4-gui
This should fix the problem.

I know that it should be done through repo, but I just wanted to share how it looks right now and where it goes.

RevdKathy 2010-01-02 18:59

Re: Accelerometer game proposal: sheepdog
 
1 Attachment(s)
Quote:

Originally Posted by hopbeat (Post 450173)
@RevdKathy

gain root and do
Code:

apt-get install libqt4-gui
This should fix the problem.

I know that it should be done through repo, but I just wanted to share how it looks right now and where it goes.

Ummm it won't let me do that, either. I suspect there are basic tools I don't have dlownloaded.

Now you're sorry you let yourself get talked into this by someone who knows ZILCH about code, aren't you. *sigh*

I want to see SHEEP! (Sobs)


All times are GMT. The time now is 15:27.

vBulletin® Version 3.8.8