Important Announcement
Forum has been made read-only. Please click here for more information or here to return to The Spriters Resource.

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)
           
Reply


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
RE: PS2 Sprite/Texture Ripping for 2022 - by SioN - 06-20-2025, 04:10 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)