CyberEngineTweaks

Cyberpunk 2077 tweaks, hacks and scripting framework

MIT License

Stars
4.4K
Committers
40

Bot releases are visible (Hide)

CyberEngineTweaks - Lua API improvements

Published by maximegmd almost 4 years ago

  • Removed CreateHandle, they are implicitly created now.
  • CreateSingletonHandle becomes GetSingleton.
  • Added support for Weak Handles.
  • Fixed bug when passing a Quaternion to a function.
  • Functions are now member functions meaning you call player:IsNaked() and not player.IsNaked(), the latter will crash the game.
  • Fixed autoexec.lua not running when starting the game from the launcher.
CyberEngineTweaks - Lua API improvements

Published by maximegmd almost 4 years ago

Added https://github.com/yamashi/CyberEngineTweaks/pull/192
Also now CreateHandle doesn't take a string, it just takes the object:

player = CreateHandle(Game.GetPlayer())
print(player.GetClassName())

Lua now supports Bool, Quaternion, String, CName, Strong Handle, Int32, Float

CyberEngineTweaks - Crash and bad global function call fix

Published by maximegmd almost 4 years ago

Let's you do crazy stuff like

player = CreateHandle("PlayerPuppet", Game.GetPlayer())
print(player.IsNaked())
-- the command below kills you
player.OnDied()

Or change the time

gameTime = CreateSingletonHandle("gameTimeSystem")
gameTime.SetGameTimeByHMS(12, 30, 0) -- 12h30m0s
print(gameTime.GetGameTime()) -- prints time in seconds
CyberEngineTweaks - Member function calls

Published by maximegmd almost 4 years ago

Let's you do crazy stuff like

player = CreateHandle("PlayerPuppet", Game.GetPlayer())
print(player.IsNaked())
-- the command below kills you
player.OnDied()

Or change the time

gameTime = CreateSingletonHandle("gameTimeSystem")
gameTime.SetGameTimeByHMS(12, 30, 0) -- 12h30m0s
print(gameTime.GetGameTime()) -- prints time in seconds
CyberEngineTweaks - Console improvements

Published by maximegmd almost 4 years ago

CyberEngineTweaks - Lua support

Published by maximegmd almost 4 years ago

We are now using Lua in the console.

It's fairly simple just prefix the script functions with Game. and pass arguments as you would normally.

For example:

item = "Items.Jacket_03_old_04"
count = 12
Game.AddToInventory(item, count)
Game.AddToInventory("Items.Jacket_03_old_04", 12)
CyberEngineTweaks - Better console, SMT patch fixed

Published by maximegmd almost 4 years ago

CyberEngineTweaks - Some security fixes and new key

Published by maximegmd almost 4 years ago

Use the ~ to open the console now. It can be configured.

CyberEngineTweaks - 1.05 patch

Published by maximegmd almost 4 years ago

Some patches will mark as failed, this is the expected behavior since they fixed it themselves...
Console now invokes script directly.

For example:
PrintHealth()
AddToInventory(Items.Jacket_03_old_04, 1)

CyberEngineTweaks - Console fix

Published by maximegmd almost 4 years ago

Press the End key to open the console. If it doesn't work -> Wiki!

CyberEngineTweaks - Console and log fix

Published by maximegmd almost 4 years ago

Press End to open the console.

It is possible some tools can conflict with the overlay such as RiveTuner's on-screen display.

CyberEngineTweaks - Console!

Published by maximegmd almost 4 years ago

Press the "End" key to toggle the console

CyberEngineTweaks - Add option to disable antialiasing (TAA)

Published by maximegmd almost 4 years ago

False by default

CyberEngineTweaks - Add option to disable async compute

Published by maximegmd almost 4 years ago

Disabled by default, can increase performance on older hardware

CyberEngineTweaks - Add config files for pedestrians and skip menu

Published by maximegmd almost 4 years ago

Also moved to pattern based most fixes to be compatible with future versions and modified exe.

CyberEngineTweaks - Skip start menu and pedestrian removal

Published by maximegmd almost 4 years ago

  • Skip start menu (enabled by default)
  • Remove pedestrians (disabled by default)
CyberEngineTweaks - AVX fix

Published by maximegmd almost 4 years ago

CyberEngineTweaks - Spectre mitigation removal

Published by maximegmd almost 4 years ago

Adds more spectre mitigation removal

CyberEngineTweaks - ASI plugin & memory pool config & AVX detection

Published by maximegmd almost 4 years ago

This is a breaking upgrade from the old versions.
Please delete:

  • Cyberpunk2077.exe.plugins
  • performance_overhaul/
  • version.dll

Then you can unzip this in bin/x64 as usual.

The config and logs are now in plugins/cyber_engine_tweaks/

CyberEngineTweaks - Debug menu now doesn't hide quit game

Published by maximegmd almost 4 years ago