View Single Post
Posts: 100 | Thanked: 543 times | Joined on Jun 2010 @ Kiev, Ukraine
#128
My quick instruction for installing NFSU.
Use this manual on your own risk!

Code:
# get root
root
# install preenv and OpenGLES1 (need extras-devel)
apt-get install libgles1 preenv
# create main game dir on eMMC card
mkdir -p /home/user/MyDocs/Games/nfs
# go to that dir and copy dowloaded .ipk file from desktop (or download directly here)
cd /home/user/MyDocs/Games/nfs
scp user@COMPUTER:/path/to/game/com.ea.app.nfsuc_20.0.28_all.ipk /home/user/MyDocs/Games/nfs

# create file for loopback mount
dd if=/dev/zero of=/home/user/MyDocs/Games/nfs/nfsu.ext2 count=120 bs=1024k
# create ext2 filesystem on it
mkfs.ext2 /home/user/MyDocs/Games/nfs/nfsu.ext2
# press 'y'
# make mountpoint
mkdir /mnt/nfsu
# save it to the fstab 
echo -e "/home/user/MyDocs/Games/nfs/nfsu.ext2\t/mnt/nfsu\text2\tloop,auto\t0\t0" >> /etc/fstab 
# finally, mount it
mount  /mnt/nfsu/
# create symlynk from /usr/palm (NFSU installs there)
ln -s /mnt/nfsu/ /usr/palm
# extrack .ipk file
dpkg -X /home/user/MyDocs/Games/nfs/com.ea.app.nfsuc_20.0.28_all.ipk /mnt/nfsu/
# make binary executable
chmod +x /mnt/nfsu/applications/com.ea.app.nfsuc/nfsuc
# create desktop launcher
desktopgen /mnt/nfsu/applications/com.ea.app.nfsuc/appinfo.json
Go to the applications and press on NFSU icon.
Enjoy!
 

The Following 5 Users Say Thank You to divan For This Useful Post: