Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,780,303 Members 43,249 Now Online
XDA Developers Android and Mobile Development Forum

HOW TO: Run games from USB drive

Tip us?
 
life02
Old
(Last edited by life02; 22nd January 2013 at 04:45 PM.)
#1  
Senior Member - OP
Thanks Meter 86
Posts: 496
Join Date: Jan 2006
Location: DFW

 
DONATE TO ME
Arrow HOW TO: Run games from USB drive

NOTE: Currently only working on Android 4.1.2. I'll look for a workaround when my new OTG cables come in.

So I purchased the 8 GB Nexus 7 and began to regret not getting the 16 GB version. These 1-3 GB games are killing me. I purchased The Bard's Tale (great game btw) and the TegraHD version requires 3.5 GB! I already had a USB OTG cable so I began looking for a way to store the game data on the USB drive and mount it to the data directory on the sdcard.

You will need:
  • Compatible USB OTG Cable
  • Paragon NTFS&HFS+
  • GScript Lite
  • Compatible kernel (ntfs read/write support)

I've tested this on ParanoidAndroid and SGT7 but it should work on any rom.

Note: Each game requires a game data folder on the USB drive that matches my script (or you can create your own folder and edit the script). You will also need a blank folder on the sdcard (/sdcard/android/data/GAMEFOLDER_from_Script - You have to use this folder name). Once this folder from the USB drive has been mounted to the correct position on the SDCARD, the game data will download to the USB drive.

Video: http://www.youtube.com/watch?v=4dWqL...=youtube_gdata

NTFS USB Drive STEPS:
  1. Plug in USB drive to Nexus 7 and unmount if the system automounts the drive (Settings - Storage - Unmount shared storage)
  2. Open Paragon NTFS&HFS+ and mount the USB drive using the automatic mount point setting (/storage/usbdisk).
  3. Open GScript Lite and run a game script to bind mount the game data folder to the sdcard.
  4. Enjoy your game and extra space!
  5. When done, unmount with Paragon NTFS&HFS+.

FAT32 USB Drive STEPS:
  1. Plug in USB drive to Nexus 7, it should be automounted by the system to the default location: /storage/usbdisk
  2. Open GScript Lite and run a game script to bind mount the game data folder to the sdcard.
  3. Enjoy your game and extra space!
  4. When done, unmount via the system: (Settings - Storage - Unmount shared storage)

Assuming your USB drive is mounted on /storage/usbdisk/ and you have created the empty game data folder on the sdcard (/sdcard/android/data/GAMEFOLDER_from_Script), the following scripts should work:
Code:
Script for Horn:
mount -o bind /storage/usbdisk/Horn /sdcard/Android/obb/com.Phosphor.Horn.Paid

Script for Bard's Tale:
mount -o bind /storage/usbdisk/BardsTale /sdcard/Android/data/com.inxile.BardTale

Script for Max Payne:
mount -o bind /storage/usbdisk/MaxPayne /sdcard/Android/data/com.rockstar.maxpayne

Script for Dead Trigger (gave me an error the first time opened but worked fine afterwards):
mount -o bind /storage/usbdisk/DeadTrigger /sdcard/Android/obb/com.madfingergames.deadtrigger

Script for Shadow Gun THD:
mount -o bind /storage/usbdisk/shadowgun /sdcard/Android/data/com.madfingergames.shadowgun_thd

Script for Asphalt 7:
mount -o bind /storage/usbdisk/Asphalt7 /sdcard/Android/obb/com.gameloft.android.ANMP.GloftA7HM

Script for The Dark Knight Rises:
mount -o bind /storage/usbdisk/TDKR /sdcard/Android/obb/com.gameloft.android.ANMP.GloftKRHM

Script for Mass Effect Infiltrator:
mount -o bind /storage/usbdisk/MassEffect /sdcard/Android/data/com.ea.games.meinfiltrator_na
I'll add more scripts as time permits.

Alternate Method (No scripts needed but you loose SDCard when USB drive is mounted):
http://forum.xda-developers.com/show....php?t=1865094
Nexus 4 with bumper
Nexus 7 8GB
The Following 37 Users Say Thank You to life02 For This Useful Post: [ Click to Expand ]
 
kieso
Old
#2  
Senior Member
Thanks Meter 90
Posts: 488
Join Date: Mar 2009
Have you tried running horn or dead trigger from the flash drive? I'm just curious if the drive is fast enough to play high end games off of or if it lags?
 
life02
Old
#3  
Senior Member - OP
Thanks Meter 86
Posts: 496
Join Date: Jan 2006
Location: DFW

 
DONATE TO ME
Quote:
Originally Posted by kieso View Post
Have you tried running horn or dead trigger from the flash drive? I'm just curious if the drive is fast enough to play high end games off of or if it lags?
I'll see about moving dead trigger over. I haven't purchased horn yet due to lack of space but may consider buying it now.

(BTW the Bard's Tale is pretty graphics intensive and it runs fine)
Nexus 4 with bumper
Nexus 7 8GB
 
life02
Old
#4  
Senior Member - OP
Thanks Meter 86
Posts: 496
Join Date: Jan 2006
Location: DFW

 
DONATE TO ME
Quote:
Originally Posted by kieso View Post
Have you tried running horn or dead trigger from the flash drive? I'm just curious if the drive is fast enough to play high end games off of or if it lags?
Dead Trigger works.. added script.
Nexus 4 with bumper
Nexus 7 8GB
The Following User Says Thank You to life02 For This Useful Post: [ Click to Expand ]
 
life02
Old
#5  
Senior Member - OP
Thanks Meter 86
Posts: 496
Join Date: Jan 2006
Location: DFW

 
DONATE TO ME
I'm getting a black screen followed by a close on Mass Effect... Going to try internal memory to make sure it's not the rom.

Sent from my SGH-T989 using xda app-developers app
Nexus 4 with bumper
Nexus 7 8GB
 
Jordanooo
Old
#6  
Jordanooo's Avatar
Senior Member
Thanks Meter 173
Posts: 956
Join Date: Jun 2011
I get the message 'no NTFS of HTS+/HFSX partitions found' when opening the app

On paranoid android 2.15
 
coolprateek.kumar
Old
#7  
coolprateek.kumar's Avatar
Senior Member
Thanks Meter 543
Posts: 1,259
Join Date: Sep 2012
Location: Bhagalpur
Quote:
Originally Posted by life02 View Post
I'm getting a black screen followed by a close on Mass Effect... Going to try internal memory to make sure it's not the rom.

Sent from my SGH-T989 using xda app-developers app
I had the same problem with mass effect....just turn on internet and use it...game will start. You might need to delete 1 more file...but 1st see if it runs

Please press thanks if it works.
Sent from my K-Touch W619 using xda premium
The Following User Says Thank You to coolprateek.kumar For This Useful Post: [ Click to Expand ]
 
life02
Old
#8  
Senior Member - OP
Thanks Meter 86
Posts: 496
Join Date: Jan 2006
Location: DFW

 
DONATE TO ME
Quote:
Originally Posted by Jordanooo View Post
I get the message 'no NTFS of HTS+/HFSX partitions found' when opening the app

On paranoid android 2.15
Did you unmount via storage first? Is your USB drive formatted with NTFS?
Nexus 4 with bumper
Nexus 7 8GB
The Following User Says Thank You to life02 For This Useful Post: [ Click to Expand ]
 
Jordanooo
Old
#9  
Jordanooo's Avatar
Senior Member
Thanks Meter 173
Posts: 956
Join Date: Jun 2011
Quote:
Originally Posted by life02 View Post
Did you unmount via storage first? Is your USB drive formatted with NTFS?
...oops haha. Forgot about formatting
 
life02
Old
#10  
Senior Member - OP
Thanks Meter 86
Posts: 496
Join Date: Jan 2006
Location: DFW

 
DONATE TO ME
Quote:
Originally Posted by Jordanooo View Post
...oops haha. Forgot about formatting
Let me know if it works for you when you get the drive ready.
Nexus 4 with bumper
Nexus 7 8GB

Tags
usb games, usb otg
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes