Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Half-Life 2 and Portal Research

OP legofan623

18th May 2014, 01:13 AM   |  #1  
OP Member
Flag Puyallup
Thanks Meter: 17
 
45 posts
Join Date:Joined: Jan 2013
More
HALF LIFE 2 AND PORTAL NVIDIA SHIELD RESEARCH



The long awaited guide for all this goodness can be found here: http://r3pwn.github.io/sourcemodding.html (Thanks r3pwn)

HALF LIFE 2 EPISODE 1 PORT HERE: http://youtu.be/pd-t2TrDtfU



Eventually I'd like this to help developers familiar to the Source engine and I port popular HL2 and Portal mods to the Shield.

IF YOU MAKE AN IMPORTANT DISCOVERY REGARDING EITHER OF THESE GAMES ON THE SHIELD, PLEASE POST YOUR DISCOVERY AND I WILL ADD IT TOO THIS LIST AND CREDIT YOU FOR IT

These references cover the games at versions 23 (APK) & 22 (DATA)

Hopefully you already know how to get these files from your Shield to your PC, because I’m not covering that.

Vocabulary:

main.22.com.nvidia.valvesoftware.portal.obb – Core game data, contains Source engine core and Half-Life 2 data files

main.22.com.nvidia.valvesoftware.halflife2.obb – identical to ^

patch.22.com.nvidia.valvesoftware.portal.obb – Contains all the data files for Portal

patch.22.com.nvidia.valvesoftware.halflife2.obb – Contains only the maps for HL2 and associated files (BSP, PAT, LMP)

These files can be found in sdcard/Android/Obb, you might need to enable the viewing of hidden files in your file browser to get to them. Open them as if they were ZIP files.

Apparently you can't change or replace files directly in the .obb files because of a checksum/signature check, if you do the game will attempt to redownload the .obb file (Thanks nex86)

Custom files can be loaded from "/data/data/com.nvidia.valvesoftware.halflife2/files", but like all good things this will require your Shield to be rooted.

More will be posted when more is discovered.
Last edited by legofan623; 6th September 2014 at 05:34 PM.
The Following 4 Users Say Thank You to legofan623 For This Useful Post: [ View ]
18th May 2014, 02:28 AM   |  #2  
Senior Member
Thanks Meter: 40
 
503 posts
Join Date:Joined: Nov 2010
I tried replacing the voice files with winrar but it seems the game has some kind of checksum/signature check and attempts to redownload the obb file..
The Following 2 Users Say Thank You to nex86 For This Useful Post: [ View ]
18th May 2014, 09:55 PM   |  #3  
Senior Member
Thanks Meter: 40
 
503 posts
Join Date:Joined: Nov 2010
tried rebuilding the main obb file with the jobb tool in the SDK, did not work either.
for some reason that tool does not create zip files, it creates fat32 images.
The Following User Says Thank You to nex86 For This Useful Post: [ View ]
18th May 2014, 10:39 PM   |  #4  
OP Member
Flag Puyallup
Thanks Meter: 17
 
45 posts
Join Date:Joined: Jan 2013
More
Quote:
Originally Posted by nex86

I tried replacing the voice files with winrar but it seems the game has some kind of checksum/signature check and attempts to redownload the obb file..

Thanks nex86, your info was added into the first post
Last edited by legofan623; 19th May 2014 at 12:03 AM.
The Following 2 Users Say Thank You to legofan623 For This Useful Post: [ View ]
19th May 2014, 12:03 PM   |  #5  
Senior Member
Thanks Meter: 40
 
503 posts
Join Date:Joined: Nov 2010
I hope someone knows how to do it,
I'm really tempted to mod the game ^^
20th May 2014, 04:52 PM   |  #6  
Doodle210's Avatar
Member
Flag 127.0.0.1
Thanks Meter: 3
 
55 posts
Join Date:Joined: Aug 2013
Quote:
Originally Posted by nex86

I hope someone knows how to do it,
I'm really tempted to mod the game ^^

I don't have the games, but if it's anything like GTA SA file checking, you don't touch the OBB files
Quote:
Originally Posted by from GTAForums

dont touch the obb files...!

each modified file goes in its own/original folder..

example... modified gta3.img:

sdcard/android/data/com.rockstargames.gtasa/files/texdb/gta3.img

in this case you need to add a new folder named 'texdb"

I'll look into it if i purchase the game.
20th May 2014, 05:03 PM   |  #7  
Senior Member
Thanks Meter: 40
 
503 posts
Join Date:Joined: Nov 2010
I already tried this. The game ignores files stored in
Code:
"Android\data\com.nvidia.valvesoftware.halflife2\files"
I could try extracting all obb's into that folder but it'll take ages because it has thousands of files.
Last edited by nex86; 20th May 2014 at 05:06 PM.
20th May 2014, 06:54 PM   |  #8  
Senior Member
Thanks Meter: 40
 
503 posts
Join Date:Joined: Nov 2010
Just tried that and didn't work.
21st May 2014, 12:54 AM   |  #9  
Senior Member
Thanks Meter: 40
 
503 posts
Join Date:Joined: Nov 2010
good news.
I managed to load files from "/data/data/com.nvidia.valvesoftware.halflife2/files"
Root is required to do this and it's also not possible to store them on SD card.
Now I'm just having issues with the soundcache because english and german voices getting mashed up.
The Following 2 Users Say Thank You to nex86 For This Useful Post: [ View ]
21st May 2014, 01:02 AM   |  #10  
OP Member
Flag Puyallup
Thanks Meter: 17
 
45 posts
Join Date:Joined: Jan 2013
More
Quote:
Originally Posted by nex86

good news.
I managed to load files from "/data/data/com.nvidia.valvesoftware.halflife2/files"
Root is required to do this and it's also not possible to store them on SD card.
Now I'm just having issues with the soundcache because english and german voices getting mashed up.

Nice work nex! I knew this wouldn't be a very hard thing to crack

The Following User Says Thank You to legofan623 For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
half life 2, mod, nvidia, portal, shield
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes