![]() |
WebOS games stored on memory card
Hi guys,
I would like to write a short instruction how to keep games on memory card instead of internal memory, which is no so large. This instruction helps us to save a root space for another apps. This one bases on information collected from internet and it works for me very well. The first what we need, is to prepare memory card. We don't need to modify file system at all. We keep the FAT32 of our external memory card. But we have to change an access right to our card. It will allow to execute any application directly from our card, as well from internal FAT32 partition. You have to have installed game on your phone first. After that: We need to modify file located in /usr/sbin/mmc-mount. Of course, the root access is mandatory: So the file looks like: #!/bin/sh mount -t vfat -o rw,noauto,noexec,nodev,nosuid,noatime,nodiratime,u tf8,uid=29999,shortname=mixed,dmask=000,fmask=0133 "$1" "$2" It not allows to execute any app from vfat partitions. So we have to change to following one: #!/bin/sh mount -t vfat -o rw,noauto,exec,nodev,nosuid,noatime,nodiratime,utf 8,uid=29999,shortname=mixed,dmask=000,fmask=022 "$1" "$2" Keep in mind it opens the security gate to our device, So you're doing it on your own responsibility. After that just reboot your phone. Next step to move webos apps to memory card. Create your own directory on memory card, like WebOS. Go to directory /opt/preenv/usr/palm/applications/. Run "mv <your_selected_game_folder> /media/mmc1/WebOS/" . Don't panic of the warning messages you got. Just keep going. And last step to go to directory /usr/bin. Find your game name, mainly it called like com-<ea,gameloft,etc.>-app-<game_name>. Use your prefeable editor (like vi) and modify file: Change the path of game /usr/palm/applications/ to /media/mmc1/WebOS/. Now you should be able to run the game form desktop shortcut. And you save a lot of space on root. Enjoy Henry |
Re: WebOS games stored on memory card
You can also change Data Dir in Settings window for WebOS Games Manager.
|
Re: WebOS games stored on memory card
MySetup:
1.clean memory card 2. create 2 partions like this: 2.1. 1st FAT32 Partition (it will be /media/mmc) 2.1. 2nd ext3 Partition 2.3. 3rd swap partition (check swapto mmc thread) Don't remember how, but my mtab is has these entries for sdcard ( i think its automagic) Nokia-N900:~# cat /etc/mtab | grep -i /dev/mmcblk1p /dev/mmcblk1p3 /home/user/ugames ext3 0 0 /dev/mmcblk1p1 /media/mmc1 vfat rw,noauto,nodev,noexec,nosuid,noatime,nodiratime,u tf8,uid=29999,shortname=mixed,dmask=000,fmask=0133 ,rodir 0 0 3. apply permissions to /home/user/ugames 3.1 (has root) chmod 777 /home/user/ugames 4. move all your games to /home/user/ugames 5. change permissions to user:users on the games folder 5.1 chown -R user:users /home/user/ugames/GAMEFOLDERNAME 6 Change the path of game in .desktop file line that starts with "Exec" in: ls -1 /usr/share/applications/hildon/preenv* /usr/share/applications/hildon/preenv-com.ea.app.battleship.pre.en.desktop /usr/share/applications/hildon/preenv-com.ea.app.risk.desktop /usr/share/applications/hildon/preenv-com.gameloft.app.driver.desktop /usr/share/applications/hildon/preenv-com.gameloft.app.earthwormjim.desktop /usr/share/applications/hildon/preenv-com.gameloft.app.nova.desktop /usr/share/applications/hildon/preenv-com.gameloft.app.shrekkarting.desktop /usr/share/applications/hildon/preenv-com.gameloft.app.skater.desktop /usr/share/applications/hildon/preenv-com.rovio.angrybirds.desktop /usr/share/applications/hildon/preenv-com.rovio.angrybirdsrio.desktop /usr/share/applications/hildon/preenv-com.rovio.angrybirdsseasons.desktop That's it!! ENJOY |
Re: WebOS games stored on memory card
Hi,
But if don't want to loose your memory card access size, you keep it as a FAT32. And it is accessible from any windows machine. best regards M.M. |
Re: WebOS games stored on memory card
I use linux, so I can access all the partitions :D
|
All times are GMT. The time now is 12:11. |
vBulletin® Version 3.8.8