huhorler Posted October 11, 2016 Share Posted October 11, 2016 If the game is online,there will be many players and their pc or personal pc is diffrent from each other.So some one can not run the game well if the setting is same.If the default setting is low, Picture effect is not good.So how to autodetect by the mechine. Quote Link to comment Share on other sites More sharing options...
Duion Posted October 11, 2016 Share Posted October 11, 2016 There is an auto detect graphics button in the options already. You need to find the command and execute it on the game's launch.Then you would need to make it remember that the auto detect has been executed, otherwise it will do it on every launch, breaking the users configs every time.I would do that with storing a $pref value into the config file after the first launch and auto detect has taken place. Quote Link to comment Share on other sites More sharing options...
huhorler Posted October 11, 2016 Author Share Posted October 11, 2016 @Duion getPixelShaderVersion() is only check the Gpu.But the other hardware is not contains such as CPU,Memery,Screen... Quote Link to comment Share on other sites More sharing options...
Duion Posted October 11, 2016 Share Posted October 11, 2016 In options menu there is an auto detect button it executes OptionsDlg._autoDetectQuality(); when pushed, thats all you need probably. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.