! THIS IS NOT MEANT FOR <<UPLAY PLUS>> !
Game Name: Watch Dogs: Legion
Game Vendor: UPlay
Game Version: -
Game Process: WatchDogsLegion.exe [ DuniaDemo_clang_64_dx11.dll/DuniaDemo_clang_64_dx12.dll ] [ -BattlEyeLauncher ]
Game File Version: 0.1.0.1
[Link]
Hello folks.
Late to the party, but I've been busy
![Smile :)](./images/smilies/icon_e_smile.gif)
[1] The Disrupt 2 Engine is an upgrade to the one used in Watch Dogs & Watch Dogs 2. Apart from that, it's a branch of Dunia (Far Cry 4, 5, New Dawn, most likely in upcoming 6 as well). That's why you've been seen the name flaunted around here and there:
![Image](https://i.imgur.com/JqFRrWw.png)
* * *
[2] Pretty much like with any other Dunia games, Ekey on XeNTaX community has already started compiling the list of file names for his .dat/.fat file extractor. You can find more information here: [Link]. Sir Kane posted an updated extractor, while Ekey's updated file list can be found on page 2. I won't hotlink to the file downloads, as it wouldn't be nice of me. So please visit the forum if you're interested. Why am I talking about this? Because Dunia comes with a Lua Engine. It's called Domino. And this Engine runs .lua scripts. Guess where these scripts are. You guessed.. in the .dat files in Watch Dogs Legion\data_win64 folder.
The one I found the domino scripts in: Watch Dogs Legion\data_win64\worlds\london\london.dat. The .lua files have to be extracted from the london.dat file by the means I've mentioned in the above (XeNTaX). Note they are encoded, so if you want to see what's in there, they need to be decoded first. Wonder which tool to use.. Ah! See below.
* * *
[3] 2 years ago I posted a LUA Cleaner/Dumper for Far Cry 5 in this topic: viewtopic.php?t=6474. Guess what?.. It will work with these .lua files too. Or so I thought. The file header says Lua 5.1 (LuaQ) and no container anymore (no LUAC). So I've adjusted the tool a bit for this scenario:
THE TOOL ABOVE IS NOT TO BE USED WITH .DAT FILES !
* * *
[4] For those of you lazy enough to extract the data and decode the .lua scripts, here's an archive containing what I've gathered so far: [Link] (pass: sunbeam)
THE FILE ABOVE CONTAINS THE ALREADY DECOMPILED LUA FILES !
* * *
[5] Norway-_-1999 posted a tool called "Script Loader" for Far Cry 5 and Far Cry New Dawn. He was kind enough to share some information with me, as to how he was able to use the game's Lua Engine (Domino) to run Lua commands/scripts, how to dump the Lua globals and other insight. I've obtained his permission to adjust and release his tool for WDL as well, so expect feedback in a little while.
* * *
[6] With the above information I was able to create the table below:
Which can be used as follows:
- Start the game without BattlEye; here's how:
- Open Cheat Engine 7.1+, target the game (WatchDogsLegion.exe) and open/load the script you've just downloaded.
- Activate [ Enable ] script. Now you can use CE's Lua Engine console to type stuff in (CE > Memory View > Ctrl+L). Alternately, you can use the already existing scripts in the table to some extent.
- command( "command_text" ) -- for simple 1-line commands
- script( "path_to_script" ) -- for scripts that are more complex
- command( "FelonySystemEnable(0)" )
- script( "C:/Users/SunBeam/Desktop/god.lua" ) -- where the script contains this code:
Code: Select all
local player = GetLocalPlayerEntityId(); if player ~= nil then local localpawn = GetPawnIdFromPlayerId(GetLocalPlayerId()); if localpawn ~= nil then ActivateInvincibility(localpawn); end end
Credits:
- Norway-_-1999
- s0beit
- Ekey
- Sir Kane
- < online communities with old research: UC, guru3D, etc. >
How to use this cheat table?
- Install Cheat Engine
- Double-click the .CT file in order to open it.
- Click the PC icon in Cheat Engine in order to select the game process.
- Keep the list.
- Activate the trainer options by checking boxes or setting values from 0 to 1