The days of changing each REFF colour value manually are over. (They probably were a while ago but no one told me)
This tool works with any RKRace.breff file, regardless of its file size, as everything is calculated rather than only using static offsets. Just extract one from a Common.szs, run it through the script, and insert the outputted BREFF back into your Common.szs.
driftTool.py RKRace.breff primaryColour secondaryColour
Colours must not include alpha values. This is because Mario Kart Wii uses multiple alpha values throughout its many drift effects, as such, this script keeps the vanilla alpha values. For now, leave hash-tag prefixes out of the hex colours as well, I haven't gotten around to implementing those yet.
- Support bike drifts (blue drift)
- Allow for the "mini-turbo" (engine boost) colours to automatically match the drift (optional for the user)
- Remove colour animations on a few effects
- Support kart drifts (orange drift)
- Support editing Common.szs rather than extracting/replacing RKRace.breff
- Make a GUI