-- Script tăng nhạy Free Fire OB55
-- Tối ưu cảm ứng, giảm độ trễ đầu vào, tăng tốc phản hồi
-- Không cần reset Free Fire
-- Bước 1: Khai báo đường dẫn
local basePaths = {
"/sdcard/Android/data/com.dts.freefireth/files/",
"/sdcard/Android/data/com.dts.freefiremax/files/"
}
-- Bước 2: Hàm ghi file an toàn
local function writeFile(path, content)
local f = io.open(path, "r")
if f then
local old = f:read("*a")
f:close()
if old == content then return false end
end
local out = io.open(path, "w")
if out then
out:write(content)
out:close()
return true
end
return false
end
-- Bước 3: Cấu hình tăng nhạy OB55
local sensitivityConfig = [[
[Touch]
TouchSensitivity=100
AimSensitivity=100
FireSensitivity=100
ScopeSensitivity=100
GyroSensitivity=100
TouchResponseRate=1000
InputLatency=0
Acceleration=1
DeadZone=0
Smoothness=0
TouchSamplingRate=240
TouchPrediction=0
TouchPressure=0
MultiTouchEnabled=1
PointerSpeed=100
ScrollSensitivity=100
]]
-- Bước 4: Cấu hình tối ưu hệ thống
local systemTweakConfig = [[
[Performance]
ThreadCount=4
HeapSize=256
CacheSize=128
GPUPriority=1
CPUPriority=1
RenderThread=2
InputThread=1
]]
-- Bước 5: Áp dụng cho tất cả đường dẫn
local changed = 0
for _, base in ipairs(basePaths) do
if writeFile(base .. "touch.cfg", sensitivityConfig) then changed = changed + 1 end
if writeFile(base .. "sensitivity.ini", sensitivityConfig) then changed = changed + 1 end
if writeFile(base .. "input.cfg", sensitivityConfig) then changed = changed + 1 end
if writeFile(base .. "system_tweak.cfg", systemTweakConfig) then changed = changed + 1 end
end
-- Bước 6: Ghi log trạng thái
local logFile = io.open("/sdcard/ff_sensitivity.log", "a")
if logFile then
logFile:write("Applied at: " .. os.date("%Y-%m-%d %H:%M:%S") .. "\n")
logFile:write("Files changed: " .. changed .. "\n")
logFile:close()
end
-- Bước 7: Xác nhận
print("Đã ghi cấu hình tăng nhạy OB55")
print("Số file thay đổi: " .. changed)
print("Đã tối ưu cảm ứng và giảm độ trễ")
print("Không cần reset Free Fire")
-- Bước 8: Hướng dẫn kiểm tra
print("Vào game, kiểm tra Cài đặt → Độ nhạy")
print("Nếu chưa nhận, tắt và mở lại game một lần")