^ yeah will probably find some crude way to do that, no need to worry about crap like that, enjoy your time off!!!
I have found another "problem" which I am not so sure how to handle. The game title was max 16bytes and when GBC was released they decided to reserve the 16th byte (0x143) to indicate GBC only or compatibility.
Now, some old games do use the full 16bytes name space, for example "Arcade Classics No2" uses this 16byte title:
MILLI/CENTI/PEDE.
RGBFIX when it renames the file_name leaves the 16th byte alone, so making it have the name X results in a "X ....E" title (... are 14 00 hex bytes) , thus the name hash for B/W palette does not check and it reverts to the stock one.
One way is to first force a dummy 16byte name like "1111111111111111" and then force the real "X" one, then all the 15bytes after the X are FFs and B/W palette works.
My question is if this can break something in
classic GB roms, maybe messing with the 16th byte makes some GBC-aware games act up? Because I was thinking in order to be sure to have all the roms have a dummy 16byte name and then the B/W (or whatever palette) name, just to be sure.
Anyone knows this detail?
edit: turns out that RGBFIX fails to alter the 16th byte if it's anything else than FF or the GBC flag. It simply won't change it correctly to either FF or GBC flags... it displays this error: "Color flag conflicts with game title" when you try to force it , the result is wrong

So basically, whatever tool gets find/created it will need to first clear all the 16 bytes that are the game_title in the header (checking if the last one is either 0x80 or 0xC0 and bypass it if it is) and then recalculate both header and global checksum.
I've also done some research on the USER palettes and the GAME palettes in the GBC BIOS. Not all USER palettes have corresponding game palettes in the BIOS to get autoselected, for example RIGHT and DOWN palettes can't be auto-selected with simple game_title header change.
Here is what I found working fine:
LEFT+B palette needs game_title "X"
(that's the BW/palette)UP palette needs game_title "F1RACE"
(that's the brown palette, also nice)Pocketcamera palette needs game_title "POCKETCAMERA"
(it's a nice custom-game palette embedded in the BIOS)DOWN+A palette needs game_title "TETRIS"
RIGHT+A palette needs game_title "MILLI/CENTI/PEDE"
RIGHT+B palette needs game_title "SOLARSTRIKER"
UP+A palette needs game_title "ZELDA"
(this is a close palette to the UP+A one, NOT the exact one)ofcourse one can chose other games titles that work, it's just what I found easier.