Users browsing this thread: 11 Guest(s)
Vanillaware Ripping Project
#35
(07-13-2021, 08:54 AM)leafthelast Wrote: I don't understand "In short"

"pad it" mean add 0x10000 bytes(0x200 * 0x100)? Or adding 8 null bytes to each 8 bytes?

Hi! Sorry for late reply. "Pad it" means add zeroes to the end of pixel buffer, so a 512x256 image can become 512x512. It is line 305 on the source code : https://github.com/rufaswan/Web2D_Games/...n_FTEX.php

Just like Gunvolt, let's just put up a step-by-step tutorial on how to use my scripts:

Step 1) Get PHP 7.0+ from https://windows.php.net/download/ . You'll only need 3 files from the archive, "php.exe", "php7ts.dll", and "php.ini" (renamed from "php.ini-development"). My scripts doesn't need any PHP extensions.

Step 2) Download my GitHub repo https://github.com/rufaswan/Web2D_Games/ . You'll only need "psxtools" folder under "tools/psxtools".


PS2 GrimGrimoire + Odin Sphere

Step 3) Extract "DISC.CVM" from the game ISO. Use a CVM tool to extract its content.

UPDATE : to decrypt and extract the content of DISC.CVM, run
Code:
php.exe  psxtools/ps2_odin_CVMH_decrypt.php  DISC.CVM
php.exe  psxtools/php_isolist.php  DISC.CVM

Step 4) Open cmd.exe , convert all .FTP to standard .RGBA/.CLUT file with
Code:
php.exe  psxtools/ps2_odin_FTEX.php  *.ftp

NDS Kumatanchi
Step 3) Extract all files from the game ISO.

Step 4) Open cmd.exe , convert all .FTX to standard .RGBA/.CLUT file with
Code:
php.exe  psxtools/nds_kuma_FTEX.php  *.ftx

Wii Muramasa
Step 3) Extract all files from the game ISO. Run this to decompress them.
Code:
php.exe  psxtools/wii_mura_FCMP_decode.php  *

Step 4) Open cmd.exe , convert all .FTX to standard .RGBA/.CLUT file with
Code:
php.exe  psxtools/wii_mura_FTEX.php  *.ftx

PSP Grand Knights History
Step 3) Extract all files from the game ISO.

Step 4) Open cmd.exe , convert all .FTX to standard .RGBA/.CLUT file with
Code:
php.exe  psxtools/psp_grand_FTEX.php  *.ftx

VITA Muramasa Rebirth + Odin Sphere Leifthrasir + Dragon Crown
Step 3) Extract all files from the game ISO.

Step 4) Open cmd.exe , convert all .FTX to standard .RGBA/.CLUT file with
Code:
php.exe  psxtools/vita_mura_FTEX.php  *.ftx

PS3 Dragon Crown + Odin Sphere Leifthrasir
Step 3) Extract all files from the game ISO.

Step 4) Open cmd.exe , convert all .FTX to standard .RGBA/.CLUT file with
Code:
php.exe  psxtools/ps3_odin_FTEX.php  *.ftx

PS4 Dragon Crown Pro + Odin Sphere Leifthrasir + 13 Sentinels: Aegis Rim
Step 3) Extract all files from the game ISO with LibOrbisPkg
https://github.com/maxton/LibOrbisPkg

Step 4) Open cmd.exe , convert all .FTX to standard .RGBA/.CLUT file with
Code:
php.exe  psxtools/ps4_13sent_FTEX.php  *.ftx

Step 5) As I do not use any image library, those CLUT and RGBA files are actually raw pixel data. You can convert them into PNG by running:
Code:
php.exe  psxtools/img_clut2png.php  FILE.clut
php.exe  psxtools/img_clut2png.php  FILE.rgba

NOTE : the .tm2/.tpl/.gim/.gxt/.gtf/.gnf from Step 4 are actually decoded CLUT/RGBA , and can also be convert to PNG
Code:
php.exe  psxtools/img_clut2png.php  FILE.tm2
php.exe  psxtools/img_clut2png.php  FILE.tpl
php.exe  psxtools/img_clut2png.php  FILE.gim
php.exe  psxtools/img_clut2png.php  FILE.gxt
php.exe  psxtools/img_clut2png.php  FILE.gtf
php.exe  psxtools/img_clut2png.php  FILE.gnf

Step 6) Since all .MBP/.MBS files are just revisions with added features, they are now merged into one script to make it easier to understand them. It is now convert to .V55 file instead.

.V55 is version 55 used on PS2 Odin Sphere.

Code:
php.exe  psxtools/quad_vanillaware_FMBP_FMBS.php   [game]  *.mbp/*.mbs  

game =
  ps2_grim  2007  PS2   GrimGrimoire
  ps2_odin  2007  PS2   Odin Sphere
  nds_kuma  2008  NDS   Kumatanchi
  wii_mura  2009  Wii   Muramasa - The Demon Blade
  ps3_drag  2013  PS3   Dragon's Crown
  ps3_odin  2016  PS3   Odin Sphere Leifthsar
  ps4_odin  2016  PS4   Odin Sphere Leifthsar
  ps4_drag  2018  PS4   Dragon's Crown Pro
  ps4_sent  2019  PS4   13 Sentinels: Aegis Rim

  psp_gran  2011  PSP   Gran Knights History
  vit_mura  2013  Vita  Muramasa Rebirth + DLC
  vit_drag  2013  Vita  Dragon's Crown
  vit_odin  2016  Vita  Odin Sphere Leifthsar

Step 7) .V55 file can then be convert to .QUAD for Quad Player v0.2.
Code:
php.exe  psxtools/quad_vanillaware_v55.php  FILE.v55

Just like Gunvolt before https://www.vg-resource.com/thread-38568...#pid667970 , you can use tsr_cmdloop.php to loop through all of them. This is the usage command:
Code:
php.exe  psxtools/tsr_cmdloop.php  EXTENSION  "COMMAND"

On estimate, the total file size for this project, in QUAD+PNG pair for Quad Player, is around 3.5 GB. Converting them into PNG spritesheet is expected to be 20x-50x larger, so you'll have about 70 GB - 165.5 GB of stuff to upload.

Hope it helps. Enjoy!
- Rufas
Reply
Thanked by: 3zizuz, tombmonkey, HLI5KY


Messages In This Thread
Vanillaware Ripping Project - by rufaswan - 12-31-2020, 05:28 PM
RE: Vanillaware Ripping Project - by SmithyGCN - 12-31-2020, 06:03 PM
RE: Vanillaware Ripping Project - by rufaswan - 01-09-2021, 06:04 PM
RE: Vanillaware Ripping Project - by Magma MK-II - 01-09-2021, 09:41 PM
RE: Vanillaware Ripping Project - by rufaswan - 01-10-2021, 03:15 PM
RE: Vanillaware Ripping Project - by rufaswan - 01-16-2021, 03:42 PM
RE: Vanillaware Ripping Project - by leafthelast - 07-13-2021, 08:54 AM
RE: Vanillaware Ripping Project - by rufaswan - 07-30-2021, 03:07 PM
RE: Vanillaware Ripping Project - by tombmonkey - 01-20-2021, 12:01 PM
RE: Vanillaware Ripping Project - by rufaswan - 01-20-2021, 08:11 PM
RE: Vanillaware Ripping Project - by tombmonkey - 01-21-2021, 12:46 AM
RE: Vanillaware Ripping Project - by rufaswan - 01-21-2021, 06:33 PM
RE: Vanillaware Ripping Project - by tombmonkey - 01-21-2021, 09:54 PM
RE: Vanillaware Ripping Project - by rufaswan - 01-25-2021, 05:22 PM
RE: Vanillaware Ripping Project - by SmithyGCN - 01-26-2021, 01:34 AM
RE: Vanillaware Ripping Project - by rufaswan - 02-02-2021, 05:52 PM
RE: Vanillaware Ripping Project - by FormerUser12 - 02-09-2021, 05:40 PM
RE: Vanillaware Ripping Project - by rufaswan - 02-09-2021, 08:16 PM
RE: Vanillaware Ripping Project - by SmithyGCN - 02-10-2021, 12:02 AM
RE: Vanillaware Ripping Project - by rufaswan - 02-16-2021, 05:15 PM
RE: Vanillaware Ripping Project - by rufaswan - 02-24-2021, 04:29 PM
RE: Vanillaware Ripping Project - by rufaswan - 03-01-2021, 05:15 PM
RE: Vanillaware Ripping Project - by tombmonkey - 03-01-2021, 05:46 PM
RE: Vanillaware Ripping Project - by rufaswan - 03-16-2021, 07:29 PM
RE: Vanillaware Ripping Project - by FormerUser12 - 03-22-2021, 10:26 AM
RE: Vanillaware Ripping Project - by rufaswan - 03-24-2021, 05:32 PM
RE: Vanillaware Ripping Project - by rufaswan - 04-12-2021, 07:29 PM
RE: Vanillaware Ripping Project - by Raccoon Sam - 04-13-2021, 03:23 PM
RE: Vanillaware Ripping Project - by rufaswan - 04-13-2021, 06:11 PM
RE: Vanillaware Ripping Project - by rufaswan - 04-20-2021, 08:05 PM
RE: Vanillaware Ripping Project - by rufaswan - 04-26-2021, 08:22 PM
RE: Vanillaware Ripping Project - by rufaswan - 05-13-2021, 03:20 PM
RE: Vanillaware Ripping Project - by rufaswan - 05-27-2021, 03:20 PM
RE: Vanillaware Ripping Project - by Erborot - 06-01-2021, 11:58 PM
RE: Vanillaware Ripping Project - by rufaswan - 06-09-2021, 05:32 PM
RE: Vanillaware Ripping Project - by 3zizuz - 09-06-2021, 08:33 AM
RE: Vanillaware Ripping Project - by 3zizuz - 09-06-2021, 02:55 PM
RE: Vanillaware Ripping Project - by rufaswan - 09-07-2021, 03:50 PM
RE: Vanillaware Ripping Project - by 3zizuz - 09-09-2021, 11:36 AM
RE: Vanillaware Ripping Project - by rufaswan - 09-09-2021, 01:55 PM
RE: Vanillaware Ripping Project - by 3zizuz - 09-09-2021, 04:52 PM
RE: Vanillaware Ripping Project - by rufaswan - 09-10-2021, 03:07 PM
RE: Vanillaware Ripping Project - by 3zizuz - 09-10-2021, 04:10 PM
RE: Vanillaware Ripping Project - by rufaswan - 09-11-2021, 12:43 PM
RE: Vanillaware Ripping Project - by 3zizuz - 09-11-2021, 01:48 PM
RE: Vanillaware Ripping Project - by 3zizuz - 09-15-2021, 08:42 AM
RE: Vanillaware Ripping Project - by rufaswan - 09-15-2021, 02:46 PM
RE: Vanillaware Ripping Project - by miru - 10-29-2021, 03:45 PM
RE: Vanillaware Ripping Project - by rufaswan - 10-30-2021, 05:20 PM
RE: Vanillaware Ripping Project - by rufaswan - 11-25-2021, 05:39 PM
RE: Vanillaware Ripping Project - by messusatsu - 12-17-2021, 01:34 PM
RE: Vanillaware Ripping Project - by rufaswan - 12-19-2021, 10:37 PM
RE: Vanillaware Ripping Project - by messusatsu - 12-21-2021, 04:44 PM
RE: Vanillaware Ripping Project - by messusatsu - 12-21-2021, 06:37 PM
RE: Vanillaware Ripping Project - by rufaswan - 12-22-2021, 01:23 AM
RE: Vanillaware Ripping Project - by lilinachan - 03-30-2022, 07:45 PM
RE: Vanillaware Ripping Project - by rufaswan - 05-19-2022, 07:58 PM
RE: Vanillaware Ripping Project - by rufaswan - 12-18-2022, 12:38 AM
RE: Vanillaware Ripping Project - by rufaswan - 05-18-2023, 12:02 PM
RE: Vanillaware Ripping Project - by Sophignon - 06-05-2023, 08:18 PM
RE: Vanillaware Ripping Project - by rufaswan - 06-06-2023, 10:06 AM
RE: Vanillaware Ripping Project - by Sophignon - 06-08-2023, 05:02 AM
RE: Vanillaware Ripping Project - by rufaswan - 06-09-2023, 09:24 AM
RE: Vanillaware Ripping Project - by Xantis - 06-30-2023, 04:49 PM
RE: Vanillaware Ripping Project - by rufaswan - 07-02-2023, 09:03 AM
RE: Vanillaware Ripping Project - by Xantis - 07-02-2023, 12:38 PM
RE: Vanillaware Ripping Project - by HLI5KY - 09-12-2023, 10:20 AM
RE: Vanillaware Ripping Project - by HLI5KY - 09-13-2023, 08:08 AM
RE: Vanillaware Ripping Project - by Rudeus - 09-18-2023, 06:41 AM
RE: Vanillaware Ripping Project - by rufaswan - 09-18-2023, 09:32 AM
RE: Vanillaware Ripping Project - by Rudeus - 09-19-2023, 08:03 AM
RE: Vanillaware Ripping Project - by rufaswan - 09-19-2023, 10:56 AM
RE: Vanillaware Ripping Project - by rufaswan - 10-02-2023, 09:18 AM
RE: Vanillaware Ripping Project - by rufaswan - 11-07-2023, 07:52 AM
RE: Vanillaware Ripping Project - by switchkult - 11-27-2023, 01:52 AM
RE: Vanillaware Ripping Project - by rufaswan - 11-29-2023, 06:07 AM
RE: Vanillaware Ripping Project - by Muramasa - 12-26-2023, 03:33 PM
RE: Vanillaware Ripping Project - by rufaswan - 12-30-2023, 06:43 AM
RE: Vanillaware Ripping Project - by Muramasa - 12-30-2023, 06:22 PM
RE: Vanillaware Ripping Project - by rufaswan - 12-31-2023, 08:02 AM
RE: Vanillaware Ripping Project - by Muramasa - 01-02-2024, 03:15 PM
RE: Vanillaware Ripping Project - by rufaswan - 01-13-2024, 08:58 AM
RE: Vanillaware Ripping Project - by coolPoi - 02-12-2024, 07:41 AM
RE: Vanillaware Ripping Project - by rufaswan - 02-14-2024, 06:03 AM
RE: Vanillaware Ripping Project - by coolPoi - 02-15-2024, 01:20 AM
RE: Vanillaware Ripping Project - by rufaswan - 02-15-2024, 05:37 AM
RE: Vanillaware Ripping Project - by coolPoi - 02-15-2024, 08:38 AM
RE: Vanillaware Ripping Project - by rufaswan - 03-09-2024, 07:57 AM
RE: Vanillaware Ripping Project - by Valarant - 03-20-2024, 10:23 PM
RE: Vanillaware Ripping Project - by rufaswan - 03-21-2024, 06:01 AM
RE: Vanillaware Ripping Project - by Quina - 06-07-2024, 03:25 PM
RE: Vanillaware Ripping Project - by rufaswan - 06-09-2024, 09:24 AM
RE: Vanillaware Ripping Project - by Quina - 06-09-2024, 10:32 AM
RE: Vanillaware Ripping Project - by rufaswan - 04-04-2024, 07:43 AM
RE: Vanillaware Ripping Project - by havoc - 04-15-2024, 04:52 PM
RE: Vanillaware Ripping Project - by rufaswan - 04-17-2024, 08:15 AM
RE: Vanillaware Ripping Project - by havoc - 04-19-2024, 09:00 AM
RE: Vanillaware Ripping Project - by rufaswan - 04-20-2024, 07:03 AM
RE: Vanillaware Ripping Project - by redemon - 04-29-2024, 02:43 AM
RE: Vanillaware Ripping Project - by redemon - 04-29-2024, 11:12 AM

Forum Jump: