Skip to content

Porting your Source Mods without using leaked code. [WARNING: IN BETA!!!]

License

Notifications You must be signed in to change notification settings

Chaotic-Tech/source4android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Source4android

Caution

Please do not use this as its not complete yet, please proceed with caution. (Some leaked code will be used in future updates, but not entirely.)

Source4Android is an open-source, base mod for Half-Life 2 which allows players to port their mods to Android and Android-based systems without using any leaked code.

How to build.

Firstly, you will need to install build dependencies[1], here are the required packages.

  • If you're on Arch Linux or any pacman-based run
sudo pacman -S base-devel gcc dpkg
  • If you're on Debian or any APT-Based distro run
sudo apt-get install gcc-multilib g++-multilib # For x86_64
sudo apt-get install build-essential # For x86/i386

Download the Steam Client Runtime and copy the files from this repo to there.
Now you will need to run the buildandroid.sh file located in src/ directory.

cd source4android/src/
./buildandroid.sh

Now build the makefile

make -f [MAKEFILE].mak

Mods using Source4Android

Troubleshooting

if you get this output:

creating: source4android-main/src/thirdparty/libiconv-1.15/m4/
  inflating: source4android-main/src/thirdparty/libiconv-1.15/m4/cp.m4
  inflating: source4android-main/src/thirdparty/libiconv-1.15/m4/eilseq.m4
  inflating: source4android-main/src/thirdparty/libiconv-1.15/m4/endian.m4
  inflating: source4android-main/src/thirdparty/libiconv-1.15/m4/general.m4
  inflating: source4android-main/src/thirdparty/libiconv-1.15/m4/libtool.m4
source4android-main/src/thirdparty/libiconv-1.15/m4/libtool.m4:  write error (disk full?).  Continue? (y/n/^C)

then you do not have enough diskspace. Clear some storage Guide for Debian., Guide for other distro's

Credits

  • GuestSneezeOSDev: Created most of the stuff used in the mod such as the build scripts
  • nillerusr: The touch support was used from his repository which uses leaked code so I will not be able to link it.
  • Valve: Source SDK 2013 base code.
  • XutaxKamay: For the swept ray box fixes.
  • sortie: Linux ports of VRAD, VVIS, and VBSP.

About

Porting your Source Mods without using leaked code. [WARNING: IN BETA!!!]

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •