Users browsing this thread: 1 Guest(s)
PS2 Sprite/Texture Ripping for 2022
#3
Oh this is fantastic! There's actually a tool to fix the alpha in a much better way, as your method will actually ruin any alpha channel transparency on non-sharp edged pixelart.

https://github.com/PCSX2/pcsx2/blob/mast..._scaler.py

- Save this script as "texture_dump_alpha_scaler.py".
- Install Python 3.10
- Open command prompt, type "pip install pillow"
- create a file containing "python texture_dump_alpha_scaler.py scale [PATH-TO-TEXTURE-DUMP-FOLDER]" and replace [USERNAME] and [PATH-TO-TEXTURE-DUMP-FOLDER] with the folder you want to fix the files for and save it as "Texture Fix.bat"
- Throw it in the same folder as the texture_dump_alpha_scaler.py file
- Run the batch file, all your images should have their transparency fixed.

Let me know if I need to update these instructions for future folk, but that should be all you need to do.


Attached Files Thumbnail(s)
           
Tsunami Bomb - The Simple Truth
We could run away
Leave behind anything paper
Not knowing where we're going to stay
When there's no Mondays

You're part of me, it's so easy to see the simple truth
When I'm in your arms, I feel safe from harm and sorrow too
You're part of me, it's so easy to see the simple truth
But most of all, nothing couldn't be solved when I'm with you
Reply
Thanked by: Raccoon Sam, SteamyJ


Messages In This Thread
PS2 Sprite/Texture Ripping for 2022 - by SteamyJ - 06-23-2022, 07:55 PM
RE: PS2 Sprite/Texture Ripping for 2022 - by Dazz - 06-29-2022, 10:27 AM

Forum Jump: