Hi guys,
iniwrite append at the end insted of modify Fullscreen = 0 in the first section [main]
but the other sections are modified
I attached the files in question
I try to copy the content of gpuDX11.ini to another .ini and the script works
Where I'm wrong?
iniwrite gpuDX11.ahk
Code: Select all
sp := " " ; salva il carattere spazio nella variabile sp
IniWrite, %sp%1, gpuDX11.ini, main, UseFullscreen
IniWrite, %sp%%A_ScreenWidth%, gpuDX11.ini, resolution, Width
IniWrite, %sp%%A_ScreenHeight%, gpuDX11.ini, resolution, Height
MsgBox, INI UPDATED
gpuDX11.ini
Code: Select all
[main]
Vsync = 0
AutoSort = 0
NetworkSort = 0
OModifier = 0
TModifier = 0
JoinTrans = 0
UseFullscreen = 0
rotate = 0
aspect = 1
scaling = 1
MaxLayers = 32
NotAutoRotate = 0
slowpoke = true
blitperf = 70000000
tlthread = true
tlcache = false
bilinearfb = true
atifix = false
[resolution]
Width = 1920
Height = 1080
[shaders]
usePass1 = 0
usePass2 = 0
shaderPass1 =
shaderPass2 =