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!

ammyt 2010-11-16 21:23

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.

where is it where is it that would be great where can i download it plz tell me what "arabic forum"

maddude 2010-11-16 21:27

Re: Install Preenv's Games in MyDocs
 
sorry can't post anything about the arabic forum, i'll get banned (it happened before). i'll pm them to you .

D4rKlar 2010-11-16 21:28

Re: Install Preenv's Games in MyDocs
 
Quote:

Originally Posted by maddude (Post 875422)
@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.

Grazie amico! :D

I'll look into the saving RE the .deb install, but I can't post links sorry,

Kind Regards,
D4rKlar

D4rKlar 2010-11-16 21:30

Re: Install Preenv's Games in MyDocs
 
Quote:

Originally Posted by ammyt (Post 875439)
where is it where is it that would be great where can i download it plz tell me what "arabic forum"

Mate you are SOOOO much better off doing Veleno's hack,


Kind Regards,
D4rK

luiscesjr 2010-11-16 21:31

Re: Install Preenv's Games in MyDocs
 
Argh, really, I cannot think today.
I will ask for help once more!
When I install the game it's in

/opt/preenv/usr/palm/applications/com.gameloft.app

I transferred it to MyDocs/Games ( just the gameloft.app.asphalt5 for example )

Now, using filebox, or xterm, I creat a symlink to where? To just com.gameloft.app or a folde rinside it?

SavageBrat 2010-11-16 21:33

Re: Install Preenv's Games in MyDocs
 
@ ammyt ,,look here, http://talk.maemo.org/showthread.php?p=705391.. there is a really easy guide by pantera1989..

D4rKlar 2010-11-16 21:36

Re: Install Preenv's Games in MyDocs
 
OK in filebox, go to /opt/preenv/usr/palm/applications

Click 'settings'

Select 'create symlink'

Navigate to MyDocs/Games

select the com.gameloft folder (click into the folder then click the top bit to select)

Done!! :D

D4rK

D4rKlar 2010-11-16 21:37

Re: Install Preenv's Games in MyDocs
 
Quote:

Originally Posted by SavageBrat (Post 875452)
@ ammyt ,,look here, http://talk.maemo.org/showthread.php?p=705391.. there is a really easy guide by pantera1989..

There are too many reasons why this is better :D

maddude 2010-11-16 21:41

Re: Install Preenv's Games in MyDocs
 
Quote:

Originally Posted by SavageBrat (Post 875452)
@ ammyt ,,look here, http://talk.maemo.org/showthread.php?p=705391.. there is a really easy guide by pantera1989..

thanks 7abib, all what i did is download emmc flash vanilla and than flash emmc .

luiscesjr 2010-11-16 21:43

Re: Install Preenv's Games in MyDocs
 
Quote:

Originally Posted by D4rKlar (Post 875455)
OK in filebox, go to /opt/preenv/usr/palm/applications

Click 'settings'

Select 'create symlink'

Navigate to MyDocs/Games

select the com.gameloft folder (click into the folder then click the top bit to select)

Done!! :D

D4rK

Sir, you are a hero.

BUT, it's not working, I've tried it before...
Sorry to be bothering, but I really apreciate the help.

My full paths are these

/opt/preenv/usr/palm/applications/ ( then the games in it )

and

/home/user/MyDocs/Games/ ( And the games folders in it, like com.gameloft.app.asphalt5 )

I know I must be doing something fundamentally stupid, I just can't see..

D4rKlar 2010-11-16 21:59

Re: Install Preenv's Games in MyDocs
 
Quote:

Originally Posted by luiscesjr (Post 875463)
Sir, you are a hero.

BUT, it's not working, I've tried it before...
Sorry to be bothering, but I really apreciate the help.

My full paths are these

/opt/preenv/usr/palm/applications/ ( then the games in it )

and

/home/user/MyDocs/Games/ ( And the games folders in it, like com.gameloft.app.asphalt5 )

I know I must be doing something fundamentally stupid, I just can't see..

Basically if you've done it right it should look EXACTLY the same as before once you've symlinked it in filebox except your com.gameloft folder in /opt/preenv/usr/palm/applications/ will have an arrow overlaid.

a) Make sure you start the symlink in /opt/preenv/usr/palm/applications/

b) Make sure you select the actual com.gameloft folder (by entering the com.gameloft folder in MyDocs/Games, then selecting it above once you're in in filebox)

Kind Regards,
D4rKlar

D4rKlar 2010-11-16 22:04

Re: Install Preenv's Games in MyDocs
 
Quote:

Originally Posted by maddude (Post 875422)
@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.

To make sure you're Driver .deb saves correctly just chmod -R 777 the whole com.gameloft.app.driver folder,

Kind Regards,
D4rKlar

maddude 2010-11-16 22:11

Re: Install Preenv's Games in MyDocs
 
i used .deb with nfs undercover, and with that .deb i couldn't find the com.ea.... file, it wasn't in /home/user/applications.
when you installed driver, where you able to see the com..... file in applications ?

luiscesjr 2010-11-16 22:14

Re: Install Preenv's Games in MyDocs
 
Just a quickie.:

I delete which folder, and before or after the symlink?
And I have two opt with these files, in /hom/opt and in /opt...

D4rKlar 2010-11-16 22:15

Re: Install Preenv's Games in MyDocs
 
Quote:

Originally Posted by maddude (Post 875501)
i used .deb with nfs undercover, and with that .deb i couldn't find the com.ea.... file, it wasn't in /home/user/applications.
when you installed driver, where you able to see the com..... file in applications ?

Look up :D

/opt/preenv/usr/palm/applications/

Sooo

sudo gainroot

cd /opt/preenv/usr/palm/applications/

chmod -R 777 com.gameloft.app.driver

exit

Kind Regards,
D4rKlar

D4rKlar 2010-11-16 22:21

Re: Install Preenv's Games in MyDocs
 
Quote:

Originally Posted by luiscesjr (Post 875504)
Just a quickie.:

I delete which folder, and before or after the symlink?
And I have two opt with these files, in /hom/opt and in /opt...

OK first copy the file to MyDocs,

Then delete the original (if it's a .deb install it'll be in /opt/preenv/usr/palm/applications/).

Then create the symlink to the one in MyDocs

Kind Regards,
D4rKlar

Veleno 2010-11-16 22:30

Re: Install Preenv's Games in MyDocs
 
But i don't understand the utility of the .deb

To install a game, we just copy ONE folder and in x-term write 2 elementary command

(chmod and desktopgen appinfo.json)

D4rKlar 2010-11-16 22:35

Re: Install Preenv's Games in MyDocs
 
Quote:

Originally Posted by Veleno (Post 875520)
But i don't understand the utility of the .deb

To install a game, we just copy ONE folder and in x-term write 2 elementary command

(chmod and desktopgen appinfo.json)

I know, but to people with no linux experience installing a .deb is easier? Well less keypresses anyway :D

I'm all for the lazy option when it works and is available!

Kind Regards,
D4rK

Parlapipas 2010-11-16 22:45

Re: Install Preenv's Games in MyDocs
 
Quote:

Originally Posted by D4rKlar (Post 875524)
I know, but to people with no linux experience installing a .deb is easier? Well less keypresses anyway :D

I'm all for the lazy option when it works and is available!

Kind Regards,
D4rK

Thanks buddy. I appreciate the lengths you went for this. Thank you Veleno also. I will try this when I get home tonight. Veleno, maybe it would be a good idea to include the creation of symlinks from filebox in your original post so every single step is there.

Eitherway, thank you and always feel free to bring new ideas to TMO from the Italian one :D

D4rKlar 2010-11-16 22:50

Re: Install Preenv's Games in MyDocs
 
Quote:

Originally Posted by Parlapipas (Post 875537)
Thanks buddy. I appreciate the lengths you went for this. Thank you Veleno also. I will try this when I get home tonight. Veleno, maybe it would be a good idea to include the creation of symlinks from filebox in your original post so every single step is there.

Eitherway, thank you and always feel free to bring new ideas to TMO from the Italian one :D

P you are ever the gentleman and it is an absolute pleasure,

Kind Regards,
D4rKlar

Parlapipas 2010-11-16 23:05

Re: Install Preenv's Games in MyDocs
 
Guys, one last question. By doing this do you in essence lose "mass strage mode"?

luiscesjr 2010-11-16 23:09

Re: Install Preenv's Games in MyDocs
 
I am sorry, but I just can't do it!
I am not a linux noob, I am just almost dead today, but I sitll can't
see what''s wrong!?!?!
In my opt/.../applications folder I can see the com.gameloft symlinked folder that is on MyDocs, but the game just wont open!!!
Gosh...
Thanks for all the help so far by the way, can't express how happy I got after this hehe!

D4rKlar 2010-11-16 23:10

Re: Install Preenv's Games in MyDocs
 
No mate, I must've connected via mass storage at least once whilst replying to this thread to transfer the screenshots on page 1 to the post,

Kind Regards,
D4rK

D4rKlar 2010-11-16 23:14

Re: Install Preenv's Games in MyDocs
 
Quote:

Originally Posted by luiscesjr (Post 875559)
I am sorry, but I just can't do it!
I am not a linux noob, I am just almost dead today, but I sitll can't
see what''s wrong!?!?!
In my opt/.../applications folder I can see the com.gameloft symlinked folder that is on MyDocs, but the game just wont open!!!
Gosh...
Thanks for all the help so far by the way, can't express how happy I got after this hehe!

OK mate does the game run normally?

As in if you cd to the game folder then ./GAMENAME does it start?

The reason I ask is because I had some issues with games which arose from simply moving files around too much in filebox (it's the only thing I can put it down to, after reinstalling fresh games from the .debs then just moving once it all ran smooth as silk)

D4rK

luiscesjr 2010-11-16 23:22

Re: Install Preenv's Games in MyDocs
 
Quote:

Originally Posted by D4rKlar (Post 875562)
OK mate does the game run normally?

As in if you cd to the game folder then ./GAMENAME does it start?

The reason I ask is because I had some issues with games which arose from simply moving files around too much in filebox (it's the only thing I can put it down to, after reinstalling fresh games from the .debs then just moving once it all ran smooth as silk)

D4rK

Well, clicking the desktop icon, does nothing, it simply opens, then
crashes to desktop again.
When I cd /home/.../Asphalt5 , and ./Asphalt5 it gives me permission denied...
Then it's a case of chown?

Veleno 2010-11-16 23:22

Re: Install Preenv's Games in MyDocs
 
Quote:

Originally Posted by luiscesjr (Post 875559)
I am sorry, but I just can't do it!
I am not a linux noob, I am just almost dead today, but I sitll can't
see what''s wrong!?!?!
In my opt/.../applications folder I can see the com.gameloft symlinked folder that is on MyDocs, but the game just wont open!!!
Gosh...
Thanks for all the help so far by the way, can't express how happy I got after this hehe!

Sorry but.. the most easy system:

copy che folder com.gameloft.app.asphlat5 in /MyDocs/Games

Open x-term and
Code:


cd /home/user/MyDocs/Games/com.gameloft.app.asphalt5/Asphalt5
preenv
chmod +rwx Asphalt5
cd ..
desktopgen appinfo.json


Delete the original folder (or unistall the .deb)
Done.

If the game not start or crash see the wiki for the symlink to webos folder and the right proprietes
http://talk.maemo.org/showpost.php?p...6&postcount=54
http://talk.maemo.org/showpost.php?p...&postcount=131

luiscesjr 2010-11-16 23:34

Re: Install Preenv's Games in MyDocs
 
Quote:

Originally Posted by Veleno (Post 875571)
Sorry but.. the most easy system:

copy che folder com.gameloft.app.asphlat5 in /MyDocs/Games

Open x-term and
Code:


cd /home/user/MyDocs/Games/com.gameloft.app.asphalt5/Asphalt5
preenv
chmod +rwx Asphalt5
cd ..
desktopgen appinfo.json


Delete the original folder (or unistall the .deb)
Done.

If the game not start or crash see the wiki for the symlink to webos folder and the right proprietes
http://talk.maemo.org/showpost.php?p...6&postcount=54
http://talk.maemo.org/showpost.php?p...&postcount=131

This is starting to drive me crazy...

When I desktopgen appinfo.json it gives me

" /usr/share/dbus-1/services/ Failed to create file /usr/share/dbus-1/services/preenv-com.gameloft.app.asphalt5.service.U7NCMV : Permission denied "

Veleno 2010-11-16 23:39

Re: Install Preenv's Games in MyDocs
 
Sure you have modified the files /usr/sbin/mmc-mount and /etc/default/mount-opts whit the right sintax ?

Post me the files to control

edit: post me the file, not post my the file xD Sorry

luiscesjr 2010-11-16 23:50

Re: Install Preenv's Games in MyDocs
 
1 Attachment(s)
Quote:

Originally Posted by Veleno (Post 875597)
Sure you have modified the files /usr/sbin/mmc-mount and /etc/default/mount-opts whit the right sintax ?

Post me the files to control

edit: post me the file, not post my the file xD Sorry

You want a copy of the file? Sure.
And, who should apologize it's me who is bothering you guys a lot.
( Both files have their copies with .save , is this normal? )

Veleno 2010-11-17 00:07

Re: Install Preenv's Games in MyDocs
 
Quote:

Originally Posted by luiscesjr (Post 875608)
You want a copy of the file? Sure.
And, who should apologize it's me who is bothering you guys a lot.
( Both files have their copies with .save , is this normal? )

You don't have saved the files!
Now i correct your files :D

The files are in a folder named mount.zip, extract the two text files to the folder and substitute your files whit this two


All times are GMT. The time now is 20:08.

vBulletin® Version 3.8.8