Created
June 8, 2013 02:43
-
-
Save whosaysni/5733769 to your computer and use it in GitHub Desktop.
Yoshinoya Merlin/吉野家マーリン
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import win32com.client, time, binascii | |
Agent = win32com.client.Dispatch("Agent.Control.2") | |
Agent.Connected = 1 | |
Agent.Characters.Load("Merlin", "C:\WINDOWS\MSAGENT\CHARS\MERLIN.ACS") | |
Merlin = Agent.Characters("Merlin") | |
Merlin.Show() | |
bdat = [ \ | |
"grGC8YLJgr+CzYFCjoSCzJa8kU+CzYN9gVuDioOTgsWCt4FCCoK7gvGCyIKxgsaC", | |
"5oLolbeCooLEgq2C6oLmgUIKV2luZG93cyCCzINDg5ODWINngVuDi4LGgs2K1oxX", | |
"gsiCooLxgr6Cr4LHgrOBQgqCsYLMkU+L34+KgsyLZ5bsicaNc4LBgr2C8YLFgreB", | |
"QotnluyJxoFCCoK7grWCvYLnkGyCqoKigsGCz4Kii4+CxJP8guqCyIKigvGCxYK3", | |
"gUIgCoLmgq2MqYK9gueQgoLqlouCqom6gqqCwYLEgsSBQQqCUIJUgk+JfoLGgqmP", | |
"kYKigsSCoILpgvGCxYK3gUIKguCCpILLgUGDQYN6gqmCxoFCCpRujq2CqYLGgUIK", | |
"gqiC3IKmk5mVgZJpl4iCxILIgqKLZ5bsia6CyYK9gqmCqoJQglSCT4l+grKCxoKr", | |
"gsWXiILEgvGCtoLhgsuBW4LmgUIKgsiC8YKpicaRsJhBguqCx4KpguCCooLpgrWB", | |
"QgqI6onGjmyQbILFi2eW7InGgqmBQYKogt+CxYLEgVuCyIFCCoLmgVuCtYNwg3CT", | |
"wZC3l4qC8YK2guGCpIK8gVuBSYFAgsaCqYy+gsGCxAqC4IKkjKmCxILngvGCyIKi", | |
"gUIKgqiC3IKmk5mCyIFBglCCVIJPiX6C4oLpgqmC54K7gsyQyIKggq+C64FCCotn", | |
"luyJxoLBgsSMvoKkgsyCzYLggsGCxo5FlLCCxoK1gsSC6YLXgquCyILxgr6C5oFC", | |
"CoJ0gsyOmoNlgVuDdYOLgsmCs4K1jPyCqYKigsWCooLCiaOC6I2HgqKCqo5ugtyC", | |
"6YKpgUEKjmiCt4KpjmiCs4LqgumCqYLMlbWIzYtDgqqCooKigvGCtoLhgsuBW4Kp", | |
"gUIKj5eOcYufgs2Ct4LBgrGC8YLFguuBQgqC4oLBgsaNwILqgr2Cxo52gsGCvYLn", | |
"gUGNoZN4gs2X14LMguKCwoKqk76I04KwgskKgsKC5IK+gq2R5ZC3gsWBSQqCxoKp", | |
"jL6CwYK/guGCxILpgvGCxYK3gUIKgqCCzILIgUOCwoLkgr6CrYLIgvGCxI2hk/qC", | |
"0ZesjXOC8YLLgVuC8YK+guaBQgqJvYKqk76I04KwgsiK54K1gsSBdYLCguSCvoKt", | |
"keWQt4LogsWBSYF2gr6BQgqCqJFPgs2DeoOTg2eCyYLCguSCvoKtgvCQSIKigr2C", | |
"ooLMgqmW4oKigr2CooFCCpbigqKLbILfgr2CooFCCo+siOqOnorUCoLGgqKCwoLf", | |
"gr2CooFCCoKokU+CwoLkgr6CrYLBgsSMvoKigr2CooK+gq+Cv4LhgqSC8YKpgUIK", | |
"g3uDUIFCCotnluyJxpLKgsyK1ILFjaGXrI1zgsGCxILpgsyCzYLLgqyCvoKtgUIK", | |
"grGC6oK+gsuBQgqT94Kqj62CyILfgsWCy4KsgqqRvYLfgUIKgrGC6o3Fi62BQgqC", | |
"tYKpgrWCsYLqgvCXioLegsaOn4nxgqmC55NYiPWCyYN9gVuDToKzguqC6YLGgqKC", | |
"pI+UkG6CzIyVgsWC4IKggumBQgqRZpBsgsmCzYKoiqmC34LFgquCyIKigUIKgtyC", | |
"n4xOgs2LjY34kuiQSILFguCQSILBgsSCyIKzgqKCwYLEgrGCwYK9gUIK\n",] | |
msg = binascii.a2b_base64(''.join(bdat)).split('\n') | |
for i in msg: | |
Merlin.Speak(i) | |
time.sleep(len(i)/6) | |
import pywintypes | |
try: | |
Merlin.Think('mmm...') | |
time.sleep(3) | |
except pywintypes.com_error, values: | |
print values[0], values[1], values[2] | |
time.sleep(5) | |
Merlin.Hide() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment