Palette Swapping

Post Reply
Mega Shocked
Posts: 2
Joined: Fri Mar 15, 2024 4:32 pm

Palette Swapping

Post by Mega Shocked » Tue Mar 26, 2024 3:18 pm

I'm curious if devkitpro offers the ability to do palette swapping?

.t3s files are setup like this...

Code: Select all

--atlas -f rgba5551 -z auto
And each .png image is indexed with the exact same colour order.

Is it possible to do palette swaps?

EX: I have 4 main characters but they each have a unique colour palette...

The option I am using is I have 4 .t3s files each atlas of frames is identical with the exception of the palette information.
Is it possible to have 1 .t3s and set and set the palette?

In a scenario like "player select" all 4 players are visible at the same time.

WinterMute
Site Admin
Posts: 1859
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Palette Swapping

Post by WinterMute » Sat Mar 30, 2024 1:43 pm

Mega Shocked wrote: Tue Mar 26, 2024 3:18 pm I'm curious if devkitpro offers the ability to do palette swapping?
devkitPro is the organisation maintaining the tools and libraries. We provide devkitARM which allows you to compile code for the 3DS as well as libctru, citro3d, citro2d and many precompiled open source libraries as "portlibs" via pacman. Sorry to be a pain - it's just frustrating to have people continually talk about devkitPro as if we're software and it would be nice if there was more understanding of what it is we do.
Is it possible to do palette swaps?
Unfortunately the Pica has no paletted texture format so no. What you're already doing is the simplest and most straightforward way to get the result you want.
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests