Page 1 of 3

The Long Dark: Tales from the Far Territory (Steam)

Posted: Mon Dec 12, 2022 12:21 pm
by beta99th

  • Force indoor spawn
    Quick Level Skills
    Quick Level Player Skills - repair
    Quick Level Player Skills - clean
    Quick Level Player Skills - sharpen
    Craft Anywhere
    placeanywhere (activate to fire indoor)
    Fire Indoor
    disable ai scan
    Force clear weather
    Always full fuel inlantern
    Inf Charcoal in survey
    Map options (show player/zoomed/center on player)
    no encumber
    Instant Search
    Instant Open
    Instant Craft
    Instant Harvest
    Instant Cook (Turn this off during harvest)
    Instant Break Down
    Instant Eat
    Instant ActionProgress (repair)
    Instant CanOpening
    Instant ForceLock
    Fast Fire
    Fast Survey
    no hunger
    no freezing
    no thirst
    no fatigue
    stamina
    No Fall Damage
    No Sprain Risk onSlope
    No Clothing Wetness
    Easy Safe Crack (just 1 tick to open)
    No Suffocation
    no degrade on use
    over weight to container
    No IceCrackingTrigger
    ClimbRope Speed Up
    Max fire to 10000 days
    no scent
    No movement noise
    Fly Mode
    PlayerSpeed
    Pickup Range
    Item Pointer (in inventory)
+ Aurora On/Off (Press Alt+L during night)
+ Survey widely (x1000 radius)

Not tested so far.
Let me know if anything isn't working.

Known issue:
"Instant Harvest" & "Instant Cook" do not work simultaneously.

Re: The Long Dark: Tales from the Far Territory (Steam)

Posted: Mon Dec 12, 2022 6:34 pm
by NMss2
Thank you very much for the updated table.
Is it possible to make "Enable Console", please?

Re: The Long Dark: Tales from the Far Territory (Steam)

Posted: Tue Dec 13, 2022 5:16 pm
by KrisNinja
Thank you for the table.
Instant Harvest option does not work, and it would be really handy.
Could you please check this?

Re: The Long Dark: Tales from the Far Territory (Steam)

Posted: Wed Dec 14, 2022 1:27 pm
by beta99th
KrisNinja wrote:
Tue Dec 13, 2022 5:16 pm
Thank you for the table.
Instant Harvest option does not work, and it would be really handy.
Could you please check this?
Turn "Instant Cook" off when you try harvest. I'll touch it later.

Re: The Long Dark: Tales from the Far Territory (Steam)

Posted: Wed Dec 14, 2022 3:02 pm
by KrisNinja
beta99th wrote:
Wed Dec 14, 2022 1:27 pm
KrisNinja wrote:
Tue Dec 13, 2022 5:16 pm
Thank you for the table.
Instant Harvest option does not work, and it would be really handy.
Could you please check this?
Turn "Instant Cook" off when you try harvest. I'll touch it later.
Ok, I'll check this out.

Also, I have found out that option "Fly mode" and "stamina" (I suppose this option is for unlimited run) are not working. I cannot even turn them on.
Another option "over weight to container" crashes the game altogether, meaning closing it and going back to Windows.

Re: The Long Dark: Tales from the Far Territory (Steam)

Posted: Thu Dec 15, 2022 11:01 am
by beta99th
KrisNinja wrote:
Wed Dec 14, 2022 3:02 pm
beta99th wrote:
Wed Dec 14, 2022 1:27 pm
KrisNinja wrote:
Tue Dec 13, 2022 5:16 pm
Thank you for the table.
Instant Harvest option does not work, and it would be really handy.
Could you please check this?
Turn "Instant Cook" off when you try harvest. I'll touch it later.
Ok, I'll check this out.

Also, I have found out that option "Fly mode" and "stamina" (I suppose this option is for unlimited run) are not working. I cannot even turn them on.
Another option "over weight to container" crashes the game altogether, meaning closing it and going back to Windows.
That's weird. All of them are woking fine in my PC.

Re: The Long Dark: Tales from the Far Territory (Steam)

Posted: Thu Dec 15, 2022 6:12 pm
by KrisNinja
beta99th wrote:
Thu Dec 15, 2022 11:01 am
KrisNinja wrote:
Wed Dec 14, 2022 3:02 pm
beta99th wrote:
Wed Dec 14, 2022 1:27 pm


Turn "Instant Cook" off when you try harvest. I'll touch it later.
Ok, I'll check this out.

Also, I have found out that option "Fly mode" and "stamina" (I suppose this option is for unlimited run) are not working. I cannot even turn them on.
Another option "over weight to container" crashes the game altogether, meaning closing it and going back to Windows.
That's weird. All of them are woking fine in my PC.
I suppose that some of them are working and some don't because there are differences between Steam and Epic versions. And unfortunately I am using the latter... Any chance you could verify it in Epic?

Re: The Long Dark: Tales from the Far Territory (Steam)

Posted: Fri Dec 16, 2022 12:41 am
by beta99th
KrisNinja wrote:
Thu Dec 15, 2022 6:12 pm
beta99th wrote:
Thu Dec 15, 2022 11:01 am
KrisNinja wrote:
Wed Dec 14, 2022 3:02 pm


Ok, I'll check this out.

Also, I have found out that option "Fly mode" and "stamina" (I suppose this option is for unlimited run) are not working. I cannot even turn them on.
Another option "over weight to container" crashes the game altogether, meaning closing it and going back to Windows.
That's weird. All of them are woking fine in my PC.
I suppose that some of them are working and some don't because there are differences between Steam and Epic versions. And unfortunately I am using the latter... Any chance you could verify it in Epic?
I'm sorry, I don't have Epic version. This is for Steam version as written in the title.

Re: The Long Dark: Tales from the Far Territory (Steam)

Posted: Sat Dec 17, 2022 11:13 am
by beta99th
Table updated to the current version 2.05 [106000].
Let me know if anything isn't working.

Re: The Long Dark: Tales from the Far Territory (Steam)

Posted: Sat Dec 17, 2022 2:35 pm
by hwen1721
Thanks for quick update! can you add no Frostbite if you don't mind? It would be the only thing to be way to go :)

Re: The Long Dark: Tales from the Far Territory (Steam)

Posted: Sun Dec 18, 2022 1:57 am
by beta99th
Fixed some errors & Added "Aurora On/Off"

Re: The Long Dark: Tales from the Far Territory (Steam)

Posted: Sun Dec 18, 2022 6:23 am
by NMss2
With the "disable ai scan", it's not like Ghost Mode entirely. The wolves still follows when walking and keeps on target unless standing still and then again starts following. Stags run away when the character is near, again an exception to the Ghost Mode.
Is it a bug or intended?
I can't run a test being the modding backend under update cycle.

Re: The Long Dark: Tales from the Far Territory (Steam)

Posted: Sun Dec 18, 2022 6:52 am
by beta99th
NMss2 wrote:
Sun Dec 18, 2022 6:23 am
With the "disable ai scan", it's not like Ghost Mode entirely. The wolves still follows when walking and keeps on target unless standing still and then again starts following. Stags run away when the character is near, again an exception to the Ghost Mode.
Is it a bug or intended?
I can't run a test being the modding backend under update cycle.
It must be because it only modified certain parts of the AI.I just dug in there.I didn't mean to recreate Ghost Mode.

Re: The Long Dark: Tales from the Far Territory (Steam)

Posted: Sun Dec 18, 2022 10:47 am
by fearlessusername
Hi
Can you do the console trick?
Spoiler
{ Game : tld.exe
Version: 1.98 87574 S
Date : 2021-12-09
Author : sub1to

public sealed class String : IComparable, ICloneable, IConvertible, IEnumerable, IComparable<string>, IEnumerable<char>, IEquatable<string> // TypeDefIndex: 289
// Fields
private int m_stringLength; // 0x10
private char m_firstChar; // 0x14
}

[ENABLE]
alloc(newmem,$ff,GameAssembly.dll)
alloc(string,$ff,GameAssembly.dll)
globalalloc(_uconsole_init,1,GameAssembly.dll)
label(returnhere)
label(code)
label(GameManager_Update_hook)
label(GameManager_Update_bytes)
registersymbol(GameManager_Update_hook)
registersymbol(GameManager_Update_bytes)

// class: GameManager
// RVA: 0x1607550 Offset: 0x1606150 VA: 0x7FFB68507550
// public void Update() { }
aobScanModule(hook,GameAssembly.dll,48 8b c4 55 57 41 56 48 8d 68 ? 48 81 ec ? ? ? ? 48 c7 45 ? ? ? ? ? 48 89 58 ? 48 89 70 ? 0f 29 70 ? 0f 29 78 ? 44 0f 29 40 ? 48 8b f1)

// class: Resources
// RVA: 0x2A0FFC0 Offset: 0x2A0EFC0 VA: 0x7FFB0E3DFFC0
// public static Object Load(string path) { }
aobScanModule(Resources_Load,GameAssembly.dll,40 57 48 83 ec ? 48 c7 44 24 ? ? ? ? ? 48 89 5c 24 ? 48 8b f9 80 3d ? ? ? ? ? 75 ? 48 8b 05 ? ? ? ? 48 63 90 ? ? ? ? 48 8b 05 ? ? ? ? 8b 8c 02 ? ? ? ? 45 33 c0 4c 89 44 24 ? 4c 89 44 24 ? 4c 89 44 24 ? 4c 8d 44 24 ? 8b 94 02 ? ? ? ? e8 ? ? ? ? 90 33 c9 ff 15 ? ? ? ? 90 c6 05 ? ? ? ? ? 48 8b 1d ? ? ? ? 48 8b 0d ? ? ? ? f6 81 ? ? ? ? ? 74 ? 83 b9 ? ? ? ? ? 75 ? e8 ? ? ? ? 33 d2 48 8b cb e8 ? ? ? ? 48 8b d8 48 8b 05)

// class: Object
// RVA: 0x2844950 Offset: 0x2843950 VA: 0x7FFB0E214950
// public static Object Instantiate(Object original) { }
aobScanModule(Object_Instantiate,GameAssembly.dll,40 53 48 83 ec ? 48 c7 44 24 ? ? ? ? ? 48 8b d9 80 3d ? ? ? ? ? 75 ? 48 8b 05 ? ? ? ? 48 63 90 ? ? ? ? 48 8b 05 ? ? ? ? 8b 8c 02 ? ? ? ? 45 33 c0 4c 89 44 24 ? 4c 89 44 24 ? 4c 89 44 24 ? 4c 8d 44 24 ? 8b 94 02 ? ? ? ? e8 ? ? ? ? 90 33 c9 ff 15 ? ? ? ? 90 c6 05 ? ? ? ? ? 48 8b 0d ? ? ? ? f6 81 ? ? ? ? ? 74 ? 83 b9 ? ? ? ? ? 75 ? e8 ? ? ? ? 45 33 c0 48 8b 15 ? ? ? ? 48 8b cb e8 ? ? ? ? 48 8b 05)

string:
dq 00 // +00 ptr
dq 00 // +08 padding
dd 08 // +10 len
db 'u' 0 'C' 0 'o' 0 'n' 0 's' 0 'o' 0 'l' 0 'e' 0 0

newmem:
GameManager_Update_bytes:
readMem(hook, 5)
jmp returnhere

code:

mov al, [_uconsole_init]
test al, al
jnz GameManager_Update_bytes
mov byte ptr [_uconsole_init], 1

lea rsp, [rsp-28]
mov [rsp+20], rcx
lea rcx, [string]
call Resources_Load
mov rcx, rax
call Object_Instantiate
mov rcx, [rsp+20]
lea rsp, [rsp+28]
jmp GameManager_Update_bytes

hook:
GameManager_Update_hook:
jmp code
returnhere:



[DISABLE]
GameManager_Update_hook:
readMem(GameManager_Update_bytes, 5)

unregistersymbol(GameManager_Update_hook)
unregistersymbol(GameManager_Update_bytes)
dealloc(newmem)
dealloc(string)

{
// ORIGINAL CODE - INJECTION POINT: GameAssembly.dll+E652C0

GameAssembly.dll+E652A6: CC - int 3
GameAssembly.dll+E652A7: E8 54 51 26 FF - call GameAssembly.dll+CA400
GameAssembly.dll+E652AC: CC - int 3
GameAssembly.dll+E652AD: E8 4E 51 26 FF - call GameAssembly.dll+CA400
GameAssembly.dll+E652B2: CC - int 3
GameAssembly.dll+E652B3: E8 48 51 26 FF - call GameAssembly.dll+CA400
GameAssembly.dll+E652B8: CC - int 3
GameAssembly.dll+E652B9: E8 42 51 26 FF - call GameAssembly.dll+CA400
GameAssembly.dll+E652BE: CC - int 3
GameAssembly.dll+E652BF: CC - int 3
// ---------- INJECTING HERE ----------
GameAssembly.dll+E652C0: 48 8B C4 - mov rax,rsp
GameAssembly.dll+E652C3: 55 - push rbp
// ---------- DONE INJECTING ----------
GameAssembly.dll+E652C4: 57 - push rdi
GameAssembly.dll+E652C5: 41 56 - push r14
GameAssembly.dll+E652C7: 48 8D 68 D8 - lea rbp,[rax-28]
GameAssembly.dll+E652CB: 48 81 EC 10 01 00 00 - sub rsp,00000110
GameAssembly.dll+E652D2: 48 C7 45 C0 FE FF FF FF - mov qword ptr [rbp-40],FFFFFFFFFFFFFFFE
GameAssembly.dll+E652DA: 48 89 58 08 - mov [rax+08],rbx
GameAssembly.dll+E652DE: 48 89 70 10 - mov [rax+10],rsi
GameAssembly.dll+E652E2: 0F 29 70 D8 - movaps [rax-28],xmm6
GameAssembly.dll+E652E6: 0F 29 78 C8 - movaps [rax-38],xmm7
}

Re: The Long Dark: Tales from the Far Territory (Steam)

Posted: Wed Dec 21, 2022 6:06 pm
by smukase
Thank you so much for this! I was stuck on another page waiting for an update and had no idea. :wub: