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)

kolos 2010-11-04 18:51

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

Originally Posted by funkmunk (Post 863489)
So I proceed with step 7 and it goes fine but when I reach step 8 and follow the instructions I get an error and cannot proceed further.

Where am I going wrong? Can someone help me out?

Screenshot attached below.

Did you create symlinks before executing desktopgen?

Quote:

Originally Posted by maxximuscool (Post 859064)
8. Now this is the SymLink part. On your N900, open Xterminal and login as ROOT.

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

(in command line just replace all "sims" and "sims3" with "nfsuc")

Check inside /home/user/Games/Nfsuc/ if you have shortcut to folder res_nfsuc.

villyjean 2010-11-04 19:03

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
I installed perfectly - nfsuc,but when i try any other game and when i write the command - chmod +rwx (file name of the game) and its says :

chmod:(file name of the game) : No such file or directory

whyyyyyyyyyyyyyy? Please is there anybody who can help me?

kolos 2010-11-04 19:20

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

Originally Posted by villyjean (Post 863538)
I installed perfectly - nfsuc,but when i try any other game and when i write the command - chmod +rwx (file name of the game) and its says :

chmod:(file name of the game) : No such file or directory

whyyyyyyyyyyyyyy? Please is there anybody who can help me?

Probably you didn't write right path to game's executing file. Some games have this file inside folder res_****. Check step 8 in maxximuscool tutorial there is mentioned the difference between Sims3 and Asphalt5/Monopoly.

To quickly check folder structure and files inside them use FileBox .

Rapparee 2010-11-04 20:26

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
When I get to the SymLink i get a error:

sh: In: not found

funkmunk 2010-11-04 20:36

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

Originally Posted by kolos (Post 863531)
Did you create symlinks before executing desktopgen?



(in command line just replace all "sims" and "sims3" with "nfsuc")

Check inside /home/user/Games/Nfsuc/ if you have shortcut to folder res_nfsuc.

Did as you said and went till the last step and now I can see the NFSUC icon in the app list but when I click it,it just shows me a black screen with the loading bar and then closes off in a few seconds.

Seems like I screwed up somewhere else now.Need help.

If these instructions are for noobs how come I am having so many problems?

kolos 2010-11-04 21:46

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

Originally Posted by funkmunk (Post 863618)
Did as you said and went till the last step and now I can see the NFSUC icon in the app list but when I click it,it just shows me a black screen with the loading bar and then closes off in a few seconds.

Seems like I screwed up somewhere else now.Need help.

If these instructions are for noobs how come I am having so many problems?

You are almost there. Check permissions of folders and files again (screenshots in steps 4,5 & 7).

villyjean 2010-11-05 04:11

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
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

scyzor 2010-11-05 08:12

Guys, you could just enable executability for MyDocs, make an applications folder in MyDocs and symlink it to /home/user.
Making MyDocs executable is considered a 'security risk' but I don't see how. It's working fine here.

Just edit /usr/sbin/mmc-mount and /etc/default/mount-opts to remove noexec and set fmask=777.

Careful, if you do this wrong you'll need a reflash.

Edit: Sorry, it's fmask=000.

shazosbourne 2010-11-05 08:59

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

Originally Posted by scyzor (Post 864090)
Guys, you could just enable executability for MyDocs, make an applications folder in MyDocs and symlink it to /home/user.
Making MyDocs executable is considered a 'security risk' but I don't see how. It's working fine here.

Just edit /usr/sbin/mmc-mount and /etc/default/mount-opts to remove noexec and set fmask=777.

Careful, if you do this wrong you'll need a reflash.

Sounds like a juicy, abridged answer to the issue. Care to do a:
  1. do
  2. then
  3. and
  4. and you're done!

?
That would be awesome!:D

scyzor 2010-11-05 09:31

Re: Preenv Tutorial: How to install game in eMMC FAT32 partition! Saving Opt partition freespace
 
Through the terminal:
1) sudo gainroot
2) apt-get install nano (if you don't have nano installed already)
3) nano /usr/sbin/mmc-mount
Edit it to: (without the '----')
------
#!/bin/sh
mount -t vfat -o $3,noauto,nodev,nosuid,noatime,nodiratime,utf8,uid =29999,shortname=mixed,dmask=000,fmask=000,rodir "$1" "$2" > /dev/null
------
Ctrl-X, then Y
4) nano /etc/default/mount-opts
Edit it to: (without the '----')
-----
# Options for mounting user's filesystems

home_opts="rw,noatime,errors=continue,commit=1,dat a=writeback"
fat_opts="noauto,nodev,nosuid,noatime,nodiratime,u tf8,uid=29999,shortname=mixed,dmask=000,fmask=000, rodir"
-----
Ctrl-X, then Y
5) exit
6) mkdir /home/user/MyDocs/pre
7) cp -r /home/user/applications /home/user/MyDocs/pre
8) ln -s /home/user/MyDocs/pre/applications /home/user

When you install games, install them to MyDocs/pre/applications.

Careful, if these steps are not taken carefully, you might have to go for a reflash


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

vBulletin® Version 3.8.8