mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
2.5 KiB
2.5 KiB
PlayStation Vita port
Prerequisites
-
Make sure your PSVita is set up to run homebrew applications.
-
Install kubridge. It is recommended to use kubridge version
0.1, because other versions aren't tested, we don't know are they suitable or not.Worth to notice, we got reports that automatic plugins management app EasyPlugin have issues with installing kubridge plugin, so it's better to install it manually: by copying
kubridge.suprxto your taiHEN plugins folder (usuallyux0:/tai, but could beur0:/tai) and add it to yourconfig.txt, for example:*KERNEL ux0:tai/kubridge.skprx -
Install
libshacccg.suprxby following this guide.
Installation
- If you have an old vitaXash3D install, remove it.
- Get
xash3d-fwgs-psvita.7zfrom the latest automatic build. - Install
xash.vpkfrom the 7z archive onto your PSVita. - Copy the
datadirectory 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
.sofiles into a single folder:./waf install --destdir=xash3d xash.vpkis located inbuild/engine/.