maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   maemo Games: Stratagus (Warcraft 2) on your N900 (https://talk.maemo.org/showthread.php?t=39720)

Rob1n 2010-02-03 18:57

Re: maemo Games: Stratagus (Warcraft 2) on your N900
 
Quote:

Originally Posted by ududud (Post 509084)
i was try use the WINSCP for edit you know if this is capable of recognising and saving UNIX format files. ?

According to http://winscp.net/eng/docs/transfer_mode it defaults to UNIX format, so if you've not changed the setting then you should be okay.

ududud 2010-02-04 15:36

Re: maemo Games: Stratagus (Warcraft 2) on your N900
 
Man, i try delete all from my mmc1 but now i have in rootfs 25,8mb free... how can "go free" more memory?

other question, now i try other more :D run the stratagus... first i was move the "data" to /home/user/MyDocs/games/stratagus and edit the stratagus-run and change the road to /home/user/MyDocs/games/stratagus


but i have the = problem of before....

after "stratagus-run" this say that:

Stratagus default config file loading...

"cant open file "blablbla.wav" (yes, i cant open more sounds = of you but np)
all cant open load *wav.. (spam this xd)

and after say

... ready!

stratagus v2.2.4 (c) blablbla...

this sowfware if provided as.. blablabla

and finnaly say

home directory /home/user not ours
home directory /home/user not ours
can't open file: no such file or directory
can't load the graphic 'ui/orc/800x480/filler-right.png'


and ofc the game Crash


I think the next :

The default config is in mmc1, but if i have changed the stratagus-run.... why this "try" running in mmc1?

the question is this :/

try helpme :P

ty mate ;)

Rob1n 2010-02-04 15:45

Re: maemo Games: Stratagus (Warcraft 2) on your N900
 
Quote:

Originally Posted by ududud (Post 510504)
Man, i try delete all from my mmc1 but now i have in rootfs 25,8mb free... how can "go free" more memory?

Have a look at http://wiki.maemo.org/Free_up_rootfs_space

Quote:

Originally Posted by ududud (Post 510504)
other question, now i try other more :D run the stratagus... first i was move the "data" to /home/user/MyDocs/games/stratagus and edit the stratagus-run and change the road to /home/user/MyDocs/games/stratagus


but i have the = problem of before....

Are you running this as the normal user or as root? The missing .png file should be in /home/user/.stratagus/graphics/ui/orc/800x480 - does it exist in there?

Quote:

Originally Posted by ududud (Post 510504)
The default config is in mmc1, but if i have changed the stratagus-run.... why this "try" running in mmc1?

Why do you think it's trying to run in mmc1? There's no mention of mmc1 in the error messages you've posted.

ududud 2010-02-04 17:02

Re: maemo Games: Stratagus (Warcraft 2) on your N900
 
Yes i was running in root with the WinSCP (client of SSH)



i can go in this folder, and i can see the all this files, yes this EXIST



i think this "try run in mmc" because after launch the application, this make me some folders in mmc1/games/stratagus/graphics/ui/orc etc.. and after this i try "delete" all this from mmc1 because i dont need this here

Rob1n 2010-02-04 17:07

Re: maemo Games: Stratagus (Warcraft 2) on your N900
 
Quote:

Originally Posted by ududud (Post 510647)
Yes i was running in root with the WinSCP (client of SSH)



i can go in this folder, and i can see the all this files, yes this EXIST



i think this "try run in mmc" because after launch the application, this make me some folders in mmc1/games/stratagus/graphics/ui/orc etc.. and after this i try "delete" all this from mmc1 because i dont need this here

You need to run it as the normal user. I don't know why it's creating files/folders on mmc1 though - if it still does this when run under the user's account, you can try adding a symlink:
Code:

sudo gainroot
ln -s /home/user/MyDocs/games /media/mmc1


ududud 2010-02-05 15:19

Re: maemo Games: Stratagus (Warcraft 2) on your N900
 
i was try run this with normal user with this code :
stratagun-run and no work...

and after this try with root with this code
sudo gainroot
stratagus-run and no work...

after this i closed and open..

and try write

sudo gainroot
ln -s /home/user/MyDocs/games /media/mmc1

and this say : ln: /media/mmc1/games : file exists

:/

Rob1n 2010-02-05 15:44

Re: maemo Games: Stratagus (Warcraft 2) on your N900
 
FFS, don't run it as root! There's absolutely no need, and running unnecessary applications as root is just asking for trouble. You've already established that the /media/mmc1/games directory gets created when you run it as root, so obviously the linking will fail.

Exactly what error(s) are you getting running it under the normal user's account?

ududud 2010-02-05 15:57

Re: maemo Games: Stratagus (Warcraft 2) on your N900
 
The problem are = that the other post

Stratagus default config file loading...

"cant open file "blablbla.wav" (yes, i cant open more sounds = of you but np)
all cant open load *wav.. (spam this xd)

and after say

... ready!

stratagus v2.2.4 (c) blablbla...

this sowfware if provided as.. blablabla

and finnaly say

can't open file: no such file or directory
can't load the graphic 'ui/orc/800x480/filler-right.png'


and ofc the game Crash


Only this Dont say in mode : user:

home directory /home/user not ours
home directory /home/user not ours

Rob1n 2010-02-05 16:58

Re: maemo Games: Stratagus (Warcraft 2) on your N900
 
Looks like the game is copying the 800x480 graphics over if they're not found. Try running (as the normal user in X Terminal):
Code:

cp -r /home/user/.stratagus/graphics/ui/human/* /home/user/MyDocs/games/stratagus/graphics/ui/human
cp -r /home/user/.stratagus/graphics/ui/orc/* /home/user/MyDocs/games/stratagus/graphics/ui/orc

Then see whether it'll run.

ududud 2010-02-08 16:35

Re: maemo Games: Stratagus (Warcraft 2) on your N900
 
Ty Rob1n, really!, now this game run OK :).... only this dont save. but you was say me in the other post this :

sudo gainroot
cd /media/mmc1
chown -R user: *

You think if i change the "cd /media/mmc1" to "cd /home/user/MyDocs/" i can go save now?

im w8ing your comment because i think that cant write this if dont know what is :)


All times are GMT. The time now is 13:46.

vBulletin® Version 3.8.8