Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

GTA CTW Vita: Difference between revisions

From GameBrew
No edit summary
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#seo:
|title=Vita Homebrew Games (Action) - GameBrew!
|title_mode=append
|image=gtactwvita.jpg
|image_alt=GTA: CTW Vita
}}
{{Infobox Vita Homebrews
{{Infobox Vita Homebrews
|title=GTA: CTW Vita
|title=GTA: CTW Vita
|image=gtactwvita.jpg
|image=gtactwvita2.png
|description=GTA: CTW Vita
|description=Port of Grand Theft Auto: Chinatown Wars Android version to the PS Vita.
|author=TheOfficialFloW
|author=TheFloW, Rinnegatamante
|lastupdated=2021/06/04
|lastupdated=2021/06/04
|type=Action
|type=Action
|version=1.2
|version=1.2
|license=MIT
|license=MIT
|download=https://dlhb.gamebrew.org/vitahomebrews/gtactwvita.7z
|download=https://dlhb.gamebrew.org/vitahomebrews/gtactwvita.7z?k33p0fil35
|website=https://play.google.com/store/apps/details?id=com.rockstargames.gtactw&hl=en_US&gl=US
|website=https://vitadb.rinnegatamante.it/#/info/625
|source=https://github.com/TheOfficialFloW/gtactw_vita
|source=https://github.com/TheOfficialFloW/gtactw_vita
|donation=[https://www.patreon.com/TheOfficialFloW], [https://www.patreon.com/Rinnegatamante]
}}
{{#seo:
|title=Vita Homebrew Games (Action) - GameBrew
|title_mode=append
|image=gtactwvita2.png
|image_alt=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.
This is a wrapper/port of Grand Theft Auto: Chinatown Wars Android for the PS Vita.  
 
==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==
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.  
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==
By doing so, it's basically as if we emulate a minimalist Android environment in which we run natively the executable as is.
<youtube>pUGz2E0f06g</youtube>


==Screenshots==
==Installation==
https://dlhb.gamebrew.org/vitahomebrews/gtactwvita-01.jpg
Requirements:
https://dlhb.gamebrew.org/vitahomebrews/gtactwvita-02.jpg
* libshacccg.suprx.
https://dlhb.gamebrew.org/vitahomebrews/gtactwvita-03.jpg
* kubridge.skprx.
https://dlhb.gamebrew.org/vitahomebrews/gtactwvita-04.jpg
* fd_fix.skprx OR repatch_ex.skprx.
* Game Data Files: Android.


==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).
(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 the required plugins:
* Install [[Kubridge Vita|kubridge]] and [[FdFix Vita|FdFix]] by copying kubridge.skprx and fd_fix.skprx to your taiHEN plugins folder and adding two entries to your config.txt under *KERNEL (change accordingly if you are using ur0:tai):
*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 Vita|PSVshell]] to overclock your device to 500Mhz.
* Install libshacccg.suprx, if you don't have it already, by following [https://samilops2.gitbook.io/vita-troubleshooting-guide/shader-compiler/extract-libshacccg.suprx this guide].


* 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>:
Adding the game data file:
*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 (usually main.4.com.rockstargames.gtactw.obb located inside the /sdcard/android/obb/com.rockstargames.gtactw/) 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 .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 to ux0:data and rename it to gtactw. The result would be ux0:data/gtactw.
*Still in the apk, extract the file libCTW.so from the lib/armeabi-v7a folder to ux0: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 to ux0:data/gtactw.


<pre>  *KERNEL
Finally, install GTACTW.vpk on your PS Vita.
  ux0:tai/kubridge.skprx
  ux0:tai/fd_fix.skprx</pre>


'''Note''' Don't install fd_fix.skprx if you're using repatch plugin
==Screenshots==
 
https://dlhb.gamebrew.org/vitahomebrews/gtactwvita3.png
* '''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=&quot;-DPSP2 -mfloat-abi=softfp&quot; ./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 .. &amp;&amp; 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 &amp;&amp; cd build
cmake .. &amp;&amp; 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 &amp;&amp; cd build
cmake .. &amp;&amp; make</pre>


==Changelog==
==Changelog==
'''(v.1.2)'''
'''v1.2'''
* Fixed issue where characters were sometimes invisible during cutscenes.
* Fixed issue where characters were sometimes invisible during cutscenes.
* Improved performance by updating to latest vitaGL.
* Improved performance by updating to latest vitaGL.
Line 140: Line 63:
*Reduced memory usage in order to support multitasking with System Applications.
*Reduced memory usage in order to support multitasking with System Applications.


'''(v.1.0)'''
'''v1.0'''
* First Release.
* First Release.


== Credits ==
==Credits==
* Rinnegatamante for porting the renderer using vitaGL and making various improvements to the port.
* Rinnegatamante for porting the renderer using vitaGL and making various improvements to the port.
* Freakler for providing LiveArea assets.
* Freakler for providing LiveArea assets.
Line 150: Line 73:
* isage for the native audio backend for OpenAL-Soft.
* 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.rinnegatamante.it/#/info/625
* VitaDB - https://vitadb.rinnegatamante.it/#/info/625
* PSX-Place - https://www.psx-place.com/threads/update-1-1-grand-theft-auto-chinatown-wars-gta-ctw-vita-port-by-theflow0-rinnegatamante.33283/#post-286113
[[Category:Mobile game ports on Vita]]
[[Category:Vita game ports]]

Latest revision as of 05:34, 26 October 2024

GTA: CTW Vita
Gtactwvita2.png
General
AuthorTheFloW, Rinnegatamante
TypeAction
Version1.2
LicenseMIT License
Last Updated2021/06/04
Links
Download
Website
Source
[[1], [2] Support Author]

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.

Installation

Requirements:

  • libshacccg.suprx.
  • kubridge.skprx.
  • fd_fix.skprx OR repatch_ex.skprx.
  • Game Data Files: Android.

(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).

Install the required plugins:

  • Install kubridge and FdFix by copying kubridge.skprx and fd_fix.skprx to your taiHEN plugins folder and adding two entries to your config.txt under *KERNEL (change accordingly if you are using ur0:tai):
*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.

Adding the game data file:

  • 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 (usually main.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 to ux0:data and rename it to gtactw. The result would be ux0:data/gtactw.
  • Still in the apk, extract the file libCTW.so from the lib/armeabi-v7a folder to ux0: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 to ux0:data/gtactw.

Finally, install GTACTW.vpk on your PS Vita.

Screenshots

gtactwvita3.png

Changelog

v1.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.

v1.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.

External links

Advertising: