- import os
- import getpass
- user_name = getpass.getuser()
- #Function for menu
- def menu():
- print("""
- ***************************
- * GTA V Optimization Menu *
- ***************************
- * 1 - Optimization type *
- * 2 - Restore Default *
- * 3 - Instructions *
- * 00 - Exit *
- ***************************
- """)
- #Optimization menu part one
- def Optimization():
- print("""
- ****************************************************
- * GTA V Optimization Menu (Page 1) *
- ****************************************************
- * 1 - Ultra High *
- * 2 - Very High *
- * 3 - High *
- * 4 - Medium-High *
- * 5 - Medium *
- * 6 - Medium-Low *
- * 7 - Next Page.... *
- * 0 - Go back... *
- * 00 - Exit... *
- ****************************************************
- """)
- #Optimization menu part two
- def Optimization2():
- print("""
- ****************************************************
- * GTA V Optimization Menu (Page 2) *
- ****************************************************
- * 1 - Low *
- * 2 - Ultra Low *
- * 3 - Single Player *
- * 4 - POTATO!! *
- * 5 - TOASTER!! *
- * 6 - CALCULATOR (ONLY NVIDIA GRAPHIC CARD!!!!) *
- * 0 - Go back... *
- * 00 - Exit... *
- ****************************************************
- """)
- # Function for Restore
- def restore():
- f = open("C:/Users/" + user_name + "/Documents/Rockstar Games/GTA V/settings.xml","w")
- f.close()
- # Function Optimize (Ultra High)
- def optimize1():
- f = open("C:/Users/" + user_name + "/Documents/Rockstar Games/GTA V/settings.xml","w")
- f.write("""
- <?xml version="1.0" encoding="UTF-8"?>
- <Settings>
- <version value="27" />
- <configSource>SMC_AUTO</configSource>
- <graphics>
- <Tessellation value="0" />
- <LodScale value="0.00000" />
- <PedLodBias value="-0.400000" />
- <VehicleLodBias value="-0.400000" />
- <ShadowQuality value="1" />
- <ReflectionQuality value="1" />
- <ReflectionMSAA value="0" />
- <SSAO value="0" />
- <AnisotropicFiltering value="8" />
- <MSAA value="0" />
- <MSAAFragments value="0" />
- <MSAAQuality value="0" />
- <SamplingMode value="0" />
- <TextureQuality value="0" />
- <ParticleQuality value="0" />
- <WaterQuality value="0" />
- <GrassQuality value="0" />
- <ShaderQuality value="0" />
- <Shadow_SoftShadows value="0" />
- <UltraShadows_Enabled value="false" />
- <Shadow_ParticleShadows value="false" />
- <Shadow_Distance value="0.500000" />
- <Shadow_LongShadows value="false" />
- <Shadow_SplitZStart value="0.000000" />
- <Shadow_SplitZEnd value="0.000000" />
- <Shadow_aircraftExpWeight value="0.000000" />
- <Shadow_DisableScreenSizeCheck value="false" />
- <Reflection_MipBlur value="false" />
- <FXAA_Enabled value="true" />
- <TXAA_Enabled value="false" />
- <Lighting_FogVolumes value="false" />
- <Shader_SSA value="false" />
- <DX_Version value="0" />
- <CityDensity value="-0.200000" />
- <PedVarietyMultiplier value="-0.300000" />
- <VehicleVarietyMultiplier value="-0.300000" />
- <PostFX value="0" />
- <DoF value="false" />
- <HdStreamingInFlight value="false" />
- <MaxLodScale value="0.000000" />
- <MotionBlurStrength value="0.000000" />
- </graphics>
- <system>
- <numBytesPerReplayBlock value="0" />
- <numReplayBlocks value="0" />
- <maxSizeOfStreamingReplay value="0" />
- <maxFileStoreSize value="0" />
- </system>
- <audio>
- <Audio3d value="false" />
- </audio>
- <video>
- <AdapterIndex value="0" />
- <OutputIndex value="0" />
- <ScreenWidth value="1280" />
- <ScreenHeight value="720" />
- <RefreshRate value="60" />
- <Windowed value="0" />
- <VSync value="1" />
- <Stereo value="0" />
- <Convergence value="0.100000" />
- <Separation value="1.000000" />
- <PauseOnFocusLoss value="1" />
- <AspectRatio value="0" />
- </video>
- <VideoCardDescription>NVIDIA GeForce RTX 2060</VideoCardDescription>
- </Settings>
- """)
- f.close()
- f = open("C:/Users/" + user_name + "/Desktop/commandline.txt","w")
- f.write("""-fullscreen
- -ignoreDifferentVideoCard
- -DX10
- -anisotropicQualityLevel 0
- """)
- f.close()
- os.system("cls")
- input("I will make a command file in your /Desktop/....\nPress any key for continue...")
- os.system("cls")
- input("Copy that file to the root path of youre GTA V Game...\nPress any key to continue...")
- os.system("cls")
- input("I have finished.... Enjoy your optimized GTA V...\nPress any key for continue")
- os.system("cls")
- # Function Optimize 2 (Very High)
- def optimize2():
- f = open("C:/Users/" + user_name + "/Documents/Rockstar Games/GTA V/settings.xml","w")
- f.write("""
- <?xml version="1.0" encoding="UTF-8"?>
- <Settings>
- <version value="27" />
- <configSource>SMC_AUTO</configSource>
- <graphics>
- <Tessellation value="0" />
- <LodScale value="0.000000" />
- <PedLodBias value="-0.400000" />
- <VehicleLodBias value="-0.400000" />
- <ShadowQuality value="1" />
- <ReflectionQuality value="0" />
- <ReflectionMSAA value="0" />
- <SSAO value="0" />
- <AnisotropicFiltering value="4" />
- <MSAA value="0" />
- <MSAAFragments value="0" />
- <MSAAQuality value="0" />
- <SamplingMode value="0" />
- <TextureQuality value="0" />
- <ParticleQuality value="0" />
- <WaterQuality value="0" />
- <GrassQuality value="0" />
- <ShaderQuality value="0" />
- <Shadow_SoftShadows value="0" />
- <UltraShadows_Enabled value="false" />
- <Shadow_ParticleShadows value="false" />
- <Shadow_Distance value="0.200000" />
- <Shadow_LongShadows value="false" />
- <Shadow_SplitZStart value="0.000000" />
- <Shadow_SplitZEnd value="0.000000" />
- <Shadow_aircraftExpWeight value="0.000000" />
- <Shadow_DisableScreenSizeCheck value="false" />
- <Reflection_MipBlur value="false" />
- <FXAA_Enabled value="false" />
- <TXAA_Enabled value="false" />
- <Lighting_FogVolumes value="false" />
- <Shader_SSA value="false" />
- <DX_Version value="0" />
- <CityDensity value="-0.250000" />
- <PedVarietyMultiplier value="-0.350000" />
- <VehicleVarietyMultiplier value="-0.300000" />
- <PostFX value="0" />
- <DoF value="false" />
- <HdStreamingInFlight value="false" />
- <MaxLodScale value="-0.150000" />
- <MotionBlurStrength value="0.000000" />
- </graphics>
- <system>
- <numBytesPerReplayBlock value="0000000" />
- <numReplayBlocks value="00" />
- <maxSizeOfStreamingReplay value="0000" />
- <maxFileStoreSize value="00000" />
- </system>
- <audio>
- <Audio3d value="false" />
- </audio>
- <video>
- <AdapterIndex value="0" />
- <OutputIndex value="0" />
- <ScreenWidth value="1280" />
- <ScreenHeight value="720" />
- <RefreshRate value="60" />
- <Windowed value="0" />
- <VSync value="1" />
- <Stereo value="0" />
- <Convergence value="0.100000" />
- <Separation value="1.000000" />
- <PauseOnFocusLoss value="1" />
- <AspectRatio value="0" />
- </video>
- <VideoCardDescription>NVIDIA GeForce RTX 2060</VideoCardDescription>
- </Settings>
- """)
- f.close()
- f = open("C:/Users/" + user_name + "/Desktop/commandline.txt","w")
- f.write("""-fullscreen
- -hdr
- -ignoreDifferentVideoCard
- -DX10
- -anisotropicQualityLevel 0
- """)
- f.close()
- os.system("cls")
- input("I will make a command file in your /Desktop/....\nPress any key for continue...")
- os.system("cls")
- input("Copy that file to the root path of youre GTA V Game...\nPress any key to continue...")
- os.system("cls")
- input("I have finished.... Enjoy your optimized GTA V...\nPress any key for continue")
- os.system("cls")
- # Function Optimize 3 (High)
- def optimize3():
- f = open("C:/Users/" + user_name + "/Documents/Rockstar Games/GTA V/settings.xml","w")
- f.write("""
- <?xml version="1.0" encoding="UTF-8"?>
- <Settings>
- <version value="27" />
- <configSource>SMC_AUTO</configSource>
- <graphics>
- <Tessellation value="0" />
- <LodScale value="0.050000" />
- <PedLodBias value="-0.400000" />
- <VehicleLodBias value="-0.400000" />
- <ShadowQuality value="1" />
- <ReflectionQuality value="0" />
- <ReflectionMSAA value="0" />
- <SSAO value="0" />
- <AnisotropicFiltering value="4" />
- <MSAA value="0" />
- <MSAAFragments value="0" />
- <MSAAQuality value="0" />
- <SamplingMode value="0" />
- <TextureQuality value="0" />
- <ParticleQuality value="0" />
- <WaterQuality value="0" />
- <GrassQuality value="0" />
- <ShaderQuality value="0" />
- <Shadow_SoftShadows value="0" />
- <UltraShadows_Enabled value="false" />
- <Shadow_ParticleShadows value="false" />
- <Shadow_Distance value="0.200000" />
- <Shadow_LongShadows value="false" />
- <Shadow_SplitZStart value="0.000000" />
- <Shadow_SplitZEnd value="0.000000" />
- <Shadow_aircraftExpWeight value="0.000000" />
- <Shadow_DisableScreenSizeCheck value="false" />
- <Reflection_MipBlur value="false" />
- <FXAA_Enabled value="false" />
- <TXAA_Enabled value="false" />
- <Lighting_FogVolumes value="false" />
- <Shader_SSA value="false" />
- <DX_Version value="0" />
- <CityDensity value="-0.250000" />
- <PedVarietyMultiplier value="-0.300000" />
- <VehicleVarietyMultiplier value="-0.300000" />
- <PostFX value="0" />
- <DoF value="false" />
- <HdStreamingInFlight value="false" />
- <MaxLodScale value="-0.250000" />
- <MotionBlurStrength value="0.000000" />
- </graphics>
- <system>
- <numBytesPerReplayBlock value="0000000" />
- <numReplayBlocks value="00" />
- <maxSizeOfStreamingReplay value="0000" />
- <maxFileStoreSize value="00000" />
- </system>
- <audio>
- <Audio3d value="false" />
- </audio>
- <video>
- <AdapterIndex value="0" />
- <OutputIndex value="0" />
- <ScreenWidth value="1280" />
- <ScreenHeight value="720" />
- <RefreshRate value="60" />
- <Windowed value="0" />
- <VSync value="1" />
- <Stereo value="0" />
- <Convergence value="0.100000" />
- <Separation value="1.000000" />
- <PauseOnFocusLoss value="1" />
- <AspectRatio value="0" />
- </video>
- <VideoCardDescription>NVIDIA GeForce RTX 2060</VideoCardDescription>
- </Settings>
- """)
- f.close()
- f = open("C:/Users/" + user_name + "/Desktop/commandline.txt","w")
- f.write("""-fullscreen
- -hdr
- -ignoreDifferentVideoCard
- -DX10
- -anisotropicQualityLevel 0
- """)
- f.close()
- os.system("cls")
- input("I will make a command file in your /Desktop/....\nPress any key for continue...")
- os.system("cls")
- input("Copy that file to the root path of youre GTA V Game...\nPress any key to continue...")
- os.system("cls")
- input("I have finished.... Enjoy your optimized GTA V...\nPress any key for continue")
- os.system("cls")
- # Function Optimize 4 (Medium-High)
- def optimize4():
- f = open("C:/Users/" + user_name + "/Documents/Rockstar Games/GTA V/settings.xml","w")
- f.write("""
- <?xml version="1.0" encoding="UTF-8"?>
- <Settings>
- <version value="27" />
- <configSource>SMC_AUTO</configSource>
- <graphics>
- <Tessellation value="0" />
- <LodScale value="0.050000" />
- <PedLodBias value="-0.400000" />
- <VehicleLodBias value="-0.400000" />
- <ShadowQuality value="0" />
- <ReflectionQuality value="0" />
- <ReflectionMSAA value="0" />
- <SSAO value="0" />
- <AnisotropicFiltering value="4" />
- <MSAA value="0" />
- <MSAAFragments value="0" />
- <MSAAQuality value="0" />
- <SamplingMode value="0" />
- <TextureQuality value="0" />
- <ParticleQuality value="0" />
- <WaterQuality value="0" />
- <GrassQuality value="0" />
- <ShaderQuality value="0" />
- <Shadow_SoftShadows value="0" />
- <UltraShadows_Enabled value="false" />
- <Shadow_ParticleShadows value="false" />
- <Shadow_Distance value="0.200000" />
- <Shadow_LongShadows value="false" />
- <Shadow_SplitZStart value="0.000000" />
- <Shadow_SplitZEnd value="0.000000" />
- <Shadow_aircraftExpWeight value="0.000000" />
- <Shadow_DisableScreenSizeCheck value="false" />
- <Reflection_MipBlur value="false" />
- <FXAA_Enabled value="false" />
- <TXAA_Enabled value="false" />
- <Lighting_FogVolumes value="false" />
- <Shader_SSA value="false" />
- <DX_Version value="0" />
- <CityDensity value="-0.250000" />
- <PedVarietyMultiplier value="-0.300000" />
- <VehicleVarietyMultiplier value="-0.300000" />
- <PostFX value="0" />
- <DoF value="false" />
- <HdStreamingInFlight value="false" />
- <MaxLodScale value="-0.250000" />
- <MotionBlurStrength value="0.000000" />
- </graphics>
- <system>
- <numBytesPerReplayBlock value="0000000" />
- <numReplayBlocks value="00" />
- <maxSizeOfStreamingReplay value="0000" />
- <maxFileStoreSize value="00000" />
- </system>
- <audio>
- <Audio3d value="false" />
- </audio>
- <video>
- <AdapterIndex value="0" />
- <OutputIndex value="0" />
- <ScreenWidth value="1280" />
- <ScreenHeight value="720" />
- <RefreshRate value="60" />
- <Windowed value="0" />
- <VSync value="2" />
- <Stereo value="0" />
- <Convergence value="0.100000" />
- <Separation value="1.000000" />
- <PauseOnFocusLoss value="1" />
- <AspectRatio value="0" />
- </video>
- <VideoCardDescription>NVIDIA GeForce RTX 2060</VideoCardDescription>
- </Settings>
- """)
- f.close()
- f = open("C:/Users/" + user_name + "/Desktop/commandline.txt","w")
- f.write("""-fullscreen
- -hdr
- -ignoreDifferentVideoCard
- -noquattransform
- -DX10
- -anisotropicQualityLevel 0
- """)
- f.close()
- os.system("cls")
- input("I will make a command file in your /Desktop/....\nPress any key for continue...")
- os.system("cls")
- input("Copy that file to the root path of youre GTA V Game...\nPress any key to continue...")
- os.system("cls")
- input("I have finished.... Enjoy your optimized GTA V...\nPress any key for continue")
- os.system("cls")
- # Function Optimize 5 (Medium)
- def optimize5():
- f = open("C:/Users/" + user_name + "/Documents/Rockstar Games/GTA V/settings.xml","w")
- f.write("""
- <?xml version="1.0" encoding="UTF-8"?>
- <Settings>
- <version value="27" />
- <configSource>SMC_AUTO</configSource>
- <graphics>
- <Tessellation value="0" />
- <LodScale value="0.07000" />
- <PedLodBias value="-0.400000" />
- <VehicleLodBias value="-0.400000" />
- <ShadowQuality value="0" />
- <ReflectionQuality value="0" />
- <ReflectionMSAA value="0" />
- <SSAO value="0" />
- <AnisotropicFiltering value="0" />
- <MSAA value="0" />
- <MSAAFragments value="0" />
- <MSAAQuality value="0" />
- <SamplingMode value="0" />
- <TextureQuality value="0" />
- <ParticleQuality value="0" />
- <WaterQuality value="0" />
- <GrassQuality value="0" />
- <ShaderQuality value="0" />
- <Shadow_SoftShadows value="0" />
- <UltraShadows_Enabled value="false" />
- <Shadow_ParticleShadows value="false" />
- <Shadow_Distance value="0.000000" />
- <Shadow_LongShadows value="false" />
- <Shadow_SplitZStart value="0.000000" />
- <Shadow_SplitZEnd value="0.000000" />
- <Shadow_aircraftExpWeight value="0.000000" />
- <Shadow_DisableScreenSizeCheck value="false" />
- <Reflection_MipBlur value="false" />
- <FXAA_Enabled value="false" />
- <TXAA_Enabled value="false" />
- <Lighting_FogVolumes value="false" />
- <Shader_SSA value="false" />
- <DX_Version value="0" />
- <CityDensity value="-0.250000" />
- <PedVarietyMultiplier value="-0.300000" />
- <VehicleVarietyMultiplier value="-0.300000" />
- <PostFX value="0" />
- <DoF value="false" />
- <HdStreamingInFlight value="false" />
- <MaxLodScale value="-0.300000" />
- <MotionBlurStrength value="0.000000" />
- </graphics>
- <system>
- <numBytesPerReplayBlock value="0000000" />
- <numReplayBlocks value="00" />
- <maxSizeOfStreamingReplay value="0000" />
- <maxFileStoreSize value="00000" />
- </system>
- <audio>
- <Audio3d value="false" />
- </audio>
- <video>
- <AdapterIndex value="0" />
- <OutputIndex value="0" />
- <ScreenWidth value="800" />
- <ScreenHeight value="600" />
- <RefreshRate value="60" />
- <Windowed value="0" />
- <VSync value="1" />
- <Stereo value="0" />
- <Convergence value="0.100000" />
- <Separation value="1.000000" />
- <PauseOnFocusLoss value="1" />
- <AspectRatio value="0" />
- </video>
- <VideoCardDescription>NVIDIA GeForce RTX 2060</VideoCardDescription>
- </Settings>
- """)
- f.close()
- f = open("C:/Users/" + user_name + "/Desktop/commandline.txt","w")
- f.write("""-fullscreen
- -hdr
- -ignoreDifferentVideoCard
- -noquattransform
- -DX10
- -anisotropicQualityLevel 0
- """)
- f.close()
- os.system("cls")
- input("I will make a command file in your /Desktop/....\nPress any key for continue...")
- os.system("cls")
- input("Copy that file to the root path of youre GTA V Game...\nPress any key to continue...")
- os.system("cls")
- input("I have finished.... Enjoy your optimized GTA V...\nPress any key for continue")
- os.system("cls")
- # Function Optimize 6 (Medium-Low)
- def optimize6():
- f = open("C:/Users/" + user_name + "/Documents/Rockstar Games/GTA V/settings.xml","w")
- f.write("""
- <?xml version="1.0" encoding="UTF-8"?>
- <Settings>
- <version value="27" />
- <configSource>SMC_AUTO</configSource>
- <graphics>
- <Tessellation value="0" />
- <LodScale value="0.70000" />
- <PedLodBias value="-0.400000" />
- <VehicleLodBias value="-0.400000" />
- <ShadowQuality value="0" />
- <ReflectionQuality value="0" />
- <ReflectionMSAA value="0" />
- <SSAO value="0" />
- <AnisotropicFiltering value="0" />
- <MSAA value="0" />
- <MSAAFragments value="0" />
- <MSAAQuality value="0" />
- <SamplingMode value="0" />
- <TextureQuality value="0" />
- <ParticleQuality value="0" />
- <WaterQuality value="0" />
- <GrassQuality value="0" />
- <ShaderQuality value="0" />
- <Shadow_SoftShadows value="0" />
- <UltraShadows_Enabled value="false" />
- <Shadow_ParticleShadows value="false" />
- <Shadow_Distance value="0.000000" />
- <Shadow_LongShadows value="false" />
- <Shadow_SplitZStart value="0.000000" />
- <Shadow_SplitZEnd value="0.000000" />
- <Shadow_aircraftExpWeight value="0.000000" />
- <Shadow_DisableScreenSizeCheck value="false" />
- <Reflection_MipBlur value="false" />
- <FXAA_Enabled value="false" />
- <TXAA_Enabled value="false" />
- <Lighting_FogVolumes value="false" />
- <Shader_SSA value="false" />
- <DX_Version value="0" />
- <CityDensity value="-0.250000" />
- <PedVarietyMultiplier value="-0.300000" />
- <VehicleVarietyMultiplier value="-0.300000" />
- <PostFX value="0" />
- <DoF value="false" />
- <HdStreamingInFlight value="false" />
- <MaxLodScale value="-0.300000" />
- <MotionBlurStrength value="0.000000" />
- </graphics>
- <system>
- <numBytesPerReplayBlock value="0000000" />
- <numReplayBlocks value="00" />
- <maxSizeOfStreamingReplay value="0000" />
- <maxFileStoreSize value="00000" />
- </system>
- <audio>
- <Audio3d value="false" />
- </audio>
- <video>
- <AdapterIndex value="0" />
- <OutputIndex value="0" />
- <ScreenWidth value="800" />
- <ScreenHeight value="600" />
- <RefreshRate value="60" />
- <Windowed value="0" />
- <VSync value="1" />
- <Stereo value="0" />
- <Convergence value="0.100000" />
- <Separation value="1.000000" />
- <PauseOnFocusLoss value="1" />
- <AspectRatio value="0" />
- </video>
- <VideoCardDescription>NVIDIA GeForce RTX 2060</VideoCardDescription>
- </Settings>
- """)
- f.close()
- f = open("C:/Users/" + user_name + "/Desktop/commandline.txt","w")
- f.write("""-fullscreen
- -hdr
- -ignoreDifferentVideoCard
- -noquattransform
- -DX10
- -anisotropicQualityLevel 0
- """)
- f.close()
- os.system("cls")
- input("I will make a command file in your /Desktop/....\nPress any key for continue...")
- os.system("cls")
- input("Copy that file to the root path of youre GTA V Game...\nPress any key to continue...")
- os.system("cls")
- input("I have finished.... Enjoy your optimized GTA V...\nPress any key for continue")
- os.system("cls")
- # Function Optimize 7 (Low)
- def optimize7():
- f = open("C:/Users/" + user_name + "/Documents/Rockstar Games/GTA V/settings.xml","w")
- f.write("""
- <?xml version="1.0" encoding="UTF-8"?>
- <Settings>
- <version value="27" />
- <configSource>SMC_AUTO</configSource>
- <graphics>
- <Tessellation value="0" />
- <LodScale value="0.09000" />
- <PedLodBias value="-0.400000" />
- <VehicleLodBias value="-0.400000" />
- <ShadowQuality value="0" />
- <ReflectionQuality value="0" />
- <ReflectionMSAA value="0" />
- <SSAO value="0" />
- <AnisotropicFiltering value="0" />
- <MSAA value="0" />
- <MSAAFragments value="0" />
- <MSAAQuality value="0" />
- <SamplingMode value="0" />
- <TextureQuality value="0" />
- <ParticleQuality value="0" />
- <WaterQuality value="0" />
- <GrassQuality value="0" />
- <ShaderQuality value="0" />
- <Shadow_SoftShadows value="0" />
- <UltraShadows_Enabled value="false" />
- <Shadow_ParticleShadows value="false" />
- <Shadow_Distance value="0.000000" />
- <Shadow_LongShadows value="false" />
- <Shadow_SplitZStart value="0.000000" />
- <Shadow_SplitZEnd value="0.000000" />
- <Shadow_aircraftExpWeight value="0.000000" />
- <Shadow_DisableScreenSizeCheck value="false" />
- <Reflection_MipBlur value="false" />
- <FXAA_Enabled value="false" />
- <TXAA_Enabled value="false" />
- <Lighting_FogVolumes value="false" />
- <Shader_SSA value="false" />
- <DX_Version value="0" />
- <CityDensity value="-0.250000" />
- <PedVarietyMultiplier value="-0.300000" />
- <VehicleVarietyMultiplier value="-0.300000" />
- <PostFX value="0" />
- <DoF value="false" />
- <HdStreamingInFlight value="false" />
- <MaxLodScale value="-0.400000" />
- <MotionBlurStrength value="0.000000" />
- </graphics>
- <system>
- <numBytesPerReplayBlock value="0000000" />
- <numReplayBlocks value="00" />
- <maxSizeOfStreamingReplay value="0000" />
- <maxFileStoreSize value="00000" />
- </system>
- <audio>
- <Audio3d value="false" />
- </audio>
- <video>
- <AdapterIndex value="0" />
- <OutputIndex value="0" />
- <ScreenWidth value="640" />
- <ScreenHeight value="480" />
- <RefreshRate value="60" />
- <Windowed value="0" />
- <VSync value="1" />
- <Stereo value="0" />
- <Convergence value="0.100000" />
- <Separation value="1.000000" />
- <PauseOnFocusLoss value="1" />
- <AspectRatio value="0" />
- </video>
- <VideoCardDescription>NVIDIA GeForce RTX 2060</VideoCardDescription>
- </Settings>
- """)
- f.close()
- f = open("C:/Users/" + user_name + "/Desktop/commandline.txt","w")
- f.write("""-fullscreen
- -hdr
- -ignoreDifferentVideoCard
- -DX10
- -anisotropicQualityLevel 0
- """)
- f.close()
- os.system("cls")
- input("I will make a command file in your /Desktop/....\nPress any key for continue...")
- os.system("cls")
- input("Copy that file to the root path of youre GTA V Game...\nPress any key to continue...")
- os.system("cls")
- input("I have finished.... Enjoy your optimized GTA V...\nPress any key for continue")
- os.system("cls")
- # Function Optimize 8 (Ultra-Low)
- def optimize8():
- f = open("C:/Users/" + user_name + "/Documents/Rockstar Games/GTA V/settings.xml","w")
- f.write("""
- <?xml version="1.0" encoding="UTF-8"?>
- <Settings>
- <version value="27" />
- <configSource>SMC_AUTO</configSource>
- <graphics>
- <Tessellation value="0" />
- <LodScale value="0.100000" />
- <PedLodBias value="-0.500000" />
- <VehicleLodBias value="-0.450000" />
- <ShadowQuality value="0" />
- <ReflectionQuality value="0" />
- <ReflectionMSAA value="0" />
- <SSAO value="0" />
- <AnisotropicFiltering value="0" />
- <MSAA value="0" />
- <MSAAFragments value="0" />
- <MSAAQuality value="0" />
- <SamplingMode value="0" />
- <TextureQuality value="0" />
- <ParticleQuality value="0" />
- <WaterQuality value="0" />
- <GrassQuality value="0" />
- <ShaderQuality value="0" />
- <Shadow_SoftShadows value="0" />
- <UltraShadows_Enabled value="false" />
- <Shadow_ParticleShadows value="false" />
- <Shadow_Distance value="1.000000" />
- <Shadow_LongShadows value="false" />
- <Shadow_SplitZStart value="0.000000" />
- <Shadow_SplitZEnd value="0.000000" />
- <Shadow_aircraftExpWeight value="0.000000" />
- <Shadow_DisableScreenSizeCheck value="false" />
- <Reflection_MipBlur value="false" />
- <FXAA_Enabled value="false" />
- <TXAA_Enabled value="false" />
- <Lighting_FogVolumes value="false" />
- <Shader_SSA value="false" />
- <DX_Version value="0" />
- <CityDensity value="-0.400000" />
- <PedVarietyMultiplier value="-0.500000" />
- <VehicleVarietyMultiplier value="-0.500000" />
- <PostFX value="0" />
- <DoF value="false" />
- <HdStreamingInFlight value="false" />
- <MaxLodScale value="-0.500000" />
- <MotionBlurStrength value="0.000000" />
- </graphics>
- <system>
- <numBytesPerReplayBlock value="0" />
- <numReplayBlocks value="0" />
- <maxSizeOfStreamingReplay value="0" />
- <maxFileStoreSize value="0" />
- </system>
- <audio>
- <Audio3d value="false" />
- </audio>
- <video>
- <AdapterIndex value="0" />
- <OutputIndex value="0" />
- <ScreenWidth value="640" />
- <ScreenHeight value="480" />
- <RefreshRate value="60" />
- <Windowed value="0" />
- <VSync value="2" />
- <Stereo value="0" />
- <Convergence value="0.100000" />
- <Separation value="1.000000" />
- <PauseOnFocusLoss value="1" />
- <AspectRatio value="0" />
- </video>
- <VideoCardDescription>NVIDIA GeForce RTX 2060</VideoCardDescription>
- </Settings>
- """)
- f.close()
- f = open("C:/Users/" + user_name + "/Desktop/commandline.txt","w")
- f.write("""-fullscreen
- -hdr
- -ignoreDifferentVideoCard
- -noquattransform
- -DX10
- -anisotropicQualityLevel 0
- """)
- f.close()
- os.system("cls")
- input("I will make a command file in your /Desktop/....\nPress any key for continue...")
- os.system("cls")
- input("Copy that file to the root path of youre GTA V Game...\nPress any key to continue...")
- os.system("cls")
- input("I have finished.... Enjoy your optimized GTA V...\nPress any key for continue")
- os.system("cls")
- # Function print Menu for Potato
- def optimize_potato():
- print("""
- ************************
- * Potato Mode!! *
- ************************
- * 1 - Potato *
- * 2 - Damaged Potato *
- * 0 - Go Back... *
- ************************
- """)
- # Function Optimize 9 [Potato!!! (640*480 limited to 30fps)]
- def optimize_potato1():
- f = open("C:/Users/" + user_name + "/Documents/Rockstar Games/GTA V/settings.xml","w")
- f.write("""
- <?xml version="1.0" encoding="UTF-8"?>
- <Settings>
- <version value="27" />
- <configSource>SMC_AUTO</configSource>
- <graphics>
- <Tessellation value="0" />
- <LodScale value="0.100000" />
- <PedLodBias value="-0.900000" />
- <VehicleLodBias value="-0.450000" />
- <ShadowQuality value="0" />
- <ReflectionQuality value="0" />
- <ReflectionMSAA value="0" />
- <SSAO value="0" />
- <AnisotropicFiltering value="0" />
- <MSAA value="0" />
- <MSAAFragments value="0" />
- <MSAAQuality value="0" />
- <SamplingMode value="0" />
- <TextureQuality value="0" />
- <ParticleQuality value="0" />
- <WaterQuality value="0" />
- <GrassQuality value="0" />
- <ShaderQuality value="0" />
- <Shadow_SoftShadows value="0" />
- <UltraShadows_Enabled value="false" />
- <Shadow_ParticleShadows value="false" />
- <Shadow_Distance value="1.000000" />
- <Shadow_LongShadows value="false" />
- <Shadow_SplitZStart value="0.000000" />
- <Shadow_SplitZEnd value="0.000000" />
- <Shadow_aircraftExpWeight value="0.000000" />
- <Shadow_DisableScreenSizeCheck value="false" />
- <Reflection_MipBlur value="false" />
- <FXAA_Enabled value="false" />
- <TXAA_Enabled value="false" />
- <Lighting_FogVolumes value="false" />
- <Shader_SSA value="false" />
- <DX_Version value="0" />
- <CityDensity value="-0.400000" />
- <PedVarietyMultiplier value="-0.500000" />
- <VehicleVarietyMultiplier value="-0.500000" />
- <PostFX value="0" />
- <DoF value="false" />
- <HdStreamingInFlight value="false" />
- <MaxLodScale value="-0.600000" />
- <MotionBlurStrength value="0.000000" />
- </graphics>
- <system>
- <numBytesPerReplayBlock value="0" />
- <numReplayBlocks value="0" />
- <maxSizeOfStreamingReplay value="0" />
- <maxFileStoreSize value="0" />
- </system>
- <audio>
- <Audio3d value="false" />
- </audio>
- <video>
- <AdapterIndex value="0" />
- <OutputIndex value="0" />
- <ScreenWidth value="640" />
- <ScreenHeight value="480" />
- <RefreshRate value="60" />
- <Windowed value="0" />
- <VSync value="2" />
- <Stereo value="0" />
- <Convergence value="0.100000" />
- <Separation value="1.000000" />
- <PauseOnFocusLoss value="1" />
- <AspectRatio value="0" />
- </video>
- <VideoCardDescription>NVIDIA GeForce RTX 2060</VideoCardDescription>
- </Settings>
- """)
- f.close()
- f = open("C:/Users/" + user_name + "/Desktop/commandline.txt","w")
- f.write("""-fullscreen
- -hdr
- -ignoreDifferentVideoCard
- -noquattransform
- -DX10
- -anisotropicQualityLevel 0
- """)
- f.close()
- os.system("cls")
- input("I will make a command file in your /Desktop/....\nPress any key for continue...")
- os.system("cls")
- input("Copy that file to the root path of youre GTA V Game...\nPress any key to continue...")
- os.system("cls")
- input("I have finished.... Enjoy your optimized GTA V...\nPress any key for continue")
- os.system("cls")
- # Fuction Optimize 10 [Potato!!! (800*600 unlimited fps)]
- def optimize_potato2():
- f = open("C:/Users/" + user_name + "/Documents/Rockstar Games/GTA V/settings.xml","w")
- f.write("""
- <?xml version="1.0" encoding="UTF-8"?>
- <Settings>
- <version value="27" />
- <configSource>SMC_AUTO</configSource>
- <graphics>
- <Tessellation value="0" />
- <LodScale value="0.100000" />
- <PedLodBias value="-0.900000" />
- <VehicleLodBias value="-0.450000" />
- <ShadowQuality value="0" />
- <ReflectionQuality value="0" />
- <ReflectionMSAA value="0" />
- <SSAO value="0" />
- <AnisotropicFiltering value="0" />
- <MSAA value="0" />
- <MSAAFragments value="0" />
- <MSAAQuality value="0" />
- <SamplingMode value="0" />
- <TextureQuality value="0" />
- <ParticleQuality value="0" />
- <WaterQuality value="0" />
- <GrassQuality value="0" />
- <ShaderQuality value="0" />
- <Shadow_SoftShadows value="0" />
- <UltraShadows_Enabled value="false" />
- <Shadow_ParticleShadows value="false" />
- <Shadow_Distance value="1.000000" />
- <Shadow_LongShadows value="false" />
- <Shadow_SplitZStart value="0.000000" />
- <Shadow_SplitZEnd value="0.000000" />
- <Shadow_aircraftExpWeight value="0.000000" />
- <Shadow_DisableScreenSizeCheck value="false" />
- <Reflection_MipBlur value="false" />
- <FXAA_Enabled value="false" />
- <TXAA_Enabled value="false" />
- <Lighting_FogVolumes value="false" />
- <Shader_SSA value="false" />
- <DX_Version value="0" />
- <CityDensity value="-0.400000" />
- <PedVarietyMultiplier value="-0.500000" />
- <VehicleVarietyMultiplier value="-0.500000" />
- <PostFX value="0" />
- <DoF value="false" />
- <HdStreamingInFlight value="false" />
- <MaxLodScale value="-0.600000" />
- <MotionBlurStrength value="0.000000" />
- </graphics>
- <system>
- <numBytesPerReplayBlock value="0" />
- <numReplayBlocks value="0" />
- <maxSizeOfStreamingReplay value="0" />
- <maxFileStoreSize value="0" />
- </system>
- <audio>
- <Audio3d value="false" />
- </audio>
- <video>
- <AdapterIndex value="0" />
- <OutputIndex value="0" />
- <ScreenWidth value="800" />
- <ScreenHeight value="600" />
- <RefreshRate value="60" />
- <Windowed value="0" />
- <VSync value="0" />
- <Stereo value="0" />
- <Convergence value="0.100000" />
- <Separation value="1.000000" />
- <PauseOnFocusLoss value="1" />
- <AspectRatio value="0" />
- </video>
- <VideoCardDescription>NVIDIA GeForce RTX 2060</VideoCardDescription>
- </Settings>
- """)
- f.close()
- # Function print Menu for Toaster
- def optimize_toaster():
- print("""
- *************************************
- * Toaster mode *
- *************************************
- * 1 - Powerful Toaster *
- * 2 - Common Toaster *
- * 3 - Toaster from China *
- * 4 - Damaged Toaster *
- * 0 - Go Back... *
- *************************************
- """)
- # Function Optimize 11 [Powerful - Toaster (800*600 with shadows and unlimited fps)]
- def optimize_toaster1():
- f = open("C:/Users/" + user_name + "/Documents/Rockstar Games/GTA V/settings.xml","w")
- f.write("""
- <?xml version="1.0" encoding="UTF-8"?>
- <Settings>
- <version value="27" />
- <configSource>SMC_AUTO</configSource>
- <graphics>
- <Tessellation value="0" />
- <LodScale value="0.100000" />
- <PedLodBias value="-0.900000" />
- <VehicleLodBias value="-0.450000" />
- <ShadowQuality value="1" />
- <ReflectionQuality value="0" />
- <ReflectionMSAA value="0" />
- <SSAO value="0" />
- <AnisotropicFiltering value="0" />
- <MSAA value="0" />
- <MSAAFragments value="0" />
- <MSAAQuality value="0" />
- <SamplingMode value="0" />
- <TextureQuality value="0" />
- <ParticleQuality value="0" />
- <WaterQuality value="0" />
- <GrassQuality value="0" />
- <ShaderQuality value="0" />
- <Shadow_SoftShadows value="0" />
- <UltraShadows_Enabled value="false" />
- <Shadow_ParticleShadows value="false" />
- <Shadow_Distance value="1.000000" />
- <Shadow_LongShadows value="false" />
- <Shadow_SplitZStart value="0.000000" />
- <Shadow_SplitZEnd value="0.000000" />
- <Shadow_aircraftExpWeight value="0.000000" />
- <Shadow_DisableScreenSizeCheck value="false" />
- <Reflection_MipBlur value="false" />
- <FXAA_Enabled value="false" />
- <TXAA_Enabled value="false" />
- <Lighting_FogVolumes value="false" />
- <Shader_SSA value="false" />
- <DX_Version value="0" />
- <CityDensity value="-0.400000" />
- <PedVarietyMultiplier value="-0.500000" />
- <VehicleVarietyMultiplier value="-0.500000" />
- <PostFX value="0" />
- <DoF value="false" />
- <HdStreamingInFlight value="false" />
- <MaxLodScale value="-0.600000" />
- <MotionBlurStrength value="0.000000" />
- </graphics>
- <system>
- <numBytesPerReplayBlock value="0" />
- <numReplayBlocks value="0" />
- <maxSizeOfStreamingReplay value="0" />
- <maxFileStoreSize value="0" />
- </system>
- <audio>
- <Audio3d value="false" />
- </audio>
- <video>
- <AdapterIndex value="0" />
- <OutputIndex value="0" />
- <ScreenWidth value="800" />
- <ScreenHeight value="600" />
- <RefreshRate value="60" />
- <Windowed value="0" />
- <VSync value="0" />
- <Stereo value="0" />
- <Convergence value="0.100000" />
- <Separation value="1.000000" />
- <PauseOnFocusLoss value="1" />
- <AspectRatio value="0" />
- </video>
- <VideoCardDescription>NVIDIA GeForce RTX 2060</VideoCardDescription>
- </Settings>
- """)
- f.close()
- f = open("C:/Users/" + user_name + "/Desktop/commandline.txt","w")
- f.write("""-fullscreen
- -hdr
- -ignoreDifferentVideoCard
- -noquattransform
- -DX10
- -anisotropicQualityLevel 0
- """)
- f.close()
- os.system("cls")
- input("I will make a command file in your /Desktop/....\nPress any key for continue...")
- os.system("cls")
- input("Copy that file to the root path of youre GTA V Game...\nPress any key to continue...")
- os.system("cls")
- input("I have finished.... Enjoy your optimized GTA V...\nPress any key for continue")
- os.system("cls")
- # Function Optimize 12 [Common Toaster (800*600 with unlimited fps)]
- def optimize_toaster2():
- f = open("C:/Users/" + user_name + "/Documents/Rockstar Games/GTA V/settings.xml","w")
- f.write("""
- <?xml version="1.0" encoding="UTF-8"?>
- <Settings>
- <version value="27" />
- <configSource>SMC_AUTO</configSource>
- <graphics>
- <Tessellation value="0" />
- <LodScale value="0.100000" />
- <PedLodBias value="-0.900000" />
- <VehicleLodBias value="-0.450000" />
- <ShadowQuality value="0" />
- <ReflectionQuality value="0" />
- <ReflectionMSAA value="0" />
- <SSAO value="0" />
- <AnisotropicFiltering value="0" />
- <MSAA value="0" />
- <MSAAFragments value="0" />
- <MSAAQuality value="0" />
- <SamplingMode value="0" />
- <TextureQuality value="0" />
- <ParticleQuality value="0" />
- <WaterQuality value="0" />
- <GrassQuality value="0" />
- <ShaderQuality value="0" />
- <Shadow_SoftShadows value="0" />
- <UltraShadows_Enabled value="false" />
- <Shadow_ParticleShadows value="false" />
- <Shadow_Distance value="1.000000" />
- <Shadow_LongShadows value="false" />
- <Shadow_SplitZStart value="0.000000" />
- <Shadow_SplitZEnd value="0.000000" />
- <Shadow_aircraftExpWeight value="0.000000" />
- <Shadow_DisableScreenSizeCheck value="false" />
- <Reflection_MipBlur value="false" />
- <FXAA_Enabled value="false" />
- <TXAA_Enabled value="false" />
- <Lighting_FogVolumes value="false" />
- <Shader_SSA value="false" />
- <DX_Version value="0" />
- <CityDensity value="-0.400000" />
- <PedVarietyMultiplier value="-0.500000" />
- <VehicleVarietyMultiplier value="-0.500000" />
- <PostFX value="0" />
- <DoF value="false" />
- <HdStreamingInFlight value="false" />
- <MaxLodScale value="-0.600000" />
- <MotionBlurStrength value="0.000000" />
- </graphics>
- <system>
- <numBytesPerReplayBlock value="0" />
- <numReplayBlocks value="0" />
- <maxSizeOfStreamingReplay value="0" />
- <maxFileStoreSize value="0" />
- </system>
- <audio>
- <Audio3d value="false" />
- </audio>
- <video>
- <AdapterIndex value="0" />
- <OutputIndex value="0" />
- <ScreenWidth value="800" />
- <ScreenHeight value="600" />
- <RefreshRate value="60" />
- <Windowed value="0" />
- <VSync value="0" />
- <Stereo value="0" />
- <Convergence value="0.100000" />
- <Separation value="1.000000" />
- <PauseOnFocusLoss value="1" />
- <AspectRatio value="0" />
- </video>
- <VideoCardDescription>NVIDIA GeForce RTX 2060</VideoCardDescription>
- </Settings>
- """)
- f.close()
- f = open("C:/Users/" + user_name + "/Desktop/commandline.txt","w")
- f.write("""-fullscreen
- -hdr
- -ignoreDifferentVideoCard
- -noquattransform
- -DX10
- -anisotropicQualityLevel 0
- """)
- f.close()
- os.system("cls")
- input("I will make a command file in your /Desktop/....\nPress any key for continue...")
- os.system("cls")
- input("Copy that file to the root path of youre GTA V Game...\nPress any key to continue...")
- os.system("cls")
- input("I have finished.... Enjoy your optimized GTA V...\nPress any key for continue")
- os.system("cls")
- # Function Optimize 13 [Toaster from China (640*480 with unlimited fps and shadows)]
- def optimize_toaster3():
- f = open("C:/Users/" + user_name + "/Documents/Rockstar Games/GTA V/settings.xml","w")
- f.write("""
- <?xml version="1.0" encoding="UTF-8"?>
- <Settings>
- <version value="27" />
- <configSource>SMC_AUTO</configSource>
- <graphics>
- <Tessellation value="0" />
- <LodScale value="0.100000" />
- <PedLodBias value="-0.900000" />
- <VehicleLodBias value="-0.450000" />
- <ShadowQuality value="1" />
- <ReflectionQuality value="0" />
- <ReflectionMSAA value="0" />
- <SSAO value="0" />
- <AnisotropicFiltering value="0" />
- <MSAA value="0" />
- <MSAAFragments value="0" />
- <MSAAQuality value="0" />
- <SamplingMode value="0" />
- <TextureQuality value="0" />
- <ParticleQuality value="0" />
- <WaterQuality value="0" />
- <GrassQuality value="0" />
- <ShaderQuality value="0" />
- <Shadow_SoftShadows value="0" />
- <UltraShadows_Enabled value="false" />
- <Shadow_ParticleShadows value="false" />
- <Shadow_Distance value="1.000000" />
- <Shadow_LongShadows value="false" />
- <Shadow_SplitZStart value="0.000000" />
- <Shadow_SplitZEnd value="0.000000" />
- <Shadow_aircraftExpWeight value="0.000000" />
- <Shadow_DisableScreenSizeCheck value="false" />
- <Reflection_MipBlur value="false" />
- <FXAA_Enabled value="false" />
- <TXAA_Enabled value="false" />
- <Lighting_FogVolumes value="false" />
- <Shader_SSA value="false" />
- <DX_Version value="0" />
- <CityDensity value="-0.400000" />
- <PedVarietyMultiplier value="-0.500000" />
- <VehicleVarietyMultiplier value="-0.500000" />
- <PostFX value="0" />
- <DoF value="false" />
- <HdStreamingInFlight value="false" />
- <MaxLodScale value="-0.600000" />
- <MotionBlurStrength value="0.000000" />
- </graphics>
- <system>
- <numBytesPerReplayBlock value="0" />
- <numReplayBlocks value="0" />
- <maxSizeOfStreamingReplay value="0" />
- <maxFileStoreSize value="0" />
- </system>
- <audio>
- <Audio3d value="false" />
- </audio>
- <video>
- <AdapterIndex value="0" />
- <OutputIndex value="0" />
- <ScreenWidth value="640" />
- <ScreenHeight value="480" />
- <RefreshRate value="60" />
- <Windowed value="0" />
- <VSync value="2" />
- <Stereo value="0" />
- <Convergence value="0.100000" />
- <Separation value="1.000000" />
- <PauseOnFocusLoss value="1" />
- <AspectRatio value="0" />
- </video>
- <VideoCardDescription>NVIDIA GeForce RTX 2060</VideoCardDescription>
- </Settings>
- """)
- f.close()
- f = open("C:/Users/" + user_name + "/Desktop/commandline.txt","w")
- f.write("""-fullscreen
- -hdr
- -ignoreDifferentVideoCard
- -noquattransform
- -DX10
- -anisotropicQualityLevel 0
- """)
- f.close()
- os.system("cls")
- input("I will make a command file in your /Desktop/....\nPress any key for continue...")
- os.system("cls")
- input("Copy that file to the root path of youre GTA V Game...\nPress any key to continue...")
- os.system("cls")
- input("I have finished.... Enjoy your optimized GTA V...\nPress any key for continue")
- os.system("cls")
- # Function Optimize 14 [Damaged Toaster (limited to 30 fps)]
- def optimize_toaster4():
- f = open("C:/Users/" + user_name + "/Documents/Rockstar Games/GTA V/settings.xml","w")
- f.write("""
- <?xml version="1.0" encoding="UTF-8"?>
- <Settings>
- <version value="27" />
- <configSource>SMC_AUTO</configSource>
- <graphics>
- <Tessellation value="0" />
- <LodScale value="0.100000" />
- <PedLodBias value="-0.900000" />
- <VehicleLodBias value="-0.450000" />
- <ShadowQuality value="0" />
- <ReflectionQuality value="0" />
- <ReflectionMSAA value="0" />
- <SSAO value="0" />
- <AnisotropicFiltering value="0" />
- <MSAA value="0" />
- <MSAAFragments value="0" />
- <MSAAQuality value="0" />
- <SamplingMode value="0" />
- <TextureQuality value="0" />
- <ParticleQuality value="0" />
- <WaterQuality value="0" />
- <GrassQuality value="0" />
- <ShaderQuality value="0" />
- <Shadow_SoftShadows value="0" />
- <UltraShadows_Enabled value="false" />
- <Shadow_ParticleShadows value="false" />
- <Shadow_Distance value="1.000000" />
- <Shadow_LongShadows value="false" />
- <Shadow_SplitZStart value="0.000000" />
- <Shadow_SplitZEnd value="0.000000" />
- <Shadow_aircraftExpWeight value="0.000000" />
- <Shadow_DisableScreenSizeCheck value="false" />
- <Reflection_MipBlur value="false" />
- <FXAA_Enabled value="false" />
- <TXAA_Enabled value="false" />
- <Lighting_FogVolumes value="false" />
- <Shader_SSA value="false" />
- <DX_Version value="0" />
- <CityDensity value="-0.400000" />
- <PedVarietyMultiplier value="-0.500000" />
- <VehicleVarietyMultiplier value="-0.500000" />
- <PostFX value="0" />
- <DoF value="false" />
- <HdStreamingInFlight value="false" />
- <MaxLodScale value="-0.600000" />
- <MotionBlurStrength value="0.000000" />
- </graphics>
- <system>
- <numBytesPerReplayBlock value="0" />
- <numReplayBlocks value="0" />
- <maxSizeOfStreamingReplay value="0" />
- <maxFileStoreSize value="0" />
- </system>
- <audio>
- <Audio3d value="false" />
- </audio>
- <video>
- <AdapterIndex value="0" />
- <OutputIndex value="0" />
- <ScreenWidth value="640" />
- <ScreenHeight value="480" />
- <RefreshRate value="60" />
- <Windowed value="0" />
- <VSync value="2" />
- <Stereo value="0" />
- <Convergence value="0.100000" />
- <Separation value="1.000000" />
- <PauseOnFocusLoss value="1" />
- <AspectRatio value="0" />
- </video>
- <VideoCardDescription>NVIDIA GeForce RTX 2060</VideoCardDescription>
- </Settings>
- """)
- f.close()
- f = open("C:/Users/" + user_name + "/Desktop/commandline.txt","w")
- f.write("""-fullscreen
- -hdr
- -ignoreDifferentVideoCard
- -noquattransform
- -DX10
- -anisotropicQualityLevel 0
- """)
- f.close()
- os.system("cls")
- input("I will make a command file in your /Desktop/....\nPress any key for continue...")
- os.system("cls")
- input("Copy that file to the root path of youre GTA V Game...\nPress any key to continue...")
- os.system("cls")
- input("I have finished.... Enjoy your optimized GTA V...\nPress any key for continue")
- os.system("cls")
- # Function Optimize (Single Player)
- def optimize15():
- f = open("C:/Users/" + user_name + "/Documents/Rockstar Games/GTA V/settings.xml","w")
- f.write("""
- <?xml version="1.0" encoding="UTF-8"?>
- <Settings>
- <version value="27" />
- <configSource>SMC_AUTO</configSource>
- <graphics>
- <Tessellation value="0" />
- <LodScale value="0.100000" />
- <PedLodBias value="-0.900000" />
- <VehicleLodBias value="-0.450000" />
- <ShadowQuality value="0" />
- <ReflectionQuality value="0" />
- <ReflectionMSAA value="0" />
- <SSAO value="0" />
- <AnisotropicFiltering value="0" />
- <MSAA value="0" />
- <MSAAFragments value="0" />
- <MSAAQuality value="0" />
- <SamplingMode value="0" />
- <TextureQuality value="0" />
- <ParticleQuality value="0" />
- <WaterQuality value="0" />
- <GrassQuality value="0" />
- <ShaderQuality value="0" />
- <Shadow_SoftShadows value="0" />
- <UltraShadows_Enabled value="false" />
- <Shadow_ParticleShadows value="false" />
- <Shadow_Distance value="1.000000" />
- <Shadow_LongShadows value="false" />
- <Shadow_SplitZStart value="0.000000" />
- <Shadow_SplitZEnd value="0.000000" />
- <Shadow_aircraftExpWeight value="0.000000" />
- <Shadow_DisableScreenSizeCheck value="false" />
- <Reflection_MipBlur value="false" />
- <FXAA_Enabled value="false" />
- <TXAA_Enabled value="false" />
- <Lighting_FogVolumes value="false" />
- <Shader_SSA value="false" />
- <DX_Version value="0" />
- <CityDensity value="-0.900000" />
- <PedVarietyMultiplier value="-0.900000" />
- <VehicleVarietyMultiplier value="-0.900000" />
- <PostFX value="0" />
- <DoF value="false" />
- <HdStreamingInFlight value="false" />
- <MaxLodScale value="-0.600000" />
- <MotionBlurStrength value="0.000000" />
- </graphics>
- <system>
- <numBytesPerReplayBlock value="0" />
- <numReplayBlocks value="0" />
- <maxSizeOfStreamingReplay value="0" />
- <maxFileStoreSize value="0" />
- </system>
- <audio>
- <Audio3d value="false" />
- </audio>
- <video>
- <AdapterIndex value="0" />
- <OutputIndex value="0" />
- <ScreenWidth value="640" />
- <ScreenHeight value="480" />
- <RefreshRate value="60" />
- <Windowed value="0" />
- <VSync value="2" />
- <Stereo value="0" />
- <Convergence value="0.100000" />
- <Separation value="1.000000" />
- <PauseOnFocusLoss value="1" />
- <AspectRatio value="0" />
- </video>
- <VideoCardDescription>NVIDIA GeForce RTX 2060</VideoCardDescription>
- </Settings>
- """)
- f.close()
- f = open("C:/Users/" + user_name + "/Desktop/commandline.txt","w")
- f.write("""-fullscreen
- -hdr
- -ignoreDifferentVideoCard
- -noquattransform
- -DX10
- -anisotropicQualityLevel 0
- """)
- f.close()
- os.system("cls")
- input("I will make a command file in your /Desktop/....\nPress any key for continue...")
- os.system("cls")
- input("Copy that file to the root path of youre GTA V Game...\nPress any key to continue...")
- os.system("cls")
- input("I have finished.... Enjoy your optimized GTA V...\nPress any key for continue")
- os.system("cls")
- #Base code of the program
- while True:
- menu() #Calling the function menu()
- user_input = str(input("Select an option please >> ")) #Option Selector
- # Submenu Page 1
- if user_input == "1":
- os.system("cls")
- Optimization()
- user_input2 = str(input("Select an Option >> "))
- if user_input2 == "1":
- os.system("cls")
- optimize1()
- os.system("cls")
- elif user_input2 == "2":
- os.system("cls")
- optimize2()
- input("GTA V Optimized...\nPress any key for continue....")
- os.system("cls")
- elif user_input2 == "3":
- os.system("cls")
- optimize3()
- input("GTA V Optimized...\nPress any key for continue....")
- os.system("cls")
- elif user_input2 == "4":
- os.system("cls")
- optimize4()
- input("GTA V Optimized...\nPress any key for continue....")
- os.system("cls")
- elif user_input2 == "5":
- os.system("cls")
- optimize5()
- input("GTA V Optimized...\nPress any key for continue....")
- os.system("cls")
- elif user_input2 == "6":
- os.system("cls")
- optimize6()
- input("GTA V Optimized...\nPress any key for continue....")
- os.system("cls")
- elif user_input2 == "0":
- os.system("cls")
- input("Press nay key for continue...\n")
- os.system("cls")
- elif user_input2 == "00":
- salir = str(input("Do you want exit? 1 = Yes / 2 = No >> "))
- if salir == "1":
- input("Bye Bye!!!")
- os.system("cls")
- break
- else:
- input("Press any key for continue....")
- os.system("cls")
- pass
- elif user_input2 == "7":
- os.system("cls")
- Optimization2()
- user_input2 = str(input("Select an option please >> "))
- if user_input2 == "1":
- os.system("cls")
- optimize7()
- input("GTA V Optimized...\nPress any key for continue....")
- os.system("cls")
- elif user_input2 == "2":
- os.system("cls")
- optimize8()
- input("GTA V Optimized...\nPress any key for continue....")
- os.system("cls")
- elif user_input2 == "3":
- os.system("cls")
- optimize15()
- input("GTA V Optimized...\nPress any key for continue....")
- os.system("cls")
- elif user_input2 == "4":
- os.system("cls")
- optimize_potato()
- user_input2 = str(input("Select an option please >> "))
- if user_input2 == "1":
- optimize_potato1()
- input("GTA V Optimized...\nPress any key for continue....")
- elif user_input2 == "2":
- optimize_potato2()
- input("GTA V Optimized...\nPress any key for continue....")
- elif user_input2 == "0":
- input("Press any key for continue....\n")
- elif user_input2 == "5":
- os.system("cls")
- optimize_toaster()
- user_input2 = str(input("Select an option please >> "))
- if user_input2 == "1":
- os.system("cls")
- optimize_toaster1()
- input("GTA V Optimized...\nPress any key for continue....")
- os.system("cls")
- elif user_input2 == "2":
- os.system("cls")
- optimize_toaster2()
- input("GTA V Optimized...\nPress any key for continue....")
- os.system("cls")
- elif user_input2 == "3":
- os.system("cls")
- optimize_toaster3()
- input("GTA V Optimized...\nPress any key for continue....")
- os.system("cls")
- elif user_input2 == "4":
- os.system("cls")
- optimize_toaster4()
- input("GTA V Optimized...\nPress any key for continue....")
- os.system("cls")
- elif user_input2 == "0":
- input("Press any key for continue....\n")
- elif user_input2 == "6":
- os.system("cls")
- optimize6()
- input("GTA V Optimized...\nPress any key for continue....")
- os.system("cls")
- elif user_input2 == "0":
- os.system("cls")
- input("Press nay key for continue...\n")
- os.system("cls")
- elif user_input2 == "00":
- salir = str(input("Do you want exit? 1 = Yes / 2 = No >> "))
- if salir == "1":
- input("Bye Bye!!!")
- os.system("cls")
- break
- else:
- input("Press any key for continue....")
- os.system("cls")
- pass
- # Method for user input 2
- if user_input == "2":
- os.system("cls")
- restore()
- input("Ready youre GTA V config have been restored....\nPress any key for continue....")
- os.system("cls")
- # Method For Instructions
- if user_input == "3":
- os.system("cls")
- f = open("Instructions.txt","w")
- f.write("""Welcome to GTA V Optimization Alfa 0.1!!
- MADE WITH LOVE BY SMITHPEREZ
- This script is in PRE-ALFA....it has bugs and is still working on the script
- This script has been made for optimize GTA V.
- How to use the script?
- Only execute it and after select the optimization do you want, after copy the file
- in your desktop called "commandline" to your GTA V root directory.
- Can i be banned for use this?
- No you can't because you're not cheeting or modifying the game system or files,
- you're only changing the graphic settings with this script.
- Which are the characteristics of the optimization type?
- I have ordered it by the higher quality to the lower.
- 1 - Ultra High = Everything is in the max quality for 720p and without limit of fps
- 2 - Very High = The same as above but fps limited to 30
- 3 - High = Without shadows and without fps limits
- 4 - Medium-High = Medium quality 720p but with fps limited to 30
- 5 - Medium = Resolution of 800*600 without limits of fps and quality medium
- 6 - Medium-Low = The same as above but fps limited to 30
- 7 - Low = Resolution of 640*480 Without limits of fps and quality low
- 8 - Ultra-Low = The same of above but whitout shadows and fps limited to 30
- 9 - Potato [Potato] = 640*480 without shadows and reduced texture quality
- 9.2 - Potato [Damaged Potato] = 800*600 without limits of fps and shadows quality reduced
- 10 - Toaster [Powerful] = 800*600 Without limits of fps and shadows
- 10.2 - Toaster [Common] = 800*600 Without limits of fps
- 10.3 - Toaster [China] = limit of 30 fps with shadows
- 10.4 - Toaster [Damaged] = limit of 30 fps without shadows and very texture quality reduced
- 11 - Single Player = 640*480 With limit of 30 fps ("Only use in single player")
- Notes: i did this script for help the comunity of GTA V and those people who doesn't have a good
- pc for play GTA V.""")
- f.close()
- input("Press any key for continue...\n")
- input("You will find a file in the same directory as the script with the name instructions...\nPress any key for continue...")
- os.system("cls")
- # Method for exit
- if user_input == "00":
- salir = str(input("Do you want exit? 1 = Yes / 2 = No >> "))
- if salir == "1":
- input("Bye Bye!!!")
- os.system("cls")
- break
- else:
- input("Press any key for continue....")
- os.system("cls")
- pass