fork download
  1. -- Script tăng nhạy Free Fire OB55
  2. -- Tối ưu cảm ứng, giảm độ trễ đầu vào, tăng tốc phản hồi
  3. -- Không cần reset Free Fire
  4.  
  5. -- Bước 1: Khai báo đường dẫn
  6. local basePaths = {
  7. "/sdcard/Android/data/com.dts.freefireth/files/",
  8. "/sdcard/Android/data/com.dts.freefiremax/files/"
  9. }
  10.  
  11. -- Bước 2: Hàm ghi file an toàn
  12. local function writeFile(path, content)
  13. local f = io.open(path, "r")
  14. if f then
  15. local old = f:read("*a")
  16. f:close()
  17. if old == content then return false end
  18. end
  19. local out = io.open(path, "w")
  20. if out then
  21. out:write(content)
  22. out:close()
  23. return true
  24. end
  25. return false
  26. end
  27.  
  28. -- Bước 3: Cấu hình tăng nhạy OB55
  29. local sensitivityConfig = [[
  30. [Touch]
  31. TouchSensitivity=100
  32. AimSensitivity=100
  33. FireSensitivity=100
  34. ScopeSensitivity=100
  35. GyroSensitivity=100
  36. TouchResponseRate=1000
  37. InputLatency=0
  38. Acceleration=1
  39. DeadZone=0
  40. Smoothness=0
  41. TouchSamplingRate=240
  42. TouchPrediction=0
  43. TouchPressure=0
  44. MultiTouchEnabled=1
  45. PointerSpeed=100
  46. ScrollSensitivity=100
  47. ]]
  48.  
  49. -- Bước 4: Cấu hình tối ưu hệ thống
  50. local systemTweakConfig = [[
  51. [Performance]
  52. ThreadCount=4
  53. HeapSize=256
  54. CacheSize=128
  55. GPUPriority=1
  56. CPUPriority=1
  57. RenderThread=2
  58. InputThread=1
  59. ]]
  60.  
  61. -- Bước 5: Áp dụng cho tất cả đường dẫn
  62. local changed = 0
  63. for _, base in ipairs(basePaths) do
  64. if writeFile(base .. "touch.cfg", sensitivityConfig) then changed = changed + 1 end
  65. if writeFile(base .. "sensitivity.ini", sensitivityConfig) then changed = changed + 1 end
  66. if writeFile(base .. "input.cfg", sensitivityConfig) then changed = changed + 1 end
  67. if writeFile(base .. "system_tweak.cfg", systemTweakConfig) then changed = changed + 1 end
  68. end
  69.  
  70. -- Bước 6: Ghi log trạng thái
  71. local logFile = io.open("/sdcard/ff_sensitivity.log", "a")
  72. if logFile then
  73. logFile:write("Applied at: " .. os.date("%Y-%m-%d %H:%M:%S") .. "\n")
  74. logFile:write("Files changed: " .. changed .. "\n")
  75. logFile:close()
  76. end
  77.  
  78. -- Bước 7: Xác nhận
  79. print("Đã ghi cấu hình tăng nhạy OB55")
  80. print("Số file thay đổi: " .. changed)
  81. print("Đã tối ưu cảm ứng và giảm độ trễ")
  82. print("Không cần reset Free Fire")
  83.  
  84. -- Bước 8: Hướng dẫn kiểm tra
  85. print("Vào game, kiểm tra Cài đặt → Độ nhạy")
  86. print("Nếu chưa nhận, tắt và mở lại game một lần")
Success #stdin #stdout 0s 5320KB
stdin
com.dts.freefireth
stdout
Đã ghi cấu hình tăng nhạy OB55
Số file thay đổi: 0
Đã tối ưu cảm ứng và giảm độ trễ
Không cần reset Free Fire
Vào game, kiểm tra Cài đặt → Độ nhạy
Nếu chưa nhận, tắt và mở lại game một lần