I’m trying to detect if the user is on a PS4 or a PS5 so I can make my game lower the graphics or not based on that information
I know how to check if it is on console or not and if they are on Xbox or PlayStation but NOT how to check if they are on PlayStation 4 or PlayStation 5
It may not be worth looking into as Sony has been winding down on the PS4, thus Roblox may in the future cut support for their app on the console, as sad as that sounds.
I let it simmer for a little bit, but I thought of some ways to somewhat introduce what you’re trying to accomplish. I’ll share my thoughts below:
You should introduce a performance / maximum option, similar to the PS5’s options.
You could ask a player to press any input, and check which controller type matches what console.
If the player’s frame rate dips too much too frequently, you could temporarily lower their graphics until it starts to go back up. Think of this similar to Roblox’s dynamic LoD.
This was incase Roblox wanted to add support for new platforms (such as PlayStation).
Adding just PlayStation to the Enum list would make it too obvious that a PlayStation port was coming, so they add these in so people can’t predict future ports.
you cant, Roblox on PlayStation 5 just runs the PS4 Pro version of the game, The Xbox Series consoles do the same just with the Xbox One X edition of the game.