fayaz12g / totk-aar

Any Aspect Ratio for Tears of the Kingdom! A tool to generate custom settings to make the game look great on any display!
109 stars 5 forks source link

Updates to TOTK-Ultrawide #54

Closed Fruithapje21 closed 1 year ago

Fruithapje21 commented 1 year ago

I spend the day working on creating new fixes and cleaning up the code and managed to make quite some progress. Most notably might be the romfs script refactor to a version I used for debugging which makes adding changes much easier. I also updated the 16:10 script to work with any aspect ratio below 16:9. I also decided to do the proper math for once so there are no more hacky formulas for positioning shifted UI elements. This also made it possible to create a proper corner HUD for ultrawide. You may want to have look at the new source code.

fayaz12g commented 1 year ago

Oh awesome thank you for letting me know, I’ll take a look at it. Doing the actual math was on my todo list, as I allow aspect ratios below 16:9 on my tool but the corner hud toggle just uses the 16:10 shifting, so that’s a great change.

Edit: I just took a look at the changes and it looks awesome, you’re right it’s so much easier now that it does the conversion from pane name (and translation if relevant) to hex, it’s actually really funny because now that I’ve finally learnt how to translate panes to the hex I was going to do something similar but you did great. Were there any other changes/additions?

fayaz12g commented 1 year ago

Updates merged in 8.2.0