More actions
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
|license=MIT | |license=MIT | ||
|download=https://dlhb.gamebrew.org/vitahomebrews/gtactwvita.7z | |download=https://dlhb.gamebrew.org/vitahomebrews/gtactwvita.7z | ||
|website= | |website=https://play.google.com/store/apps/details?id=com.rockstargames.gtactw&hl=en_US&gl=US | ||
|source=https://github.com/TheOfficialFloW/gtactw_vita | |source=https://github.com/TheOfficialFloW/gtactw_vita | ||
}} | }} | ||
GTA: CTW Vita | '''GTA: CTW Vita''' is a port of Grand Theft Auto: Chinatown Wars for PSVITA/PSTV based on the Android version of the game. | ||
==Requirements== | |||
*libshacccg.suprx (use [[ShaRKBR33D Vita|ShaRKBR33D]] to install) | |||
*[[Kubridge Vita|kubridge.skprx]] v.0.3 or higher | |||
*[[Fdfix Vita|fd_fix.skprx]] OR [[Repatch Reloaded Vita|repatch_ex.skprx]] | |||
* Game Data Files: Android | |||
==Description== | |||
This is a wrapper/port of ''Grand Theft Auto: Chinatown Wars Android'' for the PS Vita. The port works by loading the official Android ARMv7 executable in memory, resolving its imports with native functions and patching it in order to properly run. By doing so, it's basically as if we emulate a minimalist Android environment in which we run natively the executable as is. | |||
==Media== | ==Media== | ||
<youtube>pUGz2E0f06g</youtube> | <youtube>pUGz2E0f06g</youtube> | ||
==Screenshots== | ==Screenshots== | ||
Line 30: | Line 38: | ||
https://dlhb.gamebrew.org/vitahomebrews/gtactwvita-03.jpg | https://dlhb.gamebrew.org/vitahomebrews/gtactwvita-03.jpg | ||
https://dlhb.gamebrew.org/vitahomebrews/gtactwvita-04.jpg | https://dlhb.gamebrew.org/vitahomebrews/gtactwvita-04.jpg | ||
== | ==Setup Instructions (For End Users) == | ||
(If you have already installed the game and want to update to a newer release, you can simply install [https://github.com/TheOfficialFloW/gtactw_vita/releases/download/v1.2/GTACTW.vpk GTACTW.vpk] on your ''PS Vita''). | |||
In order to properly install the game, you'll have to follow these steps precisely: | |||
* Install [[Kubridge Vita|kubridge.skprx]] and [[Fdfix Vita|fd_fix.skprx]] by copying <code>kubridge.skprx</code> and <code>fd_fix.skprx</code> to your taiHEN plugins folder (usually <code>ux0:tai</code>) and adding two entries to your <code>config.txt</code> under <code>*KERNEL</code>: | |||
<pre> *KERNEL | |||
ux0:tai/kubridge.skprx | |||
ux0:tai/fd_fix.skprx</pre> | |||
'''Note''' Don't install fd_fix.skprx if you're using repatch plugin | |||
* '''Optional''': Install [[Psvshell Vita|PSVshell]] to overclock your device to 500Mhz. | |||
* Install <code>libshacccg.suprx</code>, if you don't have it already, by following [https://samilops2.gitbook.io/vita-troubleshooting-guide/shader-compiler/extract-libshacccg.suprx this guide]. | |||
* Obtain your copy of ''Grand Theft Auto: Chinatown Wars v1.04'' legally for Android in form of an <code>.apk</code> file and one or more <code>.obb</code> files (usually <code>main.4.com.rockstargames.gtactw.obb</code> located inside the <code>/sdcard/android/obb/com.rockstargames.gtactw/</code>) folder. [https://stackoverflow.com/questions/11012976/how-do-i-get-the-apk-of-an-installed-app-without-root-access You can get all the required files directly from your phone] or by using an apk extractor you can find in the play store. The apk can be extracted with whatever Zip extractor you prefer (eg: WinZip, WinRar, etc...) since apk is basically a zip file. You can rename <code>.apk</code> to <code>.zip</code> to open them with your default zip extractor. | |||
* Open the apk with your zip explorer, extract the <code>assets</code> folder from your <code>.apk</code> file to <code>ux0:data</code> and rename it to <code>gtactw</code>. The result would be <code>ux0:data/gtactw/</code> | |||
* Still in the apk, extract the file <code>libCTW.so</code> from the <code>lib/armeabi-v7a</code> folder to <code>ux0:data/gtactw</code>. | |||
* Open the <code>main.4.com.rockstargames.gtactw.obb</code> with your zip explorer (<code>.obb</code> files are zip files just like <code>.apk</code> files so just rename the <code>.obb</code> to <code>.zip</code>) and extract the contents to <code>ux0:data/gtactw</code>. | |||
* Install [https://github.com/TheOfficialFloW/gtactw_vita/releases/download/v1.2/GTACTW.vpk GTACTW.vpk] on your ''PS Vita''. | |||
== Build Instructions (For Developers) == | |||
In order to build the loader, you'll need a [https://github.com/vitasdk vitasdk] build fully compiled with softfp usage.<br /> | |||
You can find a precompiled version here: [https://github.com/vitasdk/buildscripts/suites/1824103476/artifacts/35161735 Linux] / [https://github.com/vitasdk/buildscripts/suites/1836262288/artifacts/35501612 Windows].<br /> | |||
Additionally, you'll need these libraries to be compiled as well with <code>-mfloat-abi=softfp</code> added to their CFLAGS: | |||
<ul> | |||
<li><p>[http://www.mpg123.de/download/mpg123-1.25.10.tar.bz2 mpg123]</p> | |||
<ul> | |||
<li><p>Apply [https://github.com/vitasdk/packages/blob/master/mpg123/mpg123.patch mpg123.patch] using <code>patch -Np0 -i mpg123.patch</code>.</p></li> | |||
<li> | |||
<pre>autoreconf -fi | |||
CFLAGS="-DPSP2 -mfloat-abi=softfp" ./configure --host=arm-vita-eabi --prefix=$VITASDK/arm-vita-eabi --disable-shared --enable-static --enable-fifo=no --enable-ipv6=no --enable-network=no --enable-int-quality=no --with-cpu=neon --with-default-audio=dummy --with-optimization=3 | |||
make install</pre> | |||
</li></ul> | |||
</li> | |||
<li><p>[https://github.com/isage/openal-soft/tree/vita-1.19.1 openal-soft]</p> | |||
<ul> | |||
<li> | |||
<pre>cd build | |||
cmake -DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS=-mfloat-abi=softfp .. && make install</pre> | |||
</li></ul> | |||
</li> | |||
<li><p>[https://github.com/Rinnegatamante/math-neon libmathneon]</p> | |||
<ul> | |||
<li> | |||
<pre>make install</pre> | |||
</li></ul> | |||
</li> | |||
<li><p>[https://github.com/Rinnegatamante/vitaShaRK vitaShaRK]</p> | |||
<ul> | |||
<li> | |||
<pre>make install</pre> | |||
</li></ul> | |||
</li> | |||
<li><p>[https://github.com/Rinnegatamante/imgui-vita imgui-vita]</p> | |||
<ul> | |||
<li> | |||
<pre>make install</pre> | |||
</li></ul> | |||
</li> | |||
<li><p>[https://github.com/TheOfficialFloW/kubridge kubridge]</p> | |||
<ul> | |||
<li> | |||
<pre>mkdir build && cd build | |||
cmake .. && make install</pre> | |||
</li></ul> | |||
</li> | |||
<li><p>[https://github.com/Rinnegatamante/vitaGL vitaGL]</p> | |||
<ul> | |||
<li> | |||
<pre>make SOFTFP_ABI=1 install</pre> | |||
</li></ul> | |||
</li></ul> | |||
Finally, in the folder of <code>gtactw_vita</code>, install SceLibc stubs using: | |||
<pre>make -C libc_bridge install</pre> | |||
After all these requirements are met, you can compile the loader with the following commands: | |||
<pre>mkdir build && cd build | |||
cmake .. && make</pre> | |||
==Changelog== | |||
'''(v.1.2)''' | |||
* Fixed issue where characters were sometimes invisible during cutscenes. | |||
* Improved performance by updating to latest vitaGL. | |||
'''v1.1''' | |||
*Added support for different languages based on the system settings (French, German, Italian, Spanish and Japanese). | |||
*Reduced memory usage in order to support multitasking with System Applications. | |||
'''(v.1.0)''' | '''(v.1.0)''' | ||
* First Release. | * First Release. | ||
== Credits == | |||
* Rinnegatamante for porting the renderer using vitaGL and making various improvements to the port. | |||
* Freakler for providing LiveArea assets. | |||
* frangarcj, fgsfds and Bythos for graphics-related stuff. | |||
* CBPS/SonicMastr for PIB, which was used on earlier stages of development. | |||
* isage for the native audio backend for OpenAL-Soft. | |||
== External links == | == External links == | ||
* | * Playstore - https://play.google.com/store/apps/details?id=com.rockstargames.gtactw&hl=en_US&gl=US | ||
* Github - https://github.com/TheOfficialFloW/gtactw_vita | * Github - https://github.com/TheOfficialFloW/gtactw_vita | ||
* VitaDB - https:// | * VitaDB - https://vitadb.rinnegatamante.it/#/info/625 | ||
Revision as of 12:44, 25 November 2022
This article may require cleanup to meet GameBrew's quality standards.
Reason: Needs cleanup |
GTA: CTW Vita | |
---|---|
File:Gtactwvita.jpg | |
General | |
Author | TheOfficialFloW |
Type | Action |
Version | 1.2 |
License | MIT License |
Last Updated | 2021/06/04 |
Links | |
Download | |
Website | |
Source | |
GTA: CTW Vita is a port of Grand Theft Auto: Chinatown Wars for PSVITA/PSTV based on the Android version of the game.
Requirements
- libshacccg.suprx (use ShaRKBR33D to install)
- kubridge.skprx v.0.3 or higher
- fd_fix.skprx OR repatch_ex.skprx
- Game Data Files: Android
Description
This is a wrapper/port of Grand Theft Auto: Chinatown Wars Android for the PS Vita. The port works by loading the official Android ARMv7 executable in memory, resolving its imports with native functions and patching it in order to properly run. By doing so, it's basically as if we emulate a minimalist Android environment in which we run natively the executable as is.
Media
Screenshots
Setup Instructions (For End Users)
(If you have already installed the game and want to update to a newer release, you can simply install GTACTW.vpk on your PS Vita).
In order to properly install the game, you'll have to follow these steps precisely:
- Install kubridge.skprx and fd_fix.skprx by copying
kubridge.skprx
andfd_fix.skprx
to your taiHEN plugins folder (usuallyux0:tai
) and adding two entries to yourconfig.txt
under*KERNEL
:
*KERNEL ux0:tai/kubridge.skprx ux0:tai/fd_fix.skprx
Note Don't install fd_fix.skprx if you're using repatch plugin
- Optional: Install PSVshell to overclock your device to 500Mhz.
- Install
libshacccg.suprx
, if you don't have it already, by following this guide. - Obtain your copy of Grand Theft Auto: Chinatown Wars v1.04 legally for Android in form of an
.apk
file and one or more.obb
files (usuallymain.4.com.rockstargames.gtactw.obb
located inside the/sdcard/android/obb/com.rockstargames.gtactw/
) folder. You can get all the required files directly from your phone or by using an apk extractor you can find in the play store. The apk can be extracted with whatever Zip extractor you prefer (eg: WinZip, WinRar, etc...) since apk is basically a zip file. You can rename.apk
to.zip
to open them with your default zip extractor. - Open the apk with your zip explorer, extract the
assets
folder from your.apk
file toux0:data
and rename it togtactw
. The result would beux0:data/gtactw/
- Still in the apk, extract the file
libCTW.so
from thelib/armeabi-v7a
folder toux0:data/gtactw
. - Open the
main.4.com.rockstargames.gtactw.obb
with your zip explorer (.obb
files are zip files just like.apk
files so just rename the.obb
to.zip
) and extract the contents toux0:data/gtactw
. - Install GTACTW.vpk on your PS Vita.
Build Instructions (For Developers)
In order to build the loader, you'll need a vitasdk build fully compiled with softfp usage.
You can find a precompiled version here: Linux / Windows.
Additionally, you'll need these libraries to be compiled as well with -mfloat-abi=softfp
added to their CFLAGS:
-
Apply mpg123.patch using
patch -Np0 -i mpg123.patch
.-
autoreconf -fi CFLAGS="-DPSP2 -mfloat-abi=softfp" ./configure --host=arm-vita-eabi --prefix=$VITASDK/arm-vita-eabi --disable-shared --enable-static --enable-fifo=no --enable-ipv6=no --enable-network=no --enable-int-quality=no --with-cpu=neon --with-default-audio=dummy --with-optimization=3 make install
-
-
cd build cmake -DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS=-mfloat-abi=softfp .. && make install
-
-
-
make install
-
-
-
make install
-
-
-
make install
-
-
-
mkdir build && cd build cmake .. && make install
-
-
-
make SOFTFP_ABI=1 install
-
Finally, in the folder of gtactw_vita
, install SceLibc stubs using:
make -C libc_bridge install
After all these requirements are met, you can compile the loader with the following commands:
mkdir build && cd build cmake .. && make
Changelog
(v.1.2)
- Fixed issue where characters were sometimes invisible during cutscenes.
- Improved performance by updating to latest vitaGL.
v1.1
- Added support for different languages based on the system settings (French, German, Italian, Spanish and Japanese).
- Reduced memory usage in order to support multitasking with System Applications.
(v.1.0)
- First Release.
Credits
- Rinnegatamante for porting the renderer using vitaGL and making various improvements to the port.
- Freakler for providing LiveArea assets.
- frangarcj, fgsfds and Bythos for graphics-related stuff.
- CBPS/SonicMastr for PIB, which was used on earlier stages of development.
- isage for the native audio backend for OpenAL-Soft.