ewic69 wrote: ↑Sun Apr 02, 2023 4:15 pm
Don't use the Quick Menu to get some skill pills and scrap parts. It will bug your save file and will cause crashes. For me it happened in chapter 8 at the university. There is a point there after you see the monkeys at the fountain and when you try to go to the building to proceed to the story my game freezes and crashes. Tried to delete my old save file and start a new clean game without using the quick menu cheat and i am now at chapter 10.
The crash occurs here:
Happened to me too.
In plain words, if you have more than 72 Inventory items, game will refuse to allocate memory for moments like picking up a new weapon or spawning it from Dev Menu.
I am here, for example, at the University, trying to pick-up that flamethrower or whatever it is:
As soon as I attempt to pick it up, this happens:
Already kMaxGameInventoryItems is 72. Picking that up will boost it up to 73, so the crash kicks in.
The temporary fix is breaking at this address with a debugger:
Code: Select all
tlou-i-l.exe+17B9B60:
tlou-i.exe+17BC80C:
00007FF6F1959B60 | 41:837D 00 48 | CMP DWORD PTR DS:[R13],48 | 48:'H'
Then making [r13]'s value the value - 3. Then [r13+4]'s value the value - 3. So if you see 0x49, then make [r13] == 0x46 and [r13+4] == 0x46. Note that it will break twice: once when you pick the weapon up, another time when game runs the animation zooming in on the weapon and tries to hide it.
Here's my flamethrower fixed
BR,
Sun
P.S.#1: Or just patch:
Code: Select all
tlou-i-l.exe+17B9B65:
tlou-i.exe+17BC811:
00007FF6F1959B65 | 0F86 82000000 | JBE tlou-i-l.7FF6F1959BED |
The JBE to a JMP, so it always skips the check for max. Note that I am unable to tell if some weapon from your inventory might disappear or not.. or if the CMP [r13],48 is gonna be hit every time a new map loads (with JMP in place, you should not crash, anyway).
P.S.#2: I've updated each snipped with the offset of each exe (
tlou-i.exe and
tlou-i-l.exe -- I play the last one, as my CPU doesn't support AVX2 instructions). Version 1.0.1.6.
P.S.#3: Yeah, it seems you'll have to drag this along as you progress. The game will crash every once in a while still, when some cutscene occurs, but at least you'll progress. I sure as shit am not starting all over again