(03-01-2016, 10:42 PM)ted209 Wrote: [ -> ]Along the same lines - can anyone give any tips on rescaling (un-stretching!) 2D HUD elements?
I'd really like to try this for Enthusia (for example). I got as far as finding a few memory addresses that can move HUD elements, which feels like a good starting point. But I need some sort of strategy to make any progress from here.
A couple people have asked how to fix HUDs, so I'll provide a couple examples for reference. This isn't so much a guide, but rather, just a couple things to look out for.
Fixing the size of HUDs is much the same process when fixing for widescreen. You basically search for random values of addresses within the 2000000-21ffffff range, change the value and see what you can find. There isn't really any value in particular to look for, because like adjusting for widescreen, every game is different and has different results. The only thing is if you do manage to fix the HUDs or screen size for one game, if other games use the same engine like games in a series, for example, those games will most likely use the same values (but different addresses).
Here's some games for reference, and their resulting edits.
In Maximo: Ghosts to Glory, the address that controls the screen size actually controls the HUD as well, so both screen size and HUD are fixed with one address (it's been changed to a 00****** address recently)
In Nicktoons: Unite, the address for HUD is separate for screen size, however, the address that controls HUD also controls all the menus, so all the text and the pause menu is proper size (which is awesome)
In Dual Hearts, I was able to find addresses which fix the left HUD(the map and arrow indicator) for both vertical and horizontal size, but for the right HUD all I could find was a zoom. (so only side is fixed, sadly)
Spiderman 2 is a annoying example, in that fixing the HUD size required multiple addresses. Why? Each address only controls a part of a the HUD, like the 4 corners, the shadow behind it, health, etc. Therefore, I had to make sure I found EVERY address for the HUD to ensure everything is proper size. (Think Mario64 with one hand stretching Mario's face)
Crash Bandicoot: Wrath of Cortex is a bizarre example, in that fixing the screen size actually doesn't effect the HUD size at all. So the HUD is proper size, regardless and even all the menus too. So that game is pretty much perfect.
So those are just a couple examples. Like with widescreen, if you find a few memory adresses that control HUD elements, look around that address range and you might find something. You might have to input addresses manually, if you wanna be really sure.
**A final tip would be if you find an address with a value of 0 (zero), DON'T ignore it. For a lot of games 0 (zero) is simply the default value, so changing might actually do something. For example, in Grandia 2 (NTSC-U), the 20401874 address normally has a value of 0, but it actually controls the horizontal position of the FMVs! So changing it a positive number moves it to the right, while changing it to a negative number changes it to the left. (Yes, you can use negative numbers)
Kudos and Good luck!!