Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions _modpacks/resources/cswt/cstp.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ def saveFiles(self, root, gameInstance, modList):
# 1.5x speedup
mainDol.seek(mapper.boomToFileAddress(0x80818fa8))
mainDol.write(b'\x3F\xB0\x03\x47')
# change auction timer to account for speedup
mainDol.seek(mapper.boomToFileAddress(0x80815730))
mainDol.write((7).to_bytes(4,'big'))
# Memory Block: Always Small Blocks
mainDol.seek(mapper.boomToFileAddress(0x800eec88))
mainDol.write(b'\x3B\xC0\x00\x00')
Expand All @@ -180,6 +183,16 @@ def saveFiles(self, root, gameInstance, modList):
# Fix AI 98-Stock Exploit (makes AI tank your stocks even if you have 98 or fewer)
mainDol.seek(mapper.boomToFileAddress(0x800A3C10))
mainDol.write(b'\x2C\x00\x00\x01')
# Skip Splash Screens
for dolAddr in (0x10D40, 0x10D44): #0x800159A0, 0x800159A4
mainDol.seek(dolAddr)
mainDol.write(b'\x60\x00\x00\x00')
mainDol.seek(0x13220) #0x80017E80
mainDol.write(b'\x39\xc0\x00\x01')
mainDol.seek(0x13224) #0x80017E84
mainDol.write(b'\x91\xdf\x00\x10')
mainDol.seek(mapper.boomToFileAddress(0x801e9a18))
mainDol.write(b'\x40\x82\x00\x10')

def saveUiMessages(self):
return {f'files/localize/ui_message.{k}.csv':
Expand Down
13 changes: 13 additions & 0 deletions _modpacks/resources/cswt/cswt.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ def saveFiles(self, root, gameInstance, modList):
# 1.5x speedup
mainDol.seek(mapper.boomToFileAddress(0x80818fa8))
mainDol.write(b'\x3F\xB0\x03\x47')
# change auction timer to account for speedup
mainDol.seek(mapper.boomToFileAddress(0x80815730))
mainDol.write((7).to_bytes(4,'big'))
# Memory Block: Always Small Blocks
mainDol.seek(mapper.boomToFileAddress(0x800eec88))
mainDol.write(b'\x3B\xC0\x00\x00')
Expand All @@ -182,6 +185,16 @@ def saveFiles(self, root, gameInstance, modList):
# Fix AI 98-Stock Exploit (makes AI tank your stocks even if you have 98 or fewer)
mainDol.seek(mapper.boomToFileAddress(0x800A3C10))
mainDol.write(b'\x2C\x00\x00\x01')
# Skip Splash Screens
for dolAddr in (0x10D40, 0x10D44): #0x800159A0, 0x800159A4
mainDol.seek(dolAddr)
mainDol.write(b'\x60\x00\x00\x00')
mainDol.seek(0x13220) #0x80017E80
mainDol.write(b'\x39\xc0\x00\x01')
mainDol.seek(0x13224) #0x80017E84
mainDol.write(b'\x91\xdf\x00\x10')
mainDol.seek(mapper.boomToFileAddress(0x801e9a18))
mainDol.write(b'\x40\x82\x00\x10')

def saveUiMessages(self):
return {f'files/localize/ui_message.{k}.csv':
Expand Down