mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-23 02:15:55 +01:00
2.2 KiB
2.2 KiB
PlayStation Vita port
Prerequisites
- Make sure your PSVita is set up to run homebrew applications.
- Install kubridge by copying
kubridge.suprx
to your taiHEN plugins folder (usuallyux0:/tai
) and add it to yourconfig.txt
, for example:*KERNEL ux0:tai/kubridge.skprx
- Install
libshacccg.suprx
by following this guide.
Installation
- If you have an old vitaXash3D install, remove it.
- Get
xash3d-fwgs-psvita.7z
from the latest automatic build. - Install
xash.vpk
from the 7z archive onto your PSVita. - Copy the
data
directory from the 7z archive to the root of your PSVita's SD card. - Copy the valve folder and any other mod folders from your Half-Life install to
ux0:/data/xash3d/
(you can use other mountpoints instead ofux0
). Do not overwrite anything.
Build instructions
- Install VitaSDK.
- Build and install vitaGL:
git clone https://github.com/Rinnegatamante/vitaGL.git make -C vitaGL NO_TEX_COMBINER=1 HAVE_UNFLIPPED_FBOS=1 HAVE_PTHREAD=1 SINGLE_THREADED_GC=1 MATH_SPEEDHACK=1 DRAW_SPEEDHACK=1 HAVE_CUSTOM_HEAP=1 -j2 install
- Build and install vita-rtld:
git clone https://github.com/fgsfdsfgs/vita-rtld.git && cd vita-rtld mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=Release .. make -j2 install
- Build and install this SDL2 fork with vitaGL integration:
git clone https://github.com/Northfear/SDL.git && cd SDL mkdir build && cd build cmake -DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=Release -DVIDEO_VITA_VGL=ON .. make -j2 install
- Use
waf
:./waf configure -T release --psvita ./waf build
- Copy all the resulting
.so
files into a single folder:./waf install --destdir=xash3d
xash.vpk
is located inbuild/engine/
.