Skip to content

Commit 6b27b22

Browse files
Implement AI memory lookahead patch into CSLT
1 parent 125ad41 commit 6b27b22

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

_modpacks/packs/cslt/stable/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
{
44
"name":"Custom Street Legacy Tour",
55
"description":"An overhaul modpack containing over 100 boards from previous games in the Itadaki Street series!",
6-
"version":"1.0",
6+
"version":"1.1",
77
"entity":"modpack",
88
"type":"primary",
9-
"last_updated":"2024/11/28",
9+
"last_updated":"2025/09/02",
1010
"resources":"cslt"
1111
}
1212
}

_modpacks/resources/cslt/cslt.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ def saveFiles(self, root, gameInstance, modList):
5959
mainDol.write(b'\x38\x60\x00\x01')
6060
mainDol.seek(mapper.boomToFileAddress(0x8020f91c))
6161
mainDol.write(b'\x38\x60\x00\x01')
62+
# increase AI memory lookahead
63+
memoryLookaheadPatch = b'\x3c\x80\x00\x02'
64+
mainDol.seek(mapper.boomToFileAddress(0x8009e6c4))
65+
mainDol.write(memoryLookaheadPatch)
66+
mainDol.seek(mapper.boomToFileAddress(0x8009d368))
67+
mainDol.write(memoryLookaheadPatch)
6268

6369
def modifyArcFile(self):
6470
localeToTitleArcFile = {

0 commit comments

Comments
 (0)