SMZ3: 0.4.4 backward compat client fix (#2667)
fixed broken client compatibility with any seed generated before 0.4.4 introduced with the recent change to the message queue.
This commit is contained in:
@@ -616,7 +616,8 @@ class Patch:
|
||||
"H" if self.myWorld.Config.SMLogic == Config.SMLogic.Hard else \
|
||||
"X"
|
||||
|
||||
self.title = f"ZSM{Patch.Major}{Patch.Minor}{Patch.Patch}{z3Glitch}{smGlitch}{self.myWorld.Id}{self.seed:08x}".ljust(21)[:21]
|
||||
from Utils import __version__
|
||||
self.title = f"ZSM{Patch.Major}{Patch.Minor}{Patch.Patch}{__version__.replace('.', '')[0:3]}{z3Glitch}{smGlitch}{self.myWorld.Id}{self.seed:08x}".ljust(21)[:21]
|
||||
self.patches.append((Snes(0x00FFC0), bytearray(self.title, 'utf8')))
|
||||
self.patches.append((Snes(0x80FFC0), bytearray(self.title, 'utf8')))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user