Half-Life 2 and Portal Research

Have you installed any mods with our tutorials?

  • Yeah, it's great!

    Votes: 11 57.9%
  • Not yet, but I might.

    Votes: 6 31.6%
  • No way, I don't understand any of this.

    Votes: 2 10.5%

  • Total voters
    19

VladHQ

New member
Dec 10, 2013
4
0
0
Mods

I would love to run Black Mesa on my shield! Also, I will personally donate $50 into PayPal if you get CS:Source and L4D working! Some of my favorite Source games, great progress so far, keep porting everything! xD
 

r3pwn

Inactive Recognized Developer
Jul 11, 2012
1,745
2,046
0
Lakeland, FL
r3pwn.com
I would love to run Black Mesa on my shield! Also, I will personally donate $50 into PayPal if you get CS:Source and L4D working! Some of my favorite Source games, great progress so far, keep porting everything! xD
Unfortunately, we ran into a major issue with BMS which prevented either of us (me and legofan) from being able to port it successfully. I think legofan took a look at CS:S a while back and couldn't get it working too well (working maps, but no guns, no online, etc.). I told myself I would take a look at L4D, but never got around to it. Whenever I get time, I'll look into it. :)
 

VladHQ

New member
Dec 10, 2013
4
0
0
Unfortunately, we ran into a major issue with BMS which prevented either of us (me and legofan) from being able to port it successfully. I think legofan took a look at CS:S a while back and couldn't get it working too well (working maps, but no guns, no online, etc.). I told myself I would take a look at L4D, but never got around to it. Whenever I get time, I'll look into it. :)
That's great to hear! I would love to play CS:Source with just bots, if the console's working, isn't it possible to add them? I just read the whole thread and read that Black Mesa is 7GBs, and while porting it would be awesome, I just wouldn't have enough space to store it lol! I am pretty damn sure Valve will release it's own Steam for Android with a lot of source ported games, that would be fantastic. I would love to play my favorite games on the go with the Shield portable.
 

r3pwn

Inactive Recognized Developer
Jul 11, 2012
1,745
2,046
0
Lakeland, FL
r3pwn.com
That's great to hear! I would love to play CS:Source with just bots, if the console's working, isn't it possible to add them? I just read the whole thread and read that Black Mesa is 7GBs, and while porting it would be awesome, I just wouldn't have enough space to store it lol! I am pretty damn sure Valve will release it's own Steam for Android with a lot of source ported games, that would be fantastic. I would love to play my favorite games on the go with the Shield portable.
No, I don't think bots would work, plus, no weapons. :/
 

berryman13

Senior Member
Mar 30, 2011
1,988
1,239
143
San Francisco
No, I don't think bots would work, plus, no weapons. :/
Okay, this is follow I the guidelines you set and the hl2 mod files? Looks like we need some new mod files then. I'm getting to know this tegra device very well and also will look into this.

@r3pawn, how did you initially create the mod files? What's different verses hl2 and portal? It seems as if the orange box engine is causing issues, as we don't have that version of source supported yet.
 

r3pwn

Inactive Recognized Developer
Jul 11, 2012
1,745
2,046
0
Lakeland, FL
r3pwn.com
Okay, this is follow I the guidelines you set and the hl2 mod files? Looks like we need some new mod files then. I'm getting to know this tegra device very well and also will look into this.

@r3pawn, how did you initially create the mod files? What's different verses hl2 and portal? It seems as if the orange box engine is causing issues, as we don't have that version of source supported yet.
They work fine, running them on my SHEILD Portable now. Kinda busy now, let me help you later.
 

thewolf16

Member
Aug 30, 2011
11
6
0
Ive tried to get the german voice files to work (Portal). It wont work because f.e. the german voice file is 7 seconds long and the english one 6 seconds long, but the german voice file will just play for 6 seconds (like the english one) until the next voice file is played (so a part of the german voice file is cut ). I think it has something to do with the sound.cache. Ive already renamed the "portal_sound_vo_german.vpk.sound.cache" to "sound.cache" and moved it to my device but it wont work either. What can i do?

EDIT: I think ive got this working. That problem what ive said is a little bug in the game. It appears when two sound files are operlapping. Happily its just on the first two sentences. This bug was fixed on the pc version awhile ago but because weve hot the old source engine version this bug is still there but its no problem. Here you can see this bug:

https://www.youtube.com/watch?v=h06sddvZ9Bk
[at 0:26] "Hallo und nocheinmal willkommen im computergesteuerten Enrichment Center from Aperture [cut] Wir hoffen..."

This is how it should be:

https://www.youtube.com/watch?v=v8C1UqqTtYw

[at 2:25] "Hallo und nocheinmal willkommen im computergesteuerten Enrichment Center from Aperture scienceWir hoffen..."

So no big deal. Just a bug from the game. :)
 
Last edited:

thewolf16

Member
Aug 30, 2011
11
6
0
After much struggles (like high pitched static noises and low fps) ive got half life 2 working properly on my shield tablet. So portal and half life 2 is fully playable with german voice (when somebody want a tutorial then ask me). Next i will try to get the half life 2 "alchemilla" mod working, When it wont work i will try some older half life 2 mods like "Nightmare house".

EDIT: Cant try the alchemilla mod because its too big for my internal memory.

EDIT2: Got custom maps (Nightmare house) to work. Its pretty awesome.
 
Last edited:

thewolf16

Member
Aug 30, 2011
11
6
0
Here is my tutorial for the custom maps:

-start the game until the first level is fully loaded so config.cfg is generated
-put .bsp files under /data/data/com.nvidia.valvesoftware.halflife2(or portal)/files/hl2(or portal)/maps
-open config.cfg under /data/data/com.nvidia.valvesoftware.halflife2(or porta)/files/hl2(or portal)/cfg
-edit command f.e. (bind "UP "slot1") to (bind "UP "name nameofyourmap") and save
-enter the adb commands in "Terminal emulator" like in the tutorial from r3pwn
-open game and load first story level
-when its fully loaded then push the button you have bind the "map" command to in the config.cfg to load the custom map

When you need the german files for HL2 or Portal, PM me!
 
  • Like
Reactions: legofan623

Neodreamer24

Senior Member
Nov 17, 2008
82
4
0
Please @thewolf16 tell me how can I change the language. I asked to the programers for Spanish and they said me the last year that in future a update will be released...but never happened. I have the game original in pc steam and original in android. Can I change files or any mod to get Spanish in shield game? Thanks

Enviado desde mi SM-N9005 usando Tapatalk 2
 

thewolf16

Member
Aug 30, 2011
11
6
0
@Neodreamer24

Ive made a tutorial to translate it to german. Since i dont know how the files are named in the spanish version i cant make a tutorial specified for the spanish version. But i think its the same as the german version except the "hl2_sound_vo_german_dir.vpk" or "portal_sound_vo_german_dir.vpk" should be named as something like "hl2_sound_vo_spanish_dir.vpk" or "portal_sound_vo_spanish_dir.vpk". Heres my tutorial:

1.For Half Life 2: go to to /Steam/steamapps/common/Half-Life 2/hl2, open hl2_sound_vo_german_dir.vpk with the "gcfscape" tool (you have to download it) and copy the "sound" folder of this file in a separate folder on your desktop
2.Now copy the "hl2_sound_vo_german.vpk.sound.cache" to your folder on desktop and rename it to "sound.cache"
3.Now compress these both files to a new zip file with the name "hl2.zip"
4.Copy the "hl2.zip" file to your smartphone
5.Then copy this file to /data/data/com.nvidia.valvesoftware.halflife2/files/ with a root explorer
6.In this path there should currently be a "hl2" folder, duplicate it and rename the old one to "hl2.old"
7.Go into the duplicated "hl2" folder and remove the "sound" folder and the "sound.cache" file
8.Go back to the /files/ folder and extract the "hl2.zip" which you moved in step 5.
9.Copy the extracted "sound" folder into the "hl2" folder and the "sound.cache" file into the copied "sound" folder
10.Now use this tutorial to "activate" the new files: http://r3pwn.github.io/sourcemodding.html

1.For Portal: go to to /Steam/steamapps/common/Portal/portal, open portal_sound_vo_german_dir.vpk with the "gcfscape" tool (you have to download it) and copy the "sound" folder of this file in a separate folder on your desktop
2.Now copy the "portal_sound_vo_german.vpk.sound" to your folder on desktop and rename it to "sound.cache"
3.Now compress these both files to a new zip file with the name "portal.zip"
4.Copy the "portal.zip" file to your smartphone
5.Then copy this file to /data/data/com.nvidia.valvesoftware.portal/files/ with a root explorer
6.In this path there should currently be a "portal" folder, duplicate it and rename the old one to "portal.old"
7.Go into the duplicated "portal" folder and remove the "sound" folder and the "sound.cache" file
8.Go back to the /files/ folder and extract the "portal.zip" which you moved in step 5.
9.Copy the extracted "sound" folder into the "portal" folder and the "sound.cache" file into the copied "sound" folder
10.Now use this tutorial to "activate" the new files: http://r3pwn.github.io/sourcemodding.html
Reply to me when you need help.
 
  • Like
Reactions: Neodreamer24

Neodreamer24

Senior Member
Nov 17, 2008
82
4
0
Sorry but i dont find portal or half life 2 data directory, only obb with 2 big files. They are in /android/obb/com.nvidia.valvesoftware.halflife2 but not /data/data...
Could you make a screen capture? Thanks

Edit: sorry, I found it. Tomorrow I will try them. Thanks

Enviado desde mi SM-N9005 usando Tapatalk 2
 
Last edited:

Neodreamer24

Senior Member
Nov 17, 2008
82
4
0
I dont understand Step 10. Which permissions will we change if only change the language and no map mod?
I dont understand 5dn and the *...
Thanks

Enviado desde mi SM-N9005 usando Tapatalk 2
 

thewolf16

Member
Aug 30, 2011
11
6
0
@Neodreamer24

Just follow the steps in the given link. Just type in (in terminal emulator app which you can download in the play store):

su
cd thepathtoyourgamefiles (for example, when you want to mod hl2 then type in: cd /data/data/com.nvidia.valvesoftware.portal/files)
ls -na (with this command you will see a few 5 digit numbers, this 5 digit number which is there the most you will need for the following commands)

Now when the most occurring 5 digit number is for example 10111 then you have to type in:

chown 10111 *
chown 10111 */*
chown 10111 */*/*
and so on (type in everything you see in this link on step 10)... do the same with the chgrp commands.
 

Neodreamer24

Senior Member
Nov 17, 2008
82
4
0
Ok. I tried changing permissions like ole hl2 directory and files but when i started the game it was in english... I tried adding resource directory and Spanish dat and txt for force subtittles and changing in config.cfg file putting 1 on cc subtittles and Spanish language but nothing change... Its like I was never changed nothing... Why it continue in english if I change the files? It must be in Spanish or not sound I think... Isn't it? Thanks

Edit: I did all the chowns but when i go to make chgrp it says me tmp-mksh: chgrp not found

Edit2: its working!i didn't need chgrp... Thanks! I dont understand how valve didn't make it... Its easy...

Enviado desde mi SM-N9005 usando Tapatalk 2
 
Last edited:

matyas69

Senior Member
Jan 19, 2011
138
129
0
Non-Tegra user here, has anyone tried porting over Vampire The Masquerade Bloodlines assets? The full game itself would be unrealistic due to how the scripts work (probably?), but has anyone tried importing maps and models? VTMB uses a super-old version of the Source engine, and I'd assume it's around the same age as the version of Source they ported to Android.

I'd love to try it myself, but I only have a Galaxy S3 and a generic A13 Android tablet, both of which have super finicky results when it comes to running Half-Life 2.
On my way
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone