.. with this simple* code you will open game application process based on STEAM appid, yet you have to attach application process to Cheat Engine..
editing : since CE 7.5 runCommand() is now actual built-in celua (native) function.
Code: Select all
function lsteamapp(appid,b)
if b == nil then b = false end
if b == true then print_text=true;
else print_text=false;
end
local link = 'steam://run/'
local RunCombination = link .. "" .. appid
if(print_text==true)then print(RunCombination) end
shellExecute(RunCombination)
end
-- usage = appid,optional boolean: if true -- prints what is being executed;
--lsteamapp(220) --lsteamapp(220,false) or --lsteamapp(220,true)
[*] (DEBUG) Win+R and put this command "steam://open/console" click [OK] to see what steam receives from Cheat Engine's Lua Engine using this script...
So as for given code : (What it does) on given appid, it Will try to run or install (if you own it) (example appid 220==HALF LIFE 2)
Get Appid for from https://steamdb.info/apps/
More info about appid https://developer.valvesoftware.com/wiki/Steam_Application_IDs
... ...
More functions that could work on lua+CE: https://developer.valvesoftware.com/wiki/Steam_browser_protocol
... ... ...
If you don't own the game it will open steam store page with associated appid (should)