Couldn't handle playing USUM with the ghosting outside. Spent a few days in ida and ghidra (couldnt get ghidra debugging to work w citra, but ctr_loader is a must have), found a code that removes the ghosting without affecting the rest of the bloom. Thanks to Moonling for the inspiration and knowledge this may be possible, their fix in FE fates was my catalyst to dive in. I also have the "no outlines" cheat in the image, they stack really well together, custom textures should be the cherry on top.
If anyone wants to do this on other games, this is highly related to the bloom pipeline. For USUM, the ROM has some symbols left in for the main code, editing the AlphaMaskTexture from the bloom pipeline or the bloom SetDrawEnvNode either forced the ghosting to maximum or removed it and blew up the rest of the shader. Lucky for us, the ghosting was only called on the outside pass, which makes debugging much easier. Spent awhile going thru bloom memory references, surrounding calls to the bloom pipeline, getting lost of the DoF pipeline, etc etc etc. Finally got lucky and this call to part of the bloom shader pipeline was the culprit.
If you find any issues lmk, i haven't played thru fully yet but its stable going between inside moms house, outside running, battles, etc. Patch is in .code and not any RO, so this should be pretty stable throughout the game.
Currently only porting to USA copies v1.2 for both games, and UM 1.0 as its the original I decompiled to find this. The function signature is ~trivial to look up if you own a copy of the other games, it was the same for UM 1.0->1.2 and US->UM, likely the same in the other versions just different offset like usual. Search for 0c0090e5000050e3000000a009ffffea (in ida add spaces between bytes) and there should be a single reference, patch the BEQ to B (gateway code EA000000) and you should be good.
[UM 1.0 USA No Ghosting]
0042DA50 EA000000
[UM 1.2 USA No Ghosting]
0042F340 EA000000
[US 1.2 USA No Ghosting]
0042F33C EA000000
[UM 1.0 USA No Ghosting v2]
0042D6E0 EA000032
0042BB8C 00000000
Last edited by gking53,












