├── Compiler
├── bin2array.py
├── compiler.py
└── ita.py
├── Example Games
├── silence.bin
└── silence.src
├── LICENSE
├── Players
├── ArduBoyGTI
│ └── ArduBoyGTI.ino
└── player.py
└── README
/Compiler/bin2array.py:
--------------------------------------------------------------------------------
1 | # convert BIN GTI files to C++ arrays for Arduino
2 |
3 | import sys
4 |
5 | if len(sys.argv) != 2:
6 | print "Usage: bin2array.py "
7 | quit()
8 |
9 | input = sys.argv[1]
10 | file = open(input,"r")
11 |
12 | print "const unsigned char gti[] PROGMEM = { "
13 |
14 | col = 0
15 |
16 | while 1==1:
17 | data = file.read(1)
18 | if data == "": break
19 | sys.stdout.write(str(ord(data))+",")
20 | col = col + 1
21 | if col == 90000:
22 | sys.stdout.write("\n")
23 | col = 0
24 | print "};"
25 |
26 |
--------------------------------------------------------------------------------
/Compiler/compiler.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/python
2 | # compile CSV into byte code
3 |
4 | #import ita
5 | import sys
6 |
7 | if len(sys.argv) != 3:
8 | print "Usage: python compiler.py "
9 | print "Compiler for GTI converts CSV files into binary byte code"
10 | quit()
11 |
12 | source = sys.argv[1]
13 | destination = sys.argv[2]
14 |
15 | file = open(source,"r")
16 | source = file.readlines()
17 | file.close()
18 |
19 | rooms = []
20 | room_type = []
21 | room_label = []
22 | room_size = []
23 | room_address = []
24 | room_exits = []
25 | address = {}
26 | compiled = ""
27 | mode = 0
28 |
29 |
30 | for i in range(0,len(source)):
31 | line = source[i].split(",")
32 | mode = line[1]
33 | if mode.upper() == "ROOM":
34 | binary = ""
35 | exit_a = line[2]
36 | exit_b = line[3]
37 | exit_a_description = line[4]
38 | exit_b_description = line[5]
39 | description = ",".join(line[6:]).rstrip()
40 | # binary = binary + chr(exit_a >> 8) + chr(exit_a & 0xFF)
41 | # binary = binary + chr(exit_b >> 8) + chr(exit_b & 0xFF)
42 | binary = binary + exit_a_description + chr(0)
43 | binary = binary + exit_b_description + chr(0)
44 | binary = binary + description + chr(0)
45 | rooms.append(binary)
46 | room_type.append("room")
47 | room_label.append(line[0])
48 | room_exits.append([exit_a,exit_b])
49 | if mode.upper() == "SPECIAL":
50 | if line[2].upper() == "END":
51 | binary = ""
52 | description = ",".join(line[3:])
53 | binary = binary + description + chr(0)
54 | rooms.append(binary)
55 | room_type.append("end")
56 | room_label.append(line[0])
57 | room_exits.append(['special','end'])
58 | if line[2].upper() == "TEXT":
59 | binary = ""
60 | description = ",".join(line[3:]).rstrip()
61 | binary = binary + description + chr(0)
62 | rooms.append(binary)
63 | room_type.append("text")
64 | room_label.append(line[0])
65 | room_exits.append(['special','text'])
66 | if line[2].upper() == "JUMP":
67 | rooms.append("")
68 | room_type.append("jump")
69 | room_label.append(line[0])
70 | room_exits.append([line[3].rstrip(),line[3].rstrip()])
71 | if line[2].upper() == "EFFECT":
72 | rooms.append(line[3].rstrip())
73 | room_type.append("effect")
74 | room_label.append(line[0])
75 | room_exits.append([line[3].rstrip(),line[3].rstrip()])
76 |
77 |
78 |
79 | print "ASCII data converted. Indexing rooms complete."
80 |
81 | # Build a list of field lengths
82 |
83 | for i in range(0,len(rooms)):
84 | size = 2
85 | if room_type[i] == "room":
86 | size = size + 2
87 | size = size + len(rooms[i])
88 | if room_type[i] == "end":
89 | size = size + 1
90 | size = size + len(rooms[i])
91 | if room_type[i] == "text":
92 | size = size + 1
93 | size = size + len(rooms[i])
94 | if room_type[i] == "jump":
95 | size = size + 3
96 | if room_type[i] == "effect":
97 | size = size + 2
98 | room_size.append(size)
99 |
100 |
101 | print "Calculated field lenghs."
102 |
103 | # calculate room addresses
104 |
105 | pc = 0
106 |
107 | for i in range(0,len(rooms)):
108 | room_address.append(pc)
109 | pc = pc + room_size[i]
110 |
111 | print "Calculated field addresses."
112 |
113 | for i in range(0,len(rooms)):
114 | address[room_label[i]] = room_address[i]
115 |
116 | print "Label address dictionary built."
117 |
118 | for i in range(0,len(rooms)):
119 | # try:
120 | if room_type[i] == "room":
121 | print room_exits[i][0]+" "+room_exits[i][1]
122 | compiled = compiled + chr(address[room_exits[i][0]] >> 8) + chr(address[room_exits[i][0]] & 0xFF)
123 | compiled = compiled + chr(address[room_exits[i][1]] >> 8) + chr(address[room_exits[i][1]] & 0xFF)
124 | compiled = compiled + rooms[i].rstrip()
125 | if room_type[i] == "end":
126 | compiled = compiled + chr(255) + chr(255)
127 | compiled = compiled + chr(0)
128 | compiled = compiled + rooms[i].rstrip()
129 | if room_type[i] == "text":
130 | compiled = compiled + chr(255) + chr(255)
131 | compiled = compiled + chr(16)
132 | compiled = compiled + rooms[i].rstrip()
133 | if room_type[i] == "jump":
134 | compiled = compiled + chr(255) + chr(255)
135 | compiled = compiled + chr(5)
136 | compiled = compiled + chr(address[room_exits[i][0]] >> 8) + chr(address[room_exits[i][0]] & 0xFF)
137 | if room_type[i] == "effect":
138 | compiled = compiled + chr(255) + chr(255)
139 | compiled = compiled + chr(13)
140 | compiled = compiled + chr(int(rooms[i].rstrip()))
141 |
142 |
143 | # except:
144 | # print "Cannot find destination label in room "+room_label[i]
145 | # quit()
146 |
147 | print "Compile complete."
148 | o = open(destination,"w")
149 | o.write(compiled)
150 | o.close()
151 | print "Written to "+destination+"."
152 | print "Final length was "+str(len(compiled))+"."
153 |
154 | base = 12722
155 | max = 28672
156 | size = max - base
157 | if len(compiled) > size: print "Arduboy warning: memory size exceeded by "+str(len(compiled) - size)+" bytes!"
158 |
159 |
--------------------------------------------------------------------------------
/Compiler/ita.py:
--------------------------------------------------------------------------------
1 | # ITA2 BAUDOT Library
2 |
3 | mode = 0
4 |
5 | letters = "@E\nA SIU$DRJNFCKTZLWHYPQOBG^MXV~" # $ = CR, ^ = shift numbers, ~ = shift letters
6 | # 01 234567890123456789012345678901
7 | # 1 2 3
8 | numbers = "@3\n- $87%=4',!:(5\")2#6019?&^./;~" # $ = bell, = WRU?, ^ = shift numbers, ~ = shift to letters
9 | # 01 234567890123456 789012345678901"
10 | # 1 2 3
11 |
12 | # converts ASCII to ITA2
13 |
14 | def a2ita(character):
15 | if character == "^": return bin(27).split("b")[1].zfill(5)
16 | if character == "~": return bin(31).split("b")[1].zfill(5)
17 | for i in range(0,31):
18 | if mode == 0:
19 | if character == letters[i]: return bin(i).split("b")[1].zfill(5)
20 | if mode == 1:
21 | if character == numbers[i]: return bin(i).split("b")[1].zfill(5)
22 | return "00000"
23 |
24 | # converts a block of 10 characters into 5 byte ITA2 (40 bits)
25 |
26 | def a2itablock(string):
27 | bits = ""
28 | binary = ""
29 | oldstring = string
30 | string = ""
31 | mode = 0
32 | for i in range(0,len(oldstring)): # pre-processor to insert control characters
33 | if mode == 0:
34 | if (oldstring[i].isnumeric() == True) or (oldstring[i] == "-") or (oldstring[i] == ",") or (oldstring[i] == ".") or (oldstring[i] == "\"") or (oldstring[i] == "?"):
35 | string = string + "^"
36 | mode = 1
37 | print "switch to number"
38 | else:
39 | if (oldstring[i].isnumeric() == False) or (oldstring[i] != "\n") or (oldstring[i] != " ") or (oldstring[i] != "\n") or (oldstring[i] != "-") or (oldstring[i] != ",") or (oldstring[i] != ".") or (oldstring[i] != "\"") or (oldstring[i] != "?"):
40 | string = string + "~"
41 | mode = 0
42 | print "switch to string"
43 | string = string + oldstring[i]
44 | mode = 0
45 | for x in range(0,len(string),8):
46 | bits = ""
47 | for i in range(0,9):
48 | try:
49 | bits = bits + a2ita(string[i+x])
50 | except:
51 | bits = bits + "00000"
52 | for i in range(0,39,8):
53 | binary = binary + chr(int(bits[i:i+8],2))
54 | if len(binary) % 5 == 0:
55 | binary = binary + chr(0)
56 | return binary
57 |
58 | # function that calls ITA2 lookup table for baudot()
59 |
60 | def b2a(value):
61 | if mode == 0:
62 | return letters[value]
63 | if mode == 1:
64 | return numbers[value]
65 |
66 |
67 | # decodes ITA2
68 |
69 | def baudot(string):
70 | bits = ""
71 | output = ""
72 | for i in range(0,len(string)):
73 | bits = bits + bin(ord(string[i])).split("b")[1].zfill(8)
74 | for i in range(0,len(bits),5):
75 | output = output + b2a(int(bits[i:i+5],2))
76 | return output
77 |
78 |
--------------------------------------------------------------------------------
/Example Games/silence.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spaceneedle/GameTextInterpreter/39b89d408fe9056ac7561945bd9433565d111992/Example Games/silence.bin
--------------------------------------------------------------------------------
/Example Games/silence.src:
--------------------------------------------------------------------------------
1 | 1,special,text,BOOM! RUMBLE! FLASH!
2 | lightning,special,effect,1
3 | rumble,special,effect,0
4 | 2,special,text,An explosion somewhere within the city rocks your apartment!
5 | 3,special,text,A fury of car alarms, flashes of light, screams and yells come from outside your window.
6 | rumble2,special,effect,0
7 | 4,special,text,Another explosion rocks the city. This time, it seems closer.
8 | 5,special,text,Your gut instinct is to run down the stairs and into the old fallout shelter.
9 | apt,room,stay,shelter,Wait it out,Run down stairs,Your heart is pounding. There isn't a moment to lose.
10 | stay,room,stay2,stairs2,It'll prolly stop,Run down stairs,Another explosion and flash of light knocks you off your feet. Your ears ring.
11 | stay2,special,text,Your apartment building is hit by something and is destroyed. You manage to survive, but you are trapped in rubble.
12 | stay3,special,end,Maybe someone will come rescue? You hear more explosions. The chance is becoming less and less likely.
13 | shelter,special,text,You run down the stairs into the bunker down below. Two others had the same bright idea.
14 | shelter2,special,text,Another flash of light from up the staircase and explosion rocks the small room. It might be time to close the door.
15 | shelter3,room,close,dontclose,Close Door,Don't Close,You feel bad for your neighbors who might be on their way down.
16 | close,special,text,Just as you start closing the door, someone pleads with you to let them through. "Help! Please! Let me in!"
17 | close2,special,text,You decide to let them through and promptly close the door.
18 | close3,special,text,Suddenly, one last explosion pounds the small room, almost knocking everyone over. The power goes out and it becomes quiet.
19 | close4,special,jump,darkroom
20 | dontclose,special,text,You hear someone scrambling down the stairs and run into the room! They promptly close the door and lock it.
21 | dontclose3,special,jump,close3
22 | darkroom,room,darkroom,1,Wait,Die,You are in a dark room. There is nothing to do. There are no items. The door is jammed.
23 | stairs2,special,text,Running down the stairs, you overhear someone with an open apartment door on the phone. "..No please! Stop bombing!"
24 | stairs3,special,text,You decide to stop and easedrop behind the door. The fallout shelter is very close, and you think you can dart in quickly.
25 | stairs3,special,text,"..I am in the 314 building. I have not evacuated yet!" Evacuated? This is very curious...
26 | stairs4,special,text,"Yes, I am the only one here. Do you have a lock?..that might just be a reflection.." A lock? What is going on?
27 | stairs5,special,text,Suddenly, you feel a strange tingling sensation. Then it stops. You are now in a completely different location! Huh?
28 | spaceship,special,text,Strange men are standing all around a room. "Don, your human form looks perfect! I wouldn't change a thing!"
29 | spaceship2,special,text,"Here, let me show you to your bridge." You try to play along as these strange men are carrying what looks like a weapon.
30 | spaceship3,special,text,Wow! You are now a spaceship captain! No one knows your real identity and they think you are an all powerful leader!
31 | spaceship4,room,bomb,stopbomb,Bomb more,Stop Bombing,"Sir, we are waiting on orders. We are making good progress in destroying earth residents."
32 | bomb,special,text,"Well, start bombing more then!" you order. It is not like you can go back now. Might as well blow up your own planet!
33 | bomb2,room,bomb2000,bomb4000,2000 Bombs,4000 Bombs,"Yes sir! Right away! How many more bombs should we send?"
34 | bomb2000,special,text,"That seems like a more reasonable amount of bombs, sir". You are happy with 2,000 bombs. 4,000 just seems like too many.
35 | bomb3,special,jump,bombdone
36 | depart,special,text,"I need to depart the ship." Everyone seems confused. "Excuuuse me?" says another man of unknown job description.
37 | depart2,special,text,"Why on earth..i mean..space would you do that?" says the man.
38 | depart3,room,forgot,tv,Forgot something,Left TV on,You have to quickly make up an excuse.
39 | stopbomb,special,text,"Wait? Why would we stop bombing!?" says the bombing commander worker guy. He looks very puzzled.
40 | stopbomb2,special,text,"Because I am the captain! THATS WHY!" This makes perfect sense to everyone in the room and no one asks more questions.
41 | stopbomb3,room,depart,plotcourse,Depart ship,Plot course somewhere,What will you do next?
42 | bomb4000,special,text,"4,000 bombs? Wow. That is a lot of bombs. Okay, that will take a few minutes." You are very content with that number.
43 | bombdone,special,text,"Okay. All of those bombs were dropped. It is very smokey on earth now," says some guy who is probably the bombing commander.
44 | bombdone2,room,office,coffee,Go to captain's office,Locate coffee,All of this bombing is hard work. You decide to take a break.
45 | office,room,pushbutton,computer,Push red button,Use computer thing,The captain's office looks really boring. There's a big red button and a computer thing.
46 | computer,special,text,The computer has a screen that says "Locked". There is a password prompt.
47 | computer2,room,computerright,computerwrong,1-2-3-4-5,4-23-391-3,You decide to guess the password? Which one is it?
48 | computerwrong,room,pushbutton,computer2,Push Red Button,Try again,The computer speaks in a terrible voice: "ERROR! ERROR! HACKER ALERT!" That wasn't it!
49 | computerright,room,email,chat,Read email,Open chat window,"Welcome to computer! You have mail!". There's a chat window
50 | email,room,read1,read2,Read first one,Read second one,There are two emails. They both have "secret" as the subject but different senders.
51 | read1,special,text,It reads: "Dear captain. We have detected an insecure password for your account. You must change it within 5 days." You decide to read the second anyway.
52 | read2,room,click,somethingelse,Click link,Do something else,It reads: "Here is the link to the control system. Bookmark it this time so you stop forgetting it!"
53 | somethingelse,special,text,Enough of that dumb computer. You get up and look around. Elevator? YES PLEASE! You enter the elevator.
54 | elevator,room,e1,bridge,Push "E1",Go to bridge,You see 1 button in the elevator labeled "E1". You can also just walk out and go to the bridge.
55 | e1,special,text,These elevators are weird. They can only go between two floors. Then you get out, and take another. These space aliens haven't discovered direct elevator service!
56 | e1room,room,e2,e4,E2 Elevator,E4 Elevator,You are in the elevator 1 lobby between two elevators. Confusing.
57 | e2,room,l10,l19,Level 10,Level 19,This elevator can only go to level 10 or level 19. You have no idea what these places are.
58 | l10,special,text,You reach Level 10. There are a bunch of non-descript hallways. You decide to have some fun as no one can question your authority. You strut down the corridor.
59 | l10a,room,cart,l10b,Shove cart,Keep walking,You come across some people working down a stairwell. A cart with heavy equipment holds the door open at the top. Tempting.
60 | l10b,room,rock,l10c,Throw rock,Keep walking,You come across some crappy rock on a pedestal. It's from their dumb moon or something.
61 | rock,special,text,You pick up the giant moon rock and hurl it at the window. It shatters easily and sucks everything, including you, into space.
62 | rock2,special,end,Minimal casualties resulted as the floor was sealed off (it was relatively an unimportant floor anyway).
63 | cart,special,text,Those guys will never see it coming! You shove the cart down as it smashes down the stairs. You laugh as you hear painful cursing as it plows into the workers. While
64 | cart2,special,text,this would have been usually uneventful, they were working on the main life support power supply. The cart severed the power cable and all of the oxygen systems turned off.
65 | cart3,special,end,It was unnoticable for quite some time, but eventually all of the aliens (including you!) succumed to the lack of oxygen. You saved the day, accidently. Sort of.
66 | l10c,room,panel,l10d,Play with panel,Keep walking,You see a computer panel that says WEAPONS CONTROL SYSTEM. It wants a password but you have a good idea what it probably is.
67 | l10d,room,turn,l10d,Turn left,Keep walking,This corridor seems endless. Random hallways are to your left. Is the game stuck?
68 | turn,room,aux,turn2,Auxiliary Room,Keep walking,A boring sounding room is to your left. Best keep walking.
69 | turn2,room,storage,turn3,Storage Room,Keep walking,Some sort of storage room is to your left.
70 | stare,special,text,The wall has litterally no pattern at all. You stare off into white space nothingness. You find this soothing.
71 | turn3,room,upvator,stare,Upvator,Stare at wall,This door leads to something called an "upvator". Maybe it goes up?
72 | upvator,special,text,You enter the upvator. It has no buttons and immedately takes you to the elevator 1 lobby room.
73 | upvator2,special,jump,e1room
74 | storage,room,hat,turn2,Try on hat,Leave room,You enter the storage room. There is nothing but hats! Hundreds! Wow!
75 | hat,special,text,You try on a random hat. You look in the mirror. Nah, not your style. You put the hat back.
76 | hat2,special,jump,storage
77 | aux,room,turn,mashbuttons,Leave room,Mash buttons,Lots and lots of unlabeled buttons and blinky lights. There is a viewscreen of earth and ship security cameras.
78 | mashbuttons,special,text,You hit all the buttons you can find. Red ones, yellow ones, black ones, even a few green ones!
79 | mashbuttons2,special,text,You notice that earth is starting to get awfully large on the view screen. The ship is even tipping 45 degrees.
80 | mashbuttons3,special,text,Oh this is not good! The ship is spinning out of control! One of these buttons was not a good one to push.
81 | mashbuttons4,special,text,You start to see some dumb city you don't recognize on the view screen as you get closer and closer to the ground.
82 | mashbuttons5,special,text,Suddenly, the ship steers and crash lands into a nearby lake with a giant sign that says "Police Training Lake".
83 | mashbuttons6,special,text,As the ship bobs in the water, hundreds of police boats swarm the space ship. You see them enter on the security cameras and arrest the aliens.
84 | mashbuttons7,special,text,A police officer enters the auxiliary room. You try to explain, but you are arrested as an alien for destroying many cities, a major crime.
85 | jail,room,jail,1,Wait,Die,You are now in jail. There is no escape. Now you just have to wait.
86 | panel,special,text,You enter in the secret password (1-2-3-4-5) and push every single weapons button. However, planet Earth was still the last
87 | panel2,special,text,location within the targeting system. You also fired off the planet destruction bomb. Earth is now destroyed. You hear some strange rattling sounds in the bomb bay.
88 | panel3,room,bombbay,ignore,Investigate bomb bay,Ignore it,The panel also says there is some sort of jam. A count down clock ticks.
89 | ignore,special,text,You figure it should be someone elses problem anyway. You start struting down the hall pretending like nothing happened.
90 | ignore2,special,end,The jammed bomb explodes and destroys the ship. No one wins. But at least they won't be messing with other planets anytime soon.
91 | bombbay,special,text,You enter the bomb bay and notice one of the bomb connector things is damaged. It is preventing the bomb from entering the launching tube. That does not look good.
92 | bombbay2,room,hammer,kick,Hit with hammer,Kick it,Pending doom awaits. You see a hammer. You also are pretty good at kicking things, so there's that too.
93 | hammer,special,text,You hit the bomb with a hammer. The clock starts counting down at excessive speed. Uh oh! You damaged the time circuit! This is not good.
94 | kick,special,text,You kick it to see what happens. That seems to have done the trick, and the bomb loads into the launcher and fires. It explodes in space.
95 | kick2,room,moon,rock,Land on moon,Throw rock,There's a small spacecraft here! Earth is gone, but there's always the moon? Another dumb rock is here.
96 | moon,special,text,You decide the moon is your next destination. You land on the moon, now spinning wildly out of control, due to the lack of a planet earth.
97 | moona,special,end,Things were kind of okay, but you have no friends on the moon. Over the years, it eventually crashes into the sun.
98 | l19,special,text,You reach level 19. The smell of coffee lingers as the only thing on this level appears to be a cheap espresso cart.
99 | l19a,room,coffeecart,upvator,Coffee Cart,Upvator,You see an upvator! Thank god. Also, you can go up to the espresso cart.
100 | coffeecart,special,text,"Look, I know what happened," the coffeemaker says.
101 | coffeecart2,room,l19a,followgirl,Don't follow,Follow coffeemaker,"You will need to follow me through this door."
102 | followgirl,special,text,You follow the coffeemaker through a strange corridor. Eventually, you reach a small garage with a little spaceship.
103 | followgirl2,special,text,Push the self destruct button and hop in! You land on Earth in a remote location.
104 | followgirl3,special,text,She says, "now have to fulfill YOUR part of the deal!" What deal!? "Marry me now!" she says. Uh?
105 | followgirl6,room,dontmarry,marry,Don't marry her,Marry her,She does look very pretty. And she knows how to make coffee. But is that enough?
106 | dontmarry,special,text,You have proven yourself to be a terrible person. For that, i will change into my true self and exit my humansuit. Uh oh..
107 | dontmarry2,special,end,She transforms into a giant monster. "You are now my meal!"
108 | marry,special,text,You decide that you better take advantage of this while you can. It won't be that bad...will it?
109 | marry2,special,text,You saved the day and got the girl. Uh..she is taking off her humansuit! "You have THREE HEADS and TEN ARMS?!"
110 | marry3,special,end,"Yes of course I do, my new spouse! I love you!" And she gives you a giant 10 arm hug. Well, maybe it'll work out somehow.
111 | coffee,special,text,"So, uh, where is the coffee maker again?" you ask, ever so slyly. "She's on level 19, sir. E1 to E2 to L19."
112 | coffee2,room,elevator,bombdone2,Go to elevator,Nevermind,"Oh, yeah, i knew that" (what the heck are all of those directions?)
113 | forgot,special,text,"I.uhh..forgot something back on earth." The bomber laughs as if it was some sort of joke, and drops 1000 bombs on your city.
114 | forgot2,special,jump,bombdone2
115 | tv,special,text,"I uhh...left the TV on." you remark. "You said building 312, right?" the bomber guy asks. Oh great.
116 | tv2,special,text,The bomber guy presses a bunch of buttons and a video of your building being destroyed can be seen on a small screen.
117 | tv3,special,text,"Okay, sir. Nice catch. It's off now." You stare in disbelief. Maybe you shouldn't have said that.
118 | tv4,special,jump,bombdone2
119 | click,room,sewer,somethingelse,Set backwards,Do something else,You enter some sort of administration portal. You see a strange setting called "sewage system direction: forward"
120 | sewer,special,text,For fun, you change the sewer direction to "backwards". For a while, it didn't seem to do a whole lot, so you pressed the [+] on Sewer PSI Setting 1000 times.
121 | sewer2,special,text,A terrible rushing sound could be heard in what looked like a bathroom. Bad smells and dark liquid could be seen coming from under the door.
122 | sewer3,special,text,Some yelling could be heard in the distance: "OH MY GOD! THE TOILETS ARE SEWAGE GEYSERS! HIT THE EMERGENCY SHUT OFF!" Mission accomplished!
123 | sewer4,special,jump,somethingelse
124 | chat,special,text,It just says "Meet me on L19 -CG"
125 | chat2,special,jump,computerright
126 | bridge,room,office,elevator,Captain's Office,Elevator,You are on the bridge. Lots of buzzing and beeping. Some bombing. Otherwise, not much going on.
127 | e4,special,text,You reach elevator lobby 4. The other elevator appears to be out of order, so you take the only working one to L5.
128 | l5,room,teleporter,upvator,Teleporter button,Upvator,You are on L5. There is an upvator! There is just a teleporter here. The one you arrived in.
129 | teleporter,special,text,You engage the teleporter controls but bump the altitude controls. You are sent to the last location used several floors down: the bomb shelter.
130 | teleporter2,special,text,You are not sure you are glad to be back or not. All of your friends are here, but there's a problem with the shelter door!
131 | teleporter3,special,jump,darkroom
132 | pushbutton,special,text,This big red button has no text on it. It couldn't be THAT important, otherwise it would have some sort of warning on it.
133 | pushbutton2,special,text,You give the big red button a push. Nothing happens. You push it again a couple more times. Well that sucks.
134 | pushbutton5,special,text,Suddenly the door opens. Someone rushes in. "CAPTAIN!!! SOMEONE HAS INITIATED THE SELF DESTRUCT SEQUENCE!"
135 | pushbutton8,special,text,You start to hear a growing rumble. It becomes louder and louder. "Can't you just cancel the self destruct?"
136 | pushbutton9,special,text,"Where is the countdown?" He looks at you like you are some sort of idiot. "THERE IS NO CANCEL AND THERE IS NO COUNTING!"
137 | pushbutton9.5,special,text,"PARTS OF THE SHIP ARE BLOWING UP AS WE SPEAK!! IT WILL REACH US IN A MATTER OF MINUTES NOW!"
138 | pushbutton10,room,escape,green,Find escape pod,Push green button,"THE SHIP IS SELF DESTRUCTING NOW!" Uh oh.
139 | green,special,text,You frantically start pushing a big green button. "NO! YOU IDIOT! DON'T PUSH THAT!" What could be worse than getting blown up?
140 | green2,special,text,Suddenly, the ship begins to accelerate. Things start looking very odd out the window. Then the oddness stops. It is normal space again.
141 | green3,special,text,You see another planet outside the window, as the ship coasts towards a giant orbiting base structure. The rumbling becomes even louder.
142 | green4,special,text,"YOU IDIOT! YOU COMMANDED THE SHIP TO DOCK WITH THE HOME MEGABASE. THE QUEEN IS AT THE MEGABASE TODAY! YOU WILL KILL EVERYONE!"
143 | green5,special,text,Pending doom is soon approaching, you crack a huge smile.
144 | green6,room,telltruth,insult,Tell the truth,Insult queen over radio broadcast,How will you spend your final moments?
145 | telltruth,special,text,You monologue: "I am really a human. I did this all on purpose for trying to destroy our planet. Now you will all die. Idiots."
146 | telltruth2,special,text,The ship docks with the Home Megabase. A very concerned woman, who looks like a queen, looks frightened at the sight of your exploding ship!
147 | telltruth3,special,end,The computer barks "Denonating subatomic mega bomb.". The ship explodes, the Home Megabase is no more, and the atmosphere blows off the alien planet.
148 | insult,special,text,You monologue: "This is a planet megabase wide broadcast. Your queen is a stupid idiot. She smells funny and is terrible at math."
149 | insult2,special,text,You can hear collective gasps throughout the ship and over the communication channel. "Take it back!" someone says over the radio.
150 | insult3,special,text,You tell them you won't and you hope their home megabase blows up with her. You laugh uncontrollably.
151 | insult4,special,jump,telltruth2
152 | escape,special,text,There isn't any!
153 | escapea,special,jump,pushbutton10
154 | plotcourse,special,text,This isn't Star Trek!
155 | plotcoursea,special,jump,stopbomb3
156 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | GNU AFFERO GENERAL PUBLIC LICENSE
2 | Version 3, 19 November 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 | Preamble
9 |
10 | The GNU Affero General Public License is a free, copyleft license for
11 | software and other kinds of works, specifically designed to ensure
12 | cooperation with the community in the case of network server software.
13 |
14 | The licenses for most software and other practical works are designed
15 | to take away your freedom to share and change the works. By contrast,
16 | our General Public Licenses are intended to guarantee your freedom to
17 | share and change all versions of a program--to make sure it remains free
18 | software for all its users.
19 |
20 | When we speak of free software, we are referring to freedom, not
21 | price. Our General Public Licenses are designed to make sure that you
22 | have the freedom to distribute copies of free software (and charge for
23 | them if you wish), that you receive source code or can get it if you
24 | want it, that you can change the software or use pieces of it in new
25 | free programs, and that you know you can do these things.
26 |
27 | Developers that use our General Public Licenses protect your rights
28 | with two steps: (1) assert copyright on the software, and (2) offer
29 | you this License which gives you legal permission to copy, distribute
30 | and/or modify the software.
31 |
32 | A secondary benefit of defending all users' freedom is that
33 | improvements made in alternate versions of the program, if they
34 | receive widespread use, become available for other developers to
35 | incorporate. Many developers of free software are heartened and
36 | encouraged by the resulting cooperation. However, in the case of
37 | software used on network servers, this result may fail to come about.
38 | The GNU General Public License permits making a modified version and
39 | letting the public access it on a server without ever releasing its
40 | source code to the public.
41 |
42 | The GNU Affero General Public License is designed specifically to
43 | ensure that, in such cases, the modified source code becomes available
44 | to the community. It requires the operator of a network server to
45 | provide the source code of the modified version running there to the
46 | users of that server. Therefore, public use of a modified version, on
47 | a publicly accessible server, gives the public access to the source
48 | code of the modified version.
49 |
50 | An older license, called the Affero General Public License and
51 | published by Affero, was designed to accomplish similar goals. This is
52 | a different license, not a version of the Affero GPL, but Affero has
53 | released a new version of the Affero GPL which permits relicensing under
54 | this license.
55 |
56 | The precise terms and conditions for copying, distribution and
57 | modification follow.
58 |
59 | TERMS AND CONDITIONS
60 |
61 | 0. Definitions.
62 |
63 | "This License" refers to version 3 of the GNU Affero General Public License.
64 |
65 | "Copyright" also means copyright-like laws that apply to other kinds of
66 | works, such as semiconductor masks.
67 |
68 | "The Program" refers to any copyrightable work licensed under this
69 | License. Each licensee is addressed as "you". "Licensees" and
70 | "recipients" may be individuals or organizations.
71 |
72 | To "modify" a work means to copy from or adapt all or part of the work
73 | in a fashion requiring copyright permission, other than the making of an
74 | exact copy. The resulting work is called a "modified version" of the
75 | earlier work or a work "based on" the earlier work.
76 |
77 | A "covered work" means either the unmodified Program or a work based
78 | on the Program.
79 |
80 | To "propagate" a work means to do anything with it that, without
81 | permission, would make you directly or secondarily liable for
82 | infringement under applicable copyright law, except executing it on a
83 | computer or modifying a private copy. Propagation includes copying,
84 | distribution (with or without modification), making available to the
85 | public, and in some countries other activities as well.
86 |
87 | To "convey" a work means any kind of propagation that enables other
88 | parties to make or receive copies. Mere interaction with a user through
89 | a computer network, with no transfer of a copy, is not conveying.
90 |
91 | An interactive user interface displays "Appropriate Legal Notices"
92 | to the extent that it includes a convenient and prominently visible
93 | feature that (1) displays an appropriate copyright notice, and (2)
94 | tells the user that there is no warranty for the work (except to the
95 | extent that warranties are provided), that licensees may convey the
96 | work under this License, and how to view a copy of this License. If
97 | the interface presents a list of user commands or options, such as a
98 | menu, a prominent item in the list meets this criterion.
99 |
100 | 1. Source Code.
101 |
102 | The "source code" for a work means the preferred form of the work
103 | for making modifications to it. "Object code" means any non-source
104 | form of a work.
105 |
106 | A "Standard Interface" means an interface that either is an official
107 | standard defined by a recognized standards body, or, in the case of
108 | interfaces specified for a particular programming language, one that
109 | is widely used among developers working in that language.
110 |
111 | The "System Libraries" of an executable work include anything, other
112 | than the work as a whole, that (a) is included in the normal form of
113 | packaging a Major Component, but which is not part of that Major
114 | Component, and (b) serves only to enable use of the work with that
115 | Major Component, or to implement a Standard Interface for which an
116 | implementation is available to the public in source code form. A
117 | "Major Component", in this context, means a major essential component
118 | (kernel, window system, and so on) of the specific operating system
119 | (if any) on which the executable work runs, or a compiler used to
120 | produce the work, or an object code interpreter used to run it.
121 |
122 | The "Corresponding Source" for a work in object code form means all
123 | the source code needed to generate, install, and (for an executable
124 | work) run the object code and to modify the work, including scripts to
125 | control those activities. However, it does not include the work's
126 | System Libraries, or general-purpose tools or generally available free
127 | programs which are used unmodified in performing those activities but
128 | which are not part of the work. For example, Corresponding Source
129 | includes interface definition files associated with source files for
130 | the work, and the source code for shared libraries and dynamically
131 | linked subprograms that the work is specifically designed to require,
132 | such as by intimate data communication or control flow between those
133 | subprograms and other parts of the work.
134 |
135 | The Corresponding Source need not include anything that users
136 | can regenerate automatically from other parts of the Corresponding
137 | Source.
138 |
139 | The Corresponding Source for a work in source code form is that
140 | same work.
141 |
142 | 2. Basic Permissions.
143 |
144 | All rights granted under this License are granted for the term of
145 | copyright on the Program, and are irrevocable provided the stated
146 | conditions are met. This License explicitly affirms your unlimited
147 | permission to run the unmodified Program. The output from running a
148 | covered work is covered by this License only if the output, given its
149 | content, constitutes a covered work. This License acknowledges your
150 | rights of fair use or other equivalent, as provided by copyright law.
151 |
152 | You may make, run and propagate covered works that you do not
153 | convey, without conditions so long as your license otherwise remains
154 | in force. You may convey covered works to others for the sole purpose
155 | of having them make modifications exclusively for you, or provide you
156 | with facilities for running those works, provided that you comply with
157 | the terms of this License in conveying all material for which you do
158 | not control copyright. Those thus making or running the covered works
159 | for you must do so exclusively on your behalf, under your direction
160 | and control, on terms that prohibit them from making any copies of
161 | your copyrighted material outside their relationship with you.
162 |
163 | Conveying under any other circumstances is permitted solely under
164 | the conditions stated below. Sublicensing is not allowed; section 10
165 | makes it unnecessary.
166 |
167 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
168 |
169 | No covered work shall be deemed part of an effective technological
170 | measure under any applicable law fulfilling obligations under article
171 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
172 | similar laws prohibiting or restricting circumvention of such
173 | measures.
174 |
175 | When you convey a covered work, you waive any legal power to forbid
176 | circumvention of technological measures to the extent such circumvention
177 | is effected by exercising rights under this License with respect to
178 | the covered work, and you disclaim any intention to limit operation or
179 | modification of the work as a means of enforcing, against the work's
180 | users, your or third parties' legal rights to forbid circumvention of
181 | technological measures.
182 |
183 | 4. Conveying Verbatim Copies.
184 |
185 | You may convey verbatim copies of the Program's source code as you
186 | receive it, in any medium, provided that you conspicuously and
187 | appropriately publish on each copy an appropriate copyright notice;
188 | keep intact all notices stating that this License and any
189 | non-permissive terms added in accord with section 7 apply to the code;
190 | keep intact all notices of the absence of any warranty; and give all
191 | recipients a copy of this License along with the Program.
192 |
193 | You may charge any price or no price for each copy that you convey,
194 | and you may offer support or warranty protection for a fee.
195 |
196 | 5. Conveying Modified Source Versions.
197 |
198 | You may convey a work based on the Program, or the modifications to
199 | produce it from the Program, in the form of source code under the
200 | terms of section 4, provided that you also meet all of these conditions:
201 |
202 | a) The work must carry prominent notices stating that you modified
203 | it, and giving a relevant date.
204 |
205 | b) The work must carry prominent notices stating that it is
206 | released under this License and any conditions added under section
207 | 7. This requirement modifies the requirement in section 4 to
208 | "keep intact all notices".
209 |
210 | c) You must license the entire work, as a whole, under this
211 | License to anyone who comes into possession of a copy. This
212 | License will therefore apply, along with any applicable section 7
213 | additional terms, to the whole of the work, and all its parts,
214 | regardless of how they are packaged. This License gives no
215 | permission to license the work in any other way, but it does not
216 | invalidate such permission if you have separately received it.
217 |
218 | d) If the work has interactive user interfaces, each must display
219 | Appropriate Legal Notices; however, if the Program has interactive
220 | interfaces that do not display Appropriate Legal Notices, your
221 | work need not make them do so.
222 |
223 | A compilation of a covered work with other separate and independent
224 | works, which are not by their nature extensions of the covered work,
225 | and which are not combined with it such as to form a larger program,
226 | in or on a volume of a storage or distribution medium, is called an
227 | "aggregate" if the compilation and its resulting copyright are not
228 | used to limit the access or legal rights of the compilation's users
229 | beyond what the individual works permit. Inclusion of a covered work
230 | in an aggregate does not cause this License to apply to the other
231 | parts of the aggregate.
232 |
233 | 6. Conveying Non-Source Forms.
234 |
235 | You may convey a covered work in object code form under the terms
236 | of sections 4 and 5, provided that you also convey the
237 | machine-readable Corresponding Source under the terms of this License,
238 | in one of these ways:
239 |
240 | a) Convey the object code in, or embodied in, a physical product
241 | (including a physical distribution medium), accompanied by the
242 | Corresponding Source fixed on a durable physical medium
243 | customarily used for software interchange.
244 |
245 | b) Convey the object code in, or embodied in, a physical product
246 | (including a physical distribution medium), accompanied by a
247 | written offer, valid for at least three years and valid for as
248 | long as you offer spare parts or customer support for that product
249 | model, to give anyone who possesses the object code either (1) a
250 | copy of the Corresponding Source for all the software in the
251 | product that is covered by this License, on a durable physical
252 | medium customarily used for software interchange, for a price no
253 | more than your reasonable cost of physically performing this
254 | conveying of source, or (2) access to copy the
255 | Corresponding Source from a network server at no charge.
256 |
257 | c) Convey individual copies of the object code with a copy of the
258 | written offer to provide the Corresponding Source. This
259 | alternative is allowed only occasionally and noncommercially, and
260 | only if you received the object code with such an offer, in accord
261 | with subsection 6b.
262 |
263 | d) Convey the object code by offering access from a designated
264 | place (gratis or for a charge), and offer equivalent access to the
265 | Corresponding Source in the same way through the same place at no
266 | further charge. You need not require recipients to copy the
267 | Corresponding Source along with the object code. If the place to
268 | copy the object code is a network server, the Corresponding Source
269 | may be on a different server (operated by you or a third party)
270 | that supports equivalent copying facilities, provided you maintain
271 | clear directions next to the object code saying where to find the
272 | Corresponding Source. Regardless of what server hosts the
273 | Corresponding Source, you remain obligated to ensure that it is
274 | available for as long as needed to satisfy these requirements.
275 |
276 | e) Convey the object code using peer-to-peer transmission, provided
277 | you inform other peers where the object code and Corresponding
278 | Source of the work are being offered to the general public at no
279 | charge under subsection 6d.
280 |
281 | A separable portion of the object code, whose source code is excluded
282 | from the Corresponding Source as a System Library, need not be
283 | included in conveying the object code work.
284 |
285 | A "User Product" is either (1) a "consumer product", which means any
286 | tangible personal property which is normally used for personal, family,
287 | or household purposes, or (2) anything designed or sold for incorporation
288 | into a dwelling. In determining whether a product is a consumer product,
289 | doubtful cases shall be resolved in favor of coverage. For a particular
290 | product received by a particular user, "normally used" refers to a
291 | typical or common use of that class of product, regardless of the status
292 | of the particular user or of the way in which the particular user
293 | actually uses, or expects or is expected to use, the product. A product
294 | is a consumer product regardless of whether the product has substantial
295 | commercial, industrial or non-consumer uses, unless such uses represent
296 | the only significant mode of use of the product.
297 |
298 | "Installation Information" for a User Product means any methods,
299 | procedures, authorization keys, or other information required to install
300 | and execute modified versions of a covered work in that User Product from
301 | a modified version of its Corresponding Source. The information must
302 | suffice to ensure that the continued functioning of the modified object
303 | code is in no case prevented or interfered with solely because
304 | modification has been made.
305 |
306 | If you convey an object code work under this section in, or with, or
307 | specifically for use in, a User Product, and the conveying occurs as
308 | part of a transaction in which the right of possession and use of the
309 | User Product is transferred to the recipient in perpetuity or for a
310 | fixed term (regardless of how the transaction is characterized), the
311 | Corresponding Source conveyed under this section must be accompanied
312 | by the Installation Information. But this requirement does not apply
313 | if neither you nor any third party retains the ability to install
314 | modified object code on the User Product (for example, the work has
315 | been installed in ROM).
316 |
317 | The requirement to provide Installation Information does not include a
318 | requirement to continue to provide support service, warranty, or updates
319 | for a work that has been modified or installed by the recipient, or for
320 | the User Product in which it has been modified or installed. Access to a
321 | network may be denied when the modification itself materially and
322 | adversely affects the operation of the network or violates the rules and
323 | protocols for communication across the network.
324 |
325 | Corresponding Source conveyed, and Installation Information provided,
326 | in accord with this section must be in a format that is publicly
327 | documented (and with an implementation available to the public in
328 | source code form), and must require no special password or key for
329 | unpacking, reading or copying.
330 |
331 | 7. Additional Terms.
332 |
333 | "Additional permissions" are terms that supplement the terms of this
334 | License by making exceptions from one or more of its conditions.
335 | Additional permissions that are applicable to the entire Program shall
336 | be treated as though they were included in this License, to the extent
337 | that they are valid under applicable law. If additional permissions
338 | apply only to part of the Program, that part may be used separately
339 | under those permissions, but the entire Program remains governed by
340 | this License without regard to the additional permissions.
341 |
342 | When you convey a copy of a covered work, you may at your option
343 | remove any additional permissions from that copy, or from any part of
344 | it. (Additional permissions may be written to require their own
345 | removal in certain cases when you modify the work.) You may place
346 | additional permissions on material, added by you to a covered work,
347 | for which you have or can give appropriate copyright permission.
348 |
349 | Notwithstanding any other provision of this License, for material you
350 | add to a covered work, you may (if authorized by the copyright holders of
351 | that material) supplement the terms of this License with terms:
352 |
353 | a) Disclaiming warranty or limiting liability differently from the
354 | terms of sections 15 and 16 of this License; or
355 |
356 | b) Requiring preservation of specified reasonable legal notices or
357 | author attributions in that material or in the Appropriate Legal
358 | Notices displayed by works containing it; or
359 |
360 | c) Prohibiting misrepresentation of the origin of that material, or
361 | requiring that modified versions of such material be marked in
362 | reasonable ways as different from the original version; or
363 |
364 | d) Limiting the use for publicity purposes of names of licensors or
365 | authors of the material; or
366 |
367 | e) Declining to grant rights under trademark law for use of some
368 | trade names, trademarks, or service marks; or
369 |
370 | f) Requiring indemnification of licensors and authors of that
371 | material by anyone who conveys the material (or modified versions of
372 | it) with contractual assumptions of liability to the recipient, for
373 | any liability that these contractual assumptions directly impose on
374 | those licensors and authors.
375 |
376 | All other non-permissive additional terms are considered "further
377 | restrictions" within the meaning of section 10. If the Program as you
378 | received it, or any part of it, contains a notice stating that it is
379 | governed by this License along with a term that is a further
380 | restriction, you may remove that term. If a license document contains
381 | a further restriction but permits relicensing or conveying under this
382 | License, you may add to a covered work material governed by the terms
383 | of that license document, provided that the further restriction does
384 | not survive such relicensing or conveying.
385 |
386 | If you add terms to a covered work in accord with this section, you
387 | must place, in the relevant source files, a statement of the
388 | additional terms that apply to those files, or a notice indicating
389 | where to find the applicable terms.
390 |
391 | Additional terms, permissive or non-permissive, may be stated in the
392 | form of a separately written license, or stated as exceptions;
393 | the above requirements apply either way.
394 |
395 | 8. Termination.
396 |
397 | You may not propagate or modify a covered work except as expressly
398 | provided under this License. Any attempt otherwise to propagate or
399 | modify it is void, and will automatically terminate your rights under
400 | this License (including any patent licenses granted under the third
401 | paragraph of section 11).
402 |
403 | However, if you cease all violation of this License, then your
404 | license from a particular copyright holder is reinstated (a)
405 | provisionally, unless and until the copyright holder explicitly and
406 | finally terminates your license, and (b) permanently, if the copyright
407 | holder fails to notify you of the violation by some reasonable means
408 | prior to 60 days after the cessation.
409 |
410 | Moreover, your license from a particular copyright holder is
411 | reinstated permanently if the copyright holder notifies you of the
412 | violation by some reasonable means, this is the first time you have
413 | received notice of violation of this License (for any work) from that
414 | copyright holder, and you cure the violation prior to 30 days after
415 | your receipt of the notice.
416 |
417 | Termination of your rights under this section does not terminate the
418 | licenses of parties who have received copies or rights from you under
419 | this License. If your rights have been terminated and not permanently
420 | reinstated, you do not qualify to receive new licenses for the same
421 | material under section 10.
422 |
423 | 9. Acceptance Not Required for Having Copies.
424 |
425 | You are not required to accept this License in order to receive or
426 | run a copy of the Program. Ancillary propagation of a covered work
427 | occurring solely as a consequence of using peer-to-peer transmission
428 | to receive a copy likewise does not require acceptance. However,
429 | nothing other than this License grants you permission to propagate or
430 | modify any covered work. These actions infringe copyright if you do
431 | not accept this License. Therefore, by modifying or propagating a
432 | covered work, you indicate your acceptance of this License to do so.
433 |
434 | 10. Automatic Licensing of Downstream Recipients.
435 |
436 | Each time you convey a covered work, the recipient automatically
437 | receives a license from the original licensors, to run, modify and
438 | propagate that work, subject to this License. You are not responsible
439 | for enforcing compliance by third parties with this License.
440 |
441 | An "entity transaction" is a transaction transferring control of an
442 | organization, or substantially all assets of one, or subdividing an
443 | organization, or merging organizations. If propagation of a covered
444 | work results from an entity transaction, each party to that
445 | transaction who receives a copy of the work also receives whatever
446 | licenses to the work the party's predecessor in interest had or could
447 | give under the previous paragraph, plus a right to possession of the
448 | Corresponding Source of the work from the predecessor in interest, if
449 | the predecessor has it or can get it with reasonable efforts.
450 |
451 | You may not impose any further restrictions on the exercise of the
452 | rights granted or affirmed under this License. For example, you may
453 | not impose a license fee, royalty, or other charge for exercise of
454 | rights granted under this License, and you may not initiate litigation
455 | (including a cross-claim or counterclaim in a lawsuit) alleging that
456 | any patent claim is infringed by making, using, selling, offering for
457 | sale, or importing the Program or any portion of it.
458 |
459 | 11. Patents.
460 |
461 | A "contributor" is a copyright holder who authorizes use under this
462 | License of the Program or a work on which the Program is based. The
463 | work thus licensed is called the contributor's "contributor version".
464 |
465 | A contributor's "essential patent claims" are all patent claims
466 | owned or controlled by the contributor, whether already acquired or
467 | hereafter acquired, that would be infringed by some manner, permitted
468 | by this License, of making, using, or selling its contributor version,
469 | but do not include claims that would be infringed only as a
470 | consequence of further modification of the contributor version. For
471 | purposes of this definition, "control" includes the right to grant
472 | patent sublicenses in a manner consistent with the requirements of
473 | this License.
474 |
475 | Each contributor grants you a non-exclusive, worldwide, royalty-free
476 | patent license under the contributor's essential patent claims, to
477 | make, use, sell, offer for sale, import and otherwise run, modify and
478 | propagate the contents of its contributor version.
479 |
480 | In the following three paragraphs, a "patent license" is any express
481 | agreement or commitment, however denominated, not to enforce a patent
482 | (such as an express permission to practice a patent or covenant not to
483 | sue for patent infringement). To "grant" such a patent license to a
484 | party means to make such an agreement or commitment not to enforce a
485 | patent against the party.
486 |
487 | If you convey a covered work, knowingly relying on a patent license,
488 | and the Corresponding Source of the work is not available for anyone
489 | to copy, free of charge and under the terms of this License, through a
490 | publicly available network server or other readily accessible means,
491 | then you must either (1) cause the Corresponding Source to be so
492 | available, or (2) arrange to deprive yourself of the benefit of the
493 | patent license for this particular work, or (3) arrange, in a manner
494 | consistent with the requirements of this License, to extend the patent
495 | license to downstream recipients. "Knowingly relying" means you have
496 | actual knowledge that, but for the patent license, your conveying the
497 | covered work in a country, or your recipient's use of the covered work
498 | in a country, would infringe one or more identifiable patents in that
499 | country that you have reason to believe are valid.
500 |
501 | If, pursuant to or in connection with a single transaction or
502 | arrangement, you convey, or propagate by procuring conveyance of, a
503 | covered work, and grant a patent license to some of the parties
504 | receiving the covered work authorizing them to use, propagate, modify
505 | or convey a specific copy of the covered work, then the patent license
506 | you grant is automatically extended to all recipients of the covered
507 | work and works based on it.
508 |
509 | A patent license is "discriminatory" if it does not include within
510 | the scope of its coverage, prohibits the exercise of, or is
511 | conditioned on the non-exercise of one or more of the rights that are
512 | specifically granted under this License. You may not convey a covered
513 | work if you are a party to an arrangement with a third party that is
514 | in the business of distributing software, under which you make payment
515 | to the third party based on the extent of your activity of conveying
516 | the work, and under which the third party grants, to any of the
517 | parties who would receive the covered work from you, a discriminatory
518 | patent license (a) in connection with copies of the covered work
519 | conveyed by you (or copies made from those copies), or (b) primarily
520 | for and in connection with specific products or compilations that
521 | contain the covered work, unless you entered into that arrangement,
522 | or that patent license was granted, prior to 28 March 2007.
523 |
524 | Nothing in this License shall be construed as excluding or limiting
525 | any implied license or other defenses to infringement that may
526 | otherwise be available to you under applicable patent law.
527 |
528 | 12. No Surrender of Others' Freedom.
529 |
530 | If conditions are imposed on you (whether by court order, agreement or
531 | otherwise) that contradict the conditions of this License, they do not
532 | excuse you from the conditions of this License. If you cannot convey a
533 | covered work so as to satisfy simultaneously your obligations under this
534 | License and any other pertinent obligations, then as a consequence you may
535 | not convey it at all. For example, if you agree to terms that obligate you
536 | to collect a royalty for further conveying from those to whom you convey
537 | the Program, the only way you could satisfy both those terms and this
538 | License would be to refrain entirely from conveying the Program.
539 |
540 | 13. Remote Network Interaction; Use with the GNU General Public License.
541 |
542 | Notwithstanding any other provision of this License, if you modify the
543 | Program, your modified version must prominently offer all users
544 | interacting with it remotely through a computer network (if your version
545 | supports such interaction) an opportunity to receive the Corresponding
546 | Source of your version by providing access to the Corresponding Source
547 | from a network server at no charge, through some standard or customary
548 | means of facilitating copying of software. This Corresponding Source
549 | shall include the Corresponding Source for any work covered by version 3
550 | of the GNU General Public License that is incorporated pursuant to the
551 | following paragraph.
552 |
553 | Notwithstanding any other provision of this License, you have
554 | permission to link or combine any covered work with a work licensed
555 | under version 3 of the GNU General Public License into a single
556 | combined work, and to convey the resulting work. The terms of this
557 | License will continue to apply to the part which is the covered work,
558 | but the work with which it is combined will remain governed by version
559 | 3 of the GNU General Public License.
560 |
561 | 14. Revised Versions of this License.
562 |
563 | The Free Software Foundation may publish revised and/or new versions of
564 | the GNU Affero General Public License from time to time. Such new versions
565 | will be similar in spirit to the present version, but may differ in detail to
566 | address new problems or concerns.
567 |
568 | Each version is given a distinguishing version number. If the
569 | Program specifies that a certain numbered version of the GNU Affero General
570 | Public License "or any later version" applies to it, you have the
571 | option of following the terms and conditions either of that numbered
572 | version or of any later version published by the Free Software
573 | Foundation. If the Program does not specify a version number of the
574 | GNU Affero General Public License, you may choose any version ever published
575 | by the Free Software Foundation.
576 |
577 | If the Program specifies that a proxy can decide which future
578 | versions of the GNU Affero General Public License can be used, that proxy's
579 | public statement of acceptance of a version permanently authorizes you
580 | to choose that version for the Program.
581 |
582 | Later license versions may give you additional or different
583 | permissions. However, no additional obligations are imposed on any
584 | author or copyright holder as a result of your choosing to follow a
585 | later version.
586 |
587 | 15. Disclaimer of Warranty.
588 |
589 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
590 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
591 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
592 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
593 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
594 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
595 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
596 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
597 |
598 | 16. Limitation of Liability.
599 |
600 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
601 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
602 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
603 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
604 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
605 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
606 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
607 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
608 | SUCH DAMAGES.
609 |
610 | 17. Interpretation of Sections 15 and 16.
611 |
612 | If the disclaimer of warranty and limitation of liability provided
613 | above cannot be given local legal effect according to their terms,
614 | reviewing courts shall apply local law that most closely approximates
615 | an absolute waiver of all civil liability in connection with the
616 | Program, unless a warranty or assumption of liability accompanies a
617 | copy of the Program in return for a fee.
618 |
619 | END OF TERMS AND CONDITIONS
620 |
621 | How to Apply These Terms to Your New Programs
622 |
623 | If you develop a new program, and you want it to be of the greatest
624 | possible use to the public, the best way to achieve this is to make it
625 | free software which everyone can redistribute and change under these terms.
626 |
627 | To do so, attach the following notices to the program. It is safest
628 | to attach them to the start of each source file to most effectively
629 | state the exclusion of warranty; and each file should have at least
630 | the "copyright" line and a pointer to where the full notice is found.
631 |
632 |
633 | Copyright (C)
634 |
635 | This program is free software: you can redistribute it and/or modify
636 | it under the terms of the GNU Affero General Public License as published by
637 | the Free Software Foundation, either version 3 of the License, or
638 | (at your option) any later version.
639 |
640 | This program is distributed in the hope that it will be useful,
641 | but WITHOUT ANY WARRANTY; without even the implied warranty of
642 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
643 | GNU Affero General Public License for more details.
644 |
645 | You should have received a copy of the GNU Affero General Public License
646 | along with this program. If not, see .
647 |
648 | Also add information on how to contact you by electronic and paper mail.
649 |
650 | If your software can interact with users remotely through a computer
651 | network, you should also make sure that it provides a way for users to
652 | get its source. For example, if your program is a web application, its
653 | interface could display a "Source" link that leads users to an archive
654 | of the code. There are many ways you could offer source, and different
655 | solutions will be better for different programs; see section 13 for the
656 | specific requirements.
657 |
658 | You should also get your employer (if you work as a programmer) or school,
659 | if any, to sign a "copyright disclaimer" for the program, if necessary.
660 | For more information on this, and how to apply and follow the GNU AGPL, see
661 | .
--------------------------------------------------------------------------------
/Players/ArduBoyGTI/ArduBoyGTI.ino:
--------------------------------------------------------------------------------
1 | // Arduboy GTI player
2 | // NOTE! You must add the following lines to your library for this to compile:
3 | // arduboy.h: uint8_t getCursorX(); uint8_t getCursorY();
4 | // arduboy.cpp: uint8_t Arduboy::getCursorX() { return cursor_x; } uint8_t Arduboy::getCursorY() { return cursor_y; }
5 | // replace char gti[] with your compiled game bytecode by using compiler.py and bin2array.py -- it is currently silence.bin now
6 |
7 | #define ON 1
8 | #define OFF 0
9 |
10 | // Standard includes for Arduboy
11 |
12 | #include
13 | #include
14 | #include "Arduboy.h"
15 | #include
16 | Arduboy display;
17 |
18 | // Game options
19 | // Interpreter size tuning (turning off some interpreter support can save PROGMEM memory, but code must not contain related bytecodes (unless stated!)
20 |
21 | #define SOUND ON // 574 bytes (If support is disabled, bytecode is skipped properly)
22 | #define SERIAL OFF // 182 bytes (no impact on bytecode interpreting)
23 |
24 | #define VARIABLES ON
25 | #define MUSIC ON
26 | #define SFXLIB ON // 496 bytes (If support is disabled, bytecode is skipped properly)
27 | #define VECTOR ON
28 |
29 | // Button definition
30 |
31 | #define FIRE_BUTTON 1
32 | #define JUMP_BUTTON 2
33 | #define RIGHT 4
34 | #define DOWN 64
35 | #define UP 16
36 | #define LEFT 32
37 |
38 | // Init system variables
39 |
40 | uint8_t state = 0;
41 | uint16_t room = 0;
42 | uint8_t inst = 0;
43 | uint8_t col = 0;
44 | uint8_t row = 0;
45 | uint8_t effect = 0;
46 |
47 | extern const unsigned char arduino[];
48 |
49 | PROGMEM const unsigned char arduino [] = {
50 | 0x3F, 0xFF, 0xFF, 0xFC, 0x40, 0x00, 0x00, 0x02, 0x89, 0x99, 0x54, 0x91, 0x95, 0x55, 0x56, 0xA9,
51 | 0x9D, 0x95, 0x55, 0xA9, 0x95, 0x59, 0xD4, 0x91, 0x40, 0x00, 0x00, 0x02, 0x3F, 0xFF, 0xFF, 0xFC
52 | };
53 |
54 | // Bytecode from compiler goes here :
55 |
56 | const unsigned char gti[] PROGMEM = {
57 | 255,255,16,66,79,79,77,33,32,82,85,77,66,76,69,33,32,70,76,65,83,72,33,0,255,255,13,1,255,255,13,0,255,255,16,65,110,32,101,120,112,108,111,115,105,111,110,32,115,111,109,101,119,104,101,114,101,32,119,105,116,104,105,110,32,116,104,101,32,99,105,116,121,32,114,111,99,107,115,32,121,111,117,114,32,97,112,97,114,116,109,101,110,116,33,0,255,255,16,65,32,102,117,114,121,32,111,102,32,99,97,114,32,97,108,97,114,109,115,44,32,102,108,97,115,104,101,115,32,111,102,32,108,105,103,104,116,44,32,115,99,114,101,97,109,115,32,97,110,100,32,121,101,108,108,115,32,99,111,109,101,32,102,114,111,109,32,111,117,116,115,105,100,101,32,121,111,117,114,32,119,105,110,100,111,119,46,0,255,255,13,0,255,255,16,65,110,111,116,104,101,114,32,101,120,112,108,111,115,105,111,110,32,114,111,99,107,115,32,116,104,101,32,99,105,116,121,46,32,84,104,105,115,32,116,105,109,101,44,32,105,116,32,115,101,101,109,115,32,99,108,111,115,101,114,46,0,255,255,16,89,111,117,114,32,103,117,116,32,105,110,115,116,105,110,99,116,32,105,115,32,116,111,32,114,117,110,32,100,111,119,110,32,116,104,101,32,115,116,97,105,114,115,32,97,110,100,32,105,110,116,111,32,116,104,101,32,111,108,100,32,102,97,108,108,111,117,116,32,115,104,101,108,116,101,114,46,0,1,168,2,255,87,97,105,116,32,105,116,32,111,117,116,0,82,117,110,32,100,111,119,110,32,115,116,97,105,114,115,0,89,111,117,114,32,104,101,97,114,116,32,105,115,32,112,111,117,110,100,105,110,103,46,32,84,104,101,114,101,32,105,115,110,39,116,32,97,32,109,111,109,101,110,116,32,116,111,32,108,111,115,101,46,0,2,29,6,58,73,116,39,108,108,32,112,114,111,108,108,121,32,115,116,111,112,0,82,117,110,32,100,111,119,110,32,115,116,97,105,114,115,0,65,110,111,116,104,101,114,32,101,120,112,108,111,115,105,111,110,32,97,110,100,32,102,108,97,115,104,32,111,102,32,108,105,103,104,116,32,107,110,111,99,107,115,32,121,111,117,32,111,102,102,32,121,111,117,114,32,102,101,101,116,46,32,89,111,117,114,32,101,97,114,115,32,114,105,110,103,46,0,255,255,16,89,111,117,114,32,97,112,97,114,116,109,101,110,116,32,98,117,105,108,100,105,110,103,32,105,115,32,104,105,116,32,98,121,32,115,111,109,101,116,104,105,110,103,32,97,110,100,32,105,115,32,100,101,115,116,114,111,121,101,100,46,32,89,111,117,32,109,97,110,97,103,101,32,116,111,32,115,117,114,118,105,118,101,44,32,98,117,116,32,121,111,117,32,97,114,101,32,116,114,97,112,112,101,100,32,105,110,32,114,117,98,98,108,101,46,0,255,255,0,77,97,121,98,101,32,115,111,109,101,111,110,101,32,119,105,108,108,32,99,111,109,101,32,114,101,115,99,117,101,63,32,89,111,117,32,104,101,97,114,32,109,111,114,101,32,101,120,112,108,111,115,105,111,110,115,46,32,84,104,101,32,99,104,97,110,99,101,32,105,115,32,98,101,99,111,109,105,110,103,32,108,101,115,115,32,97,110,100,32,108,101,115,115,32,108,105,107,101,108,121,46,10,0,255,255,16,89,111,117,32,114,117,110,32,100,111,119,110,32,116,104,101,32,115,116,97,105,114,115,32,105,110,116,111,32,116,104,101,32,98,117,110,107,101,114,32,100,111,119,110,32,98,101,108,111,119,46,32,84,119,111,32,111,116,104,101,114,115,32,104,97,100,32,116,104,101,32,115,97,109,101,32,98,114,105,103,104,116,32,105,100,101,97,46,0,255,255,16,65,110,111,116,104,101,114,32,102,108,97,115,104,32,111,102,32,108,105,103,104,116,32,102,114,111,109,32,117,112,32,116,104,101,32,115,116,97,105,114,99,97,115,101,32,97,110,100,32,101,120,112,108,111,115,105,111,110,32,114,111,99,107,115,32,116,104,101,32,115,109,97,108,108,32,114,111,111,109,46,32,73,116,32,109,105,103,104,116,32,98,101,32,116,105,109,101,32,116,111,32,99,108,111,115,101,32,116,104,101,32,100,111,111,114,46,0,4,46,5,96,67,108,111,115,101,32,68,111,111,114,0,68,111,110,39,116,32,67,108,111,115,101,0,89,111,117,32,102,101,101,108,32,98,97,100,32,102,111,114,32,121,111,117,114,32,110,101,105,103,104,98,111,114,115,32,119,104,111,32,109,105,103,104,116,32,98,101,32,111,110,32,116,104,101,105,114,32,119,97,121,32,100,111,119,110,46,0,255,255,16,74,117,115,116,32,97,115,32,121,111,117,32,115,116,97,114,116,32,99,108,111,115,105,110,103,32,116,104,101,32,100,111,111,114,44,32,115,111,109,101,111,110,101,32,112,108,101,97,100,115,32,119,105,116,104,32,121,111,117,32,116,111,32,108,101,116,32,116,104,101,109,32,116,104,114,111,117,103,104,46,32,34,72,101,108,112,33,32,80,108,101,97,115,101,33,32,76,101,116,32,109,101,32,105,110,33,34,0,255,255,16,89,111,117,32,100,101,99,105,100,101,32,116,111,32,108,101,116,32,116,104,101,109,32,116,104,114,111,117,103,104,32,97,110,100,32,112,114,111,109,112,116,108,121,32,99,108,111,115,101,32,116,104,101,32,100,111,111,114,46,0,255,255,16,83,117,100,100,101,110,108,121,44,32,111,110,101,32,108,97,115,116,32,101,120,112,108,111,115,105,111,110,32,112,111,117,110,100,115,32,116,104,101,32,115,109,97,108,108,32,114,111,111,109,44,32,97,108,109,111,115,116,32,107,110,111,99,107,105,110,103,32,101,118,101,114,121,111,110,101,32,111,118,101,114,46,32,84,104,101,32,112,111,119,101,114,32,103,111,101,115,32,111,117,116,32,97,110,100,32,105,116,32,98,101,99,111,109,101,115,32,113,117,105,101,116,46,0,255,255,5,5,213,255,255,16,89,111,117,32,104,101,97,114,32,115,111,109,101,111,110,101,32,115,99,114,97,109,98,108,105,110,103,32,100,111,119,110,32,116,104,101,32,115,116,97,105,114,115,32,97,110,100,32,114,117,110,32,105,110,116,111,32,116,104,101,32,114,111,111,109,33,32,84,104,101,121,32,112,114,111,109,112,116,108,121,32,99,108,111,115,101,32,116,104,101,32,100,111,111,114,32,97,110,100,32,108,111,99,107,32,105,116,46,0,255,255,5,4,220,5,213,0,0,87,97,105,116,0,68,105,101,0,89,111,117,32,97,114,101,32,105,110,32,97,32,100,97,114,107,32,114,111,111,109,46,32,84,104,101,114,101,32,105,115,32,110,111,116,104,105,110,103,32,116,111,32,100,111,46,32,84,104,101,114,101,32,97,114,101,32,110,111,32,105,116,101,109,115,46,32,84,104,101,32,100,111,111,114,32,105,115,32,106,97,109,109,101,100,46,0,255,255,16,82,117,110,110,105,110,103,32,100,111,119,110,32,116,104,101,32,115,116,97,105,114,115,44,32,121,111,117,32,111,118,101,114,104,101,97,114,32,115,111,109,101,111,110,101,32,119,105,116,104,32,97,110,32,111,112,101,110,32,97,112,97,114,116,109,101,110,116,32,100,111,111,114,32,111,110,32,116,104,101,32,112,104,111,110,101,46,32,34,46,46,78,111,32,112,108,101,97,115,101,33,32,83,116,111,112,32,98,111,109,98,105,110,103,33,34,0,255,255,16,89,111,117,32,100,101,99,105,100,101,32,116,111,32,115,116,111,112,32,97,110,100,32,101,97,115,101,100,114,111,112,32,98,101,104,105,110,100,32,116,104,101,32,100,111,111,114,46,32,84,104,101,32,102,97,108,108,111,117,116,32,115,104,101,108,116,101,114,32,105,115,32,118,101,114,121,32,99,108,111,115,101,44,32,97,110,100,32,121,111,117,32,116,104,105,110,107,32,121,111,117,32,99,97,110,32,100,97,114,116,32,105,110,32,113,117,105,99,107,108,121,46,0,255,255,16,34,46,46,73,32,97,109,32,105,110,32,116,104,101,32,51,49,52,32,98,117,105,108,100,105,110,103,46,32,73,32,104,97,118,101,32,110,111,116,32,101,118,97,99,117,97,116,101,100,32,121,101,116,33,34,32,69,118,97,99,117,97,116,101,100,63,32,84,104,105,115,32,105,115,32,118,101,114,121,32,99,117,114,105,111,117,115,46,46,46,0,255,255,16,34,89,101,115,44,32,73,32,97,109,32,116,104,101,32,111,110,108,121,32,111,110,101,32,104,101,114,101,46,32,68,111,32,121,111,117,32,104,97,118,101,32,97,32,108,111,99,107,63,46,46,116,104,97,116,32,109,105,103,104,116,32,106,117,115,116,32,98,101,32,97,32,114,101,102,108,101,99,116,105,111,110,46,46,34,32,65,32,108,111,99,107,63,32,87,104,97,116,32,105,115,32,103,111,105,110,103,32,111,110,63,0,255,255,16,83,117,100,100,101,110,108,121,44,32,121,111,117,32,102,101,101,108,32,97,32,115,116,114,97,110,103,101,32,116,105,110,103,108,105,110,103,32,115,101,110,115,97,116,105,111,110,46,32,84,104,101,110,32,105,116,32,115,116,111,112,115,46,32,89,111,117,32,97,114,101,32,110,111,119,32,105,110,32,97,32,99,111,109,112,108,101,116,101,108,121,32,100,105,102,102,101,114,101,110,116,32,108,111,99,97,116,105,111,110,33,32,72,117,104,63,0,255,255,16,83,116,114,97,110,103,101,32,109,101,110,32,97,114,101,32,115,116,97,110,100,105,110,103,32,97,108,108,32,97,114,111,117,110,100,32,97,32,114,111,111,109,46,32,34,68,111,110,44,32,121,111,117,114,32,104,117,109,97,110,32,102,111,114,109,32,108,111,111,107,115,32,112,101,114,102,101,99,116,33,32,73,32,119,111,117,108,100,110,39,116,32,99,104,97,110,103,101,32,97,32,116,104,105,110,103,33,34,0,255,255,16,34,72,101,114,101,44,32,108,101,116,32,109,101,32,115,104,111,119,32,121,111,117,32,116,111,32,121,111,117,114,32,98,114,105,100,103,101,46,34,32,89,111,117,32,116,114,121,32,116,111,32,112,108,97,121,32,97,108,111,110,103,32,97,115,32,116,104,101,115,101,32,115,116,114,97,110,103,101,32,109,101,110,32,97,114,101,32,99,97,114,114,121,105,110,103,32,119,104,97,116,32,108,111,111,107,115,32,108,105,107,101,32,97,32,119,101,97,112,111,110,46,0,255,255,16,87,111,119,33,32,89,111,117,32,97,114,101,32,110,111,119,32,97,32,115,112,97,99,101,115,104,105,112,32,99,97,112,116,97,105,110,33,32,78,111,32,111,110,101,32,107,110,111,119,115,32,121,111,117,114,32,114,101,97,108,32,105,100,101,110,116,105,116,121,32,97,110,100,32,116,104,101,121,32,116,104,105,110,107,32,121,111,117,32,97,114,101,32,97,110,32,97,108,108,32,112,111,119,101,114,102,117,108,32,108,101,97,100,101,114,33,0,10,85,12,164,66,111,109,98,32,109,111,114,101,0,83,116,111,112,32,66,111,109,98,105,110,103,0,34,83,105,114,44,32,119,101,32,97,114,101,32,119,97,105,116,105,110,103,32,111,110,32,111,114,100,101,114,115,46,32,87,101,32,97,114,101,32,109,97,107,105,110,103,32,103,111,111,100,32,112,114,111,103,114,101,115,115,32,105,110,32,100,101,115,116,114,111,121,105,110,103,32,101,97,114,116,104,32,114,101,115,105,100,101,110,116,115,46,34,0,255,255,16,34,87,101,108,108,44,32,115,116,97,114,116,32,98,111,109,98,105,110,103,32,109,111,114,101,32,116,104,101,110,33,34,32,121,111,117,32,111,114,100,101,114,46,32,73,116,32,105,115,32,110,111,116,32,108,105,107,101,32,121,111,117,32,99,97,110,32,103,111,32,98,97,99,107,32,110,111,119,46,32,77,105,103,104,116,32,97,115,32,119,101,108,108,32,98,108,111,119,32,117,112,32,121,111,117,114,32,111,119,110,32,112,108,97,110,101,116,33,0,11,36,13,193,50,48,48,48,32,66,111,109,98,115,0,52,48,48,48,32,66,111,109,98,115,0,34,89,101,115,32,115,105,114,33,32,82,105,103,104,116,32,97,119,97,121,33,32,72,111,119,32,109,97,110,121,32,109,111,114,101,32,98,111,109,98,115,32,115,104,111,117,108,100,32,119,101,32,115,101,110,100,63,34,0,255,255,16,34,84,104,97,116,32,115,101,101,109,115,32,108,105,107,101,32,97,32,109,111,114,101,32,114,101,97,115,111,110,97,98,108,101,32,97,109,111,117,110,116,32,111,102,32,98,111,109,98,115,44,32,115,105,114,34,46,32,89,111,117,32,97,114,101,32,104,97,112,112,121,32,119,105,116,104,32,50,44,48,48,48,32,98,111,109,98,115,46,32,52,44,48,48,48,32,106,117,115,116,32,115,101,101,109,115,32,108,105,107,101,32,116,111,111,32,109,97,110,121,46,0,255,255,5,14,59,255,255,16,34,73,32,110,101,101,100,32,116,111,32,100,101,112,97,114,116,32,116,104,101,32,115,104,105,112,46,34,32,69,118,101,114,121,111,110,101,32,115,101,101,109,115,32,99,111,110,102,117,115,101,100,46,32,34,69,120,99,117,117,117,115,101,32,109,101,63,34,32,115,97,121,115,32,97,110,111,116,104,101,114,32,109,97,110,32,111,102,32,117,110,107,110,111,119,110,32,106,111,98,32,100,101,115,99,114,105,112,116,105,111,110,46,0,255,255,16,34,87,104,121,32,111,110,32,101,97,114,116,104,46,46,105,32,109,101,97,110,46,46,115,112,97,99,101,32,119,111,117,108,100,32,121,111,117,32,100,111,32,116,104,97,116,63,34,32,115,97,121,115,32,116,104,101,32,109,97,110,46,0,45,200,46,78,70,111,114,103,111,116,32,115,111,109,101,116,104,105,110,103,0,76,101,102,116,32,84,86,32,111,110,0,89,111,117,32,104,97,118,101,32,116,111,32,113,117,105,99,107,108,121,32,109,97,107,101,32,117,112,32,97,110,32,101,120,99,117,115,101,46,0,255,255,16,34,87,97,105,116,63,32,87,104,121,32,119,111,117,108,100,32,119,101,32,115,116,111,112,32,98,111,109,98,105,110,103,33,63,34,32,115,97,121,115,32,116,104,101,32,98,111,109,98,105,110,103,32,99,111,109,109,97,110,100,101,114,32,119,111,114,107,101,114,32,103,117,121,46,32,72,101,32,108,111,111,107,115,32,118,101,114,121,32,112,117,122,122,108,101,100,46,0,255,255,16,34,66,101,99,97,117,115,101,32,73,32,97,109,32,116,104,101,32,99,97,112,116,97,105,110,33,32,84,72,65,84,83,32,87,72,89,33,34,32,84,104,105,115,32,109,97,107,101,115,32,112,101,114,102,101,99,116,32,115,101,110,115,101,32,116,111,32,101,118,101,114,121,111,110,101,32,105,110,32,116,104,101,32,114,111,111,109,32,97,110,100,32,110,111,32,111,110,101,32,97,115,107,115,32,109,111,114,101,32,113,117,101,115,116,105,111,110,115,46,0,11,166,61,151,68,101,112,97,114,116,32,115,104,105,112,0,80,108,111,116,32,99,111,117,114,115,101,32,115,111,109,101,119,104,101,114,101,0,87,104,97,116,32,119,105,108,108,32,121,111,117,32,100,111,32,110,101,120,116,63,0,255,255,16,34,52,44,48,48,48,32,98,111,109,98,115,63,32,87,111,119,46,32,84,104,97,116,32,105,115,32,97,32,108,111,116,32,111,102,32,98,111,109,98,115,46,32,79,107,97,121,44,32,116,104,97,116,32,119,105,108,108,32,116,97,107,101,32,97,32,102,101,119,32,109,105,110,117,116,101,115,46,34,32,89,111,117,32,97,114,101,32,118,101,114,121,32,99,111,110,116,101,110,116,32,119,105,116,104,32,116,104,97,116,32,110,117,109,98,101,114,46,0,255,255,16,34,79,107,97,121,46,32,65,108,108,32,111,102,32,116,104,111,115,101,32,98,111,109,98,115,32,119,101,114,101,32,100,114,111,112,112,101,100,46,32,73,116,32,105,115,32,118,101,114,121,32,115,109,111,107,101,121,32,111,110,32,101,97,114,116,104,32,110,111,119,44,34,32,115,97,121,115,32,115,111,109,101,32,103,117,121,32,119,104,111,32,105,115,32,112,114,111,98,97,98,108,121,32,116,104,101,32,98,111,109,98,105,110,103,32,99,111,109,109,97,110,100,101,114,46,0,15,36,44,245,71,111,32,116,111,32,99,97,112,116,97,105,110,39,115,32,32,111,102,102,105,99,101,0,76,111,99,97,116,101,32,99,111,102,102,101,101,0,65,108,108,32,111,102,32,116,104,105,115,32,98,111,109,98,105,110,103,32,105,115,32,104,97,114,100,32,119,111,114,107,46,32,89,111,117,32,100,101,99,105,100,101,32,116,111,32,116,97,107,101,32,97,32,98,114,101,97,107,46,0,52,167,15,164,80,117,115,104,32,114,101,100,32,98,117,116,116,111,110,0,85,115,101,32,99,111,109,112,117,116,101,114,32,116,104,105,110,103,0,84,104,101,32,99,97,112,116,97,105,110,39,115,32,111,102,102,105,99,101,32,108,111,111,107,115,32,114,101,97,108,108,121,32,98,111,114,105,110,103,46,32,84,104,101,114,101,39,115,32,97,32,98,105,103,32,114,101,100,32,98,117,116,116,111,110,32,97,110,100,32,97,32,99,111,109,112,117,116,101,114,32,116,104,105,110,103,46,0,255,255,16,84,104,101,32,99,111,109,112,117,116,101,114,32,104,97,115,32,97,32,115,99,114,101,101,110,32,116,104,97,116,32,115,97,121,115,32,34,76,111,99,107,101,100,34,46,32,84,104,101,114,101,32,105,115,32,97,32,112,97,115,115,119,111,114,100,32,112,114,111,109,112,116,46,0,16,178,16,61,49,45,50,45,51,45,52,45,53,0,52,45,50,51,45,51,57,49,45,51,0,89,111,117,32,100,101,99,105,100,101,32,116,111,32,103,117,101,115,115,32,116,104,101,32,112,97,115,115,119,111,114,100,63,32,87,104,105,99,104,32,111,110,101,32,105,115,32,105,116,63,0,52,167,15,241,80,117,115,104,32,82,101,100,32,66,117,116,116,111,110,0,84,114,121,32,97,103,97,105,110,0,84,104,101,32,99,111,109,112,117,116,101,114,32,115,112,101,97,107,115,32,105,110,32,97,32,116,101,114,114,105,98,108,101,32,118,111,105,99,101,58,32,34,69,82,82,79,82,33,32,69,82,82,79,82,33,32,72,65,67,75,69,82,32,65,76,69,82,84,33,34,32,84,104,97,116,32,119,97,115,110,39,116,32,105,116,33,0,17,15,49,246,82,101,97,100,32,101,109,97,105,108,0,79,112,101,110,32,99,104,97,116,32,119,105,110,100,111,119,0,34,87,101,108,99,111,109,101,32,116,111,32,99,111,109,112,117,116,101,114,33,32,89,111,117,32,104,97,118,101,32,109,97,105,108,33,34,46,32,84,104,101,114,101,39,115,32,97,32,99,104,97,116,32,119,105,110,100,111,119,0,17,134,18,35,82,101,97,100,32,102,105,114,115,116,32,111,110,101,0,82,101,97,100,32,115,101,99,111,110,100,32,111,110,101,0,84,104,101,114,101,32,97,114,101,32,116,119,111,32,101,109,97,105,108,115,46,32,84,104,101,121,32,98,111,116,104,32,104,97,118,101,32,34,115,101,99,114,101,116,34,32,97,115,32,116,104,101,32,115,117,98,106,101,99,116,32,98,117,116,32,100,105,102,102,101,114,101,110,116,32,115,101,110,100,101,114,115,46,0,255,255,16,73,116,32,114,101,97,100,115,58,32,34,68,101,97,114,32,99,97,112,116,97,105,110,46,32,87,101,32,104,97,118,101,32,100,101,116,101,99,116,101,100,32,97,110,32,105,110,115,101,99,117,114,101,32,112,97,115,115,119,111,114,100,32,102,111,114,32,121,111,117,114,32,97,99,99,111,117,110,116,46,32,89,111,117,32,109,117,115,116,32,99,104,97,110,103,101,32,105,116,32,119,105,116,104,105,110,32,53,32,100,97,121,115,46,34,32,89,111,117,32,100,101,99,105,100,101,32,116,111,32,114,101,97,100,32,116,104,101,32,115,101,99,111,110,100,32,97,110,121,119,97,121,46,0,47,154,18,169,67,108,105,99,107,32,108,105,110,107,0,68,111,32,115,111,109,101,116,104,105,110,103,32,101,108,115,101,0,73,116,32,114,101,97,100,115,58,32,34,72,101,114,101,32,105,115,32,116,104,101,32,108,105,110,107,32,116,111,32,116,104,101,32,99,111,110,116,114,111,108,32,115,121,115,116,101,109,46,32,66,111,111,107,109,97,114,107,32,105,116,32,116,104,105,115,32,116,105,109,101,32,115,111,32,121,111,117,32,115,116,111,112,32,102,111,114,103,101,116,116,105,110,103,32,105,116,33,34,0,255,255,16,69,110,111,117,103,104,32,111,102,32,116,104,97,116,32,100,117,109,98,32,99,111,109,112,117,116,101,114,46,32,89,111,117,32,103,101,116,32,117,112,32,97,110,100,32,108,111,111,107,32,97,114,111,117,110,100,46,32,69,108,101,118,97,116,111,114,63,32,89,69,83,32,80,76,69,65,83,69,33,32,89,111,117,32,101,110,116,101,114,32,116,104,101,32,101,108,101,118,97,116,111,114,46,0,19,143,50,32,80,117,115,104,32,34,69,49,34,0,71,111,32,116,111,32,98,114,105,100,103,101,0,89,111,117,32,115,101,101,32,49,32,98,117,116,116,111,110,32,105,110,32,116,104,101,32,101,108,101,118,97,116,111,114,32,108,97,98,101,108,101,100,32,34,69,49,34,46,32,89,111,117,32,99,97,110,32,97,108,115,111,32,106,117,115,116,32,119,97,108,107,32,111,117,116,32,97,110,100,32,103,111,32,116,111,32,116,104,101,32,98,114,105,100,103,101,46,0,255,255,16,84,104,101,115,101,32,101,108,101,118,97,116,111,114,115,32,97,114,101,32,119,101,105,114,100,46,32,84,104,101,121,32,99,97,110,32,111,110,108,121,32,103,111,32,98,101,116,119,101,101,110,32,116,119,111,32,102,108,111,111,114,115,46,32,84,104,101,110,32,121,111,117,32,103,101,116,32,111,117,116,44,32,97,110,100,32,116,97,107,101,32,97,110,111,116,104,101,114,46,32,84,104,101,115,101,32,115,112,97,99,101,32,97,108,105,101,110,115,32,104,97,118,101,110,39,116,32,100,105,115,99,111,118,101,114,101,100,32,32,100,105,114,101,99,116,32,101,108,101,118,97,116,111,114,32,115,101,114,118,105,99,101,33,0,20,148,50,158,69,50,32,69,108,101,118,97,116,111,114,0,69,52,32,69,108,101,118,97,116,111,114,0,89,111,117,32,97,114,101,32,105,110,32,116,104,101,32,101,108,101,118,97,116,111,114,32,49,32,108,111,98,98,121,32,98,101,116,119,101,101,110,32,116,119,111,32,101,108,101,118,97,116,111,114,115,46,32,67,111,110,102,117,115,105,110,103,46,0,21,5,39,221,76,101,118,101,108,32,49,48,0,76,101,118,101,108,32,49,57,0,84,104,105,115,32,101,108,101,118,97,116,111,114,32,99,97,110,32,111,110,108,121,32,103,111,32,116,111,32,108,101,118,101,108,32,49,48,32,111,114,32,108,101,118,101,108,32,49,57,46,32,89,111,117,32,104,97,118,101,32,110,111,32,105,100,101,97,32,119,104,97,116,32,116,104,101,115,101,32,112,108,97,99,101,115,32,97,114,101,46,0,255,255,16,89,111,117,32,114,101,97,99,104,32,76,101,118,101,108,32,49,48,46,32,84,104,101,114,101,32,97,114,101,32,97,32,98,117,110,99,104,32,111,102,32,110,111,110,45,100,101,115,99,114,105,112,116,32,104,97,108,108,119,97,121,115,46,32,89,111,117,32,100,101,99,105,100,101,32,116,111,32,104,97,118,101,32,115,111,109,101,32,102,117,110,32,97,115,32,110,111,32,111,110,101,32,99,97,110,32,113,117,101,115,116,105,111,110,32,121,111,117,114,32,97,117,116,104,111,114,105,116,121,46,32,89,111,117,32,115,116,114,117,116,32,100,111,119,110,32,116,104,101,32,99,111,114,114,105,100,111,114,46,0,23,163,22,64,83,104,111,118,101,32,99,97,114,116,0,75,101,101,112,32,119,97,108,107,105,110,103,0,89,111,117,32,99,111,109,101,32,97,99,114,111,115,115,32,115,111,109,101,32,112,101,111,112,108,101,32,119,111,114,107,105,110,103,32,100,111,119,110,32,97,32,115,116,97,105,114,119,101,108,108,46,32,65,32,99,97,114,116,32,119,105,116,104,32,104,101,97,118,121,32,101,113,117,105,112,109,101,110,116,32,104,111,108,100,115,32,116,104,101,32,100,111,111,114,32,111,112,101,110,32,97,116,32,116,104,101,32,116,111,112,46,32,84,101,109,112,116,105,110,103,46,0,22,180,25,162,84,104,114,111,119,32,114,111,99,107,0,75,101,101,112,32,119,97,108,107,105,110,103,0,89,111,117,32,99,111,109,101,32,97,99,114,111,115,115,32,115,111,109,101,32,99,114,97,112,112,121,32,114,111,99,107,32,111,110,32,97,32,112,101,100,101,115,116,97,108,46,32,73,116,39,115,32,102,114,111,109,32,116,104,101,105,114,32,100,117,109,98,32,109,111,111,110,32,111,114,32,115,111,109,101,116,104,105,110,103,46,0,255,255,16,89,111,117,32,112,105,99,107,32,117,112,32,116,104,101,32,103,105,97,110,116,32,109,111,111,110,32,114,111,99,107,32,97,110,100,32,104,117,114,108,32,105,116,32,97,116,32,116,104,101,32,119,105,110,100,111,119,46,32,73,116,32,115,104,97,116,116,101,114,115,32,101,97,115,105,108,121,32,97,110,100,32,115,117,99,107,115,32,101,118,101,114,121,116,104,105,110,103,44,32,105,110,99,108,117,100,105,110,103,32,121,111,117,44,32,105,110,116,111,32,115,112,97,99,101,46,0,255,255,0,77,105,110,105,109,97,108,32,99,97,115,117,97,108,116,105,101,115,32,114,101,115,117,108,116,101,100,32,97,115,32,116,104,101,32,102,108,111,111,114,32,119,97,115,32,115,101,97,108,101,100,32,111,102,102,32,40,105,116,32,119,97,115,32,114,101,108,97,116,105,118,101,108,121,32,97,110,32,117,110,105,109,112,111,114,116,97,110,116,32,102,108,111,111,114,32,97,110,121,119,97,121,41,46,10,0,255,255,16,84,104,111,115,101,32,103,117,121,115,32,119,105,108,108,32,110,101,118,101,114,32,115,101,101,32,105,116,32,99,111,109,105,110,103,33,32,89,111,117,32,115,104,111,118,101,32,116,104,101,32,99,97,114,116,32,100,111,119,110,32,97,115,32,105,116,32,115,109,97,115,104,101,115,32,100,111,119,110,32,116,104,101,32,115,116,97,105,114,115,46,32,89,111,117,32,108,97,117,103,104,32,97,115,32,121,111,117,32,104,101,97,114,32,112,97,105,110,102,117,108,32,99,117,114,115,105,110,103,32,97,115,32,105,116,32,112,108,111,119,115,32,105,110,116,111,32,116,104,101,32,119,111,114,107,101,114,115,46,32,87,104,105,108,101,0,255,255,16,116,104,105,115,32,119,111,117,108,100,32,104,97,118,101,32,98,101,101,110,32,117,115,117,97,108,108,121,32,117,110,101,118,101,110,116,102,117,108,44,32,116,104,101,121,32,119,101,114,101,32,119,111,114,107,105,110,103,32,111,110,32,116,104,101,32,109,97,105,110,32,108,105,102,101,32,115,117,112,112,111,114,116,32,112,111,119,101,114,32,115,117,112,112,108,121,46,32,84,104,101,32,99,97,114,116,32,115,101,118,101,114,101,100,32,116,104,101,32,112,111,119,101,114,32,99,97,98,108,101,32,97,110,100,32,97,108,108,32,111,102,32,116,104,101,32,111,120,121,103,101,110,32,115,121,115,116,101,109,115,32,116,117,114,110,101,100,32,111,102,102,46,0,255,255,0,73,116,32,119,97,115,32,117,110,110,111,116,105,99,97,98,108,101,32,102,111,114,32,113,117,105,116,101,32,115,111,109,101,32,116,105,109,101,44,32,98,117,116,32,101,118,101,110,116,117,97,108,108,121,32,97,108,108,32,111,102,32,116,104,101,32,97,108,105,101,110,115,32,40,105,110,99,108,117,100,105,110,103,32,121,111,117,33,41,32,115,117,99,99,117,109,101,100,32,116,111,32,116,104,101,32,108,97,99,107,32,111,102,32,111,120,121,103,101,110,46,32,89,111,117,32,115,97,118,101,100,32,116,104,101,32,100,97,121,44,32,97,99,99,105,100,101,110,116,108,121,46,32,83,111,114,116,32,111,102,46,10,0,33,122,26,64,80,108,97,121,32,119,105,116,104,32,112,97,110,101,108,0,75,101,101,112,32,119,97,108,107,105,110,103,0,89,111,117,32,115,101,101,32,97,32,99,111,109,112,117,116,101,114,32,112,97,110,101,108,32,116,104,97,116,32,115,97,121,115,32,87,69,65,80,79,78,83,32,67,79,78,84,82,79,76,32,83,89,83,84,69,77,46,32,73,116,32,119,97,110,116,115,32,97,32,112,97,115,115,119,111,114,100,32,98,117,116,32,121,111,117,32,104,97,118,101,32,97,32,103,111,111,100,32,105,100,101,97,32,119,104,97,116,32,105,116,32,112,114,111,98,97,98,108,121,32,105,115,46,0,26,173,26,64,84,117,114,110,32,108,101,102,116,0,75,101,101,112,32,119,97,108,107,105,110,103,0,84,104,105,115,32,99,111,114,114,105,100,111,114,32,115,101,101,109,115,32,101,110,100,108,101,115,115,46,32,82,97,110,100,111,109,32,104,97,108,108,119,97,121,115,32,97,114,101,32,116,111,32,121,111,117,114,32,108,101,102,116,46,32,73,115,32,116,104,101,32,103,97,109,101,32,115,116,117,99,107,63,0,29,77,27,8,65,117,120,105,108,105,97,114,121,32,82,111,111,109,0,75,101,101,112,32,119,97,108,107,105,110,103,0,65,32,98,111,114,105,110,103,32,115,111,117,110,100,105,110,103,32,114,111,111,109,32,105,115,32,116,111,32,121,111,117,114,32,108,101,102,116,46,32,66,101,115,116,32,107,101,101,112,32,119,97,108,107,105,110,103,46,0,28,137,27,195,83,116,111,114,97,103,101,32,82,111,111,109,0,75,101,101,112,32,119,97,108,107,105,110,103,0,83,111,109,101,32,115,111,114,116,32,111,102,32,115,116,111,114,97,103,101,32,114,111,111,109,32,105,115,32,116,111,32,121,111,117,114,32,108,101,102,116,46,0,255,255,16,84,104,101,32,119,97,108,108,32,104,97,115,32,108,105,116,116,101,114,97,108,108,121,32,110,111,32,112,97,116,116,101,114,110,32,97,116,32,97,108,108,46,32,89,111,117,32,115,116,97,114,101,32,111,102,102,32,105,110,116,111,32,119,104,105,116,101,32,115,112,97,99,101,32,110,111,116,104,105,110,103,110,101,115,115,46,32,89,111,117,32,102,105,110,100,32,116,104,105,115,32,115,111,111,116,104,105,110,103,46,0,28,33,27,81,85,112,118,97,116,111,114,0,83,116,97,114,101,32,97,116,32,119,97,108,108,0,84,104,105,115,32,100,111,111,114,32,108,101,97,100,115,32,116,111,32,115,111,109,101,116,104,105,110,103,32,99,97,108,108,101,100,32,97,110,32,34,117,112,118,97,116,111,114,34,46,32,77,97,121,98,101,32,105,116,32,103,111,101,115,32,117,112,63,0,255,255,16,89,111,117,32,101,110,116,101,114,32,116,104,101,32,117,112,118,97,116,111,114,46,32,73,116,32,104,97,115,32,110,111,32,98,117,116,116,111,110,115,32,97,110,100,32,105,109,109,101,100,97,116,101,108,121,32,116,97,107,101,115,32,121,111,117,32,116,111,32,116,104,101,32,101,108,101,118,97,116,111,114,32,49,32,108,111,98,98,121,32,114,111,111,109,46,0,255,255,5,20,54,28,233,27,8,84,114,121,32,111,110,32,104,97,116,0,76,101,97,118,101,32,114,111,111,109,0,89,111,117,32,101,110,116,101,114,32,116,104,101,32,115,116,111,114,97,103,101,32,114,111,111,109,46,32,84,104,101,114,101,32,105,115,32,110,111,116,104,105,110,103,32,98,117,116,32,104,97,116,115,33,32,72,117,110,100,114,101,100,115,33,32,87,111,119,33,0,255,255,16,89,111,117,32,116,114,121,32,111,110,32,97,32,114,97,110,100,111,109,32,104,97,116,46,32,89,111,117,32,108,111,111,107,32,105,110,32,116,104,101,32,109,105,114,114,111,114,46,32,78,97,104,44,32,110,111,116,32,121,111,117,114,32,115,116,121,108,101,46,32,89,111,117,32,112,117,116,32,116,104,101,32,104,97,116,32,98,97,99,107,46,0,255,255,5,28,137,26,173,29,217,76,101,97,118,101,32,114,111,111,109,0,77,97,115,104,32,98,117,116,116,111,110,115,0,76,111,116,115,32,97,110,100,32,108,111,116,115,32,111,102,32,117,110,108,97,98,101,108,101,100,32,98,117,116,116,111,110,115,32,97,110,100,32,98,108,105,110,107,121,32,108,105,103,104,116,115,46,32,84,104,101,114,101,32,105,115,32,97,32,118,105,101,119,115,99,114,101,101,110,32,111,102,32,101,97,114,116,104,32,97,110,100,32,115,104,105,112,32,115,101,99,117,114,105,116,121,32,99,97,109,101,114,97,115,46,0,255,255,16,89,111,117,32,104,105,116,32,97,108,108,32,116,104,101,32,98,117,116,116,111,110,115,32,121,111,117,32,99,97,110,32,102,105,110,100,46,32,82,101,100,32,111,110,101,115,44,32,121,101,108,108,111,119,32,111,110,101,115,44,32,98,108,97,99,107,32,111,110,101,115,44,32,101,118,101,110,32,97,32,102,101,119,32,103,114,101,101,110,32,111,110,101,115,33,0,255,255,16,89,111,117,32,110,111,116,105,99,101,32,116,104,97,116,32,101,97,114,116,104,32,105,115,32,115,116,97,114,116,105,110,103,32,116,111,32,103,101,116,32,97,119,102,117,108,108,121,32,108,97,114,103,101,32,111,110,32,116,104,101,32,118,105,101,119,32,115,99,114,101,101,110,46,32,84,104,101,32,115,104,105,112,32,105,115,32,101,118,101,110,32,116,105,112,112,105,110,103,32,52,53,32,100,101,103,114,101,101,115,46,0,255,255,16,79,104,32,116,104,105,115,32,105,115,32,110,111,116,32,103,111,111,100,33,32,84,104,101,32,115,104,105,112,32,105,115,32,115,112,105,110,110,105,110,103,32,111,117,116,32,111,102,32,99,111,110,116,114,111,108,33,32,79,110,101,32,111,102,32,116,104,101,115,101,32,98,117,116,116,111,110,115,32,119,97,115,32,110,111,116,32,97,32,103,111,111,100,32,111,110,101,32,116,111,32,112,117,115,104,46,0,255,255,16,89,111,117,32,115,116,97,114,116,32,116,111,32,115,101,101,32,115,111,109,101,32,100,117,109,98,32,99,105,116,121,32,121,111,117,32,100,111,110,39,116,32,114,101,99,111,103,110,105,122,101,32,111,110,32,116,104,101,32,118,105,101,119,32,115,99,114,101,101,110,32,97,115,32,121,111,117,32,103,101,116,32,99,108,111,115,101,114,32,97,110,100,32,99,108,111,115,101,114,32,116,111,32,116,104,101,32,103,114,111,117,110,100,46,0,255,255,16,83,117,100,100,101,110,108,121,44,32,116,104,101,32,115,104,105,112,32,115,116,101,101,114,115,32,97,110,100,32,99,114,97,115,104,32,108,97,110,100,115,32,105,110,116,111,32,97,32,110,101,97,114,98,121,32,108,97,107,101,32,119,105,116,104,32,97,32,103,105,97,110,116,32,115,105,103,110,32,116,104,97,116,32,115,97,121,115,32,34,80,111,108,105,99,101,32,84,114,97,105,110,105,110,103,32,76,97,107,101,34,46,0,255,255,16,65,115,32,116,104,101,32,115,104,105,112,32,98,111,98,115,32,105,110,32,116,104,101,32,119,97,116,101,114,44,32,104,117,110,100,114,101,100,115,32,111,102,32,112,111,108,105,99,101,32,98,111,97,116,115,32,115,119,97,114,109,32,116,104,101,32,115,112,97,99,101,32,115,104,105,112,46,32,89,111,117,32,115,101,101,32,116,104,101,109,32,101,110,116,101,114,32,111,110,32,116,104,101,32,115,101,99,117,114,105,116,121,32,99,97,109,101,114,97,115,32,97,110,100,32,97,114,114,101,115,116,32,116,104,101,32,97,108,105,101,110,115,46,0,255,255,16,65,32,112,111,108,105,99,101,32,111,102,102,105,99,101,114,32,101,110,116,101,114,115,32,116,104,101,32,97,117,120,105,108,105,97,114,121,32,114,111,111,109,46,32,89,111,117,32,116,114,121,32,116,111,32,101,120,112,108,97,105,110,44,32,98,117,116,32,121,111,117,32,97,114,101,32,97,114,114,101,115,116,101,100,32,97,115,32,97,110,32,97,108,105,101,110,32,102,111,114,32,100,101,115,116,114,111,121,105,110,103,32,109,97,110,121,32,99,105,116,105,101,115,44,32,97,32,109,97,106,111,114,32,99,114,105,109,101,46,0,33,41,0,0,87,97,105,116,0,68,105,101,0,89,111,117,32,97,114,101,32,110,111,119,32,105,110,32,106,97,105,108,46,32,84,104,101,114,101,32,105,115,32,110,111,32,101,115,99,97,112,101,46,32,78,111,119,32,121,111,117,32,106,117,115,116,32,104,97,118,101,32,116,111,32,119,97,105,116,46,0,255,255,16,89,111,117,32,101,110,116,101,114,32,105,110,32,116,104,101,32,115,101,99,114,101,116,32,112,97,115,115,119,111,114,100,32,40,49,45,50,45,51,45,52,45,53,41,32,97,110,100,32,112,117,115,104,32,101,118,101,114,121,32,115,105,110,103,108,101,32,119,101,97,112,111,110,115,32,98,117,116,116,111,110,46,32,72,111,119,101,118,101,114,44,32,112,108,97,110,101,116,32,69,97,114,116,104,32,119,97,115,32,115,116,105,108,108,32,116,104,101,32,108,97,115,116,0,255,255,16,108,111,99,97,116,105,111,110,32,119,105,116,104,105,110,32,116,104,101,32,116,97,114,103,101,116,105,110,103,32,115,121,115,116,101,109,46,32,89,111,117,32,97,108,115,111,32,102,105,114,101,100,32,111,102,102,32,116,104,101,32,112,108,97,110,101,116,32,100,101,115,116,114,117,99,116,105,111,110,32,98,111,109,98,46,32,69,97,114,116,104,32,105,115,32,110,111,119,32,100,101,115,116,114,111,121,101,100,46,32,89,111,117,32,104,101,97,114,32,115,111,109,101,32,115,116,114,97,110,103,101,32,114,97,116,116,108,105,110,103,32,115,111,117,110,100,115,32,105,110,32,116,104,101,32,98,111,109,98,32,98,97,121,46,0,36,14,35,13,73,110,118,101,115,116,105,103,97,116,101,32,98,111,109,98,32,98,97,121,0,73,103,110,111,114,101,32,105,116,0,84,104,101,32,112,97,110,101,108,32,97,108,115,111,32,115,97,121,115,32,116,104,101,114,101,32,105,115,32,115,111,109,101,32,115,111,114,116,32,111,102,32,106,97,109,46,32,65,32,99,111,117,110,116,32,100,111,119,110,32,99,108,111,99,107,32,116,105,99,107,115,46,0,255,255,16,89,111,117,32,102,105,103,117,114,101,32,105,116,32,115,104,111,117,108,100,32,98,101,32,115,111,109,101,111,110,101,32,101,108,115,101,115,32,112,114,111,98,108,101,109,32,97,110,121,119,97,121,46,32,89,111,117,32,115,116,97,114,116,32,115,116,114,117,116,105,110,103,32,100,111,119,110,32,116,104,101,32,104,97,108,108,32,112,114,101,116,101,110,100,105,110,103,32,108,105,107,101,32,110,111,116,104,105,110,103,32,104,97,112,112,101,110,101,100,46,0,255,255,0,84,104,101,32,106,97,109,109,101,100,32,98,111,109,98,32,101,120,112,108,111,100,101,115,32,97,110,100,32,100,101,115,116,114,111,121,115,32,116,104,101,32,115,104,105,112,46,32,78,111,32,111,110,101,32,119,105,110,115,46,32,66,117,116,32,97,116,32,108,101,97,115,116,32,116,104,101,121,32,119,111,110,39,116,32,98,101,32,109,101,115,115,105,110,103,32,119,105,116,104,32,111,116,104,101,114,32,112,108,97,110,101,116,115,32,97,110,121,116,105,109,101,32,115,111,111,110,46,10,0,255,255,16,89,111,117,32,101,110,116,101,114,32,116,104,101,32,98,111,109,98,32,98,97,121,32,97,110,100,32,110,111,116,105,99,101,32,111,110,101,32,111,102,32,116,104,101,32,98,111,109,98,32,99,111,110,110,101,99,116,111,114,32,116,104,105,110,103,115,32,105,115,32,100,97,109,97,103,101,100,46,32,73,116,32,105,115,32,112,114,101,118,101,110,116,105,110,103,32,116,104,101,32,98,111,109,98,32,102,114,111,109,32,101,110,116,101,114,105,110,103,32,116,104,101,32,108,97,117,110,99,104,105,110,103,32,116,117,98,101,46,32,84,104,97,116,32,100,111,101,115,32,110,111,116,32,108,111,111,107,32,103,111,111,100,46,0,37,57,37,198,72,105,116,32,119,105,116,104,32,104,97,109,109,101,114,0,75,105,99,107,32,105,116,0,80,101,110,100,105,110,103,32,100,111,111,109,32,97,119,97,105,116,115,46,32,89,111,117,32,115,101,101,32,97,32,104,97,109,109,101,114,46,32,89,111,117,32,97,108,115,111,32,97,114,101,32,112,114,101,116,116,121,32,103,111,111,100,32,97,116,32,107,105,99,107,105,110,103,32,116,104,105,110,103,115,44,32,115,111,32,116,104,101,114,101,39,115,32,116,104,97,116,32,116,111,111,46,0,255,255,16,89,111,117,32,104,105,116,32,116,104,101,32,98,111,109,98,32,119,105,116,104,32,97,32,104,97,109,109,101,114,46,32,84,104,101,32,99,108,111,99,107,32,115,116,97,114,116,115,32,99,111,117,110,116,105,110,103,32,100,111,119,110,32,97,116,32,101,120,99,101,115,115,105,118,101,32,115,112,101,101,100,46,32,85,104,32,111,104,33,32,89,111,117,32,100,97,109,97,103,101,100,32,116,104,101,32,116,105,109,101,32,99,105,114,99,117,105,116,33,32,84,104,105,115,32,105,115,32,110,111,116,32,103,111,111,100,46,0,255,255,16,89,111,117,32,107,105,99,107,32,105,116,32,116,111,32,115,101,101,32,119,104,97,116,32,104,97,112,112,101,110,115,46,32,84,104,97,116,32,115,101,101,109,115,32,116,111,32,104,97,118,101,32,100,111,110,101,32,116,104,101,32,116,114,105,99,107,44,32,97,110,100,32,116,104,101,32,98,111,109,98,32,108,111,97,100,115,32,105,110,116,111,32,116,104,101,32,108,97,117,110,99,104,101,114,32,97,110,100,32,102,105,114,101,115,46,32,73,116,32,101,120,112,108,111,100,101,115,32,105,110,32,115,112,97,99,101,46,0,38,215,22,180,76,97,110,100,32,111,110,32,109,111,111,110,0,84,104,114,111,119,32,114,111,99,107,0,84,104,101,114,101,39,115,32,97,32,115,109,97,108,108,32,115,112,97,99,101,99,114,97,102,116,32,104,101,114,101,33,32,69,97,114,116,104,32,105,115,32,103,111,110,101,44,32,98,117,116,32,116,104,101,114,101,39,115,32,97,108,119,97,121,115,32,116,104,101,32,109,111,111,110,63,32,65,110,111,116,104,101,114,32,100,117,109,98,32,114,111,99,107,32,105,115,32,104,101,114,101,46,0,255,255,16,89,111,117,32,100,101,99,105,100,101,32,116,104,101,32,109,111,111,110,32,105,115,32,121,111,117,114,32,110,101,120,116,32,100,101,115,116,105,110,97,116,105,111,110,46,32,89,111,117,32,108,97,110,100,32,111,110,32,116,104,101,32,109,111,111,110,44,32,110,111,119,32,115,112,105,110,110,105,110,103,32,119,105,108,100,108,121,32,111,117,116,32,111,102,32,99,111,110,116,114,111,108,44,32,100,117,101,32,116,111,32,116,104,101,32,108,97,99,107,32,111,102,32,97,32,112,108,97,110,101,116,32,101,97,114,116,104,46,0,255,255,0,84,104,105,110,103,115,32,119,101,114,101,32,107,105,110,100,32,111,102,32,111,107,97,121,44,32,98,117,116,32,121,111,117,32,104,97,118,101,32,110,111,32,102,114,105,101,110,100,115,32,111,110,32,116,104,101,32,109,111,111,110,46,32,79,118,101,114,32,116,104,101,32,121,101,97,114,115,44,32,105,116,32,101,118,101,110,116,117,97,108,108,121,32,99,114,97,115,104,101,115,32,105,110,116,111,32,116,104,101,32,115,117,110,46,32,10,0,255,255,16,89,111,117,32,114,101,97,99,104,32,108,101,118,101,108,32,49,57,46,32,84,104,101,32,115,109,101,108,108,32,111,102,32,99,111,102,102,101,101,32,108,105,110,103,101,114,115,32,97,115,32,116,104,101,32,111,110,108,121,32,116,104,105,110,103,32,111,110,32,116,104,105,115,32,108,101,118,101,108,32,97,112,112,101,97,114,115,32,116,111,32,98,101,32,97,32,99,104,101,97,112,32,101,115,112,114,101,115,115,111,32,99,97,114,116,46,0,40,182,28,33,67,111,102,102,101,101,32,67,97,114,116,0,85,112,118,97,116,111,114,0,89,111,117,32,115,101,101,32,97,110,32,117,112,118,97,116,111,114,33,32,84,104,97,110,107,32,103,111,100,46,32,65,108,115,111,44,32,121,111,117,32,99,97,110,32,103,111,32,117,112,32,116,111,32,116,104,101,32,101,115,112,114,101,115,115,111,32,99,97,114,116,46,0,255,255,16,34,76,111,111,107,44,32,73,32,107,110,111,119,32,119,104,97,116,32,104,97,112,112,101,110,101,100,44,34,32,116,104,101,32,99,111,102,102,101,101,109,97,107,101,114,32,115,97,121,115,46,0,40,85,41,65,68,111,110,39,116,32,102,111,108,108,111,119,0,70,111,108,108,111,119,32,99,111,102,102,101,101,109,97,107,101,114,0,34,89,111,117,32,119,105,108,108,32,110,101,101,100,32,116,111,32,102,111,108,108,111,119,32,109,101,32,116,104,114,111,117,103,104,32,116,104,105,115,32,100,111,111,114,46,34,0,255,255,16,89,111,117,32,102,111,108,108,111,119,32,116,104,101,32,99,111,102,102,101,101,109,97,107,101,114,32,116,104,114,111,117,103,104,32,97,32,115,116,114,97,110,103,101,32,99,111,114,114,105,100,111,114,46,32,69,118,101,110,116,117,97,108,108,121,44,32,121,111,117,32,114,101,97,99,104,32,97,32,115,109,97,108,108,32,103,97,114,97,103,101,32,119,105,116,104,32,97,32,108,105,116,116,108,101,32,115,112,97,99,101,115,104,105,112,46,0,255,255,16,80,117,115,104,32,116,104,101,32,115,101,108,102,32,100,101,115,116,114,117,99,116,32,98,117,116,116,111,110,32,97,110,100,32,104,111,112,32,105,110,33,32,89,111,117,32,108,97,110,100,32,111,110,32,69,97,114,116,104,32,105,110,32,97,32,114,101,109,111,116,101,32,108,111,99,97,116,105,111,110,46,0,255,255,16,83,104,101,32,115,97,121,115,44,32,34,110,111,119,32,104,97,118,101,32,116,111,32,102,117,108,102,105,108,108,32,89,79,85,82,32,112,97,114,116,32,111,102,32,116,104,101,32,100,101,97,108,33,34,32,87,104,97,116,32,100,101,97,108,33,63,32,34,77,97,114,114,121,32,109,101,32,110,111,119,33,34,32,115,104,101,32,115,97,121,115,46,32,85,104,63,0,42,225,43,160,68,111,110,39,116,32,109,97,114,114,121,32,104,101,114,0,77,97,114,114,121,32,104,101,114,0,83,104,101,32,100,111,101,115,32,108,111,111,107,32,118,101,114,121,32,112,114,101,116,116,121,46,32,65,110,100,32,115,104,101,32,107,110,111,119,115,32,104,111,119,32,116,111,32,109,97,107,101,32,99,111,102,102,101,101,46,32,66,117,116,32,105,115,32,116,104,97,116,32,101,110,111,117,103,104,63,0,255,255,16,89,111,117,32,104,97,118,101,32,112,114,111,118,101,110,32,121,111,117,114,115,101,108,102,32,116,111,32,98,101,32,97,32,116,101,114,114,105,98,108,101,32,112,101,114,115,111,110,46,32,70,111,114,32,116,104,97,116,44,32,105,32,119,105,108,108,32,99,104,97,110,103,101,32,105,110,116,111,32,109,121,32,116,114,117,101,32,115,101,108,102,32,97,110,100,32,101,120,105,116,32,109,121,32,104,117,109,97,110,115,117,105,116,46,32,85,104,32,111,104,46,46,0,255,255,0,83,104,101,32,116,114,97,110,115,102,111,114,109,115,32,105,110,116,111,32,97,32,103,105,97,110,116,32,109,111,110,115,116,101,114,46,32,34,89,111,117,32,97,114,101,32,110,111,119,32,109,121,32,109,101,97,108,33,34,32,10,0,255,255,16,89,111,117,32,100,101,99,105,100,101,32,116,104,97,116,32,121,111,117,32,98,101,116,116,101,114,32,116,97,107,101,32,97,100,118,97,110,116,97,103,101,32,111,102,32,116,104,105,115,32,119,104,105,108,101,32,121,111,117,32,99,97,110,46,32,73,116,32,119,111,110,39,116,32,98,101,32,116,104,97,116,32,98,97,100,46,46,46,119,105,108,108,32,105,116,63,0,255,255,16,89,111,117,32,115,97,118,101,100,32,116,104,101,32,100,97,121,32,97,110,100,32,103,111,116,32,116,104,101,32,103,105,114,108,46,32,85,104,46,46,115,104,101,32,105,115,32,116,97,107,105,110,103,32,111,102,102,32,104,101,114,32,104,117,109,97,110,115,117,105,116,33,32,34,89,111,117,32,104,97,118,101,32,84,72,82,69,69,32,72,69,65,68,83,32,97,110,100,32,84,69,78,32,65,82,77,83,63,33,34,0,255,255,0,34,89,101,115,32,111,102,32,99,111,117,114,115,101,32,73,32,100,111,44,32,109,121,32,110,101,119,32,115,112,111,117,115,101,33,32,73,32,108,111,118,101,32,121,111,117,33,34,32,65,110,100,32,115,104,101,32,103,105,118,101,115,32,121,111,117,32,97,32,103,105,97,110,116,32,49,48,32,97,114,109,32,104,117,103,46,32,87,101,108,108,44,32,109,97,121,98,101,32,105,116,39,108,108,32,119,111,114,107,32,111,117,116,32,115,111,109,101,104,111,119,46,10,0,255,255,16,34,83,111,44,32,117,104,44,32,119,104,101,114,101,32,105,115,32,116,104,101,32,99,111,102,102,101,101,32,109,97,107,101,114,32,97,103,97,105,110,63,34,32,121,111,117,32,97,115,107,44,32,101,118,101,114,32,115,111,32,115,108,121,108,121,46,32,34,83,104,101,39,115,32,111,110,32,108,101,118,101,108,32,49,57,44,32,115,105,114,46,32,69,49,32,116,111,32,69,50,32,116,111,32,76,49,57,46,34,0,19,20,14,188,71,111,32,116,111,32,101,108,101,118,97,116,111,114,0,78,101,118,101,114,109,105,110,100,0,34,79,104,44,32,121,101,97,104,44,32,105,32,107,110,101,119,32,116,104,97,116,34,32,40,119,104,97,116,32,116,104,101,32,104,101,99,107,32,97,114,101,32,97,108,108,32,111,102,32,116,104,111,115,101,32,100,105,114,101,99,116,105,111,110,115,63,41,0,255,255,16,34,73,46,117,104,104,46,46,102,111,114,103,111,116,32,115,111,109,101,116,104,105,110,103,32,98,97,99,107,32,111,110,32,101,97,114,116,104,46,34,32,84,104,101,32,98,111,109,98,101,114,32,108,97,117,103,104,115,32,97,115,32,105,102,32,105,116,32,119,97,115,32,115,111,109,101,32,115,111,114,116,32,111,102,32,106,111,107,101,44,32,97,110,100,32,100,114,111,112,115,32,49,48,48,48,32,98,111,109,98,115,32,111,110,32,121,111,117,114,32,99,105,116,121,46,0,255,255,5,14,188,255,255,16,34,73,32,117,104,104,46,46,46,108,101,102,116,32,116,104,101,32,84,86,32,111,110,46,34,32,121,111,117,32,114,101,109,97,114,107,46,32,34,89,111,117,32,115,97,105,100,32,98,117,105,108,100,105,110,103,32,51,49,50,44,32,114,105,103,104,116,63,34,32,116,104,101,32,98,111,109,98,101,114,32,103,117,121,32,97,115,107,115,46,32,79,104,32,103,114,101,97,116,46,0,255,255,16,84,104,101,32,98,111,109,98,101,114,32,103,117,121,32,112,114,101,115,115,101,115,32,97,32,98,117,110,99,104,32,111,102,32,98,117,116,116,111,110,115,32,97,110,100,32,97,32,118,105,100,101,111,32,111,102,32,121,111,117,114,32,98,117,105,108,100,105,110,103,32,98,101,105,110,103,32,100,101,115,116,114,111,121,101,100,32,99,97,110,32,98,101,32,115,101,101,110,32,111,110,32,97,32,115,109,97,108,108,32,115,99,114,101,101,110,46,0,255,255,16,34,79,107,97,121,44,32,115,105,114,46,32,78,105,99,101,32,99,97,116,99,104,46,32,73,116,39,115,32,111,102,102,32,110,111,119,46,34,32,89,111,117,32,115,116,97,114,101,32,105,110,32,100,105,115,98,101,108,105,101,102,46,32,77,97,121,98,101,32,121,111,117,32,115,104,111,117,108,100,110,39,116,32,104,97,118,101,32,115,97,105,100,32,116,104,97,116,46,0,255,255,5,14,188,48,48,18,169,83,101,116,32,98,97,99,107,119,97,114,100,115,0,68,111,32,115,111,109,101,116,104,105,110,103,32,101,108,115,101,0,89,111,117,32,101,110,116,101,114,32,115,111,109,101,32,115,111,114,116,32,111,102,32,97,100,109,105,110,105,115,116,114,97,116,105,111,110,32,112,111,114,116,97,108,46,32,89,111,117,32,115,101,101,32,97,32,115,116,114,97,110,103,101,32,115,101,116,116,105,110,103,32,99,97,108,108,101,100,32,34,115,101,119,97,103,101,32,115,121,115,116,101,109,32,100,105,114,101,99,116,105,111,110,58,32,102,111,114,119,97,114,100,34,0,255,255,16,70,111,114,32,102,117,110,44,32,121,111,117,32,99,104,97,110,103,101,32,116,104,101,32,115,101,119,101,114,32,100,105,114,101,99,116,105,111,110,32,116,111,32,34,98,97,99,107,119,97,114,100,115,34,46,32,70,111,114,32,97,32,119,104,105,108,101,44,32,105,116,32,100,105,100,110,39,116,32,115,101,101,109,32,116,111,32,100,111,32,97,32,119,104,111,108,101,32,108,111,116,44,32,115,111,32,121,111,117,32,112,114,101,115,115,101,100,32,116,104,101,32,91,43,93,32,111,110,32,83,101,119,101,114,32,80,83,73,32,83,101,116,116,105,110,103,32,49,48,48,48,32,116,105,109,101,115,46,0,255,255,16,65,32,116,101,114,114,105,98,108,101,32,114,117,115,104,105,110,103,32,115,111,117,110,100,32,99,111,117,108,100,32,98,101,32,104,101,97,114,100,32,105,110,32,119,104,97,116,32,108,111,111,107,101,100,32,108,105,107,101,32,97,32,98,97,116,104,114,111,111,109,46,32,66,97,100,32,115,109,101,108,108,115,32,97,110,100,32,100,97,114,107,32,108,105,113,117,105,100,32,99,111,117,108,100,32,98,101,32,115,101,101,110,32,99,111,109,105,110,103,32,102,114,111,109,32,117,110,100,101,114,32,116,104,101,32,100,111,111,114,46,0,255,255,16,83,111,109,101,32,121,101,108,108,105,110,103,32,99,111,117,108,100,32,98,101,32,104,101,97,114,100,32,105,110,32,116,104,101,32,100,105,115,116,97,110,99,101,58,32,34,79,72,32,77,89,32,71,79,68,33,32,84,72,69,32,84,79,73,76,69,84,83,32,65,82,69,32,83,69,87,65,71,69,32,71,69,89,83,69,82,83,33,32,72,73,84,32,84,72,69,32,69,77,69,82,71,69,78,67,89,32,83,72,85,84,32,79,70,70,33,34,32,77,105,115,115,105,111,110,32,97,99,99,111,109,112,108,105,115,104,101,100,33,0,255,255,5,18,169,255,255,16,73,116,32,106,117,115,116,32,115,97,121,115,32,34,77,101,101,116,32,109,101,32,111,110,32,76,49,57,32,45,67,71,34,0,255,255,5,16,178,15,36,19,20,67,97,112,116,97,105,110,39,115,32,79,102,102,105,99,101,0,69,108,101,118,97,116,111,114,0,89,111,117,32,97,114,101,32,111,110,32,116,104,101,32,98,114,105,100,103,101,46,32,76,111,116,115,32,111,102,32,98,117,122,122,105,110,103,32,97,110,100,32,98,101,101,112,105,110,103,46,32,83,111,109,101,32,98,111,109,98,105,110,103,46,32,79,116,104,101,114,119,105,115,101,44,32,110,111,116,32,109,117,99,104,32,103,111,105,110,103,32,111,110,46,0,255,255,16,89,111,117,32,114,101,97,99,104,32,101,108,101,118,97,116,111,114,32,108,111,98,98,121,32,52,46,32,84,104,101,32,111,116,104,101,114,32,101,108,101,118,97,116,111,114,32,97,112,112,101,97,114,115,32,116,111,32,98,101,32,111,117,116,32,111,102,32,111,114,100,101,114,44,32,115,111,32,121,111,117,32,116,97,107,101,32,116,104,101,32,111,110,108,121,32,119,111,114,107,105,110,103,32,111,110,101,32,116,111,32,76,53,46,0,51,143,28,33,84,101,108,101,112,111,114,116,101,114,32,98,117,116,116,111,110,0,85,112,118,97,116,111,114,0,89,111,117,32,97,114,101,32,111,110,32,76,53,46,32,84,104,101,114,101,32,105,115,32,97,110,32,117,112,118,97,116,111,114,33,32,84,104,101,114,101,32,105,115,32,106,117,115,116,32,97,32,116,101,108,101,112,111,114,116,101,114,32,104,101,114,101,46,32,84,104,101,32,111,110,101,32,121,111,117,32,97,114,114,105,118,101,100,32,105,110,46,0,255,255,16,89,111,117,32,101,110,103,97,103,101,32,116,104,101,32,116,101,108,101,112,111,114,116,101,114,32,99,111,110,116,114,111,108,115,32,98,117,116,32,98,117,109,112,32,116,104,101,32,97,108,116,105,116,117,100,101,32,99,111,110,116,114,111,108,115,46,32,89,111,117,32,97,114,101,32,115,101,110,116,32,116,111,32,116,104,101,32,108,97,115,116,32,108,111,99,97,116,105,111,110,32,117,115,101,100,32,115,101,118,101,114,97,108,32,102,108,111,111,114,115,32,100,111,119,110,58,32,116,104,101,32,98,111,109,98,32,115,104,101,108,116,101,114,46,0,255,255,16,89,111,117,32,97,114,101,32,110,111,116,32,115,117,114,101,32,121,111,117,32,97,114,101,32,103,108,97,100,32,116,111,32,98,101,32,98,97,99,107,32,111,114,32,110,111,116,46,32,65,108,108,32,111,102,32,121,111,117,114,32,102,114,105,101,110,100,115,32,97,114,101,32,104,101,114,101,44,32,98,117,116,32,116,104,101,114,101,39,115,32,97,32,112,114,111,98,108,101,109,32,119,105,116,104,32,116,104,101,32,115,104,101,108,116,101,114,32,100,111,111,114,33,0,255,255,5,5,213,255,255,16,84,104,105,115,32,98,105,103,32,114,101,100,32,98,117,116,116,111,110,32,104,97,115,32,110,111,32,116,101,120,116,32,111,110,32,105,116,46,32,73,116,32,99,111,117,108,100,110,39,116,32,98,101,32,84,72,65,84,32,105,109,112,111,114,116,97,110,116,44,32,111,116,104,101,114,119,105,115,101,32,105,116,32,119,111,117,108,100,32,104,97,118,101,32,115,111,109,101,32,115,111,114,116,32,111,102,32,119,97,114,110,105,110,103,32,111,110,32,105,116,46,0,255,255,16,89,111,117,32,103,105,118,101,32,116,104,101,32,98,105,103,32,114,101,100,32,98,117,116,116,111,110,32,97,32,112,117,115,104,46,32,78,111,116,104,105,110,103,32,104,97,112,112,101,110,115,46,32,89,111,117,32,112,117,115,104,32,105,116,32,97,103,97,105,110,32,97,32,99,111,117,112,108,101,32,109,111,114,101,32,116,105,109,101,115,46,32,87,101,108,108,32,116,104,97,116,32,115,117,99,107,115,46,0,255,255,16,83,117,100,100,101,110,108,121,32,116,104,101,32,100,111,111,114,32,111,112,101,110,115,46,32,83,111,109,101,111,110,101,32,114,117,115,104,101,115,32,105,110,46,32,34,67,65,80,84,65,73,78,33,33,33,32,83,79,77,69,79,78,69,32,72,65,83,32,73,78,73,84,73,65,84,69,68,32,84,72,69,32,83,69,76,70,32,68,69,83,84,82,85,67,84,32,83,69,81,85,69,78,67,69,33,34,0,255,255,16,89,111,117,32,115,116,97,114,116,32,116,111,32,104,101,97,114,32,97,32,103,114,111,119,105,110,103,32,114,117,109,98,108,101,46,32,73,116,32,98,101,99,111,109,101,115,32,108,111,117,100,101,114,32,97,110,100,32,108,111,117,100,101,114,46,32,34,67,97,110,39,116,32,121,111,117,32,106,117,115,116,32,99,97,110,99,101,108,32,116,104,101,32,115,101,108,102,32,100,101,115,116,114,117,99,116,63,34,0,255,255,16,34,87,104,101,114,101,32,105,115,32,116,104,101,32,99,111,117,110,116,100,111,119,110,63,34,32,72,101,32,108,111,111,107,115,32,97,116,32,121,111,117,32,108,105,107,101,32,121,111,117,32,97,114,101,32,115,111,109,101,32,115,111,114,116,32,111,102,32,105,100,105,111,116,46,32,34,84,72,69,82,69,32,73,83,32,78,79,32,67,65,78,67,69,76,32,65,78,68,32,84,72,69,82,69,32,73,83,32,78,79,32,67,79,85,78,84,73,78,71,33,34,0,255,255,16,34,80,65,82,84,83,32,79,70,32,84,72,69,32,83,72,73,80,32,65,82,69,32,66,76,79,87,73,78,71,32,85,80,32,65,83,32,87,69,32,83,80,69,65,75,33,33,32,73,84,32,87,73,76,76,32,82,69,65,67,72,32,85,83,32,73,78,32,65,32,77,65,84,84,69,82,32,79,70,32,77,73,78,85,84,69,83,32,78,79,87,33,34,0,61,126,55,161,70,105,110,100,32,101,115,99,97,112,101,32,112,111,100,0,80,117,115,104,32,103,114,101,101,110,32,98,117,116,116,111,110,0,34,84,72,69,32,83,72,73,80,32,73,83,32,83,69,76,70,32,68,69,83,84,82,85,67,84,73,78,71,32,78,79,87,33,34,32,85,104,32,111,104,46,0,255,255,16,89,111,117,32,102,114,97,110,116,105,99,97,108,108,121,32,115,116,97,114,116,32,112,117,115,104,105,110,103,32,97,32,98,105,103,32,103,114,101,101,110,32,98,117,116,116,111,110,46,32,34,78,79,33,32,89,79,85,32,73,68,73,79,84,33,32,68,79,78,39,84,32,80,85,83,72,32,84,72,65,84,33,34,32,87,104,97,116,32,99,111,117,108,100,32,98,101,32,119,111,114,115,101,32,116,104,97,110,32,103,101,116,116,105,110,103,32,98,108,111,119,110,32,117,112,63,0,255,255,16,83,117,100,100,101,110,108,121,44,32,116,104,101,32,115,104,105,112,32,98,101,103,105,110,115,32,116,111,32,97,99,99,101,108,101,114,97,116,101,46,32,84,104,105,110,103,115,32,115,116,97,114,116,32,108,111,111,107,105,110,103,32,118,101,114,121,32,111,100,100,32,111,117,116,32,116,104,101,32,119,105,110,100,111,119,46,32,84,104,101,110,32,116,104,101,32,111,100,100,110,101,115,115,32,115,116,111,112,115,46,32,73,116,32,105,115,32,110,111,114,109,97,108,32,115,112,97,99,101,32,97,103,97,105,110,46,0,255,255,16,89,111,117,32,115,101,101,32,97,110,111,116,104,101,114,32,112,108,97,110,101,116,32,111,117,116,115,105,100,101,32,116,104,101,32,119,105,110,100,111,119,44,32,97,115,32,116,104,101,32,115,104,105,112,32,99,111,97,115,116,115,32,116,111,119,97,114,100,115,32,97,32,103,105,97,110,116,32,111,114,98,105,116,105,110,103,32,98,97,115,101,32,115,116,114,117,99,116,117,114,101,46,32,84,104,101,32,114,117,109,98,108,105,110,103,32,98,101,99,111,109,101,115,32,101,118,101,110,32,108,111,117,100,101,114,46,0,255,255,16,34,89,79,85,32,73,68,73,79,84,33,32,89,79,85,32,67,79,77,77,65,78,68,69,68,32,84,72,69,32,83,72,73,80,32,84,79,32,68,79,67,75,32,87,73,84,72,32,84,72,69,32,72,79,77,69,32,77,69,71,65,66,65,83,69,46,32,84,72,69,32,81,85,69,69,78,32,73,83,32,65,84,32,84,72,69,32,77,69,71,65,66,65,83,69,32,84,79,68,65,89,33,32,89,79,85,32,87,73,76,76,32,75,73,76,76,32,69,86,69,82,89,79,78,69,33,34,0,255,255,16,80,101,110,100,105,110,103,32,100,111,111,109,32,105,115,32,115,111,111,110,32,97,112,112,114,111,97,99,104,105,110,103,44,32,121,111,117,32,99,114,97,99,107,32,97,32,104,117,103,101,32,115,109,105,108,101,46,0,58,87,60,4,84,101,108,108,32,116,104,101,32,116,114,117,116,104,0,73,110,115,117,108,116,32,113,117,101,101,110,32,111,118,101,114,32,114,97,100,105,111,32,98,114,111,97,100,99,97,115,116,0,72,111,119,32,119,105,108,108,32,121,111,117,32,115,112,101,110,100,32,121,111,117,114,32,102,105,110,97,108,32,109,111,109,101,110,116,115,63,0,255,255,16,89,111,117,32,109,111,110,111,108,111,103,117,101,58,32,34,73,32,97,109,32,114,101,97,108,108,121,32,97,32,104,117,109,97,110,46,32,73,32,100,105,100,32,116,104,105,115,32,97,108,108,32,111,110,32,112,117,114,112,111,115,101,32,102,111,114,32,116,114,121,105,110,103,32,116,111,32,100,101,115,116,114,111,121,32,111,117,114,32,112,108,97,110,101,116,46,32,78,111,119,32,121,111,117,32,119,105,108,108,32,97,108,108,32,100,105,101,46,32,73,100,105,111,116,115,46,34,0,255,255,16,84,104,101,32,115,104,105,112,32,100,111,99,107,115,32,119,105,116,104,32,116,104,101,32,72,111,109,101,32,77,101,103,97,98,97,115,101,46,32,65,32,118,101,114,121,32,99,111,110,99,101,114,110,101,100,32,119,111,109,97,110,44,32,119,104,111,32,108,111,111,107,115,32,108,105,107,101,32,97,32,113,117,101,101,110,44,32,108,111,111,107,115,32,102,114,105,103,104,116,101,110,101,100,32,97,116,32,116,104,101,32,115,105,103,104,116,32,111,102,32,121,111,117,114,32,101,120,112,108,111,100,105,110,103,32,115,104,105,112,33,0,255,255,0,84,104,101,32,99,111,109,112,117,116,101,114,32,98,97,114,107,115,32,34,68,101,110,111,110,97,116,105,110,103,32,115,117,98,97,116,111,109,105,99,32,109,101,103,97,32,98,111,109,98,46,34,46,32,84,104,101,32,115,104,105,112,32,101,120,112,108,111,100,101,115,44,32,116,104,101,32,72,111,109,101,32,77,101,103,97,98,97,115,101,32,105,115,32,110,111,32,109,111,114,101,44,32,97,110,100,32,116,104,101,32,97,116,109,111,115,112,104,101,114,101,32,98,108,111,119,115,32,111,102,102,32,116,104,101,32,97,108,105,101,110,32,112,108,97,110,101,116,46,10,0,255,255,16,89,111,117,32,109,111,110,111,108,111,103,117,101,58,32,34,84,104,105,115,32,105,115,32,97,32,112,108,97,110,101,116,32,109,101,103,97,98,97,115,101,32,119,105,100,101,32,98,114,111,97,100,99,97,115,116,46,32,89,111,117,114,32,113,117,101,101,110,32,105,115,32,97,32,115,116,117,112,105,100,32,105,100,105,111,116,46,32,83,104,101,32,115,109,101,108,108,115,32,102,117,110,110,121,32,97,110,100,32,105,115,32,116,101,114,114,105,98,108,101,32,97,116,32,109,97,116,104,46,34,0,255,255,16,89,111,117,32,99,97,110,32,104,101,97,114,32,99,111,108,108,101,99,116,105,118,101,32,103,97,115,112,115,32,116,104,114,111,117,103,104,111,117,116,32,116,104,101,32,115,104,105,112,32,97,110,100,32,111,118,101,114,32,116,104,101,32,99,111,109,109,117,110,105,99,97,116,105,111,110,32,99,104,97,110,110,101,108,46,32,34,84,97,107,101,32,105,116,32,98,97,99,107,33,34,32,115,111,109,101,111,110,101,32,115,97,121,115,32,111,118,101,114,32,116,104,101,32,114,97,100,105,111,46,0,255,255,16,89,111,117,32,116,101,108,108,32,116,104,101,109,32,121,111,117,32,119,111,110,39,116,32,97,110,100,32,121,111,117,32,104,111,112,101,32,116,104,101,105,114,32,104,111,109,101,32,109,101,103,97,98,97,115,101,32,98,108,111,119,115,32,117,112,32,119,105,116,104,32,104,101,114,46,32,89,111,117,32,108,97,117,103,104,32,117,110,99,111,110,116,114,111,108,108,97,98,108,121,46,0,255,255,5,58,218,255,255,16,84,104,101,114,101,32,105,115,110,39,116,32,97,110,121,33,0,255,255,5,55,80,255,255,16,84,104,105,115,32,105,115,110,39,116,32,83,116,97,114,32,84,114,101,107,33,0,255,255,5,13,132,};
58 |
59 | // ^^^^^^^^^^^^^^^^^^^^
60 |
61 | unsigned char exita[80] = "";
62 | unsigned char exitb[80] = "";
63 |
64 |
65 | void setup() {
66 | SPI.begin();
67 | display.start();
68 | display.clearDisplay();
69 | showIntro();
70 | display.clearDisplay();
71 | display.display();
72 | #if SERIAL == ON
73 | Serial.begin(9600);
74 | #endif
75 | }
76 |
77 | void loop() {
78 | startVM(0);
79 | }
80 |
81 | void showIntro() // Show Arduino retro intro
82 | {
83 | for(int i=-8; i<28; i=i+2) {
84 | display.clearDisplay();
85 | display.drawSlowXYBitmap(46,i, arduino, 32,8,1);
86 | display.display();
87 | delay(1000/30);
88 | }
89 | #if SOUND == ON
90 | display.tunes.tone(987, 160);
91 | delay(160);
92 | display.tunes.tone(1318, 400);
93 | delay(2000);
94 | #endif
95 | }
96 |
97 | void startVM(uint16_t pc) {
98 | while(1) {
99 | uint16_t type = pgm_read_byte_near(&(gti[pc])) << 8 | pgm_read_byte_near(&(gti[pc+1])) & 0xFF; // Read in type of frame
100 | pc++; // bump program counter
101 | col = 0; // reset columns in text display
102 | if(type == 65535) { // SPECIAL Frame Detected
103 | pc++; // bump program counter
104 | uint8_t mode = pgm_read_byte_near(&(gti[pc])); // get the special packet mode
105 |
106 | switch (mode) { // switch based on what mode the frame is
107 |
108 | // 0x00 - Game Over
109 |
110 | case 0: // Game Over handler
111 | while(1) { // loop over text until we hit a null
112 | pc++; // bump program counter
113 | uint8_t buff = pgm_read_byte_near(&(gti[pc])); // read a chracter
114 | if(buff == 0) { break; } // is it a null? then we are done printing text
115 | printer(pgm_read_byte_near(&(gti[pc]))); // print out the text using our text output handler
116 | }
117 | display.print("*GAME OVER*"); // print generic Game Over message
118 | #if SERIAL == ON
119 | Serial.print("*GAME OVER*"); // if the serial port is turned on, print message over serial
120 | #endif
121 | anykey(); // wait for anykey
122 | col = 0; // reset the columns (probably not needed)
123 | return; // quit out of the VM
124 | break; // break that will not be executed
125 |
126 | // 0x05 - Jump
127 |
128 | case 5: // Jump handler
129 | pc++; // bump the program counter
130 | pc = pgm_read_byte_near(&(gti[pc])) << 8 | pgm_read_byte_near(&(gti[pc+1])) & 0xFF; // Set the program counter to the address in 16 bit field
131 | break; // switch break
132 |
133 | // 0x0D - Effects Library
134 |
135 | case 13: // Effects Handler
136 | #if SFXLIB == ON // If our effects library is switched on
137 | pc++; // Bump program counter
138 | effect = pgm_read_byte_near(&(gti[pc])); // Get effect type
139 |
140 | switch(effect) { // Effect switcher
141 |
142 | // 0x00 - Low pitched rumbling sound
143 |
144 | case 0: // rumble handler
145 | #if SOUND == ON // Is sound turned on?
146 | for(int x = 60; x < 150; x++) { // Low frequency sweep
147 | display.tunes.tone(x, 10); delay(10); } // Play our low frequency sweep
148 | #endif // end sound check
149 | break; // switch break
150 |
151 | // 0x01 - Random lightning flash
152 |
153 | case 1: // Random lightning flash
154 | for(int x = 0; x < 100; x++) { // Small loop for our flashes
155 | if(random(0,10) == 1) { // 1 in 10 chance of a flash
156 | display.fillScreen(WHITE); // Fill screen with white
157 | display.display(); // push it out
158 | }
159 | else { // Not a 1 in 10 chance?
160 | display.fillScreen(BLACK); // Make screen black
161 | display.display(); // Push it out
162 | }
163 | }
164 | break; // switch break
165 | }
166 | pc++; // Bump program counter
167 | #else // Otherwise, is the SFX mode disabled?
168 | pc++; pc++; // Increment program counter so we dont lose position
169 | #endif
170 | break; // switch break
171 |
172 | // 0x10 - Display page of text and wait for any key
173 |
174 | case 16: // text handler
175 | while(1) { // print some text until we find a null
176 | pc++; // Bump program counter
177 | uint8_t buff = pgm_read_byte_near(&(gti[pc])); // Read a character
178 | if(buff == 0) { break; } // Is it null? then break out of loop
179 | printer(pgm_read_byte_near(&(gti[pc]))); // Send text off to our printer
180 | }
181 | anykey(); // Wait for any key
182 | pc++; // Bump program counter
183 | break; // Switch case break
184 | }
185 | }
186 |
187 | // We did not find a SPECIAL frame, so we assume it is a NORMAL frame (and per framing format, it must be)
188 | // We reuse the 'type' uint16_t variable as jump a's address
189 |
190 | else {
191 |
192 | // Jump A description buffer
193 |
194 | pc++; // bump program counter
195 | uint16_t alterexit = pgm_read_byte_near(&(gti[pc])) << 8 | pgm_read_byte_near(&(gti[pc+1])) & 0xFF; // get jump b address
196 | pc++; pc++; // bump program counter
197 | int i = 0; // initalize i (to keep track of array position)
198 | while(1 == 1) { // fill jump a description buffer
199 | uint8_t buff = pgm_read_byte_near(&(gti[pc])); // get a chracter
200 | if(buff == 0) { exita[i] = 0; break; } // Is it null? append the null to array then stop
201 | exita[i] = buff; // fill array with newest character
202 | i++; pc++; // bump array position and program counter
203 | }
204 |
205 | // Jump B description buffer
206 |
207 | pc++; // bump program counter
208 | i = 0; // reset array position
209 | while(1 == 1) { // fill jump b description buffer
210 | uint8_t buff = pgm_read_byte_near(&(gti[pc])); // get a character
211 | if(buff == 0) { exitb[i] = 0; break; } // Is it null? append the null to array then stop
212 | exitb[i] = buff; // fill array with newest character
213 | i++; pc++; // bump array position and program counter
214 | }
215 |
216 | int x = 0; // define x (we could probably still reuse i?)
217 |
218 | // Main description printing (since the description goes before the jump selections)
219 |
220 | while(1) { // print the main description text, null terminated
221 | pc++; // bump program counter
222 | uint8_t buff = pgm_read_byte_near(&(gti[pc])); // get character from main description
223 | if(buff == 0) { break; } // did we find a null? stop printing description
224 | printer(pgm_read_byte_near(&(gti[pc]))); // Print out our newest character
225 | }
226 | pc++;
227 | #if SOUND == ON
228 | display.tunes.tone(1318, 50);
229 | #endif
230 | display.fillRect(display.getCursorX(),display.getCursorY(),8,8,BLACK); display.display();
231 | if(display.getCursorY() < 40) { display.print("\n");
232 | #if SERIAL == ON
233 | Serial.println();
234 | #endif
235 | }
236 |
237 | display.print("\nA] "); display.display(); col=3;
238 | #if SERIAL == ON
239 | Serial.print("\nA] ");
240 | #endif
241 | x = 0;
242 | while(1) {
243 | if(exita[x] == 0) { break; }
244 | printer(exita[x]);
245 | x++;
246 | }
247 | x = 0;
248 | #if SOUND == ON
249 | display.tunes.tone(1318, 50);
250 | #endif
251 | display.fillRect(display.getCursorX(),display.getCursorY(),8,8,BLACK); display.display();
252 | display.print("\nB] "); display.display(); col=3;
253 | #if SERIAL == ON
254 | Serial.print("\nB] ");
255 | #endif
256 | while(1) {
257 | if(exitb[x] == 0) { break; }
258 | printer(exitb[x]);
259 | x++;
260 | }
261 | display.fillRect(display.getCursorX(),display.getCursorY(),8,8,BLACK); display.display();
262 | int selection = select();
263 | if(selection == 0) { pc = type; }
264 | if(selection == 1) { pc = alterexit; }
265 | display.clearDisplay();
266 | display.setCursor(0,0);
267 | display.display();
268 | col = 0;
269 | }
270 | }
271 | }
272 |
273 |
274 | void settings() { anykey(); }
275 |
276 | void printer(uint8_t character) {
277 | col++;
278 | if(col > 20) { display.fillRect(display.getCursorX(),display.getCursorY(),8,8,BLACK); display.println(); col = 0;
279 | #if SERIAL == ON
280 | Serial.print("\n");
281 | #endif
282 | }
283 | if(character == 10) { display.fillRect(display.getCursorX(),display.getCursorY(),8,8,BLACK); col = 0; }
284 | display.print((char)character);
285 | #if SOUND == ON
286 | display.tunes.tone(1318, 2);
287 | #endif
288 | display.fillRect(display.getCursorX(),display.getCursorY(),8,8,WHITE);
289 | display.display();
290 | #if SERIAL == ON
291 | Serial.print((char)character);
292 | #endif
293 | delay(50);
294 | }
295 |
296 | uint8_t select() {
297 | uint8_t c = 0; uint8_t blink = 0;
298 | #if SOUND == ON
299 | display.tunes.tone(1318, 50); delay(50);
300 | display.tunes.tone(400, 50); delay(50);
301 | display.tunes.tone(600, 50); delay(50);
302 | #endif
303 | while(1) {
304 | if(display.pressed(FIRE_BUTTON)) { return 1; }
305 | if(display.pressed(JUMP_BUTTON)) { return 0; }
306 |
307 | c++;
308 | if(c > 10000) {
309 | if(blink == 1) {
310 | display.fillRect(120,55,10,10,WHITE);
311 | display.display();
312 | blink = 0; }
313 | else {
314 | display.fillRect(120,55,10,10,BLACK);
315 | display.display();
316 | blink = 1;
317 | }
318 | c = 0;
319 | }
320 |
321 | }
322 | }
323 |
324 | void anykey() {
325 | display.fillRect(display.getCursorX(),display.getCursorY(),8,8,BLACK); display.display();
326 | #if SOUND == ON
327 | display.tunes.tone(600, 50); delay(50);
328 | display.tunes.tone(1318, 50); delay(50);
329 | display.tunes.tone(900, 50); delay(50);
330 | #endif
331 | int c = 0;
332 | int blink = 0;
333 | while(1) {
334 | if(display.pressed(FIRE_BUTTON) || display.pressed(JUMP_BUTTON)) { break; }
335 | #if SERIAL == ON
336 | if(Serial.available()) { Serial.read(); Serial.read(); Serial.read(); break; }
337 | #endif
338 | c++;
339 | if(c > 10000) {
340 | if(blink == 1) {
341 | display.fillRect(120,55,10,10,WHITE);
342 | display.display();
343 | blink = 0; }
344 | else {
345 | display.fillRect(120,55,10,10,BLACK);
346 | display.display();
347 | blink = 1;
348 | }
349 | c = 0;
350 | }
351 | }
352 | display.setCursor(0,0); display.clearDisplay(); display.display();
353 | #if SERIAL == ON
354 | Serial.println("\n");
355 | #endif
356 | }
357 |
358 |
--------------------------------------------------------------------------------
/Players/player.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/python
2 | # GBI Player
3 |
4 | pc = 0
5 | mode = 0
6 | import ita
7 | col = 0
8 |
9 | import sys
10 | binary = sys.argv
11 |
12 | if len(binary) != 2:
13 | print "Usage: python player.py "
14 | quit()
15 |
16 | binary = binary[1]
17 |
18 | def hasnull(string):
19 | for i in range(0,len(string)):
20 | if ord(string[i]) == 0: return 1
21 | return 0
22 |
23 | f = open(binary)
24 | code = f.read(32768)
25 | f.close()
26 |
27 | while 1==1:
28 | type = ord(code[pc]) << 8 | ord(code[pc+1])
29 | # print "type: "+str(type)
30 | if type == 65535:
31 | pc = pc + 2
32 | operation = ord(code[pc])
33 | # print "special operation: "+str(operation)
34 | if operation == 0:
35 | print "** GAME OVER **\n\n"
36 | buffer = ""
37 | while 1==1:
38 | pc = pc + 1
39 | if ord(code[pc]) == 0: break
40 | buffer = buffer + code[pc]
41 | print buffer
42 | a = raw_input("\n[Hit enter to reset]")
43 | pc = 0
44 | if operation == 1: # low resolution image
45 | pc = pc + 22
46 | # image not supported
47 | if operation == 2: # high res image
48 | pc = pc + 1024
49 | # high res iage not supported
50 | if operation == 3: # set variable
51 | var_name = ""
52 | var_val = ""
53 | while 1==1:
54 | pc = pc + 1
55 | if ord(code[pc]) == 0: break
56 | var_name = var_name + code[pc]
57 | while 1==1:
58 | pc = pc + 1
59 | if ord(code[pc]) == 0: break
60 | var_val = var_val + code[pc]
61 | storage[var_name] = var_val
62 | pc = pc + 1
63 | if operation == 4: # evaluate variable
64 | var_name = ""
65 | operator = 0
66 | var_compare = ""
67 | var_branch = ""
68 | while 1==1:
69 | pc = pc + 1
70 | if ord(code[pc]) == 0: break
71 | var_name = var_name + code[pc]
72 | pc = pc + 1
73 | operator = code[pc]
74 | while 1==1:
75 | pc = pc + 1
76 | if ord(code[pc]) == 0: break
77 | var_compare = var_compare + code[pc]
78 | pc = pc + 1
79 | var_branch = ord(code[pc]) << 8 | ord(code[pc+1]) & 0xFF
80 | pc = pc + 2
81 | if operator == "$":
82 | if storage[var_name] == var_compare:
83 | pc = var_branch
84 | if operator == "<":
85 | if int(storage[var_name]) < int(var_compare):
86 | pc = var_branch
87 | if operator == ">":
88 | if storage[var_name] > var_compare:
89 | pc = var_branch
90 | if operator == "l":
91 | if int(storage[var_name]) <= int(var_compare):
92 | pc = var_branch
93 | if operator == "g":
94 | if int(storage[var_name]) >= int(var_compare):
95 | pc = var_branch
96 | if operator == "!":
97 | if storage[var_name] != var_compare:
98 | pc = var_branch
99 | if operation == 5:
100 | pc = pc + 1
101 | var_branch = ord(code[pc]) << 8 | ord(code[pc+1]) & 0xFF
102 | pc = var_branch
103 | if operation == 13:
104 | pc = pc + 2
105 | print "[Unsupported effect]"
106 | if operation == 16:
107 | buffer = ""
108 | while 1==1:
109 | pc = pc + 1
110 | if ord(code[pc]) == 0: break
111 | buffer = buffer + code[pc]
112 | print buffer
113 | raw_input("[Press Enter]")
114 | pc = pc + 1
115 | else:
116 | exit_a = type
117 | pc = pc + 2
118 | exit_b = ord(code[pc]) << 8 | ord(code[pc+1])
119 | pc = pc + 2
120 | exit_a_description = ""
121 | exit_b_description = ""
122 | text = ""
123 | while 1==1:
124 | if ord(code[pc]) == 0: break
125 | exit_a_description = exit_a_description + code[pc]
126 | pc = pc + 1
127 | pc = pc + 1
128 | while 1==1:
129 | if ord(code[pc]) == 0: break
130 | exit_b_description = exit_b_description + code[pc]
131 | pc = pc + 1
132 | pc = pc +1
133 | while 1==1:
134 | if ord(code[pc]) == 0: break
135 | text = text + code[pc]
136 | pc = pc + 1
137 | pc = pc + 1
138 | print ""
139 | print text
140 | print ""
141 | print "1. "+exit_a_description
142 | print "2. "+exit_b_description
143 | entry = raw_input("> ")
144 | if entry == "1": pc = exit_a
145 | if entry == "2": pc = exit_b
146 |
147 |
148 |
149 |
150 |
151 |
--------------------------------------------------------------------------------
/README:
--------------------------------------------------------------------------------
1 | ==About GTI==
2 |
3 | Write your own text adventure games with GTI!
4 |
5 | GTI, or Game Text Interpreter, is a tiny byte code intended for use with microcontrollers, such as the popular Arduboy or Arduino. GTI files can also be played using the Python player and effort is being made to port GTI to PHP and Javascript for playing on the web.
6 |
7 | GTI Uses a very simple binary format to use as little space as possible.
8 |
9 | ==How to use GTI==
10 |
11 | GTI does not currently have a parser, so it requires a CSV file containing all the elements.
12 |
13 | Step 1:
14 |
15 | Run compiler.py, which converts csv to binary format.
16 |
17 | Step 2:
18 |
19 | Run player.py to execute the binary format file on a desktop for testing.
20 |
21 | Optional Step 3:
22 |
23 | Run bin2array.py to convert the binary file to a C array (for use with Arduino, etc) and play using your Arduboy!
24 |
25 | ==GTI Features==
26 |
27 | GTI supports (or will support) the following:
28 |
29 | * Text + branch (Player picks selection A or B)
30 | * Text only fields
31 | * Jumping
32 | * Variables
33 | * Non-volitle storage
34 | * Math support
35 | * Conditional branching
36 | * 21x8 images
37 | * 128x64 images
38 | * Simple vector graphics
39 | * Melodies
40 | * Sound effects
41 | * Animation features
42 | * 5 bit text support (ITA2), resulting in 40% space reduction
43 |
44 | ==Writing CSV Code==
45 |
46 | Until a parser is written, code must be given to the compiler as a CSV.
47 |
48 | The compiler uses labels to build a jump table which ultimately drives the jump addresses within the game. All lines must have a label and just about any character (except a ,) is supported. Spaces are permitted.
49 |
50 | If a branch is not utilized, the program will advance from one line to the next.
51 |
52 | The two prefixes of importance are