maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Install Preenv's Games in MyDocs (https://talk.maemo.org/showthread.php?t=65730)

Veleno 2010-11-16 19:47

Install Preenv's Games in MyDocs
 
Hi guys,

I don't know if you know it already, however I have found this method and wanted to share it with you.


Whit this method we don't need to create a Symlink and the installation is very easy.
Just copy the game's folder in MyDocs and run the game.

I tell you now that the procedure is not without risks, the brick is behind the 'corner, so first of all, do yourself a BACKUP!



1) Open x-terminal and give root

2) Then, choose a text editor that can be Vi, nano, leafpad or whatever you want.


3) nano /usr/sbin/mmc-mount



There is of course open the file /usr/sbin/mmc-mount that you will change as follows :



#!/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


(is ALL in one line, "uid" and "=29999" is attached )



basically we just remove the option 'noexec' and change the value of fmask in 000 (the default is 0133)

DON'T ADD OR REMOVE ANYTHING ELSE!
Press CTRL (on keyboard) + x and then choose "y" to save the file and overwrite the send date

Second step:


nano /etc/default/mount-opts


Is amended as follows:


The first line is:

home_opts="rw,noatime,errors=continue,commit=1,dat a=writeback"

The secondo line:

fat_opts="noauto,nodev,nosuid,noatime,nodiratime,u tf8,uid=29999,shortname=mixed,dmask=000,fmask=000, rodir"


(ther isn't a space beetwen the letter "u" and "tf8", is all united in one line and NO space before "rodir")

WARNING: If you have the power-kernel you will also find a line saying test-x, etc. .. Do not edit this line

Basically here is to remove the noexec and mofificare fmask in the value of 000


Save as first and..done!


Reboot your phone if you did everything right there should be no problems, then you can install games anywhere in there.

The original guide in here

Ps. sorry but i try to post whit the tag [code] but in the preview appears a space beetwen the / and the letters (e.g. i write /etc/default and appears / etc / default ).
Why this?
I wanted to give proper formatting but did not succeed !!

D4rKlar 2010-11-16 20:32

Re: Install Preenv's Games in MyDocs
 
THIS IS AMAZING!!!!!!!!!!

Thank you thank you thank you!!!!!!

:D :D :D :D :D

Kind regards,
D4rKlar

A bello ma le / funzionano.. da qua si vedono bene? Hai risolto o da te ancora si vedono male?

maddude 2010-11-16 20:41

Re: Install Preenv's Games in MyDocs
 
or you can use the custom emmc image that i found at our arabic forum, that partitions your memory with 5 gb for apps instead of 2 gb, and that way you have a lots of space avaible on the device for preenv games, i flashed it 2 days ago, and its working great, got 5 preenv games so far.

Veleno 2010-11-16 20:43

Re: Install Preenv's Games in MyDocs
 
ahahah nothig..

No, funzionano solo per codici corti, se c'è una frase un pò lunga viene fuori tutto sballato! bho..
I hope they understand the post..

D4rKlar 2010-11-16 20:44

Re: Install Preenv's Games in MyDocs
 
Quote:

Originally Posted by maddude (Post 875404)
or you can use the custom emmc image that i found at our arabic forum, that partitions your memory with 5 gb for apps instead of 2 gb, and that way you have a lots of space avaible on the device for preenv games, i flashed it 2 days ago, and its working great, got 5 preenv games so far.

Errr..

http://i52.tinypic.com/346x0k2.png

These are only the ones I have on my desktop :D

Now ADM = App Data Memory and PDM = Phone Data Memory

http://i51.tinypic.com/14cz05u.png

TRUST ME THIS IS AWESOME!!

@V Fra sono sicuro, cambierei solo 'Don't make more' a 'Don't add anything', e se chiedono gli spiego io!

Mo vado a vedere per il wiki ;)

Veleno 2010-11-16 20:51

Re: Install Preenv's Games in MyDocs
 
Quote:

Originally Posted by maddude (Post 875404)
or you can use the custom emmc image that i found at our arabic forum, that partitions your memory with 5 gb for apps instead of 2 gb, and that way you have a lots of space avaible on the device for preenv games, i flashed it 2 days ago, and its working great, got 5 preenv games so far.

Yes but ther is two incoveninet:

1) the flash :D

2) the 5 gb isn't infinited. I've installed 8 games for a total of 1.8 gb + 1gb of applications. Total of almost 3gb, then the problem occurs again in the future

And so, whit the game in MyDocs is more easy copy the folder from any PC, also whitout SSH connection

luiscesjr 2010-11-16 20:58

Re: Install Preenv's Games in MyDocs
 
I am sorry, i didn't catch it.
After you do that ( I don't speak italian ), how are you supposed to
install the games? I extract the ipks to the folder, and run in xterm?
I install it as deb, and just throw the folder in MyDocs?

maddude 2010-11-16 21:00

Re: Install Preenv's Games in MyDocs
 
@d4rklar awesome desktop there man, molto bello .
@veleno the flash is very easy, trust me, and yes your right 5 gb isn't enough, but it is for me, and the post looks fine , ho capito .
and d4rklar where did you get driver, i know where to get the .deb, but i don't think the .deb can save the game progress.
google translate ;) i thin k its the best way for communications.

D4rKlar 2010-11-16 21:11

Re: Install Preenv's Games in MyDocs
 
Quote:

Originally Posted by luiscesjr (Post 875421)
I am sorry, i didn't catch it.
After you do that ( I don't speak italian ), how are you supposed to
install the games? I extract the ipks to the folder, and run in xterm?
I install it as deb, and just throw the folder in MyDocs?


Personally I just installed the .deb, shifted the com.gameloft folder into MyDocs and symlinked it back but you can literally run completely out of MyDocs if you wanted, you've just made MyDocs executable :D

Kind Regards,
D4rKlar

luiscesjr 2010-11-16 21:16

Re: Install Preenv's Games in MyDocs
 
Quote:

Originally Posted by D4rKlar (Post 875431)
Personally I just installed the .deb, shifted the com.gameloft folder into MyDocs and symlinked it back but you can literally run completely out of MyDocs if you wanted, you've just made MyDocs executable :D

Kind Regards,
D4rKlar

Hum, thanks mate!
My brain is totally off today, obviously removing noexec from there...
Thanks everyone, here I come!


All times are GMT. The time now is 16:28.

vBulletin® Version 3.8.8