maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace (https://talk.maemo.org/showthread.php?t=64822)

rmarcus 2010-11-05 18:02

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
Has anyone tried with HAWX? I tried but it seems I screwed it up somewhere... :(

funkmunk 2010-11-05 19:56

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
Quote:

Originally Posted by kolos (Post 863712)
You are almost there. Check permissions of folders and files again (screenshots in steps 4,5 & 7).

Followed your steps and checked the permissions again and even rebooted the phone but it still jus shows the same blank screen for a few seconds and disappears.

kolos 2010-11-06 10:20

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
Quote:

Originally Posted by funkmunk (Post 864608)
Followed your steps and checked the permissions again and even rebooted the phone but it still jus shows the same blank screen for a few seconds and disappears.

Try to run game from x-terminal to see if you get any warning message.
Code:

cd /home/user/Games/Nfsuc/
preenv
./nfsuc

From your screenshot I suppose that you copy files in /home/user/Games/Nfsuc/.

Probably you have permission issue or missing some dependencies. Which version of preenv do you have installed, 0.1 or 0.1.1? Check with:
Code:

dpkg -l preenv

leetut 2010-11-06 10:45

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
thanks for the guide bro, just what i was looking for.
and ill be using it after flashing later.
because i woke up this morning with a warning that i cant send or recieve messages due to no space on home/user.
i only installed 4 games (the other way)
so i deleted sims game folder and all hell broke loose!
hildon home no longer works, i dont have anything on my desktops, cant add any widgets, and the warning hildon-home not working keeps popping up.
my phone has worked perfect for months and now its unusable so im gonna have to flash it and spend the next week trying to put it back the way it was, dont understand why any of this happened but im blaming nokia!
tried reinstalling hildon-home but its just the same,

rmarcus 2010-11-06 11:40

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
6> Now this is the final part. You can do this to all other games that listed as Working for Preenv by changing the xx.desktop file and pointing it to the right location of where the game data in MyDocs.

Now back to SSH client on your computer and browse to /home/user/.local/share/application/hildon
http://img266.imageshack.us/img266/5703/23413972.jpg


7. Go back to /home/user/Games, and copy the file called: sims from your "ipk" extracted folder to here.
Right click and set the permission like below:
http://img829.imageshack.us/img829/5998/37943419.jpg

Hi again!
Two questions... in n.6 could you explain it a little better? maybe there is where I made the mistake.

and n.7 when you say "copy the file called sim" do you mean only the file or the whole folder? It's not that clear to me.

Thanx for your effort and time!
:)

MINKIN2 2010-11-06 12:53

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
Quote:

Originally Posted by villyjean (Post 863980)
thank you very much,but i dont get it..i am readding it many times,but i dont get it..

root
for file in /home/user/MyDocs/Games/Sim3/usr/palm/applications/com.ea.app.sims/res_sims3/; do ln -s "$file" /home/user/Games/Sim3/; done
is this what i have to type in X-terminal and what do i have to replace? its really very complicated for me.. if it was explained and showd in youtube ,like the tutorial of - instalation of nfsuc,it would be much easier to undertand

Same problem for me too, I'm afraid :(

Excellent guide so far, and I get that the method used is "everything in bold is what should be typed in to Xterm" but should we be typing in For file in and done too?

How should this step be entered in xterm?

All help is greatly appreciated, thanks.

scyzor 2010-11-06 13:21

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
Quote:

Originally Posted by MINKIN2 (Post 865155)
Same problem for me too, I'm afraid :(

Excellent guide so far, and I get that the method used is "everything in bold is what should be typed in to Xterm" but should we be typing in For file in and done too?

How should this step be entered in xterm?

All help is greatly appreciated, thanks.

You should exactly type what is said. Terminal grammar is pretty similar to english grammar :)

MINKIN2 2010-11-06 13:41

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
Thanks for clarifing that one scyzor :)

Now I need to work out what I am doing wrong, tee hee

maxximuscool 2010-11-06 13:57

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
Quote:

Originally Posted by rmarcus (Post 865103)
6> Now this is the final part. You can do this to all other games that listed as Working for Preenv by changing the xx.desktop file and pointing it to the right location of where the game data in MyDocs.

Now back to SSH client on your computer and browse to /home/user/.local/share/application/hildon
http://img266.imageshack.us/img266/5703/23413972.jpg


7. Go back to /home/user/Games, and copy the file called: sims from your "ipk" extracted folder to here.
Right click and set the permission like below:
http://img829.imageshack.us/img829/5998/37943419.jpg

Hi again!
Two questions... in n.6 could you explain it a little better? maybe there is where I made the mistake.

and n.7 when you say "copy the file called sim" do you mean only the file or the whole folder? It's not that clear to me.

Thanx for your effort and time!
:)

Sorry that file is "a" file called sims, file name without extension but about 2.18MB in size inside a folder called com.ea.app.sims and its like Windows .exe file.

For Asphalt5, Monopoly, Shrek, and others, the files are located inside the actual game folder. For example: com.gameloft.app.asphalt5/Asphalt5 file is called Asphalt5

Copy that file to your /home/user/Games/Asphalt5/Asphalt5 folder.

You should know how to do this after you've had sucessdully done it once. :) pretty simple once you've done it.

funkmunk 2010-11-06 19:45

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
3 Attachment(s)
Quote:

Originally Posted by kolos (Post 865072)
Try to run game from x-terminal to see if you get any warning message.
Code:

cd /home/user/Games/Nfsuc/
preenv
./nfsuc

From your screenshot I suppose that you copy files in /home/user/Games/Nfsuc/.

Probably you have permission issue or missing some dependencies. Which version of preenv do you have installed, 0.1 or 0.1.1? Check with:
Code:

dpkg -l preenv

the screenshots I attached give you the information of my problems.

And you are right I am copying files in /home/user/Games/Nfsuc/.

What does segmentation fault mean?

P.S. Sorry the second screenshot of mine is wrong. It was my mistake I was not getting it. I typed -1 instead of -l..stupid me...:D
check my third screenshot of the version of preenv.

kolos 2010-11-06 20:19

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
Quote:

Originally Posted by funkmunk (Post 865399)
the screenshots I attached give you the information of my problems.

And you are right I am copying files in /home/user/Games/Nfsuc/.

What does segmentation fault mean?

P.S. Sorry the second screenshot of mine is wrong. It was my mistake I was not getting it. I typed -1 instead of -l..stupid me...:D
check my third screenshot of the version of preenv.

Connect to the internet and try this:

Code:

root
apt-get update
apt-get install libgles*

Then try to start the game from menu icon or from x-terminal.

funkmunk 2010-11-06 21:58

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
1 Attachment(s)
Quote:

Originally Posted by kolos (Post 865411)
Connect to the internet and try this:

Code:

root
apt-get update
apt-get install libgles*

Then try to start the game from menu icon or from x-terminal.

This is what I get when I try apt-get..Games still does'nt open

kolos 2010-11-06 22:24

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
Quote:

Originally Posted by funkmunk (Post 865474)
This is what I get when I try apt-get..Games still does'nt open

Strange. If I can see correctly you didn't install libgles packages because some missing dependencies.

I forgot to suggest you to run the game as a root in the first place. So, first try this:

Code:

root
cd /home/user/Games/Nfsuc/
preenv
./nfsuc


killabluey 2010-11-06 23:34

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
Quote:

Originally Posted by maxximuscool;859064

[SIZE="4"
6>[/SIZE] Now this is the final part. You can do this to all other games that listed as Working for Preenv by changing the xx.desktop file and pointing it to the right location of where the game data in MyDocs.

Now back to SSH client on your computer and browse to /home/user/.local/share/application/hildon
http://img266.imageshack.us/img266/5703/23413972.jpg

Hi my first post, love my n900 but this section has puzzled me, I have sims but what is xx.desktop file?

also it tells me to browse to /home/user/.local/share/application/hildon

what shall I do now? it does not say.:confused:

kolos 2010-11-06 23:43

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
killabluey, skip step 6 and proceed with step 7.

File **.desktop doesn't exist at this point (step 6), but it's going to be created inside "/usr/share/applications/hildon/" with step 8 when you will execute command "desktopgen /home/user/Games/Sim3/appinfo.json". When **.desktop file is created once (and other 2 files mentioned in step 6) it doesn't need to be moved anywhere, because its already placed in right location (the same is with other 2 files).

maxximuscool 2010-11-07 00:17

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
I've removed some unnecessary steps off the tutorial already. I have updated it and got rid of the steps that I forgot to removed :)

sorry about the confusion :)

maxximuscool 2010-11-07 00:20

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
Quote:

Originally Posted by funkmunk (Post 865474)
This is what I get when I try apt-get..Games still does'nt open

Okay the solution is to try

root
apt-get update
apt-get -f install

kolos 2010-11-07 00:37

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
maxximuscool, yes that could be solution, but my assumption is that he had copied also everything from .ipk into /home/user/Games/Nfsuc/ and because of that he has permission problems with some files (probably with gamesett and gamedata inside res_nfsuc).

So, if he will be able to run the game as a root, then probably my assumption would be correct.

EDIT: I'm not so clever, nor I know much about linux, but somewhere was mentioned that files gamesett and gamedata also need permission and if they are placed in Opt partition then that could be the problem.

funkmunk 2010-11-07 09:45

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
Quote:

Originally Posted by kolos (Post 865495)
Strange. If I can see correctly you didn't install libgles packages because some missing dependencies.

I forgot to suggest you to run the game as a root in the first place. So, first try this:

Code:

root
cd /home/user/Games/Nfsuc/
preenv
./nfsuc


@ kolos: Stil get the same segmentation fault error after trying to launch from X-terminal.

Screeenshot is in the previous page.

funkmunk 2010-11-07 09:55

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
1 Attachment(s)
Quote:

Originally Posted by maxximuscool (Post 865569)
Okay the solution is to try

root
apt-get update
apt-get -f install

What does mean maxximuscool?

I guess I have some serious issues with the way I tried to set this up.

killabluey 2010-11-07 11:22

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
1 Attachment(s)
Quote:

Originally Posted by kolos (Post 865543)
killabluey, skip step 6 and proceed with step 7.

File **.desktop doesn't exist at this point (step 6), but it's going to be created inside "/usr/share/applications/hildon/" with step 8 when you will execute command "desktopgen /home/user/Games/Sim3/appinfo.json". When **.desktop file is created once (and other 2 files mentioned in step 6) it doesn't need to be moved anywhere, because its already placed in right location (the same is with other 2 files).

Thank you for your help because that part confused me, I have another problem if anyone can help.

When I xterminal I get this error: -sh: syntax error: "in" unexpected

The image is of the exact folder structures I used, I have recently flashed and formatted to PR 1.3, is there something I need to install or do? :confused:

kolos 2010-11-07 19:11

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
Quote:

Originally Posted by killabluey (Post 865874)
Thank you for your help because that part confused me, I have another problem if anyone can help.

When I xterminal I get this error: -sh: syntax error: "in" unexpected

The image is of the exact folder structures I used, I have recently flashed and formatted to PR 1.3, is there something I need to install or do? :confused:

It is not "in", but "ln"!!!

Quote:

for file in /home/user/MyDocs/Games/Asphalt5/usr/palm/applications/com.gameloft.app.asphalt5/Asphalt5/*; do ln -s "$file" /home/user/Games/Asphalt5/Asphalt5/; done

funkmunk 2010-11-07 19:57

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
@ kolos & maxximuscool..What do i do?? Need help...

Check my previous post for my replies...

kolos 2010-11-07 19:59

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
Quote:

Originally Posted by funkmunk (Post 865816)
What does mean maxximuscool?

I guess I have some serious issues with the way I tried to set this up.

Which firmware do you have PR1.2 (10.2010.19-1) or PR1.3 (20.2010.36-2)?

I checked with "dkpg -l libpurple*" if I have installed this package and I don't have, nor I have folder "/etc/purple/". Probably some application is causing you conflicts. If you don't know how to resolve this issue, maybe you should consider to reflash firmware.

funkmunk 2010-11-07 20:07

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
1 Attachment(s)
Quote:

Originally Posted by kolos (Post 866226)
Which firmware do you have PR1.2 (10.2010.19-1) or PR1.3 (20.2010.36-2)?

I checked with "dkpg -l libpurple*" if I have installed this package and I don't have, nor I have folder "/etc/purple/". Probably some application is causing you conflicts. If you don't know how to resolve this issue, maybe you should consider to reflash firmware.

I have PR 1.3...check the screenshot.

Is it because when I flashed the PR 1.3 image when it released officially I also flashed the eMMC image for a fresh clean install...

I have set the phone up to the way I want it to be now and would definitely not like to reflash and start from scratch again.

Is there some other alternate way out? Sorry for the trouble.

scyzor 2010-11-07 20:22

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
Quote:

Originally Posted by funkmunk (Post 866231)
I have PR 1.3...check the screenshot.

Is it because when I flashed the PR 1.3 image when it released officially I also flashed the eMMC image for a fresh clean install...

I have set the phone up to the way I want it to be now and would definitely not like to reflash and start from scratch again.

Is there some other alternate way out? Sorry for the trouble.

Try reinstalling pidgin.

apt-get remove pidgin libpurple0
apt-get install pidgin

maxximuscool 2010-11-07 20:27

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
Quote:

Originally Posted by kolos (Post 865579)
maxximuscool, yes that could be solution, but my assumption is that he had copied also everything from .ipk into /home/user/Games/Nfsuc/ and because of that he has permission problems with some files (probably with gamesett and gamedata inside res_nfsuc).

So, if he will be able to run the game as a root, then probably my assumption would be correct.

EDIT: I'm not so clever, nor I know much about linux, but somewhere was mentioned that files gamesett and gamedata also need permission and if they are placed in Opt partition then that could be the problem.

Yep but if you put the file in eMMC FAT32 then the permission is already User permission read/write. All you need do is to setting up the permission to read/write on all files and that meant he has to set the permission to read/write as well in /home/user/Games as well as /home/user/MyDocs/Games

kolos 2010-11-07 21:20

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
Quote:

Originally Posted by maxximuscool (Post 866255)
Yep but if you put the file in eMMC FAT32 then the permission is already User permission read/write. All you need do is to setting up the permission to read/write on all files and that meant he has to set the permission to read/write as well in /home/user/Games as well as /home/user/MyDocs/Games

Yes, I completely understand the point of your tutorial (to free up Opt partition) and things around permissions. But time to time there are some people who are less familiar with all this technical stuff and because of that they have issues. In another thread I saw that some people could run games only as a root. That usually happened when they had all files in Opt partition where probably some essential files didn't have proper permissions..

killabluey 2010-11-07 21:41

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
Quote:

Originally Posted by kolos (Post 866189)
It is not "in", but "ln"!!!

:o

Thanks

funkmunk 2010-11-08 12:26

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
I guess my problems are cause of the Pidgin update error problems that I read in some other thread that deals with the libpurple package.

funkmunk 2010-11-08 12:27

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
Quote:

Originally Posted by scyzor (Post 866248)
Try reinstalling pidgin.

apt-get remove pidgin libpurple0
apt-get install pidgin

I do not want to remove Pidgin as I use it quite frequently on a daily basis..

scyzor 2010-11-08 13:04

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
'apt-get install pidgin' reinstalls it obviously...

fasza2 2010-11-09 05:53

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
Hi, I followed along the tutor in command line, since I'm lack of ssh:) Im noob to Linux, but used dos before so it was easier for me that way, I just needed to look up some of the commands ;) Anyway I previously used .deb file to install sims, so I had a menu icon already which obviously not working now :P. I created a new one that works, but its the all section only (catorise). I found the previously created icon in /usr/share/applications/hildon that points to a shell script.
1.) If I edit that to the new location /home/user/games... would that work?
2.) Any chance someone knows where I can find the other icon?It is still a nightmare for me to find files in rootfs :)

Thanks in advance and thanks for the tutorial.

PS: Maxximuscool could you add a sum which folder should contain which file, its rather confusing now.

fasza2 2010-11-09 14:02

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
I have just edited the path in the script /usr/bin/*com-ea-app-sims, works like a charm now. Still If anyone could help me where is the other icon I created is located would be appreciated. I used:
root
preenv
desktopgen /home/user/Games/Sim3/appinfo.json

abhishek 2010-11-10 05:43

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
I tried this for Asphalt5 - but I have one small problem here...
1) used 7zip to extract - success
2) used WINSCP to connect to N900 - success (however this connection keeps dropping) I don't know why. I use ping from N900 to check the connection, then it immediately connects via SSH.
3) Created the folders. as directed.
4) I tried with the chaning permissions. I could not do this as it says no such user group or user ..I am not sure what 29999 signifies in N900.
5) I was able to do symlink..
6) But when I tried desktopgen after preenv...I get this message.
Asphalt5 is not executable.
7) I checked via ls -l and yes the permission set is
-rw-r--r-- user root against all the files in the Asphalt5 folder.
otherwise all folders are rwxrwxrwx
Also I tried using chmod 7777 * in the Asphalt5 . it executes with no success..

what am I doing wrong?

also how these roles work (root/user). like why I need root access while doing SSH. I had to set password to do this. as my WINSCP was not connecting otherwise. Also if we set password for root via passwd ..won't it create problems elsewhere..
what is default password for user.

please guide

werks 2010-11-10 08:09

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
has anyone had success with installing hero of sparta using this method?
im tearing my hair out trying to get it to work. =]

F2thaK 2010-11-10 08:23

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
attempted to install driver but the preenv wiki instructions are very brief..

I had no idea... I have the *.ipk file.

Schturman 2010-11-10 09:23

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
3 Attachment(s)
Hello
I create this tutorial for my self, based on the wiki..
Tested on my phone and it's work.. Maybe someone want this method too...
This is two methods - regular and save space on home/user. Just copy the command and paste into the terminal...

:)

I updated the NFS tutorial.. now it's working perfect from MyDocs :D

DaReaper 2010-11-12 13:29

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
on running this in xterm : for file in /home/user/MyDocs/Games/Asphalt5/usr/palm/applications/com.gameloft.app.asphalt5/Asphalt5/*; do ln -s "$file" /home/user/Games/Asphalt5/Asphalt5/; done

I get : syntax error : "do" unexpected

Ikari 2010-11-12 20:06

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
If I want to remove a game after following this guide, what do I need to do? Everytime I try to remove my game folder through X-term I get an error saying that the files are read only files. I tried through SSH and it also didn't work. Help?


All times are GMT. The time now is 04:31.

vBulletin® Version 3.8.8