In C# you can get the users RAM amount, which is all well and good because it means if the user doesn't have the minimum system requirements (RAM as well as others) I can warn them that the game may run poorly and not work well. However, with one of my projects the user can optionally use the launcher (custom built of course) or run the game using the normal, boring, standard .exe (booooo xD joking).
Would it be possible to get the users, sorry, players RAM amount once the game launches (first time only of course)? I can't find anything in the Script Reference other than getting the players pixel shader version (a couple others too but not RAM related) so I might be shooting in the dark by asking this question because it may not even be possible.
Now before anyone says , yes I know the player can just change the setting in-game (if applicable) and yes, they can use the normal 3D Rad launcher to decide what resolution to pick etc. I suppose this question goes for those making games that are full screen, full resolution, maxed out to the max... lol.
Feb 24, 2017 21:55:57 GMT
"I'm a programmer... my only weapon is C.. and it's Sharp!" (Words by GH Games)
Find a DLL that you can load runtime to provide system specs that you want.
Another similar idea mite be a DOS utility that may return system specs to a disk file, you could run it as a batch file, then read in the data. I did this exact same thing in a networked project to find the users IP address by calling ipconfig and saving it's output to a text file, then read in and parse out the data till i got the returned IP address.