I’m working on a top down shooter for the android platform that is set up using a orthographic camera and its played in portrait. Ive been using a S4 and Nexus10 for testing. But I can’t get my Nexus 10 to play my game in full resolution. I have a main game BP that most of the game logic is handled in, which gets the screen size from the controller at start. I have print screens to tell me the initial size and natively the nexus 10 gets a Screen size X = 664 no matter what i try.
Nexus 10 log when initializing:
08-31 22:01:25.950: D/UE4(3901): [2014.09.01-02.01.25:957] 0]LogAndroid: Default profile:Android GPUFamily:Mali-T604
08-31 22:01:25.950: D/UE4(3901): [2014.09.01-02.01.25:958] 0]LogAndroid: Default profile:Android GPUFamily:Mali-T604
08-31 22:01:25.950: D/UE4(3901): [2014.09.01-02.01.25:958] 0]LogAndroid: Selected Device Profile: [Android]
08-31 22:01:25.950: D/UE4(3901): [2014.09.01-02.01.25:958] 0]LogAndroid: Selected Device Profile: [Android]
08-31 22:01:25.950: D/UE4(3901): [2014.09.01-02.01.25:958] 0]LogInit: Applying CVar settings loaded from the selected device profile: [Android]
08-31 22:01:25.950: D/UE4(3901): [2014.09.01-02.01.25:958] 0]LogInit: Applying CVar settings loaded from the selected device profile: [Android]
08-31 22:01:25.950: D/UE4(3901): [2014.09.01-02.01.25:958] 0]LogInit: Setting Device Profile CVar: [r.MobileContentScaleFactor:1]]
08-31 22:01:25.950: D/UE4(3901): [2014.09.01-02.01.25:958] 0]LogInit: Setting Device Profile CVar: [r.MobileContentScaleFactor:1]]
The only setting that changes the log is changing the Default base [Android] Device profile and even at that when I change MobileContentScaleFactor to 2, it will show up as 2 in the log but not actually effect the screen size. I have tried adding numerous other profiles through the editor and through project/config/DefaultDeviceProfile.ini but none of them get associated with the Nexus 10. I have been using the GPU name as the profile in different combinations for example:
[Android_Mali604]
DeviceType=Android
BaseProfileName=Android_High
I have looked at Tappy Chicken inside and out for hours and nothing stands out as being done differently. Also my S4 works perfectly and gets the native Screen Size X = 1080, but the log shows a correct device profile selection as [Android_Adreno320]. So if I want to add a new device profile what would be the proper naming convention or a better solution? Any help would be much appreciated as I have trying to fix this for a few days.
EDIT: Still haven’t figured out how to name a profile, but turning MobileHDR off allows me to get the max resolution out of the nexus 10 by setting the base [Android] profile to MobileContentScaleFactor=2.0. Still interested in learning how to set a device profile up based on its GPU like the Adreno are.