Jump to content
  • 0

Lua Script check Game 32 Bit or 64 Bit


rand1337

Question

4 answers to this question

Recommended Posts

This way should work in most cases: 

local info = gg.getTargetInfo()
if info == nil then
  print("Can't retrieve information about the process")
else
  if info.x64 then
    print("The process is 64-bit")
  else
    print("The process is 32-bit")
  end
end
Link to comment
Share on other sites

On 4/30/2021 at 1:44 AM, CmP said:

This way should work in most cases: 


local info = gg.getTargetInfo()
if info == nil then
  print("Can't retrieve information about the process")
else
  if info.x64 then
    print("The process is 64-bit")
  else
    print("The process is 32-bit")
  end
end

thanks for answer! 

Link to comment
Share on other sites

On 4/30/2021 at 12:44 AM, CmP said:

This way should work in most cases: 


local info = gg.getTargetInfo()
if info == nil then
  print("Can't retrieve information about the process")
else
  if info.x64 then
    print("The process is 64-bit")
  else
    print("The process is 32-bit")
  end
end

Does it matter if the device is using x86 and you have a x32 game running?

 

Like does it effect the value results?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.