Skip to content

xdanieldzd/GXTConvert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GXTConvert

GXTConvert is a somewhat rudimentary converter for GXT-format textures used by games for the PlayStation Vita. It is written in C# and based on the .NET Framework.

Maintenance Note

GXTConvert is currently only receiving limited maintenance. Please see the Scarlet project for a more generic set of libraries and a sample converter application to convert various game or console image formats to PNG, including GXT.

Requirements

  • General
  • .NET Framework 4
  • Compilation
  • Visual Studio Community 2013 (or higher)
  • Usage
  • Compatible files to convert

Usage

Syntax: GXTConvert.exe <inputs ...> [options]

  • <inputs ...>: Any number of files or directories to be converted, separated by spaces
  • [options]:
  • --output | -o: Specify output directory
  • --keep | -k: Do not overwrite existing output files

Example: GXTConvert.exe "C:\Temp\GXT\files\" "C:\Temp\GXT\testfile.gxt" --output "C:\Temp\GXT\output\"

Games

Games known to use the GXT format include:

  • Danganronpa: Trigger Happy Havoc (*.gxt) (1)
  • Danganronpa 2: Goodbye Despair (*.gxt) (1)
  • Danganronpa Another Episode: Ultra Despair Girls (*.btx) (1)
  • Digimon Story: Cyber Sleuth (*.pvr)
  • Dragon's Crown (2)
  • Gravity Rush (*.gxt)
  • IA/VT Colorful (*.gxt; *.mxt) (3)
  • Muramasa Rebirth (2)
  • Sword Art Online: Hollow Fragment (no extension) (4)
  • Senran Kagura: Shinovi Versus (*.gxt)
  • Soul Sacrifice Delta (*.gxt) (5)
  • Toro's Friend Network (*.gxt)
  • Steins;Gate (*.gxt)

(1) Require dr_dec decompression script by BlackDragonHunt for most files; some .btx files are not GXT
(2) Packed in *.ftx containers
(3) Packed in archive.pk container; requires QuickBMS script by chrrox to unpack
(4) Packed in OFS3 containers; requires QuickBMS script to unpack
(5) Packed in containers; requires QuickBMS script by chrrox to unpack

Acknowledgements

  • PVRTC texture decompression code ported from PowerVR Graphics Native SDK, Copyright (c) Imagination Technologies Ltd.
  • For details, see \GXTConvert\Compression\PVRTC.cs and LICENSE.md
  • Texture swizzle logic reverse-engineering and original C implementation by FireyFly
  • Testing and moral support by Ehm2k