Mobile Incorrect Screen Size

Your Terraria Device
iPhone 12 Pro
Mobile OS
iOS 14.5
Hello. So, while playing terraria on my iPhone XR, it was… well, terraria. Once I switched over to my new iPhone 12 Pro though, I noticed a difference. Whenever I enable the FPS counter, it is partly hidden under the bottom of the screen, and the buttons are slightly clipping more off the bottom of the screen as well. The XR played terraria on both iOS 14.2 and then later 14.5. I wish I could provide a screenshot of it working correctly on my XR, but I don’t have access to it right now :( (I MAY be able to provide a screenshot at a later date, but I wouldn’t count on it). As for a possible reason, I may have actually stumbled upon not only the reason but a potential fix. So I went into the config file, and the screen size is listed as a width of 1340 and a height of 618. Now, the iPhone 12 Pro resolution, in landscape, is a width of 2,532, and a height of 1,170. Now, if we multiply 1340 by 1.89, we get 2532.6, but if we multiply 618 by 1.89, we get 1168.02! Now, ignoring the decimal places for simplicity, I think the issue is that when you multiply 1340 and 618 by a certain number, they should match the device’s resolution that you are playing on, but when you multiply them by 1.89 for an iPhone 12 Pro, the width is correct at 2532, but the height is incorrect (lines up with the bug too). Now, you may notice that the product is UNDER what it should be, meaning that there should instead be a black bar instead of clipping, right? Well, I only used that example to showcase that I believe the values have incorrect ratios. Now, what I believe the screen values should be multiplied by is 1.9, as it results in 2546 for the width (instead of 2532), and the height is 1174.4 instead of 1170. While I didn’t notice this before, this is actually reflected in the safe zone customization menu, as you can see that the right side and bottom side lines are actually clipping off the screen, indicating that the values are incorrectly set. Now, this is all my best guess. I might be completely wrong on all of this, and if I am, I would like to know so I don’t go forth with incorrect information in my head. The enclosed screenshots should showcase both the FPS counter clipping as well as the safe zone lines clipping. I hope I help.


P.S. I reinstalled terraria on this device by copying over the files from my XR after installing it from the App Store. Even if this is an issue from me doing that, I still think it could be worth having the game check the device you’re playing on and setting the correct screen size, as when people change devices, several will copy their entire terraria folder, causing this issue. (and iCloud may do the same I believe).
 

Attachments

  • F7352DEC-4654-4E56-8303-3976B2CB3C50.png
    F7352DEC-4654-4E56-8303-3976B2CB3C50.png
    2.6 MB · Views: 84
  • A2CF4356-7388-4759-8599-347638FD404D.png
    A2CF4356-7388-4759-8599-347638FD404D.png
    607.6 KB · Views: 94
Ok, VERY interestingly, briefly after posting this, I opened the files app again to close out of the config file, and briefly the file said the width was 2000 something, and the height was either close to or above 1000. I tried to recreate it by going into the settings and changing the safe zones and rebooting etc and whatnot, but I can’t seem to recreate it. I don’t know if it had any apparent affects, as when I opened the game it was back to what it had been, but I thought I should mention it, as it’s very weird. Also I deleted the config file so the game recreated it, and the issue persisted, possibly confirming that it wasn’t an issue caused by me copying the config file from my iPhone XR, though oddly, when I opened the controls menu to set my safe zone back, the bottom outline wasn’t clipping, but the right one clipped off the screen! You can see it in one of the enclosed screenshots. I then changed the safe zone to my preferred one and hit save, then when I opened it again, the old clipping of the outlines had returned, and when I hit discard and entered my world, the clipping of the buttons and FPS meter was exactly as it was previously. (The second screenshot is what the menu looked like after I checked the safe zones after I set it to my liking, I don’t think that’s very useful as it’s a near copy of one of the first screenshots I sent, but I still thought I’d send it).
 

Attachments

  • 1D78239B-5360-427C-A004-03C29D744356.png
    1D78239B-5360-427C-A004-03C29D744356.png
    543.4 KB · Views: 93
  • B02C292F-9681-4B31-9B21-E2EE96015BA0.png
    B02C292F-9681-4B31-9B21-E2EE96015BA0.png
    608.4 KB · Views: 77
Back
Top Bottom