Skip to content

Instantly share code, notes, and snippets.

View FransBouma's full-sized avatar

Frans Bouma FransBouma

View GitHub Profile
@FransBouma
FransBouma / ceoutput.md
Last active March 28, 2016 16:48
AC Syndicate Timestop addresses

Timestop is done by writing a '1' at an address location. This is shown in this picture: .

After writing a 1, press ESC to stop the engine. Cameras still work, the game clock however has stopped.

Below are the addresses which write and read from this address.

Writing

ACS.scimitar::GraphicLibFacade::~GraphicLibFacade+D0C6D - C6 87 FB020000 01     - mov byte ptr [rdi+000002FB],01 { 1 }
...
<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="19">
<CheatEntries>
<CheatEntry>
<ID>2</ID>
<Description>"Enable this first, then use NUMPAD 0 to toggle timestop"</Description>
<LastState/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>[ENABLE]
//---------
@FransBouma
FransBouma / Reshade\Presets\Default\Shaders_by_JPulowski.cfg
Last active January 15, 2017 08:32
More flexible Outline.fx. Except for the .fx file which is copied in its entirety, copy the lines below as new lines into the files specified.
//>Outline Settings<\\
#define OutlineUseDepthThreshold 1 //[0:1] //- if set to 1 it will cut off lines above the OutlineDepthThreshold.
#define OutlineUseFading 1 //[0:1] //- if set to 1, it will fade lines further away.
#define OutlineDepthThreshold 0.3 //[0.0:1.0] //-Depth threshold, all lines further away than this value will not be drawn
#define OutlineFadeStart 0.1 //[0.0:1.0] //-The start of the fog. 0.0 is at the camera position, 1.0 is horizon.
#define OutlineFadeCurve 10 //[0.1:175] //-//-The curve how quickly distant objects get faded. A low value will make the fade appear just slightly. A high value will make the fade kick in rather quickly.
@FransBouma
FransBouma / Tests.cs
Last active July 7, 2016 11:26
Table/view hint specification in LLBLGen Pro v5.1 Linq queries
[Test]
public void TwoHintOnJoinedElementTest()
{
using(var adapter = new SqlReadDataAccessAdapter())
{
var metaData = new LinqMetaData(adapter);
var q = from c in metaData.Customer
.WithHint("NOLOCK")
.WithHint("FORCESEEK")
join o in metaData.Order on c.CustomerId equals o.CustomerId
@FransBouma
FransBouma / Query.sql
Last active July 11, 2016 14:30
Temporal table predicate specification test for LLBLGen Pro v5.1 on SQL Server 2016
SELECT [LPA_L1].[Address], [LPA_L1].[AnnualSalary], [LPA_L1].[Department],
[LPA_L1].[EmployeeID] AS [EmployeeId], [LPA_L1].[Name], [LPA_L1].[Position],
[LPA_L1].[ValidFrom], [LPA_L1].[ValidTo]
FROM [TestDB].[dbo].[Employee]
FOR SYSTEM_TIME BETWEEN @p2 AND @p4 [LPA_L1]
WHERE ( ( [LPA_L1].[EmployeeID] = @p5))
#include EFFECT(CeeJay, DisplayDepth)
// scene additions
#include EFFECT(MartyMcFly, SSAO)
#include EFFECT(MartyMcFly, Emboss)
#include EFFECT(MartyMcFly, RBM)
// misc 2D effects
#include EFFECT(CeeJay, HDR)
#include EFFECT(MartyMcFly, HSV)
@FransBouma
FransBouma / homefront2_release.CT
Last active April 29, 2018 20:18
Homefront:The Revolution Cheat table. Currently: FOV (PgUp/PgDn). CT also contains notes / addresses on player struct for XYZ position. For the person who wants to create a noclip cheat :)
<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="21">
<CheatEntries>
<CheatEntry>
<ID>609</ID>
<Description>"camera coord 1"</Description>
<LastState Value="627.9749756" RealAddress="1625AC43C"/>
<VariableType>Float</VariableType>
<Address>1625AC43C</Address>
<Hotkeys>
@FransBouma
FransBouma / RawSQL.cs
Last active September 13, 2016 11:18
Raw SQL query execution example, coming in LLBLGen Pro v5.1. This is the action query part. There's also a fetch pipeline, coming soon :)
[Test]
public void ActionQuery_InsertRowTest5()
{
using(var adapter = new DataAccessAdapter())
{
var q =
@"CREATE TABLE #InsertTest (
ID uniqueidentifier NOT NULL,
Name nvarchar(50),
Val1 int,
@FransBouma
FransBouma / SpecOpsTheLinePPDoF2.CT
Created September 20, 2016 18:38
Spec Ops: The Line CT with freecam / FOV / DoF / Post processing effects. By Jim2Point0 / One3rd / Erika T.
<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="18">
<CheatEntries>
<CheatEntry>
<ID>11815</ID>
<Description>"Free Camera 2 [F1]"</Description>
<Options moHideChildren="1"/>
<LastState Activated="1"/>
<Color>80000008</Color>
<VariableType>Auto Assembler Script</VariableType>
@FransBouma
FransBouma / Darksiders2 with timestop.CT
Last active December 1, 2016 15:35
Darksiders II CT. Thread-based camera movement based on look vector. Based on DET/Jim2Point0's table.
<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="21">
<CheatEntries>
<CheatEntry>
<ID>10992</ID>
<Description>"Camera system. Toggle: INS. Enable first to use fov/freecam"</Description>
<LastState/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>//----------------------------------------------------------
// Reworked Darksiders II cheat table with free camera / timestop / FoV