32:9 Super-Ultrawide (AR code)
05243494 24070338
For Paper Mario 64 VC NTSC-U
The code properly disables clipping outside of the 4:3 viewport. Aside from the stretched UI and text bubbles the game looks fantastic in super ultrawide.
Credit goes to whoever posted the original aspect ratio memory address on the Dolphin Wiki I couldn't find their name, I just modified it for 32:9.
As a bonus, Paper Mario has some massive overscan borders. Dolphin doesn't support cropping overscan like glN64 does but you can use the following post-processing shader to crop out the black borders.
void main() {
float2 coords = GetCoordinates() - float2(0.5, 0.5);
float2 new_coords = float2(coords.x*3.70/4, coords.y*3.34/4);
float2 sample_coords = new_coords + float2(0.5, 0.5);
SetOutput(SampleLocation(sample_coords));
}
Just save it it as a text .glsl file in the \Dolphin-x64\Sys\Shaders\ directory and load it in the graphics options. I have a per-game config to load it when booting up Paper Mario so I don't have to constantly toggle it on or off.