-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.py
127 lines (113 loc) · 4.68 KB
/
install.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# encoding: utf-8
#愚かinstallation file
from core.ai_detail import *
from core.database import *
import os
import sys
import time
from core.database import get_name, get_age, get_uname, get_uage, get_idname, update_uname, update_uage, update_idname
from core.ai_detail import name, age, developers, uname, uage, idname
os.system("pip2 install termcolor")
from termcolor import colored
#functions
def printslow(str):
for letter in str:
sys.stdout.write(letter)
sys.stdout.flush()
time.sleep(0.1)
def fillup():
print(colored("""Before You start AI we need some information from you\nNot Credit/Debit card bruhhh\nWe need your name and age only\n\n""","green"))
yourname = input("Name > ")
if yourname == "":
print("you didn't write your name")
os.system("clear")
fillup()
else:
update_uname(yourname)
ai_detail.uname = yourname
print(colored("""a.... your name is """ + yourname,"green"))
printslow(colored("""aa a a hajimemashte watashi wa aiko desu He.. Hell..\n""","red"))
print(colored("""Hello my name is Aiko Nice to meet you""", 'red'))
fillup2()
def fillup2():
yourage = input("Enter Your Age > ")
update_uage(yourage)
ai_detail.uage = yourage
print(colored("""ano... your age is """ + yourage,"green"))
if int(ai_detail.uage) <= 5:
update_idname("ototo")
print(colored("""Your so much small than me """+ str(idname),"yellow"))
print(ai_detail.idname())
time.sleep(3)
print(colored("""Now Your can start with using this command python3 start.py""","green"))
os.system("echo clearing terminal in 15sec | lolcat -a -d 150")
os.system("clear")
sys.exit()
elif int(ai_detail.uage) > 5 and int(ai_detail.uage) < 25:
update_idname("Oni-Chan")
print(colored("""Your bigger than me """+ str(idname),"red"))
time.sleep(3)
print(colored("""Now Your can start with using this command python3 start.py""","green"))
os.system("echo clearing terminal in 15sec | lolcat -a -d 150")
os.system("clear")
sys.exit()
elif int(ai_detail.uage) >= 25:
update_idname("Goshujinsama")
print(colored("""ahhh... wuaa.. your so much bigger than me """+ str(idname),"white"))
os.system("termux-open assets/happy/greeting/new_greeting.mp4")
time.sleep(3)
print(colored("""Now Your can start with using this command python3 start.py""","green"))
os.system("echo clearing terminal in 15sec | lolcat -a -d 150")
os.system("clear")
sys.exit()
#stashcode age greater than less than and 100 limit
def installpkg():
printslow(colored("""INSTALLING PACKAGES""","green"))
os.system("pkg install -y python python2 python3 ruby php termux-api zip screenfetch")
printslow(colored("""INSTALLING PYTHON MODULES""","green"))
os.system("pip3 install lolcat beautifulsoup4 argparse requests pysocks mpv termcolor")
printslow(colored("""DOWNLOADING ASSETS and Server""","green"))
os.system("wget https://www.dropbox.com/s/xdrg1l49ddf0lo3/ai_asset.zip")
os.system("unzip ai_asset.zip")
os.system("rm -rf ai_asset.zip")
printslow(colored("""PLEASE INSTALL TERMUX API FROM PLAYSTORE\nIF ITS ALREADY INSTALL SO IGNORE THIS MESSAGE""","green"))
os.system("termux-open-url https://play.google.com/store/apps/details?id=com.termux.api")
print(colored("""ALL PACKAGES INSTALLED""", "green"))
time.sleep(3)
os.system("clear")
fillup()
def information():
os.system("clear")
printslow(colored("""Before We send our AI Child to you Please Read this Info.""","green"))
print(colored("""
=====================================================
AI v0.1Beta
=====================================================""","red"), colored("""
1. This AI only worked on Termux
2. I know many of the pepole getting questions like a
"Child AI", yeah my nigg she is my daughter
Ok That was joke -_-
Main Reason is some of the algorithm and somethings
are still underwork/pending thats why she is child
3. She didn't had lots of knowledge because of she is
child (bruhhh)
4. If you mess with her. so her bodyguard will punished
you well so be carefull
5. Sometime she express her feeling with using video
so don't ignore that
6. If something Wrong happend like you get punishment so
we are not responsible for that
7. Don't worry this AI still under work, we are trying
to turn her into adult so be patience for that""","green"), colored("""
=======================================================\n\n""","red"))
print(colored("""SO ARE YOU READY, FOR TAKING RESPONSIBLITY OF OUR AI""","green"))
say = input("Say(Y/N) > ")
if say == "Y" or say == "y":
installpkg()
os.system("termux-open assets/install.mp4")
elif say == "N" or say == "n":
sys.exit()
else:
printslow(colored("""say it right answer""","green"))
information()
information()