Hacking Homebrew Color palette fix for VC RPX NES using FirebrandX Composite Direct

  • Thread starter Thread starter luckcapsule128
  • Start date Start date
  • Views Views 1,077
  • Replies Replies 7
  • Likes Likes 6

luckcapsule128

Well-Known Member
Newcomer
Joined
Jul 6, 2021
Messages
47
Reaction score
16
Trophies
0
Age
41
XP
325
Country
United States
I made a small tool that finds the color mapping for a NES RPX and replaces it with FireBrandX's composite direct palette. By default, the colors are really dark and kinda drab.

You'll need a decompressed RPX.

before:
6Iz4Aet.png



after:
BicJcuA.png



Repo:
https://github.com/luckcapsule128/RPXColor

To do it yourself, search for hex string in the RPX:
4A4A4AFF00006AFF080062FF29005AFF41004AFF4A0000FF410000FF291000FF182900FF003110FF003100FF002910FF002041FF000000FF000000FF000000FF737373FF003183FF3100ACFF4A0094FF62007BFF6A0039FF6A2000FF5A3100FF414A00FF185A00FF105A00FF005A31FF004A5AFF101010FF000000FF000000FFACACACFF4A73B4FF625AD5FF8352E6FFA452ACFFAC4A83FFB4624AFF947331FF7B7329FF5A8300FF398B31FF318B5AFF398B8BFF393939FF000000FF000000FFB4B4B4FF8B9CB4FF8B8BACFF9C8BBDFFA483BDFFAC8B9CFFAC948BFF9C8B7BFF9C9C73FF94A47BFF83A47BFF7B9C83FF73948BFF8B8B8BFF000000FF000000FF

and replace it however you like using RGBA8 color format.

Big Thanks:
@SunkenSkunk (https://gbatemp.net/threads/possible-to-disable-the-wiis-de-flicker-filter.477163/post-9513875)
FireBrandX
Cemu team
 

Attachments

Literally just made an account to say thank you so much! Actually been up for hours looking for exactly what you've done here.
 
First of all, I have to say, great work. Is there perhaps a solution for SNES? Or maybe there is a possibility for widescreen?
 
Hey, thanks for the tool! So, I'm trying to apply the patch to the .rpx file of Kirby's Adventure, and it finds the original palette hex string and replaces it with the new one. I compress the file again and put it in the code folder of the emulator, but when I load the game, it still uses the same dark palette, and I'm not sure what's going on...

Update: So, I realized that my save data was somehow resetting the color pallete back to the dark one, and after reseting the save data, it works!
 
Last edited by Memes1921,
Hey, thanks for the tool! So, I'm trying to apply the patch to the .rpx file of Kirby's Adventure, and it finds the original palette hex string and replaces it with the new one. I compress the file again and put it in the code folder of the emulator, but when I load the game, it still uses the same dark palette, and I'm not sure what's going on...

Update: So, I realized that my save data was somehow resetting the color pallete back to the dark one, and after reseting the save data, it works!

I'm glad you were able to figure it out! I wouldn't have thought an existing save would affect the palette--so this is good info.

Was it an emulator "save state" or actual in-game save?
 
Last edited by luckcapsule128,
I'm glad you were able to figure it out! I wouldn't have thought an existing save would affect the palette--so this is good info.

Was it an emulator "save state" or actual in-game save?
Strangely, neither. I deleted both the .ves (NES Save), .vea (Suspend Point), and even the .cfg (Controller Configuration), but it didn't do anything (by the way, I didn't got any save states on my game, so there wasn't an .rsp file in it or not sure what the file looks like for NES games). Deleting the save through either the Wii U System Settings (or just deleting the meta and user folders trough an FTP server) did the trick. I assume it has something to do with the meta file of the save data, but that just doesn't make sense.

I tried it with both Kirby's Adventure and Wario's Woods btw.
 
That is really pretty cool! I do not want to take any merit from you for making this tool, but if the tool could take arguments to change which palette to inject that would be pretty awesome. Nice work!
 
That is really pretty cool! I do not want to take any merit from you for making this tool, but if the tool could take arguments to change which palette to inject that would be pretty awesome. Nice work!

Thank you! If you're familiar with UWUVCI, my buddy has his own fork that includes exactly that. He used the hex that I located and he spun it into the tool. Check out @ZestyTS uwuvci build.
 
Last edited by luckcapsule128,

Site & Scene News

Popular threads in this forum