Skip to content

Instantly share code, notes, and snippets.

@emoose
Last active July 5, 2024 23:37
Show Gist options
  • Save emoose/93a81ff4944933cafe64160a91f2acbe to your computer and use it in GitHub Desktop.
Save emoose/93a81ff4944933cafe64160a91f2acbe to your computer and use it in GitHub Desktop.
Xenoblade Chronicles 2 1080p/1440p resolution patch for Yuzu

E: ah darn, seems this does cause some minor issues with certain things in game (namely map & cutscene effects), thanks to theboy181 for letting me know, who has tried making a res patch for it in the past, sadly seems it would take a lot of work to fix all the shaders etc - too bad, since as the comparison below shows, letting game scale itself does fix a lot of graphics issues :(

If you aren't bothered by those minor issues this still might be useful for some people though, who want the game to look its best, so I've left it up here.


So yuzu's resolution scaler is pretty awesome, but sadly XC2 has some issues with it causing weird lines to appear pretty often, decided to try looking into the game exe to see if a patch could be made to change resolution there instead, luckily wasn't too hard to find where it was setup, and with that changed the game seems to scale up fine without any weird artifacts :)

Comparison between yuzu 2x scale (left side) & patched game: https://imgsli.com/ODg0MTk

Patch download (for 0100E95004038000 v2.0.2), extract into %AppData%\yuzu\load\ folder: https://github.com/emoose/emoose/files/7803097/XC2.1080p.1440p.yuzu.patch.zip

ZIP includes 1080p/1440p/2160p patches, make sure to only enable 1 of these. (sadly I don't think the 2160p patch works though, but could just be something to do with my system maybe, if you run 2160p already maybe worth a try)

Make sure to set yuzu to use 1x scale when using this patch, also haven't really tested this much yet so it's possible some parts of the game don't like resolution being changed like this, if you notice anything broken please let me know.

(there were around 6 different spots making use of 1280x720 in the game exe, eventually sifted through them to find the one that actually had an effect, but maybe some of those other spots should have been changed too...)

Unfortunately 2160p seems to be causing a game crash in some memory related function, maybe not enough system memory for game to create everything at 2160p or something, not sure... hopefully future improvements to yuzu's scaler will make it so game patches like this aren't needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment