Add multi-region launcher support

Add custom launcher as well as support for both the original TW and JP
launchers.
This commit is contained in:
Andrew Gutekanst
2019-12-30 07:38:12 +09:00
parent a014b0d3b9
commit 501cfc2267
14 changed files with 596 additions and 37 deletions

View File

@@ -47,6 +47,8 @@ func (session *Session) handlePacket(pkt []byte) error {
bf := byteframe.NewByteFrameFromBytes(pkt)
reqType := string(bf.ReadNullTerminatedBytes())
switch reqType {
case "DLTSKEYSIGN:100":
fallthrough
case "DSGN:100":
session.handleDSGNRequest(bf)
break