Users browsing this thread: 5 Guest(s)
Azure Striker Gunvolt 1, 2 and Luminous Avenger IX Sprite Rips
#30
(05-31-2021, 04:13 PM)rufaswan Wrote: @RTB You are right! Blaster Master Zero also uses IRARC/IRLST format, so the script also works. That makes it 5 games now.



However, unlike Gunvolt, most of the sprites in BMZ have an extra 'TLPI' section, and the texture is incorrectly converted. I have no idea how to fix them.

@HellZero Step-by-step on how to use my scripts to rip and reassemble the sprites:

Step 1) Get PHP 7.0+ from its official site. 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. You'll only need "psxtools" folder under "tools/psxtools".

Step 3) Open cmd.exe (windows command line), run this on a IRLST file. Like the BMS before, it will extract and decompress the files to a new folder.

Code:
php.exe  psxtools/pc_gunvolt_irlst-irarc.php  FILE.irlst

Step 4) You'll be interested in the extracted .17 and .7 files. Run this to generate the QUAD and texture file from the attachment on the post before.

Code:
php.exe  psxtools/quad_pc_gunvolt_IOBJ.php  -gv/-gv2/gva/-mgv  FILE.17
-gv  = Azure Striker Gunvolt IDTAG
-gv2 = Azure Striker Gunvolt 2 IDTAG
-gva = Gunvolt Chronicles Luminous Avenger iX IDTAG
-mgv = Mighty Gunvolt IDTAG

NOTE: The script only works for files that has 'IOBJ' string in them.

Step 5) If you want to open with quad player, skip this step. If not, run this to render all assembled sprites as individual frames.

Code:
php.exe  psxtools/quad_render.php  FILE.quad

Step 6) 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

From here, you can make a sprite sheet from the resulted PNG.

You can also refer to the source code to understand how I do it.

Hope that helps!
- Rufas
Really nice the guide, I tried to use it but for some reason it says there is an error, so I couldn't even go to step 4.

"scandir(./LogFiles/WMI/RtBackup,./LogFiles/WMI/RtBackup): Access is Denied. (code: 5) in C:\Windows\System32\psxtools\common.inc on line 701

Warning: scandir(./LogFiles/WMI/RtBackup): failed to open dir: No such file or directory in C:\Windows\System32\psxtools\common.inc on line 701

Warning: scandir(): (errno 2): No such file or directory in C:\Windows\System32\psxtools\common.inc on line 701

Warning: Invalid argument supplied for foreach() in C:\Windows\System32\psxtools\common.inc on line 701"

I really would like to know what is happening, if it is some permission that is missing or something, since I'm new to this kind of stuff, I am sticking with assembling the sprites manually one by one so I really want to make this process faster. About the file missing stuff, I dunno what it is but the actual file is still there in the correct place I guess...
Reply
Thanked by:


Messages In This Thread
RE: Azure Striker Gunvolt 1, 2 and Luminous Avenger IX Sprite Rips - by Hiroshi-Kun - 09-03-2021, 10:46 PM

Forum Jump: