Frouk Grandmaster Cheater
Reputation: 6
Joined: 22 Jun 2021 Posts: 528
|
Posted: Sat Aug 22, 2026 11:00 am Post subject: Cheat Engine helper includes for C/Lua code |
|
|
https://github.com/Frouk3/CECodeInclude/
The headers would be hosted on GitHub
| Code: |
local internet = getInternet('ce')
if (internet) then
local res = internet.getURL("https://raw.githubusercontent.com/Frouk3/CECodeInclude/refs/heads/main/paste_name_which_to_pull_file.h")
local file = io.open(getCheatEngineDir().."/include/paste_name_for_file_here.h", "w")
if (file) then
file:write(res:gsub("\r", ""))
file:close()
end
end
|
In this given code, you need to replace "paste_name_for_file_here.h" and "paste_name_which_to_pull_file.h" to download a specific header for you to include it into C Code
You would need to paste the lua code into Cheat Table Lua Script for it to execute once the table is loaded
Why using internet connection to get the files? - Just to pull the latest version, or the specific version that can be tracked via commit(in case your table refuses to work as intended with latest versions of the specific file)
|
|