aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinteck <nekostarfan@gmail.com>2021-06-05 19:27:48 +0200
committerMinteck <nekostarfan@gmail.com>2021-06-05 19:27:48 +0200
commit8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6 (patch)
tree7096b67b189c0220826123c7d5b121752545d140
downloadkartik-client-8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6.tar.gz
kartik-client-8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6.tar.bz2
kartik-client-8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6.zip
Presque sortie du jeu
-rw-r--r--.gitignore12
-rw-r--r--.idea/.gitignore5
-rw-r--r--.idea/Kartik.iml12
-rw-r--r--.idea/inspectionProfiles/Project_Default.xml37
-rw-r--r--.idea/modules.xml8
-rw-r--r--.idea/vcs.xml7
-rw-r--r--LICENSE675
-rw-r--r--LICENSE.rtf258
-rw-r--r--app.js326
-rw-r--r--build/compiler.js118
-rw-r--r--crash/artwork.jpgbin0 -> 83347 bytes
-rw-r--r--crash/client.js114
-rw-r--r--crash/crash.html72
-rw-r--r--crash/wrapper.js41
-rw-r--r--cursors/click.pngbin0 -> 350 bytes
-rw-r--r--cursors/main.pngbin0 -> 336 bytes
-rw-r--r--cursors/text.pngbin0 -> 230 bytes
-rw-r--r--discord/client.js40
-rw-r--r--icons/back.svg1
-rw-r--r--icons/credits.svg1
-rw-r--r--icons/exit.svg1
-rw-r--r--icons/gamepad.svg1
-rw-r--r--icons/language.svg1
-rw-r--r--icons/local.svg1
-rw-r--r--icons/music.svg1
-rw-r--r--icons/online.svg1
-rw-r--r--icons/scale.svg1
-rw-r--r--icons/scenario.svg1
-rw-r--r--icons/settings.svg1
-rw-r--r--icons/singleplayer.svg1
-rw-r--r--index.html97
-rw-r--r--kartik-mac.sh2
-rw-r--r--kartik-setup.sh22
-rw-r--r--kartik.bat2
-rw-r--r--kartik.desktop9
-rw-r--r--kartik.sh2
-rw-r--r--lang/de.json191
-rw-r--r--lang/en.json191
-rw-r--r--lang/es.json180
-rw-r--r--lang/fr.json191
-rw-r--r--lang/it.json191
-rw-r--r--lang/jp.json191
-rw-r--r--lang/languages.json12
-rw-r--r--lang/loader.js46
-rw-r--r--lang/nl.json191
-rw-r--r--lang/preload.js2
-rw-r--r--lang/pt.json191
-rw-r--r--lang/ru.json191
-rw-r--r--lang/zh.json191
-rw-r--r--logo/full-alt.pngbin0 -> 10231 bytes
-rw-r--r--logo/full.pngbin0 -> 10682 bytes
-rw-r--r--logo/itch/background.jpgbin0 -> 58578 bytes
-rw-r--r--logo/itch/banner.jpgbin0 -> 197632 bytes
-rw-r--r--logo/itch/cover.jpgbin0 -> 97403 bytes
-rw-r--r--logo/loader.svg52
-rw-r--r--logo/logo-beta.pngbin0 -> 26904 bytes
-rw-r--r--logo/logo-eap.pngbin0 -> 27078 bytes
-rw-r--r--logo/logo-git.pngbin0 -> 26649 bytes
-rw-r--r--logo/logo-nightly.pngbin0 -> 24576 bytes
-rw-r--r--logo/logo.icobin0 -> 17147 bytes
-rw-r--r--logo/logo.pngbin0 -> 29748 bytes
-rw-r--r--logo/mod.pngbin0 -> 11113 bytes
-rw-r--r--logo/newloader.svg1914
-rw-r--r--logo/old/logo-beta.pngbin0 -> 17378 bytes
-rw-r--r--logo/old/logo-git.pngbin0 -> 17290 bytes
-rw-r--r--logo/old/logo-nightly.pngbin0 -> 17141 bytes
-rw-r--r--logo/old/logo.pngbin0 -> 34536 bytes
-rw-r--r--logo/server.pngbin0 -> 25011 bytes
-rw-r--r--logo/vendor.pngbin0 -> 100687 bytes
-rw-r--r--modding/hooks.js201
-rw-r--r--modding/parser.js277
-rw-r--r--modding/resources.js65
-rw-r--r--music/credits.mp3bin0 -> 1615301 bytes
-rw-r--r--music/game1.mp3bin0 -> 1524958 bytes
-rw-r--r--music/game2.mp3bin0 -> 1546510 bytes
-rw-r--r--music/game3.mp3bin0 -> 2177021 bytes
-rw-r--r--music/game4.mp3bin0 -> 3585683 bytes
-rw-r--r--music/game5.mp3bin0 -> 2454508 bytes
-rw-r--r--music/game6.mp3bin0 -> 2082318 bytes
-rw-r--r--music/game7.mp3bin0 -> 2620791 bytes
-rw-r--r--music/game8.mp3bin0 -> 2552427 bytes
-rw-r--r--music/game9.mp3bin0 -> 3094697 bytes
-rw-r--r--music/prepare.mp3bin0 -> 1560541 bytes
-rw-r--r--music/start.mp3bin0 -> 159072 bytes
-rw-r--r--music/title.mp3bin0 -> 1241130 bytes
-rw-r--r--music/win.mp3bin0 -> 3442919 bytes
-rw-r--r--online/global.js366
-rw-r--r--online/server.json4
-rw-r--r--package.json1
-rw-r--r--race/_archived/triangle.html127
-rw-r--r--race/_archived/triangle.pngbin0 -> 43576 bytes
-rw-r--r--race/cars/car0.js212
-rw-r--r--race/cars/car1.js224
-rw-r--r--race/cars/car1ai.js160
-rw-r--r--race/cars/keymap.js162
-rw-r--r--race/circuits/furry.html115
-rw-r--r--race/circuits/furry.pngbin0 -> 25341 bytes
-rw-r--r--race/circuits/main.html115
-rw-r--r--race/circuits/main.pngbin0 -> 51835 bytes
-rw-r--r--race/circuits/snowy.html115
-rw-r--r--race/circuits/snowy.pngbin0 -> 36850 bytes
-rw-r--r--race/circuits/water.html133
-rw-r--r--race/circuits/water.pngbin0 -> 42954 bytes
-rw-r--r--race/models/alpspin_by_redman.pngbin0 -> 8734 bytes
-rw-r--r--race/models/argenquirie_by_redman.pngbin0 -> 29978 bytes
-rw-r--r--race/models/argenquiriedx_by_redman.pngbin0 -> 28862 bytes
-rw-r--r--race/models/blues_by_minteck.pngbin0 -> 20410 bytes
-rw-r--r--race/models/formula1_by_redman.pngbin0 -> 50570 bytes
-rw-r--r--race/models/pinks_by_minteck.pngbin0 -> 20547 bytes
-rw-r--r--race/models/spagetti11_by_redman.pngbin0 -> 53823 bytes
-rw-r--r--race/oil.pngbin0 -> 55418 bytes
-rw-r--r--race/pause.js102
-rw-r--r--runtime/kartik-crash-mac.sh2
-rw-r--r--runtime/kartik-crash.bat2
-rw-r--r--runtime/kartik-crash.sh2
-rw-r--r--runtime/kartik-debug.bat2
-rw-r--r--runtime/kartik-debug.sh2
-rw-r--r--runtime/kartik-launcher.bat2
-rw-r--r--runtime/kartik-launcher.sed37
-rw-r--r--runtime/kartik-launcher.sh3
-rw-r--r--runtime/kartik-mitigation-mac.sh2
-rw-r--r--runtime/kartik-mitigation.bat2
-rw-r--r--runtime/kartik-mitigation.sh2
-rw-r--r--scenario/character/angry.pngbin0 -> 27254 bytes
-rw-r--r--scenario/character/happy.pngbin0 -> 23967 bytes
-rw-r--r--scenario/character/neutral.pngbin0 -> 32075 bytes
-rw-r--r--scenario/character/sad.pngbin0 -> 16073 bytes
-rw-r--r--scenario/client.js9
-rw-r--r--scenario/voice/de/ahead10.mp3bin0 -> 6705 bytes
-rw-r--r--scenario/voice/de/ahead11.mp3bin0 -> 12138 bytes
-rw-r--r--scenario/voice/de/ahead12.mp3bin0 -> 8377 bytes
-rw-r--r--scenario/voice/de/ahead13.mp3bin0 -> 4197 bytes
-rw-r--r--scenario/voice/de/ahead14.mp3bin0 -> 8586 bytes
-rw-r--r--scenario/voice/de/ahead20.mp3bin0 -> 6496 bytes
-rw-r--r--scenario/voice/de/ahead21.mp3bin0 -> 6914 bytes
-rw-r--r--scenario/voice/de/ahead22.mp3bin0 -> 5242 bytes
-rw-r--r--scenario/voice/de/ahead23.mp3bin0 -> 4406 bytes
-rw-r--r--scenario/voice/de/ahead24.mp3bin0 -> 6705 bytes
-rw-r--r--scenario/voice/de/intro0.mp3bin0 -> 13183 bytes
-rw-r--r--scenario/voice/de/intro1.mp3bin0 -> 15691 bytes
-rw-r--r--scenario/voice/de/intro2.mp3bin0 -> 10467 bytes
-rw-r--r--scenario/voice/de/intro3.mp3bin0 -> 5660 bytes
-rw-r--r--scenario/voice/de/start0.mp3bin0 -> 12138 bytes
-rw-r--r--scenario/voice/de/start1.mp3bin0 -> 16736 bytes
-rw-r--r--scenario/voice/de/start2.mp3bin0 -> 8586 bytes
-rw-r--r--scenario/voice/de/start3.mp3bin0 -> 7123 bytes
-rw-r--r--scenario/voice/de/start4.mp3bin0 -> 9213 bytes
-rw-r--r--scenario/voice/de/start5.mp3bin0 -> 10884 bytes
-rw-r--r--scenario/voice/de/wall10.mp3bin0 -> 6078 bytes
-rw-r--r--scenario/voice/de/wall11.mp3bin0 -> 11511 bytes
-rw-r--r--scenario/voice/de/wall12.mp3bin0 -> 4615 bytes
-rw-r--r--scenario/voice/de/wall13.mp3bin0 -> 8168 bytes
-rw-r--r--scenario/voice/de/wall14.mp3bin0 -> 9422 bytes
-rw-r--r--scenario/voice/de/wall20.mp3bin0 -> 4197 bytes
-rw-r--r--scenario/voice/de/wall21.mp3bin0 -> 4824 bytes
-rw-r--r--scenario/voice/de/wall22.mp3bin0 -> 6287 bytes
-rw-r--r--scenario/voice/de/wall23.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/de/won10.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/de/won11.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/de/won12.mp3bin0 -> 7332 bytes
-rw-r--r--scenario/voice/de/won13.mp3bin0 -> 8795 bytes
-rw-r--r--scenario/voice/de/won14.mp3bin0 -> 4824 bytes
-rw-r--r--scenario/voice/de/won20.mp3bin0 -> 6078 bytes
-rw-r--r--scenario/voice/de/won21.mp3bin0 -> 9422 bytes
-rw-r--r--scenario/voice/de/won22.mp3bin0 -> 5242 bytes
-rw-r--r--scenario/voice/de/won23.mp3bin0 -> 10049 bytes
-rw-r--r--scenario/voice/de/won24.mp3bin0 -> 7750 bytes
-rw-r--r--scenario/voice/en/ahead10.mp3bin0 -> 6705 bytes
-rw-r--r--scenario/voice/en/ahead11.mp3bin0 -> 12138 bytes
-rw-r--r--scenario/voice/en/ahead12.mp3bin0 -> 8377 bytes
-rw-r--r--scenario/voice/en/ahead13.mp3bin0 -> 4197 bytes
-rw-r--r--scenario/voice/en/ahead14.mp3bin0 -> 8586 bytes
-rw-r--r--scenario/voice/en/ahead20.mp3bin0 -> 6496 bytes
-rw-r--r--scenario/voice/en/ahead21.mp3bin0 -> 6914 bytes
-rw-r--r--scenario/voice/en/ahead22.mp3bin0 -> 5242 bytes
-rw-r--r--scenario/voice/en/ahead23.mp3bin0 -> 4406 bytes
-rw-r--r--scenario/voice/en/ahead24.mp3bin0 -> 6705 bytes
-rw-r--r--scenario/voice/en/intro0.mp3bin0 -> 13183 bytes
-rw-r--r--scenario/voice/en/intro1.mp3bin0 -> 15691 bytes
-rw-r--r--scenario/voice/en/intro2.mp3bin0 -> 10467 bytes
-rw-r--r--scenario/voice/en/intro3.mp3bin0 -> 5660 bytes
-rw-r--r--scenario/voice/en/start0.mp3bin0 -> 12138 bytes
-rw-r--r--scenario/voice/en/start1.mp3bin0 -> 16736 bytes
-rw-r--r--scenario/voice/en/start2.mp3bin0 -> 8586 bytes
-rw-r--r--scenario/voice/en/start3.mp3bin0 -> 7123 bytes
-rw-r--r--scenario/voice/en/start4.mp3bin0 -> 9213 bytes
-rw-r--r--scenario/voice/en/start5.mp3bin0 -> 10884 bytes
-rw-r--r--scenario/voice/en/wall10.mp3bin0 -> 6078 bytes
-rw-r--r--scenario/voice/en/wall11.mp3bin0 -> 11511 bytes
-rw-r--r--scenario/voice/en/wall12.mp3bin0 -> 4615 bytes
-rw-r--r--scenario/voice/en/wall13.mp3bin0 -> 8168 bytes
-rw-r--r--scenario/voice/en/wall14.mp3bin0 -> 9422 bytes
-rw-r--r--scenario/voice/en/wall20.mp3bin0 -> 4197 bytes
-rw-r--r--scenario/voice/en/wall21.mp3bin0 -> 4824 bytes
-rw-r--r--scenario/voice/en/wall22.mp3bin0 -> 6287 bytes
-rw-r--r--scenario/voice/en/wall23.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/en/won10.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/en/won11.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/en/won12.mp3bin0 -> 7332 bytes
-rw-r--r--scenario/voice/en/won13.mp3bin0 -> 8795 bytes
-rw-r--r--scenario/voice/en/won14.mp3bin0 -> 4824 bytes
-rw-r--r--scenario/voice/en/won20.mp3bin0 -> 6078 bytes
-rw-r--r--scenario/voice/en/won21.mp3bin0 -> 9422 bytes
-rw-r--r--scenario/voice/en/won22.mp3bin0 -> 5242 bytes
-rw-r--r--scenario/voice/en/won23.mp3bin0 -> 10049 bytes
-rw-r--r--scenario/voice/en/won24.mp3bin0 -> 7750 bytes
-rw-r--r--scenario/voice/es/ahead10.mp3bin0 -> 6705 bytes
-rw-r--r--scenario/voice/es/ahead11.mp3bin0 -> 12138 bytes
-rw-r--r--scenario/voice/es/ahead12.mp3bin0 -> 8377 bytes
-rw-r--r--scenario/voice/es/ahead13.mp3bin0 -> 4197 bytes
-rw-r--r--scenario/voice/es/ahead14.mp3bin0 -> 8586 bytes
-rw-r--r--scenario/voice/es/ahead20.mp3bin0 -> 6496 bytes
-rw-r--r--scenario/voice/es/ahead21.mp3bin0 -> 6914 bytes
-rw-r--r--scenario/voice/es/ahead22.mp3bin0 -> 5242 bytes
-rw-r--r--scenario/voice/es/ahead23.mp3bin0 -> 4406 bytes
-rw-r--r--scenario/voice/es/ahead24.mp3bin0 -> 6705 bytes
-rw-r--r--scenario/voice/es/intro0.mp3bin0 -> 13183 bytes
-rw-r--r--scenario/voice/es/intro1.mp3bin0 -> 15691 bytes
-rw-r--r--scenario/voice/es/intro2.mp3bin0 -> 10467 bytes
-rw-r--r--scenario/voice/es/intro3.mp3bin0 -> 5660 bytes
-rw-r--r--scenario/voice/es/start0.mp3bin0 -> 12138 bytes
-rw-r--r--scenario/voice/es/start1.mp3bin0 -> 16736 bytes
-rw-r--r--scenario/voice/es/start2.mp3bin0 -> 8586 bytes
-rw-r--r--scenario/voice/es/start3.mp3bin0 -> 7123 bytes
-rw-r--r--scenario/voice/es/start4.mp3bin0 -> 9213 bytes
-rw-r--r--scenario/voice/es/start5.mp3bin0 -> 10884 bytes
-rw-r--r--scenario/voice/es/wall10.mp3bin0 -> 6078 bytes
-rw-r--r--scenario/voice/es/wall11.mp3bin0 -> 11511 bytes
-rw-r--r--scenario/voice/es/wall12.mp3bin0 -> 4615 bytes
-rw-r--r--scenario/voice/es/wall13.mp3bin0 -> 8168 bytes
-rw-r--r--scenario/voice/es/wall14.mp3bin0 -> 9422 bytes
-rw-r--r--scenario/voice/es/wall20.mp3bin0 -> 4197 bytes
-rw-r--r--scenario/voice/es/wall21.mp3bin0 -> 4824 bytes
-rw-r--r--scenario/voice/es/wall22.mp3bin0 -> 6287 bytes
-rw-r--r--scenario/voice/es/wall23.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/es/won10.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/es/won11.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/es/won12.mp3bin0 -> 7332 bytes
-rw-r--r--scenario/voice/es/won13.mp3bin0 -> 8795 bytes
-rw-r--r--scenario/voice/es/won14.mp3bin0 -> 4824 bytes
-rw-r--r--scenario/voice/es/won20.mp3bin0 -> 6078 bytes
-rw-r--r--scenario/voice/es/won21.mp3bin0 -> 9422 bytes
-rw-r--r--scenario/voice/es/won22.mp3bin0 -> 5242 bytes
-rw-r--r--scenario/voice/es/won23.mp3bin0 -> 10049 bytes
-rw-r--r--scenario/voice/es/won24.mp3bin0 -> 7750 bytes
-rw-r--r--scenario/voice/fr/ahead10.mp3bin0 -> 6705 bytes
-rw-r--r--scenario/voice/fr/ahead11.mp3bin0 -> 12138 bytes
-rw-r--r--scenario/voice/fr/ahead12.mp3bin0 -> 8377 bytes
-rw-r--r--scenario/voice/fr/ahead13.mp3bin0 -> 4197 bytes
-rw-r--r--scenario/voice/fr/ahead14.mp3bin0 -> 8586 bytes
-rw-r--r--scenario/voice/fr/ahead20.mp3bin0 -> 6496 bytes
-rw-r--r--scenario/voice/fr/ahead21.mp3bin0 -> 6914 bytes
-rw-r--r--scenario/voice/fr/ahead22.mp3bin0 -> 5242 bytes
-rw-r--r--scenario/voice/fr/ahead23.mp3bin0 -> 4406 bytes
-rw-r--r--scenario/voice/fr/ahead24.mp3bin0 -> 6705 bytes
-rw-r--r--scenario/voice/fr/intro0.mp3bin0 -> 13183 bytes
-rw-r--r--scenario/voice/fr/intro1.mp3bin0 -> 15691 bytes
-rw-r--r--scenario/voice/fr/intro2.mp3bin0 -> 10467 bytes
-rw-r--r--scenario/voice/fr/intro3.mp3bin0 -> 5660 bytes
-rw-r--r--scenario/voice/fr/start0.mp3bin0 -> 12138 bytes
-rw-r--r--scenario/voice/fr/start1.mp3bin0 -> 16736 bytes
-rw-r--r--scenario/voice/fr/start2.mp3bin0 -> 8586 bytes
-rw-r--r--scenario/voice/fr/start3.mp3bin0 -> 7123 bytes
-rw-r--r--scenario/voice/fr/start4.mp3bin0 -> 9213 bytes
-rw-r--r--scenario/voice/fr/start5.mp3bin0 -> 10884 bytes
-rw-r--r--scenario/voice/fr/wall10.mp3bin0 -> 6078 bytes
-rw-r--r--scenario/voice/fr/wall11.mp3bin0 -> 11511 bytes
-rw-r--r--scenario/voice/fr/wall12.mp3bin0 -> 4615 bytes
-rw-r--r--scenario/voice/fr/wall13.mp3bin0 -> 8168 bytes
-rw-r--r--scenario/voice/fr/wall14.mp3bin0 -> 9422 bytes
-rw-r--r--scenario/voice/fr/wall20.mp3bin0 -> 4197 bytes
-rw-r--r--scenario/voice/fr/wall21.mp3bin0 -> 4824 bytes
-rw-r--r--scenario/voice/fr/wall22.mp3bin0 -> 6287 bytes
-rw-r--r--scenario/voice/fr/wall23.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/fr/won10.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/fr/won11.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/fr/won12.mp3bin0 -> 7332 bytes
-rw-r--r--scenario/voice/fr/won13.mp3bin0 -> 8795 bytes
-rw-r--r--scenario/voice/fr/won14.mp3bin0 -> 4824 bytes
-rw-r--r--scenario/voice/fr/won20.mp3bin0 -> 6078 bytes
-rw-r--r--scenario/voice/fr/won21.mp3bin0 -> 9422 bytes
-rw-r--r--scenario/voice/fr/won22.mp3bin0 -> 5242 bytes
-rw-r--r--scenario/voice/fr/won23.mp3bin0 -> 10049 bytes
-rw-r--r--scenario/voice/fr/won24.mp3bin0 -> 7750 bytes
-rw-r--r--scenario/voice/jp/ahead10.mp3bin0 -> 6705 bytes
-rw-r--r--scenario/voice/jp/ahead11.mp3bin0 -> 12138 bytes
-rw-r--r--scenario/voice/jp/ahead12.mp3bin0 -> 8377 bytes
-rw-r--r--scenario/voice/jp/ahead13.mp3bin0 -> 4197 bytes
-rw-r--r--scenario/voice/jp/ahead14.mp3bin0 -> 8586 bytes
-rw-r--r--scenario/voice/jp/ahead20.mp3bin0 -> 6496 bytes
-rw-r--r--scenario/voice/jp/ahead21.mp3bin0 -> 6914 bytes
-rw-r--r--scenario/voice/jp/ahead22.mp3bin0 -> 5242 bytes
-rw-r--r--scenario/voice/jp/ahead23.mp3bin0 -> 4406 bytes
-rw-r--r--scenario/voice/jp/ahead24.mp3bin0 -> 6705 bytes
-rw-r--r--scenario/voice/jp/intro0.mp3bin0 -> 13183 bytes
-rw-r--r--scenario/voice/jp/intro1.mp3bin0 -> 15691 bytes
-rw-r--r--scenario/voice/jp/intro2.mp3bin0 -> 10467 bytes
-rw-r--r--scenario/voice/jp/intro3.mp3bin0 -> 5660 bytes
-rw-r--r--scenario/voice/jp/start0.mp3bin0 -> 12138 bytes
-rw-r--r--scenario/voice/jp/start1.mp3bin0 -> 16736 bytes
-rw-r--r--scenario/voice/jp/start2.mp3bin0 -> 8586 bytes
-rw-r--r--scenario/voice/jp/start3.mp3bin0 -> 7123 bytes
-rw-r--r--scenario/voice/jp/start4.mp3bin0 -> 9213 bytes
-rw-r--r--scenario/voice/jp/start5.mp3bin0 -> 10884 bytes
-rw-r--r--scenario/voice/jp/wall10.mp3bin0 -> 6078 bytes
-rw-r--r--scenario/voice/jp/wall11.mp3bin0 -> 11511 bytes
-rw-r--r--scenario/voice/jp/wall12.mp3bin0 -> 4615 bytes
-rw-r--r--scenario/voice/jp/wall13.mp3bin0 -> 8168 bytes
-rw-r--r--scenario/voice/jp/wall14.mp3bin0 -> 9422 bytes
-rw-r--r--scenario/voice/jp/wall20.mp3bin0 -> 4197 bytes
-rw-r--r--scenario/voice/jp/wall21.mp3bin0 -> 4824 bytes
-rw-r--r--scenario/voice/jp/wall22.mp3bin0 -> 6287 bytes
-rw-r--r--scenario/voice/jp/wall23.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/jp/won10.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/jp/won11.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/jp/won12.mp3bin0 -> 7332 bytes
-rw-r--r--scenario/voice/jp/won13.mp3bin0 -> 8795 bytes
-rw-r--r--scenario/voice/jp/won14.mp3bin0 -> 4824 bytes
-rw-r--r--scenario/voice/jp/won20.mp3bin0 -> 6078 bytes
-rw-r--r--scenario/voice/jp/won21.mp3bin0 -> 9422 bytes
-rw-r--r--scenario/voice/jp/won22.mp3bin0 -> 5242 bytes
-rw-r--r--scenario/voice/jp/won23.mp3bin0 -> 10049 bytes
-rw-r--r--scenario/voice/jp/won24.mp3bin0 -> 7750 bytes
-rw-r--r--scenario/voice/nl/ahead10.mp3bin0 -> 6705 bytes
-rw-r--r--scenario/voice/nl/ahead11.mp3bin0 -> 12138 bytes
-rw-r--r--scenario/voice/nl/ahead12.mp3bin0 -> 8377 bytes
-rw-r--r--scenario/voice/nl/ahead13.mp3bin0 -> 4197 bytes
-rw-r--r--scenario/voice/nl/ahead14.mp3bin0 -> 8586 bytes
-rw-r--r--scenario/voice/nl/ahead20.mp3bin0 -> 6496 bytes
-rw-r--r--scenario/voice/nl/ahead21.mp3bin0 -> 6914 bytes
-rw-r--r--scenario/voice/nl/ahead22.mp3bin0 -> 5242 bytes
-rw-r--r--scenario/voice/nl/ahead23.mp3bin0 -> 4406 bytes
-rw-r--r--scenario/voice/nl/ahead24.mp3bin0 -> 6705 bytes
-rw-r--r--scenario/voice/nl/intro0.mp3bin0 -> 13183 bytes
-rw-r--r--scenario/voice/nl/intro1.mp3bin0 -> 15691 bytes
-rw-r--r--scenario/voice/nl/intro2.mp3bin0 -> 10467 bytes
-rw-r--r--scenario/voice/nl/intro3.mp3bin0 -> 5660 bytes
-rw-r--r--scenario/voice/nl/start0.mp3bin0 -> 12138 bytes
-rw-r--r--scenario/voice/nl/start1.mp3bin0 -> 16736 bytes
-rw-r--r--scenario/voice/nl/start2.mp3bin0 -> 8586 bytes
-rw-r--r--scenario/voice/nl/start3.mp3bin0 -> 7123 bytes
-rw-r--r--scenario/voice/nl/start4.mp3bin0 -> 9213 bytes
-rw-r--r--scenario/voice/nl/start5.mp3bin0 -> 10884 bytes
-rw-r--r--scenario/voice/nl/wall10.mp3bin0 -> 6078 bytes
-rw-r--r--scenario/voice/nl/wall11.mp3bin0 -> 11511 bytes
-rw-r--r--scenario/voice/nl/wall12.mp3bin0 -> 4615 bytes
-rw-r--r--scenario/voice/nl/wall13.mp3bin0 -> 8168 bytes
-rw-r--r--scenario/voice/nl/wall14.mp3bin0 -> 9422 bytes
-rw-r--r--scenario/voice/nl/wall20.mp3bin0 -> 4197 bytes
-rw-r--r--scenario/voice/nl/wall21.mp3bin0 -> 4824 bytes
-rw-r--r--scenario/voice/nl/wall22.mp3bin0 -> 6287 bytes
-rw-r--r--scenario/voice/nl/wall23.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/nl/won10.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/nl/won11.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/nl/won12.mp3bin0 -> 7332 bytes
-rw-r--r--scenario/voice/nl/won13.mp3bin0 -> 8795 bytes
-rw-r--r--scenario/voice/nl/won14.mp3bin0 -> 4824 bytes
-rw-r--r--scenario/voice/nl/won20.mp3bin0 -> 6078 bytes
-rw-r--r--scenario/voice/nl/won21.mp3bin0 -> 9422 bytes
-rw-r--r--scenario/voice/nl/won22.mp3bin0 -> 5242 bytes
-rw-r--r--scenario/voice/nl/won23.mp3bin0 -> 10049 bytes
-rw-r--r--scenario/voice/nl/won24.mp3bin0 -> 7750 bytes
-rw-r--r--scenario/voice/ru/ahead10.mp3bin0 -> 6705 bytes
-rw-r--r--scenario/voice/ru/ahead11.mp3bin0 -> 12138 bytes
-rw-r--r--scenario/voice/ru/ahead12.mp3bin0 -> 8377 bytes
-rw-r--r--scenario/voice/ru/ahead13.mp3bin0 -> 4197 bytes
-rw-r--r--scenario/voice/ru/ahead14.mp3bin0 -> 8586 bytes
-rw-r--r--scenario/voice/ru/ahead20.mp3bin0 -> 6496 bytes
-rw-r--r--scenario/voice/ru/ahead21.mp3bin0 -> 6914 bytes
-rw-r--r--scenario/voice/ru/ahead22.mp3bin0 -> 5242 bytes
-rw-r--r--scenario/voice/ru/ahead23.mp3bin0 -> 4406 bytes
-rw-r--r--scenario/voice/ru/ahead24.mp3bin0 -> 6705 bytes
-rw-r--r--scenario/voice/ru/intro0.mp3bin0 -> 13183 bytes
-rw-r--r--scenario/voice/ru/intro1.mp3bin0 -> 15691 bytes
-rw-r--r--scenario/voice/ru/intro2.mp3bin0 -> 10467 bytes
-rw-r--r--scenario/voice/ru/intro3.mp3bin0 -> 5660 bytes
-rw-r--r--scenario/voice/ru/start0.mp3bin0 -> 12138 bytes
-rw-r--r--scenario/voice/ru/start1.mp3bin0 -> 16736 bytes
-rw-r--r--scenario/voice/ru/start2.mp3bin0 -> 8586 bytes
-rw-r--r--scenario/voice/ru/start3.mp3bin0 -> 7123 bytes
-rw-r--r--scenario/voice/ru/start4.mp3bin0 -> 9213 bytes
-rw-r--r--scenario/voice/ru/start5.mp3bin0 -> 10884 bytes
-rw-r--r--scenario/voice/ru/wall10.mp3bin0 -> 6078 bytes
-rw-r--r--scenario/voice/ru/wall11.mp3bin0 -> 11511 bytes
-rw-r--r--scenario/voice/ru/wall12.mp3bin0 -> 4615 bytes
-rw-r--r--scenario/voice/ru/wall13.mp3bin0 -> 8168 bytes
-rw-r--r--scenario/voice/ru/wall14.mp3bin0 -> 9422 bytes
-rw-r--r--scenario/voice/ru/wall20.mp3bin0 -> 4197 bytes
-rw-r--r--scenario/voice/ru/wall21.mp3bin0 -> 4824 bytes
-rw-r--r--scenario/voice/ru/wall22.mp3bin0 -> 6287 bytes
-rw-r--r--scenario/voice/ru/wall23.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/ru/won10.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/ru/won11.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/ru/won12.mp3bin0 -> 7332 bytes
-rw-r--r--scenario/voice/ru/won13.mp3bin0 -> 8795 bytes
-rw-r--r--scenario/voice/ru/won14.mp3bin0 -> 4824 bytes
-rw-r--r--scenario/voice/ru/won20.mp3bin0 -> 6078 bytes
-rw-r--r--scenario/voice/ru/won21.mp3bin0 -> 9422 bytes
-rw-r--r--scenario/voice/ru/won22.mp3bin0 -> 5242 bytes
-rw-r--r--scenario/voice/ru/won23.mp3bin0 -> 10049 bytes
-rw-r--r--scenario/voice/ru/won24.mp3bin0 -> 7750 bytes
-rw-r--r--scenario/voice/zh/ahead10.mp3bin0 -> 6705 bytes
-rw-r--r--scenario/voice/zh/ahead11.mp3bin0 -> 12138 bytes
-rw-r--r--scenario/voice/zh/ahead12.mp3bin0 -> 8377 bytes
-rw-r--r--scenario/voice/zh/ahead13.mp3bin0 -> 4197 bytes
-rw-r--r--scenario/voice/zh/ahead14.mp3bin0 -> 8586 bytes
-rw-r--r--scenario/voice/zh/ahead20.mp3bin0 -> 6496 bytes
-rw-r--r--scenario/voice/zh/ahead21.mp3bin0 -> 6914 bytes
-rw-r--r--scenario/voice/zh/ahead22.mp3bin0 -> 5242 bytes
-rw-r--r--scenario/voice/zh/ahead23.mp3bin0 -> 4406 bytes
-rw-r--r--scenario/voice/zh/ahead24.mp3bin0 -> 6705 bytes
-rw-r--r--scenario/voice/zh/intro0.mp3bin0 -> 13183 bytes
-rw-r--r--scenario/voice/zh/intro1.mp3bin0 -> 15691 bytes
-rw-r--r--scenario/voice/zh/intro2.mp3bin0 -> 10467 bytes
-rw-r--r--scenario/voice/zh/intro3.mp3bin0 -> 5660 bytes
-rw-r--r--scenario/voice/zh/start0.mp3bin0 -> 12138 bytes
-rw-r--r--scenario/voice/zh/start1.mp3bin0 -> 16736 bytes
-rw-r--r--scenario/voice/zh/start2.mp3bin0 -> 8586 bytes
-rw-r--r--scenario/voice/zh/start3.mp3bin0 -> 7123 bytes
-rw-r--r--scenario/voice/zh/start4.mp3bin0 -> 9213 bytes
-rw-r--r--scenario/voice/zh/start5.mp3bin0 -> 10884 bytes
-rw-r--r--scenario/voice/zh/wall10.mp3bin0 -> 6078 bytes
-rw-r--r--scenario/voice/zh/wall11.mp3bin0 -> 11511 bytes
-rw-r--r--scenario/voice/zh/wall12.mp3bin0 -> 4615 bytes
-rw-r--r--scenario/voice/zh/wall13.mp3bin0 -> 8168 bytes
-rw-r--r--scenario/voice/zh/wall14.mp3bin0 -> 9422 bytes
-rw-r--r--scenario/voice/zh/wall20.mp3bin0 -> 4197 bytes
-rw-r--r--scenario/voice/zh/wall21.mp3bin0 -> 4824 bytes
-rw-r--r--scenario/voice/zh/wall22.mp3bin0 -> 6287 bytes
-rw-r--r--scenario/voice/zh/wall23.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/zh/won10.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/zh/won11.mp3bin0 -> 5033 bytes
-rw-r--r--scenario/voice/zh/won12.mp3bin0 -> 7332 bytes
-rw-r--r--scenario/voice/zh/won13.mp3bin0 -> 8795 bytes
-rw-r--r--scenario/voice/zh/won14.mp3bin0 -> 4824 bytes
-rw-r--r--scenario/voice/zh/won20.mp3bin0 -> 6078 bytes
-rw-r--r--scenario/voice/zh/won21.mp3bin0 -> 9422 bytes
-rw-r--r--scenario/voice/zh/won22.mp3bin0 -> 5242 bytes
-rw-r--r--scenario/voice/zh/won23.mp3bin0 -> 10049 bytes
-rw-r--r--scenario/voice/zh/won24.mp3bin0 -> 7750 bytes
-rw-r--r--sfx/click.mp3bin0 -> 4461 bytes
-rw-r--r--sfx/crash.mp3bin0 -> 9453 bytes
-rw-r--r--sfx/intro.mp3bin0 -> 9026 bytes
-rw-r--r--sfx/last.mp3bin0 -> 8168 bytes
-rw-r--r--sfx/menu.mp3bin0 -> 5037 bytes
-rw-r--r--sfx/pass.mp3bin0 -> 10884 bytes
-rw-r--r--sfx/pause.mp3bin0 -> 11565 bytes
-rw-r--r--sfx/sfx.js60
-rw-r--r--sfx/win.mp3bin0 -> 3361 bytes
-rw-r--r--views/background.jpgbin0 -> 31291 bytes
-rw-r--r--views/common/bold.ttfbin0 -> 58416 bytes
-rw-r--r--views/common/fonts.css27
-rw-r--r--views/common/index.css29
-rw-r--r--views/common/light.ttfbin0 -> 58584 bytes
-rw-r--r--views/common/load-channel.otfbin0 -> 59108 bytes
-rw-r--r--views/common/load-version.otfbin0 -> 63240 bytes
-rw-r--r--views/common/mouse.css3
-rw-r--r--views/common/old/Josefin Sans 100.ttfbin0 -> 58400 bytes
-rw-r--r--views/common/old/Josefin Sans 100italic.ttfbin0 -> 62460 bytes
-rw-r--r--views/common/old/Josefin Sans 200.ttfbin0 -> 58568 bytes
-rw-r--r--views/common/old/Josefin Sans 200italic.ttfbin0 -> 62708 bytes
-rw-r--r--views/common/old/Josefin Sans 300italic.ttfbin0 -> 62676 bytes
-rw-r--r--views/common/old/Josefin Sans 500.ttfbin0 -> 58560 bytes
-rw-r--r--views/common/old/Josefin Sans 500italic.ttfbin0 -> 62792 bytes
-rw-r--r--views/common/old/Josefin Sans 600.ttfbin0 -> 58580 bytes
-rw-r--r--views/common/old/Josefin Sans 600italic.ttfbin0 -> 62820 bytes
-rw-r--r--views/common/old/Josefin Sans 700italic.ttfbin0 -> 62568 bytes
-rw-r--r--views/common/old/Josefin Sans italic.ttfbin0 -> 62660 bytes
-rw-r--r--views/common/old/bold~.ttfbin0 -> 134916 bytes
-rw-r--r--views/common/old/light~.ttfbin0 -> 135420 bytes
-rw-r--r--views/common/old/regular~.ttfbin0 -> 135304 bytes
-rw-r--r--views/common/race.svg1
-rw-r--r--views/common/regular.ttfbin0 -> 58548 bytes
-rw-r--r--views/credits.html198
-rw-r--r--views/game.css152
-rw-r--r--views/game.html152
-rw-r--r--views/hero.svg3
-rw-r--r--views/intro.css33
-rw-r--r--views/intro.html51
-rw-r--r--views/load.html52
-rw-r--r--views/loader.html41
-rw-r--r--views/menu.css150
-rw-r--r--views/menu.html80
-rw-r--r--views/menu.jpgbin0 -> 345993 bytes
-rw-r--r--views/online.html41
-rw-r--r--views/rain/rainscript.js44
-rw-r--r--views/rain/rainstyle.css155
-rw-r--r--views/script/client_fullscreen.js9
-rw-r--r--views/script/core_chart.js67
-rw-r--r--views/script/core_fullscreen.js9
-rw-r--r--views/script/core_head.js31
-rw-r--r--views/script/core_music.js109
-rw-r--r--views/script/core_stats.js47
-rw-r--r--views/script/core_viewer.js23
-rw-r--r--views/script/credits_global.js54
-rw-r--r--views/script/credits_libs.js15
-rw-r--r--views/script/credits_music.js4
-rw-r--r--views/script/credits_technical.js9
-rw-r--r--views/script/game_global.js45
-rw-r--r--views/script/game_music.js10
-rw-r--r--views/script/game_online.js9
-rw-r--r--views/script/game_select.js131
-rw-r--r--views/script/intro_global.js21
-rw-r--r--views/script/intro_media.js4
-rw-r--r--views/script/intro_message.js7
-rw-r--r--views/script/loader_global.js85
-rw-r--r--views/script/menu_copyright.js5
-rw-r--r--views/script/menu_global.js113
-rw-r--r--views/script/menu_gpuinfo.js69
-rw-r--r--views/script/menu_music.js5
-rw-r--r--views/script/menu_system.js33
-rw-r--r--views/script/online_play.js2
-rw-r--r--views/script/settings_global.js226
-rw-r--r--views/script/settings_load.js25
-rw-r--r--views/script/win_global.js22
-rw-r--r--views/script/win_message.js9
-rw-r--r--views/script/win_music.js4
-rw-r--r--views/script/win_play.js12
-rw-r--r--views/script/win_quit.js7
-rw-r--r--views/settings.html68
-rw-r--r--views/splash.pngbin0 -> 205335 bytes
-rw-r--r--views/win.html42
522 files changed, 10845 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1971a9f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,12 @@
+/build/incoming/
+/node_modules/
+/bin/
+/package-lock.json
+/data
+/0LettreFR.odt
+/0LettreEN.odt
+/_template
+/_translate
+/music.staging
+/sfx/staging
+/music.old
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..b58b603
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,5 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
diff --git a/.idea/Kartik.iml b/.idea/Kartik.iml
new file mode 100644
index 0000000..0c8867d
--- /dev/null
+++ b/.idea/Kartik.iml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="WEB_MODULE" version="4">
+ <component name="NewModuleRootManager">
+ <content url="file://$MODULE_DIR$">
+ <excludeFolder url="file://$MODULE_DIR$/temp" />
+ <excludeFolder url="file://$MODULE_DIR$/.tmp" />
+ <excludeFolder url="file://$MODULE_DIR$/tmp" />
+ </content>
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ </component>
+</module> \ No newline at end of file
diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..3a5fc66
--- /dev/null
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,37 @@
+<component name="InspectionProjectProfileManager">
+ <profile version="1.0">
+ <option name="myName" value="Project Default" />
+ <inspection_tool class="CssUnknownProperty" enabled="true" level="WARNING" enabled_by_default="true">
+ <option name="myCustomPropertiesEnabled" value="true" />
+ <option name="myIgnoreVendorSpecificProperties" value="false" />
+ <option name="myCustomPropertiesList">
+ <value>
+ <list size="2">
+ <item index="0" class="java.lang.String" itemvalue="app-region" />
+ <item index="1" class="java.lang.String" itemvalue="line-clamp" />
+ </list>
+ </value>
+ </option>
+ </inspection_tool>
+ <inspection_tool class="HtmlRequiredAltAttribute" enabled="false" level="WARNING" enabled_by_default="false" />
+ <inspection_tool class="HtmlUnknownTag" enabled="true" level="WARNING" enabled_by_default="true">
+ <option name="myValues">
+ <value>
+ <list size="8">
+ <item index="0" class="java.lang.String" itemvalue="nobr" />
+ <item index="1" class="java.lang.String" itemvalue="noembed" />
+ <item index="2" class="java.lang.String" itemvalue="comment" />
+ <item index="3" class="java.lang.String" itemvalue="noscript" />
+ <item index="4" class="java.lang.String" itemvalue="embed" />
+ <item index="5" class="java.lang.String" itemvalue="script" />
+ <item index="6" class="java.lang.String" itemvalue="webview" />
+ <item index="7" class="java.lang.String" itemvalue="circuit" />
+ </list>
+ </value>
+ </option>
+ <option name="myCustomValuesEnabled" value="true" />
+ </inspection_tool>
+ <inspection_tool class="JSDuplicatedDeclaration" enabled="false" level="WARNING" enabled_by_default="false" />
+ <inspection_tool class="JSJQueryEfficiency" enabled="false" level="WARNING" enabled_by_default="false" />
+ </profile>
+</component> \ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..92ee6f8
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="ProjectModuleManager">
+ <modules>
+ <module fileurl="file://$PROJECT_DIR$/.idea/Kartik.iml" filepath="$PROJECT_DIR$/.idea/Kartik.iml" />
+ </modules>
+ </component>
+</project> \ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..f634aae
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="VcsDirectoryMappings">
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
+ <mapping directory="$PROJECT_DIR$/bin" vcs="Git" />
+ </component>
+</project> \ No newline at end of file
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..53d1f3d
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,675 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ <program> Copyright (C) <year> <name of author>
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+<https://www.gnu.org/licenses/>.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+<https://www.gnu.org/licenses/why-not-lgpl.html>.
+
diff --git a/LICENSE.rtf b/LICENSE.rtf
new file mode 100644
index 0000000..e56c304
--- /dev/null
+++ b/LICENSE.rtf
@@ -0,0 +1,258 @@
+{\rtf1\ansi\deff4\adeflang1025
+{\fonttbl{\f0\froman\fprq2\fcharset0 Times New Roman;}{\f1\froman\fprq2\fcharset2 Symbol;}{\f2\fswiss\fprq2\fcharset0 Arial;}{\f3\froman\fprq2\fcharset0 Liberation Serif{\*\falt Times New Roman};}{\f4\fswiss\fprq0\fcharset128 Noto Sans;}{\f5\fswiss\fprq0\fcharset128 Courier{\*\falt Courier New};}{\f6\fswiss\fprq0\fcharset128 Helvetica{\*\falt Arial};}{\f7\fnil\fprq2\fcharset0 Noto Sans CJK SC;}{\f8\fnil\fprq2\fcharset0 Lucida Sans;}{\f9\fswiss\fprq0\fcharset128 Lucida Sans;}}
+{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}
+{\stylesheet{\s0\snext0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052 Normal;}
+{\*\cs15\snext15\rtlch\alang255 \ltrch\lang255\langfe255\loch\cf9\lang255\ul\ulc0\dbch\langfe255 Hyperlink;}
+{\s16\sbasedon0\snext17\rtlch\af8\afs28 \ltrch\hich\af4\loch\widctlpar\hyphpar1\sb240\sa120\keepn\f4\fs28\dbch\af7 Heading;}
+{\s17\sbasedon0\snext17\loch\sl276\slmult1\widctlpar\hyphpar1\sb0\sa140 Text Body;}
+{\s18\sbasedon17\snext18\rtlch\af9 \ltrch\hich\af4\loch\sl276\slmult1\widctlpar\hyphpar1\sb0\sa140\f4 List;}
+{\s19\sbasedon0\snext19\rtlch\af9\afs24\ai \ltrch\hich\af4\loch\widctlpar\hyphpar1\sb120\sa120\noline\f4\fs24\i Caption;}
+{\s20\sbasedon0\snext20\rtlch\af9 \ltrch\hich\af4\loch\widctlpar\hyphpar1\noline\f4 Index;}
+}{\*\generator LibreOffice/7.1.2.2$Linux_X86_64 LibreOffice_project/10$Build-2}{\info{\creatim\yr0\mo0\dy0\hr0\min0}{\revtim\yr2021\mo5\dy1\hr14\min41}{\printim\yr0\mo0\dy0\hr0\min0}}{\*\userprops}\deftab720
+\hyphauto1\viewscale100
+{\*\pgdsctbl
+{\pgdsc0\pgdscuse451\pgwsxn12240\pghsxn15840\marglsxn1440\margrsxn1440\margtsxn1440\margbsxn1440\pgdscnxt0 Default Page Style;}}
+\formshade\paperh15840\paperw12240\margl1440\margr1440\margt1440\margb1440\sectd\sbknone\pgndec\sftnnar\saftnnrlc\sectunlocked1\pgwsxn12240\pghsxn15840\marglsxn1440\margrsxn1440\margtsxn1440\margbsxn1440\ftnbj\ftnstart1\ftnrstcont\ftnnar\aenddoc\aftnrstcont\aftnstart1\aftnnrlc
+{\*\ftnsep\chftnsep}\pgndec\pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\fs28\b\f6\loch
+GNU GENERAL PUBLIC LICENSE}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+Version 3, 29 June 2007}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+Copyright \u169\'3f 2007 Free Software Foundation, Inc. <}{{\field{\*\fldinst HYPERLINK "https://fsf.org/" }{\fldrslt {\hich\af6\loch\ul\ulc0\f6\loch
+https://fsf.org/}{}}}\hich\af6\loch\f6\loch
+>}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\fs28\b\f6\loch
+Preamble}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+The GNU General Public License is a free, copyleft license for software and other kinds of works.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+The precise terms and conditions for copying, distribution and modification follow.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\fs28\b\f6\loch
+TERMS AND CONDITIONS}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\fs24\b\f6\loch
+0. Definitions.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6
+\uc2 \u8220\'81\'67\uc1 }{\hich\af6\loch\f6\loch
+This License\uc2 \u8221\'81\'68 refers to version 3 of the GNU General Public License.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6
+\uc2 \u8220\'81\'67\uc1 }{\hich\af6\loch\f6\loch
+Copyright\uc2 \u8221\'81\'68 also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6
+\uc2 \u8220\'81\'67\uc1 }{\hich\af6\loch\f6\loch
+The Program\uc2 \u8221\'81\'68 refers to any copyrightable work licensed under this License. Each licensee is addressed as \u8220\'81\'67you\u8221\'81\'68. \u8220\'81\'67Licensees\u8221\'81\'68 and \u8220\'81\'67recipients\u8221\'81\'68 may be individuals or organizations.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+To \uc2 \u8220\'81\'67modify\u8221\'81\'68 a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a \u8220\'81\'67modified version\u8221\'81\'68 of the earlier work or a work \u8220\'81\'67based on\u8221\'81\'68 the earlier work.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+A \uc2 \u8220\'81\'67covered work\u8221\'81\'68 means either the unmodified Program or a work based on the Program.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+To \uc2 \u8220\'81\'67propagate\u8221\'81\'68 a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+To \uc2 \u8220\'81\'67convey\u8221\'81\'68 a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+An interactive user interface displays \uc2 \u8220\'81\'67Appropriate Legal Notices\u8221\'81\'68 to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\fs24\b\f6\loch
+1. Source Code.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+The \uc2 \u8220\'81\'67source code\u8221\'81\'68 for a work means the preferred form of the work for making modifications to it. \u8220\'81\'67Object code\u8221\'81\'68 means any non-source form of a work.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+A \uc2 \u8220\'81\'67Standard Interface\u8221\'81\'68 means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+The \uc2 \u8220\'81\'67System Libraries\u8221\'81\'68 of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A \u8220\'81\'67Major Component\u8221\'81\'68, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+The \uc2 \u8220\'81\'67Corresponding Source\u8221\'81\'68 for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+The Corresponding Source for a work in source code form is that same work.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\fs24\b\f6\loch
+2. Basic Permissions.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\fs24\b\f6\loch
+3. Protecting Users' Legal Rights From Anti-Circumvention Law.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\fs24\b\f6\loch
+4. Conveying Verbatim Copies.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\fs24\b\f6\loch
+5. Conveying Modified Source Versions.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li360\ri0\lin360\rin0\fi-360\sb0\sa0\ltrpar{\hich\af6\loch\f6
+\u8226\'3f}{\hich\af6\loch\f6\loch
+\tab a) The work must carry prominent notices stating that you modified it, and giving a relevant date.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li360\ri0\lin360\rin0\fi-360\sb0\sa0\ltrpar{\hich\af6\loch\f6
+\u8226\'3f}{\hich\af6\loch\f6\loch
+\tab b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to \uc2 \u8220\'81\'67keep intact all notices\u8221\'81\'68.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li360\ri0\lin360\rin0\fi-360\sb0\sa0\ltrpar{\hich\af6\loch\f6
+\u8226\'3f}{\hich\af6\loch\f6\loch
+\tab c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li360\ri0\lin360\rin0\fi-360\sb0\sa0\ltrpar{\hich\af6\loch\f6
+\u8226\'3f}{\hich\af6\loch\f6\loch
+\tab d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an \uc2 \u8220\'81\'67aggregate\u8221\'81\'68 if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\fs24\b\f6\loch
+6. Conveying Non-Source Forms.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li360\ri0\lin360\rin0\fi-360\sb0\sa0\ltrpar{\hich\af6\loch\f6
+\u8226\'3f}{\hich\af6\loch\f6\loch
+\tab a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li360\ri0\lin360\rin0\fi-360\sb0\sa0\ltrpar{\hich\af6\loch\f6
+\u8226\'3f}{\hich\af6\loch\f6\loch
+\tab b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li360\ri0\lin360\rin0\fi-360\sb0\sa0\ltrpar{\hich\af6\loch\f6
+\u8226\'3f}{\hich\af6\loch\f6\loch
+\tab c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li360\ri0\lin360\rin0\fi-360\sb0\sa0\ltrpar{\hich\af6\loch\f6
+\u8226\'3f}{\hich\af6\loch\f6\loch
+\tab d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li360\ri0\lin360\rin0\fi-360\sb0\sa0\ltrpar{\hich\af6\loch\f6
+\u8226\'3f}{\hich\af6\loch\f6\loch
+\tab e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+A \uc2 \u8220\'81\'67User Product\u8221\'81\'68 is either (1) a \u8220\'81\'67consumer product\u8221\'81\'68, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, \u8220\'81\'67normally used\u8221\'81\'68 refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6
+\uc2 \u8220\'81\'67\uc1 }{\hich\af6\loch\f6\loch
+Installation Information\uc2 \u8221\'81\'68 for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\fs24\b\f6\loch
+7. Additional Terms.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6
+\uc2 \u8220\'81\'67\uc1 }{\hich\af6\loch\f6\loch
+Additional permissions\uc2 \u8221\'81\'68 are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li360\ri0\lin360\rin0\fi-360\sb0\sa0\ltrpar{\hich\af6\loch\f6
+\u8226\'3f}{\hich\af6\loch\f6\loch
+\tab a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li360\ri0\lin360\rin0\fi-360\sb0\sa0\ltrpar{\hich\af6\loch\f6
+\u8226\'3f}{\hich\af6\loch\f6\loch
+\tab b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li360\ri0\lin360\rin0\fi-360\sb0\sa0\ltrpar{\hich\af6\loch\f6
+\u8226\'3f}{\hich\af6\loch\f6\loch
+\tab c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li360\ri0\lin360\rin0\fi-360\sb0\sa0\ltrpar{\hich\af6\loch\f6
+\u8226\'3f}{\hich\af6\loch\f6\loch
+\tab d) Limiting the use for publicity purposes of names of licensors or authors of the material; or}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li360\ri0\lin360\rin0\fi-360\sb0\sa0\ltrpar{\hich\af6\loch\f6
+\u8226\'3f}{\hich\af6\loch\f6\loch
+\tab e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li360\ri0\lin360\rin0\fi-360\sb0\sa0\ltrpar{\hich\af6\loch\f6
+\u8226\'3f}{\hich\af6\loch\f6\loch
+\tab f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+All other non-permissive additional terms are considered \uc2 \u8220\'81\'67further restrictions\u8221\'81\'68 within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\fs24\b\f6\loch
+8. Termination.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\fs24\b\f6\loch
+9. Acceptance Not Required for Having Copies.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\fs24\b\f6\loch
+10. Automatic Licensing of Downstream Recipients.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+An \uc2 \u8220\'81\'67entity transaction\u8221\'81\'68 is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\fs24\b\f6\loch
+11. Patents.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+A \uc2 \u8220\'81\'67contributor\u8221\'81\'68 is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's \u8220\'81\'67contributor version\u8221\'81\'68.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+A contributor's \uc2 \u8220\'81\'67essential patent claims\u8221\'81\'68 are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, \u8220\'81\'67control\u8221\'81\'68 includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+In the following three paragraphs, a \uc2 \u8220\'81\'67patent license\u8221\'81\'68 is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To \u8220\'81\'67grant\u8221\'81\'68 such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. \uc2 \u8220\'81\'67Knowingly relying\u8221\'81\'68 means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+A patent license is \uc2 \u8220\'81\'67discriminatory\u8221\'81\'68 if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\fs24\b\f6\loch
+12. No Surrender of Others' Freedom.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\fs24\b\f6\loch
+13. Use with the GNU Affero General Public License.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\fs24\b\f6\loch
+14. Revised Versions of this License.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License \uc2 \u8220\'81\'67or any later version\u8221\'81\'68 applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\fs24\b\f6\loch
+15. Disclaimer of Warranty.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \uc2 \u8220\'81\'67AS IS\u8221\'81\'68 WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\uc1 }
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\fs24\b\f6\loch
+16. Limitation of Liability.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\fs24\b\f6\loch
+17. Interpretation of Sections 15 and 16.}
+\par \pard\plain \s0\rtlch\af8\afs24\alang1081 \ltrch\lang1036\langfe2052\hich\af4\loch\widctlpar\hyphpar1\ltrpar\cf0\f4\fs24\lang1036\kerning1\dbch\af10\langfe2052\loch\ql\li0\ri0\lin0\rin0\fi0\sb0\sa180\ltrpar{\hich\af6\loch\f6\loch
+If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.}
+\par } \ No newline at end of file
diff --git a/app.js b/app.js
new file mode 100644
index 0000000..1c02825
--- /dev/null
+++ b/app.js
@@ -0,0 +1,326 @@
+console.log(" _ __ _ _ _ \n| |/ /__ _ _ __| |_(_) | __\n| ' // _` | '__| __| | |/ /\n| . \\ (_| | | | |_| | < \n|_|\\_\\__,_|_| \\__|_|_|\\_\\\n ");
+switch (require('./package.json').channel) {
+ case "stable":
+ console.log(" Kartik " + require('./package.json').version + " (Official Release) [stable]\n");
+ break;
+ case "eap":
+ console.log(" Kartik " + require('./package.json').version + " (Early Access Release) [eap]\n");
+ break;
+ case "nightly":
+ console.log(" Kartik " + require('./package.json').version + " (Rawhide Release) [nightly]\n");
+ break;
+ case "beta":
+ console.log(" Kartik " + require('./package.json').version + " (Branched Release) [beta]\n");
+ break;
+ case "git":
+ console.log(" Kartik " + require('./package.json').version + " (Trunk Build) [git]\n");
+ break;
+}
+
+if (process.argv[2] === "m") {
+ console.log(" * *******************************************");
+ console.log(" * * DATA MITIGATION MODE *");
+ console.log(" * * *");
+ console.log(" * * Unless you ABSOLUTELY need this, please *");
+ console.log(" * * consider starting Kartik normally. *");
+ console.log(" * *******************************************");
+ if (!require('fs').existsSync(__dirname + "/data")) {
+ require('fs').mkdirSync(__dirname + "/data");
+ }
+ global.homedir = __dirname + "/data";
+} else {
+ global.homedir = require('os').userInfo().homedir;
+};
+
+global.start = new Date();
+global.KartikRoot = __dirname;
+global.shouldExitIfClosed = false;
+const { app, BrowserWindow } = require('electron');
+
+(async () => {
+ console.log(" * Gathering language");
+ slpm = require('os-locale');
+ slpw = await slpm();
+ slpo = slpw.substr(0, 2);
+ slng = require('./lang/languages.json');
+ if (Object.keys(slng).includes(slpo)) {
+ dlp = slpo;
+ } else {
+ dlp = "en";
+ }
+
+ process.on('uncaughtException', (error) => {
+ console.log(" * Starting recovery procedure: E_ERROR");
+ id = new Date().toISOString();
+
+ require('fs').writeFileSync(homedir + "/.kartik/crashes/" + id + ".txt", "Kartik Bootstraper Crash\n\n" + error.stack);
+ if (require('os').platform() === "win32") {
+ require('child_process').exec("runtime\\kartik-crash.bat " + id);
+ } else if (require('os').platform() === "darwin") {
+ require('child_process').exec("./runtime/kartik-crash-mac.sh " + id);
+ } else {
+ require('child_process').exec("./runtime/kartik-crash.sh " + id);
+ }
+ process.exit(2);
+ })
+
+ process.on('unhandledRejection', (reason) => {
+ console.log(" * Starting recovery procedure: E_PROMISE");
+ id = new Date().toISOString();
+
+ require('fs').writeFileSync(homedir + "/.kartik/crashes/" + id + ".txt", "Kartik Bootstraper Crash (in promise)\n\n" + reason);
+ if (require('os').platform() === "win32") {
+ require('child_process').exec("runtime\\kartik-crash.bat");
+ } else if (require('os').platform() === "darwin") {
+ require('child_process').exec("./runtime/kartik-crash-mac.sh");
+ } else {
+ require('child_process').exec("./runtime/kartik-crash.sh");
+ }
+ process.exit(2);
+ })
+
+ /* --------------------- */
+
+ console.log(" * Creating configuration");
+
+ const fs = require('fs');
+
+ if (!fs.existsSync(homedir + "/.kartik")) {
+ fs.mkdirSync(homedir + "/.kartik");
+ }
+ if (!fs.existsSync(homedir + "/.kartik/config")) {
+ fs.mkdirSync(homedir + "/.kartik/config");
+ }
+ if (!fs.existsSync(homedir + "/.kartik/crashes")) {
+ fs.mkdirSync(homedir + "/.kartik/crashes");
+ }
+ if (!fs.existsSync(homedir + "/.kartik/logs")) {
+ fs.mkdirSync(homedir + "/.kartik/logs");
+ }
+ if (!fs.existsSync(homedir + "/.kartik/dumps")) {
+ fs.mkdirSync(homedir + "/.kartik/dumps");
+ }
+ if (!fs.existsSync(homedir + "/.kartik/mods")) {
+ fs.mkdirSync(homedir + "/.kartik/mods");
+ }
+ if (!fs.existsSync(homedir + "/.kartik/storage")) {
+ fs.mkdirSync(homedir + "/.kartik/storage");
+ }
+ fs.writeFileSync(homedir + "/.kartik/config/scale.txt", "1.2");
+ if (!fs.existsSync(homedir + "/.kartik/config/lang.txt")) {
+ fs.writeFileSync(homedir + "/.kartik/config/lang.txt", dlp);
+ }
+ if (!fs.existsSync(homedir + "/.kartik/config/music.txt")) {
+ fs.writeFileSync(homedir + "/.kartik/config/music.txt", "1");
+ }
+ if (!fs.existsSync(homedir + "/.kartik/config/online.txt")) {
+ fs.writeFileSync(homedir + "/.kartik/config/online.txt", "1");
+ }
+ if (!fs.existsSync(homedir + "/.kartik/config/voice.txt")) {
+ fs.writeFileSync(homedir + "/.kartik/config/voice.txt", "0");
+ }
+
+ /* --------------------- */
+
+ console.log(" * Checking channel");
+ require('@electron/remote/main').initialize();
+
+ function createWindow () {
+ if (require('./package.json').channel === "stable") {
+ logo = "logo/logo.png";
+ channel = " ";
+ global.dimg = "official";
+ global.dimga = "stable";
+ global.dchan = "Kartik Stable";
+ } else if (require('./package.json').channel === "beta") {
+ logo = "logo/logo-beta.png";
+ channel = " Beta ";
+ global.dimg = "beta";
+ global.dimga = "beta";
+ global.dchan = "Kartik Beta";
+ } else if (require('./package.json').channel === "nightly") {
+ logo = "logo/logo-nightly.png";
+ channel = " Nightly ";
+ global.dimg = "nightly";
+ global.dimga = "nightly";
+ global.dchan = "Kartik Nightly";
+ } else if (require('./package.json').channel === "eap") {
+ logo = "logo/logo-eap.png";
+ channel = " EAP ";
+ global.dimg = "eap";
+ global.dimga = "eap";
+ global.dchan = "Kartik EAP";
+ } else if (require('./package.json').channel === "git") {
+ logo = "logo/logo-git.png";
+ channel = " Trunk ";
+ global.dimg = "git";
+ global.dimga = "git";
+ global.dchan = "Kartik Trunk";
+ try {
+ pk = require('./package.json');
+ pk.version = require('fs').readFileSync("./.git/refs/heads/trunk").toString().substr(0, 7);
+ fs.writeFileSync("./package.json", JSON.stringify(pk, 2))
+ } catch (e) {}
+ }
+
+ console.log(" * Checking configuration");
+
+ scale = fs.readFileSync(homedir + "/.kartik/config/scale.txt").toString().trim() - 1 + 1
+ lp = fs.readFileSync(homedir + "/.kartik/config/lang.txt").toString().trim()
+
+ if (fs.readFileSync(homedir + "/.kartik/config/online.txt").toString().trim() === "0") {
+ fs.writeFileSync(homedir + "/.kartik/config/online.txt", "1");
+ }
+
+ if (scale !== 1
+ && scale !== 0.9
+ && scale !== 1.1
+ && scale !== 1.2
+ && scale !== 1.3
+ && scale !== 1.4
+ && scale !== 1.5
+ && scale !== 1.6
+ && scale !== 1.7
+ && scale !== 1.8
+ && scale !== 1.9
+ && scale !== 2
+ ) {
+ fs.writeFileSync(homedir + "/.kartik/config/scale.txt", "1.2");
+ scale = 1;
+ }
+
+ time = new Date() - start;
+ console.log(" * Started successfully in " + Math.round(time/1000) + " seconds");
+ console.log(" * Why are you EVEN reading this?");
+ load.close();
+ console.log(" * Starting recovery procedure: E_PROMISE");
+ global.win = new BrowserWindow({
+ width: Math.round(720 * scale),
+ height: Math.round(540 * scale),
+ minWidth: Math.round(720 * scale),
+ minHeight: Math.round(540 * scale),
+ resizeable: true,
+ resizable: true,
+ maximizable: true,
+ show: false,
+ enableLargerThanScreen: true,
+ icon: logo,
+ backgroundColor: "#000000",
+ title: "Kartik",
+ webPreferences: {
+ nodeIntegration: true,
+ contextIsolation: false,
+ enableRemoteModule: true,
+ webviewTag: true,
+ disableBlinkFeatures: "MediaSessionService",
+ }
+ })
+
+ global.shouldExitIfClosed = true;
+ win.hide();
+
+ console.log(" * Starting IPC engine");
+ win.pwidth = Math.round(720 * scale);
+ win.pheight = Math.round(540 * scale);
+ win.log = console.log;
+
+ win.debug = process.argv[2] === "d";
+ win.channel = channel;
+ win.update = dimga;
+ win.gamepads = [];
+ win.controllerAttached = false;
+ win.webview = null;
+ win.dstate = "Kartik";
+ win.ddetails = "Kartik";
+ win.mods = mods;
+
+ win.homedir = homedir;
+
+ win.scale = scale;
+ win.lp = lp;
+ win.music = fs.readFileSync(homedir + "/.kartik/config/music.txt").toString().trim() === "1";
+ win.voice = fs.readFileSync(homedir + "/.kartik/config/voice.txt").toString().trim() === "2";
+
+ // TODO: Enable online mode when stable
+ if (dimga === "stable") {
+ win.online = false;
+ } else {
+ win.online = fs.readFileSync(homedir + "/.kartik/config/online.txt").toString().trim() === "1";
+ }
+
+ win.resources = resources;
+ global.currentSongValue = null;
+
+ console.log(" * Starting language preloader");
+ require('./lang/preload.js');
+ console.log(" * Starting Discord RPC");
+ require('./discord/client.js');
+
+ console.log(" * Loading view");
+ win.loadFile('./index.html')
+ win.setMenu(null);
+
+ if (win.debug) {
+ console.log(" * *******************************************");
+ console.log(" * * KARTIK DEBUG MODE *");
+ console.log(" * *******************************************");
+ win.openDevTools();
+ }
+
+ win.webContents.on('dom-ready', () => {
+ musicIpc = require('electron').ipcMain;
+ musicIpc.on('newmusic', (event, value) => {
+ win.webContents.send('setmusic', value);
+ })
+ musicIpc.on('prefademusic', (event, value) => {
+ win.webContents.send('fademusic', value);
+ })
+ musicIpc.on('preunfademusic', (event, value) => {
+ win.webContents.send('unfademusic', value);
+ })
+ })
+ }
+
+ console.log(" * Preparing application paths");
+ app.setAppLogsPath(homedir + "/.kartik/logs");
+ app.setPath("crashDumps", homedir + "/.kartik/dumps");
+ app.setPath('userData', homedir + "/.kartik/storage");
+ app.whenReady().then(() => {
+ console.log(" * Starting splash screen");
+ global.load = new BrowserWindow({
+ width: 640,
+ height: 400,
+ resizeable: false,
+ resizable: false,
+ maximizable: false,
+ frame: false,
+ show: true,
+ enableLargerThanScreen: true,
+ icon: "logo/logo.png",
+ backgroundColor: "#4b4e50",
+ title: "Kartik",
+ webPreferences: {
+ nodeIntegration: true,
+ contextIsolation: false,
+ enableRemoteModule: true,
+ webviewTag: true,
+ disableBlinkFeatures: "MediaSessionService",
+ }
+ })
+ load.loadFile("./views/load.html");
+ setTimeout(() => {
+ console.log(" * Generating resources pack");
+ require('./modding/resources');
+ console.log(" * Starting Kartik Modding Platform");
+ require('./modding/parser');
+ createWindow();
+ }, 5000)
+ })
+
+ app.on('window-all-closed', () => {
+ if (shouldExitIfClosed) {
+ console.log(" * Bye!");
+ app.quit()
+ }
+ })
+})();
diff --git a/build/compiler.js b/build/compiler.js
new file mode 100644
index 0000000..cd9041f
--- /dev/null
+++ b/build/compiler.js
@@ -0,0 +1,118 @@
+console.log("...");
+global.fs = require('fs');
+
+if (fs.existsSync("./incoming")) {
+ fs.rmdirSync("./incoming", {recursive:true});
+}
+if (!fs.existsSync("./incoming")) {
+ fs.mkdirSync("./incoming");
+}
+
+function analyse(folder) {
+ try {
+ console.log(" F " + folder);
+ fol.push(folder);
+ list = fs.readdirSync(folder);
+ list.forEach((item) => {
+ try {
+ file = fs.statSync(folder + "/" + item).isFile();
+ } catch (e) {
+ file = null;
+ }
+
+ if (file !== null) {
+ if (file) {
+ if (!item.startsWith(".")) {
+ if (item.endsWith(".js")) {
+ console.log(" A " + folder + "/" + item);
+ jsf.push(folder + "/" + item);
+ } else {
+ console.log(" D " + folder + "/" + item);
+ njs.push(folder + "/" + item);
+ }
+ }
+ } else {
+ if (item !== "node_modules" && !item.startsWith(".")) {
+ analyse(folder + "/" + item);
+ }
+ }
+ }
+ })
+ } catch (e) {}
+}
+
+function analysem(folder) {
+ try {
+ console.log("MF " + folder);
+ mfol.push(folder);
+ list = fs.readdirSync(folder);
+ list.forEach((item) => {
+ try {
+ file = fs.statSync(folder + "/" + item).isFile();
+ } catch (e) {
+ file = null;
+ }
+
+ if (file !== null) {
+ if (file) {
+ console.log("M A " + folder + "/" + item);
+ mnjs.push(folder + "/" + item);
+ } else {
+ analysem(folder + "/" + item);
+ }
+ }
+ })
+ } catch (e) {}
+}
+
+global.jsf = [];
+global.njs = [];
+global.fol = [];
+global.mnjs = [];
+global.mfol = [];
+analyse("..");
+analysem("../node_modules");
+console.log(jsf.length + " JSF\n" + njs.length + " OMF\n" + fol.length + " DIR\n" + (mnjs.length + mfol.length) + " MOD");
+setTimeout(() => {
+ mfol.forEach((fol) => {
+ console.log("M M " + fol);
+ if (!fs.existsSync("./incoming/" + fol.substr(3))) {
+ fs.mkdirSync("./incoming/" + fol.substr(3));
+ }
+ })
+ fol.forEach((fol) => {
+ console.log(" M " + fol);
+ if (!fs.existsSync("./incoming/" + fol.substr(3))) {
+ fs.mkdirSync("./incoming/" + fol.substr(3));
+ }
+ })
+ njs.forEach((file) => {
+ console.log(" C " + file);
+ fs.copyFileSync(file, "./incoming/" + file.substr(3));
+ })
+ mnjs.forEach((file) => {
+ console.log("M C " + file);
+ fs.copyFileSync(file, "./incoming/" + file.substr(3));
+ })
+ jsf.forEach((file) => {
+ console.log(" CC " + file);
+ /*var obfuscationResult = JavaScriptObfuscator.obfuscate(fs.readFileSync(file).toString(),
+ {
+ compact: true,
+ controlFlowFlattening: true,
+ controlFlowFlatteningThreshold: 1,
+ numbersToExpressions: true,
+ stringArray: true,
+ debugProtection: true,
+ selfDefending: true,
+ target: "node",
+ transformObjectKeys: true,
+ shuffleStringArray: true,
+ splitStrings: true,
+ stringArrayThreshold: 1
+ }
+ );
+ fs.writeFileSync("./incoming/" + file.substr(3), obfuscationResult.getObfuscatedCode());*/
+ fs.copyFileSync(file, "./incoming/" + file.substr(3));
+ })
+}, 10000)
diff --git a/crash/artwork.jpg b/crash/artwork.jpg
new file mode 100644
index 0000000..a999d22
--- /dev/null
+++ b/crash/artwork.jpg
Binary files differ
diff --git a/crash/client.js b/crash/client.js
new file mode 100644
index 0000000..d5ea355
--- /dev/null
+++ b/crash/client.js
@@ -0,0 +1,114 @@
+if (native) {
+ function crash(error) {
+ try {
+ require('@electron/remote').getCurrentWindow().hide();
+ } catch (e) {}
+ id = new Date().toISOString();
+
+ try {
+ global.pkg = require('./package.json');
+ } catch (e) {
+ console.warn(e);
+ global.pkg = require('../package.json');
+
+ }
+
+ report = "\n";
+ report += "Kartik Crash Report\n\nPlease send this to the developers so they can fix the problem and deploy a patch to all players.\n\nStack Trace:\n"
+ error.stack.split("\n").forEach((line) => {
+ report += " " + line + "\n";
+ })
+ report += "\n\nSystem Information:\n"
+ report += " " + "Kartik"+require('@electron/remote').getCurrentWindow().channel + "(" + pkg.name + ") " +pkg.version + " [" + pkg.serial + "]\n";
+
+ report += " " + require('os').type() + " (" + require('os').version() + ", " + require('os').arch() +") version " + require('os').release() + "\n";
+ cores = require('os').cpus()
+ if (cores.length > 1) {
+ report += " " + cores.length + " processors";
+ } else {
+ report += " " + cores.length + " processor";
+ }
+ report += "\n\nKartik Components:\n";
+ Object.keys(process.versions).forEach((e) => {
+
+ v = process.versions[e];
+ report += " " + e + "@" + v + "\n";
+ })
+
+ require('fs').writeFileSync(require('os').userInfo().homedir + "/.kartik/crashes/" + id + ".txt", report);
+ if (error.message !== "Invalid display" && error.message !== "Out of memory") {
+
+ fetch("https://kartik.hopto.org/telemetry/report/?report=" + btoa(report.replaceAll(require('os').userInfo().username, "<information removed>")))
+
+ .then(() => {
+ if (require('os').platform() === "win32") {
+ require('child_process').execSync("runtime\\kartik-crash.bat");
+ } else if (require('os').platform() === "darwin") {
+ require('child_process').execSync("./runtime/kartik-crash-mac.sh");
+ } else {
+ require('child_process').execSync("./runtime/kartik-crash.sh");
+ }
+ require('@electron/remote').getCurrentWindow().destroy();
+
+ window.close();
+ require('@electron/remote').getCurrentWindow().close();
+ })
+ .catch(() => {
+ if (require('os').platform() === "win32") {
+ require('child_process').execSync("runtime\\kartik-crash.bat");
+ } else if (require('os').platform() === "darwin") {
+
+ require('child_process').execSync("./runtime/kartik-crash-mac.sh");
+ } else {
+ require('child_process').execSync("./runtime/kartik-crash.sh");
+ }
+ require('@electron/remote').getCurrentWindow().destroy();
+ window.close();
+ require('@electron/remote').getCurrentWindow().close();
+ })
+ } else {
+ if (require('os').platform() === "win32") {
+ require('child_process').execSync("runtime\\kartik-crash.bat");
+ } else if (require('os').platform() === "darwin") {
+ require('child_process').execSync("./runtime/kartik-crash-mac.sh");
+ } else {
+ require('child_process').execSync("./runtime/kartik-crash.sh");
+ }
+
+ require('@electron/remote').getCurrentWindow().destroy();
+ window.close();
+ require('@electron/remote').getCurrentWindow().close();
+ }
+ }
+
+ window.onerror = (_a, _b, _c, _d, error) => {
+ if (typeof error != "undefined") {
+ crash(error);
+ } else {
+ error("CrashManager", "An exception was thrown without details about it");
+ crash(new Error("Unknown error"));
+ }
+ }
+
+ process.on('uncaughtException', (error) => {
+ if (typeof error != "undefined") {
+ crash(error);
+ } else {
+ error("CrashManager", "An exception was thrown without details about it");
+ crash(new Error("Unknown error"));
+ }
+ })
+
+ /*setInterval(() => {
+ try {
+ if (document.body.clientWidth >= (screen.width - 50) || document.body.clientHeight >= (screen.height - 50) || require('@electron/remote').getCurrentWindow().pwidth >= (screen.width - 50) || require('@electron/remote').getCurrentWindow().pheight >= (screen.height - 50) || require('@electron/remote').getCurrentWindow().scale < 0.9) {
+
+ if (!location.href.includes("credits.html")) {
+ error("CrashManager", "Invalid display, crashing");
+ crash(new Error("Invalid display"));
+ // TODO: Instead reset the size and restart
+ }
+ }
+ } catch (e) {}
+ }, 2000)*/
+}
diff --git a/crash/crash.html b/crash/crash.html
new file mode 100644
index 0000000..5b922aa
--- /dev/null
+++ b/crash/crash.html
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <script src="../lang/loader.js"></script>
+ <meta charset="UTF-8">
+ <script>document.title = lang.crash.title;</script>
+ <link rel="stylesheet" href="../views/common/fonts.css">
+ <style>
+
+ * {
+ font-family: -apple-system, sans-serif;
+ cursor: default !important;
+ font-family: "Comfortaa", -apple-system, sans-serif !important;
+ }
+
+ button {
+ border: 1px solid #00b763;
+ padding: 10px 20px;
+ border-radius: 999px;
+ background: #fff;
+ color: black;
+ outline: none;
+ }
+
+ button:hover {
+ color: white;
+ border: 1px solid #007b42;
+ background: #00b763;
+ }
+
+ button:active {
+ color: white;
+ border: 1px solid #00502b;
+ background: #007b42;
+ }
+
+ </style>
+</head>
+<body style="display:grid;grid-template-columns: 1fr 1fr;height:100%;width:100%;margin:0;overflow:hidden;">
+ <div>
+ <img src="./artwork.jpg" style="height: 100vh;">
+ </div>
+ <div style="padding:8px;">
+ <h2><script>document.write(lang.crash.head);</script></h2>
+ <p><script>document.write(lang.crash.intro);</script></p>
+ <p><script>
+ document.write(lang.crash.report[0]);
+ if (require('os').platform() === "win32") {
+ document.write(require('os').userInfo().homedir + "\\.kartik\\pilot\\crashes");
+ } else {
+ document.write(require('os').userInfo().homedir + "/.kartik/crashes");
+ }
+ document.write(lang.crash.report[1]);
+ </script></p>
+ <p><button onclick="restart();"><script>document.write(lang.crash.close);</script></button> <button onclick="resetrestart();"><script>document.write(lang.crash.reset);</script></button></p>
+ </div>
+
+ <script>
+ function restart() {
+ window.close();
+ require('@electron/remote').getCurrentWindow().hide();
+ require('@electron/remote').getCurrentWindow().destroy();
+ require('@electron/remote').getCurrentWindow().close();
+ }
+ function resetrestart() {
+ require('fs').rmdirSync(require('os').userInfo().homedir + "/.kartik/config", {recursive:true});
+ window.close();
+ require('@electron/remote').getCurrentWindow().close();
+ }
+ </script>
+</body>
+</html>
diff --git a/crash/wrapper.js b/crash/wrapper.js
new file mode 100644
index 0000000..ba5a8b9
--- /dev/null
+++ b/crash/wrapper.js
@@ -0,0 +1,41 @@
+const { app, BrowserWindow } = require('electron')
+
+if (require('fs').existsSync(require('os').userInfo().homedir + "/.kartik/config/lang.txt")) {
+ lp = require('fs').readFileSync(require('os').userInfo().homedir + "/.kartik/config/lang.txt").toString();
+}
+
+function createWindow () {
+ const win = new BrowserWindow({
+ width: 800,
+ height: 375,
+ resizeable: false,
+ resizable: false,
+ maximizable: false,
+ bgColor: "#ffffff",
+ title: "Kartik",
+ webPreferences: {
+ nodeIntegration: true,
+ contextIsolation: false,
+ enableRemoteModule: true,
+ webviewTag: true
+ }
+ })
+
+ win.lp = lp;
+ win.loadFile('crash.html')
+ win.setMenu(null);
+}
+
+app.whenReady().then(createWindow)
+
+app.on('window-all-closed', () => {
+ if (process.platform !== 'darwin') {
+ app.quit()
+ }
+})
+
+app.on('activate', () => {
+ if (BrowserWindow.getAllWindows().length === 0) {
+ createWindow()
+ }
+}) \ No newline at end of file
diff --git a/cursors/click.png b/cursors/click.png
new file mode 100644
index 0000000..606629a
--- /dev/null
+++ b/cursors/click.png
Binary files differ
diff --git a/cursors/main.png b/cursors/main.png
new file mode 100644
index 0000000..b7a6a83
--- /dev/null
+++ b/cursors/main.png
Binary files differ
diff --git a/cursors/text.png b/cursors/text.png
new file mode 100644
index 0000000..ca51275
--- /dev/null
+++ b/cursors/text.png
Binary files differ
diff --git a/discord/client.js b/discord/client.js
new file mode 100644
index 0000000..1e98faf
--- /dev/null
+++ b/discord/client.js
@@ -0,0 +1,40 @@
+const DiscordRPC = require('discord-rpc');
+
+// Set this to your Client ID.
+const clientId = '821064368535633920';
+
+// Only needed if you want to use spectate, join, or ask to join
+DiscordRPC.register(clientId);
+
+const rpc = new DiscordRPC.Client({ transport: 'ipc' });
+const startTimestamp = new Date();
+
+async function setActivity() {
+ if (!rpc) {
+ return;
+ }
+
+ //const boops = await mainWindow.webContents.executeJavaScript('window.boops');
+
+ // You'll need to have snek_large and snek_small assets uploaded to
+ // https://discord.com/developers/applications/<application_id>/rich-presence/assets
+ rpc.setActivity({
+ details: win.ddetails,
+ state: win.dstate,
+ startTimestamp,
+ largeImageKey: 'kartik',
+ largeImageText: 'Kartik, ' + lang.game.credits.by + ' Minteck Projects',
+ smallImageKey: dimg,
+ smallImageText: dchan,
+ instance: false,
+ });
+}
+
+rpc.on('ready', () => {
+ // activity can only be set every 15 seconds
+ setInterval(() => {
+ setActivity();
+ }, 15e3);
+});
+
+rpc.login({ clientId }).catch(console.error); \ No newline at end of file
diff --git a/icons/back.svg b/icons/back.svg
new file mode 100644
index 0000000..06cddd0
--- /dev/null
+++ b/icons/back.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/></svg> \ No newline at end of file
diff --git a/icons/credits.svg b/icons/credits.svg
new file mode 100644
index 0000000..9580654
--- /dev/null
+++ b/icons/credits.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24"><g><rect fill="none" height="24" width="24"/></g><g><g/><g><circle cx="12" cy="4" r="2"/><path d="M15.89,8.11C15.5,7.72,14.83,7,13.53,7c-0.21,0-1.42,0-2.54,0C8.24,6.99,6,4.75,6,2H4c0,3.16,2.11,5.84,5,6.71V22h2v-6h2 v6h2V10.05L18.95,14l1.41-1.41L15.89,8.11z"/></g></g></svg> \ No newline at end of file
diff --git a/icons/exit.svg b/icons/exit.svg
new file mode 100644
index 0000000..0f82fc7
--- /dev/null
+++ b/icons/exit.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24"><g><path d="M0,0h24v24H0V0z" fill="none"/></g><g><path d="M17,8l-1.41,1.41L17.17,11H9v2h8.17l-1.58,1.58L17,16l4-4L17,8z M5,5h7V3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h7v-2H5V5z"/></g></svg> \ No newline at end of file
diff --git a/icons/gamepad.svg b/icons/gamepad.svg
new file mode 100644
index 0000000..29e3d11
--- /dev/null
+++ b/icons/gamepad.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M21 6H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-11 7H8v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H4c-.55 0-1-.45-1-1s.45-1 1-1h2V9c0-.55.45-1 1-1s1 .45 1 1v2h2c.55 0 1 .45 1 1s-.45 1-1 1zm5.5 2c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm4-3c-.83 0-1.5-.67-1.5-1.5S18.67 9 19.5 9s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"/></svg> \ No newline at end of file
diff --git a/icons/language.svg b/icons/language.svg
new file mode 100644
index 0000000..50e43d5
--- /dev/null
+++ b/icons/language.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2s.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56zm2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2s.07-1.35.16-2h4.68c.09.65.16 1.32.16 2s-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2s-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z"/></svg> \ No newline at end of file
diff --git a/icons/local.svg b/icons/local.svg
new file mode 100644
index 0000000..9cc4b19
--- /dev/null
+++ b/icons/local.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V9c0-1.11-.9-2-2-2H9v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"/></svg> \ No newline at end of file
diff --git a/icons/music.svg b/icons/music.svg
new file mode 100644
index 0000000..05f02ce
--- /dev/null
+++ b/icons/music.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 3l.01 10.55c-.59-.34-1.27-.55-2-.55C7.79 13 6 14.79 6 17s1.79 4 4.01 4S14 19.21 14 17V7h4V3h-6zm-1.99 16c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/></svg> \ No newline at end of file
diff --git a/icons/online.svg b/icons/online.svg
new file mode 100644
index 0000000..61652f5
--- /dev/null
+++ b/icons/online.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M6 3H3v3c1.66 0 3-1.34 3-3zm8 0h-2c0 4.97-4.03 9-9 9v2c6.08 0 11-4.93 11-11zm-4 0H8c0 2.76-2.24 5-5 5v2c3.87 0 7-3.13 7-7zm0 18h2c0-4.97 4.03-9 9-9v-2c-6.07 0-11 4.93-11 11zm8 0h3v-3c-1.66 0-3 1.34-3 3zm-4 0h2c0-2.76 2.24-5 5-5v-2c-3.87 0-7 3.13-7 7z"/></svg> \ No newline at end of file
diff --git a/icons/scale.svg b/icons/scale.svg
new file mode 100644
index 0000000..b244dfd
--- /dev/null
+++ b/icons/scale.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24"><g><path d="M0,0h24v24H0V0z" fill="none"/></g><g><path d="M6,16h12V8H6V16z M8,10h8v4H8V10z M4,15H2v3c0,1.1,0.9,2,2,2h3v-2H4V15z M4,6h3V4H4C2.9,4,2,4.9,2,6v3h2V6z M20,4h-3v2h3v3 h2V6C22,4.9,21.1,4,20,4z M20,18h-3v2h3c1.1,0,2-0.9,2-2v-3h-2V18z"/></g></svg> \ No newline at end of file
diff --git a/icons/scenario.svg b/icons/scenario.svg
new file mode 100644
index 0000000..b9976c7
--- /dev/null
+++ b/icons/scenario.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M7 18h2V6H7v12zm4 4h2V2h-2v20zm-8-8h2v-4H3v4zm12 4h2V6h-2v12zm4-8v4h2v-4h-2z"/></svg> \ No newline at end of file
diff --git a/icons/settings.svg b/icons/settings.svg
new file mode 100644
index 0000000..ee88e8d
--- /dev/null
+++ b/icons/settings.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M3 17v2h6v-2H3zM3 5v2h10V5H3zm10 16v-2h8v-2h-8v-2h-2v6h2zM7 9v2H3v2h4v2h2V9H7zm14 4v-2H11v2h10zm-6-4h2V7h4V5h-4V3h-2v6z"/></svg> \ No newline at end of file
diff --git a/icons/singleplayer.svg b/icons/singleplayer.svg
new file mode 100644
index 0000000..4007791
--- /dev/null
+++ b/icons/singleplayer.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-7-2h2V7h-4v2h2z"/></svg> \ No newline at end of file
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..a484514
--- /dev/null
+++ b/index.html
@@ -0,0 +1,97 @@
+<!DOCTYPE html>
+<html lang="en" style="background:#000000;margin:0;height:100%;width:100%;">
+<head>
+ <script>if (typeof require !== "undefined") {native = true;try{global.native = true;}catch(e){}} else {native = false;try{global.native = false;}catch(e){}}if (!native){global = window;}if (native){kresources=require('@electron/remote').getCurrentWindow().resources;trackEvent=require('@electron/remote').getCurrentWindow().trackEvent;require('@electron/remote').getCurrentWindow().log(" * Parsing view");}info=(_a,b)=>{console.info(b);};warn=(_a,b)=>{console.warn(b);};error=(_a,b)=>{console.error(b);};</script>
+ <meta charset="UTF-8">
+ <title>Kartik</title>
+ <script src="./crash/client.js"></script>
+ <script src="./lang/loader.js"></script>
+ <link rel="stylesheet" href="./views/common/fonts.css">
+ <link rel="stylesheet" href="./views/common/index.css">
+ <script src="./views/script/core_head.js"></script>
+ <script src="./views/script/core_stats.js"></script>
+ <script src="./views/script/core_fullscreen.js"></script>
+ <script>
+ if (native) {
+ require('@electron/remote').getCurrentWindow().show();
+ }
+ </script>
+</head>
+<body style="background:#000000;margin:0;height:100%;width:100%;zoom:1.2;">
+ <div style="height: 64px;position: fixed;bottom: 10px;left: 0;background-image: url(./logo/newloader.svg);width: 100000000px;background-size: contain;animation-name: loading;animation-direction: reverse;animation-fill-mode: forwards;animation-timing-function: linear;animation-duration: 5000s;animation-iteration-count: infinite;opacity: .5;"></div>
+ <style>
+ @keyframes loading {
+ 0% {
+ left: 0;
+ }
+ 100% {
+ left: -900000px;
+ }
+ }
+ @keyframes logo {
+ 0% {
+ transform: rotate3d(1, 1, 1, 0deg);
+ }
+ 100% {
+ transform: rotate3d(1, 1, 1, 360deg);
+ }
+ }
+ </style>
+ <div id="message" style="
+ position: fixed;
+ display: none;
+ bottom: 0;
+ left: 20px;
+ right: 20px;
+ height: 48px;
+ background: rgba(0, 0, 0, .5);
+ color: white;
+ border-top-left-radius: 10px;
+ border-top-right-radius: 10px;
+ border: 1px solid #2b2b2b;
+ border-bottom: none;
+ pointer-events: none;
+ z-index: 20;
+ "><span id="message-character" style="
+ width: 64px;
+ height: 64px;
+ position: fixed;
+ bottom: 8px;
+ left: 56px;
+ background: #3c3c3c;
+ border-radius: 100%;
+ border: 1px solid #5f5f5f;
+"><img src="./scenario/character/neutral.png" id="message-character-inner" style="
+ position: fixed;
+ bottom: 8px;
+ width: 66px;
+ left: 56px;
+ border-bottom-left-radius: 100px;
+ border-bottom-right-radius: 100px;
+ "></span><span id="message-text" style="
+ position: fixed;
+ left: 156px;
+ width: calc(100% - 220px);
+ bottom: 11px;
+ font-size: 14px;
+ height: 28px;
+ overflow: hidden;
+ display: -webkit-box;
+ -webkit-line-clamp: 2;
+ -webkit-box-orient: vertical;
+"></span></div>
+ <script>if (!native) { document.getElementById('titlebar').style.display = "none"; }</script>
+ <script>
+ document.write(`<webview id="wb" src="views/loader.html" style="border: 0;z-index:2;top:0;left:0;right:0;bottom:0;position:fixed;" nodeintegration disablewebsecurity allowpopups webpreferences="nodeIntegration,contextIsolation=no"></webview>`);
+ if (require('@electron/remote').getCurrentWindow().update !== "stable") {
+ document.write(`<div style="position: fixed;top: 0;left: 0;right: 0;height: auto;font-family: sans-serif;font-size: 12px;background: red;z-index: 9;text-align: center;">EXPERIMENTAL BUILD, NOT FOR PRODUCTION —${require('@electron/remote').getCurrentWindow().channel}${require('./package.json').version} — ${require('./package.json').serial} — <span style="font-family:sans-serif;font-size:12px;" id="experimental-ramusage">NaN</span> MiB</div>`);
+ }
+ //document.write(`<webview id="wb" src="about:blank" style="border: 0;z-index:2;top:0;left:0;right:0;bottom:0;position:fixed;" nodeintegration disablewebsecurity allowpopups webpreferences="nodeIntegration,contextIsolation=no"></webview>`);
+ </script>
+ </div>
+ <script src="./views/script/core_chart.js"></script>
+ <script src="./views/script/core_music.js"></script>
+ <script src="./views/script/core_viewer.js"></script>
+<script>info("MainWindow", "Main container up!");if (native){require('@electron/remote').getCurrentWindow().log(" * View loaded, Kartik is now up and running!");}</script>
+</body>
+</html>
diff --git a/kartik-mac.sh b/kartik-mac.sh
new file mode 100644
index 0000000..91c2cc8
--- /dev/null
+++ b/kartik-mac.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+./bin/macos/Electron.app/Contents/MacOS/Electron app.js
diff --git a/kartik-setup.sh b/kartik-setup.sh
new file mode 100644
index 0000000..ad09d3c
--- /dev/null
+++ b/kartik-setup.sh
@@ -0,0 +1,22 @@
+#!/bin/bash
+echo "Installing Kartik, please wait."
+echo ""
+echo " - Removing older version"
+rm -rfd "$HOME/.local/share/kartik"
+rm -f "$HOME/.local/share/applications/kartik.desktop"
+echo " - Copying files"
+mkdir -p "$HOME/.local/share/kartik"
+cp -r ./* "$HOME/.local/share/kartik"
+echo " - Installing shortcut"
+echo "[Desktop Entry]" > "$HOME/.local/share/applications/kartik.desktop"
+echo "Version=1.0" >> "$HOME/.local/share/applications/kartik.desktop"
+echo "Name=Kartik" >> "$HOME/.local/share/applications/kartik.desktop"
+echo "GenericName=Kartik" >> "$HOME/.local/share/applications/kartik.desktop"
+echo "Exec=$HOME/.local/share/kartik/runtime/kartik-launcher.sh" >> "$HOME/.local/share/applications/kartik.desktop"
+echo "Icon=$HOME/.local/share/kartik/logo/logo.png" >> "$HOME/.local/share/applications/kartik.desktop"
+echo "Terminal=false" >> "$HOME/.local/share/applications/kartik.desktop"
+echo "Type=Application" >> "$HOME/.local/share/applications/kartik.desktop"
+echo "StartupNotify=true" >> "$HOME/.local/share/applications/kartik.desktop"
+echo "Categories=Game;" >> "$HOME/.local/share/applications/kartik.desktop"
+echo ""
+echo "Kartik is now installed, use the Kartik item in your launcher to get started."
diff --git a/kartik.bat b/kartik.bat
new file mode 100644
index 0000000..a343c70
--- /dev/null
+++ b/kartik.bat
@@ -0,0 +1,2 @@
+@echo off
+bin\win32\kartik-core.exe app.js \ No newline at end of file
diff --git a/kartik.desktop b/kartik.desktop
new file mode 100644
index 0000000..7961532
--- /dev/null
+++ b/kartik.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Kartik
+GenericName=Kartik
+Icon=$USER/.local/share/kartik/logo/logo
+Terminal=false
+Type=Application
+StartupNotify=true
+Categories=Game;
diff --git a/kartik.sh b/kartik.sh
new file mode 100644
index 0000000..334bb86
--- /dev/null
+++ b/kartik.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+./bin/linux/kartik-core.bin app.js
diff --git a/lang/de.json b/lang/de.json
new file mode 100644
index 0000000..8358c34
--- /dev/null
+++ b/lang/de.json
@@ -0,0 +1,191 @@
+{
+ "_name": "Franz\u00f6sisch",
+ "crash": {
+ "title": "Kartik Crash Reporter",
+ "head": "Kartik hat aufgeh\u00f6rt zu arbeiten",
+ "intro": "Kartik stie\u00df auf ein Problem und hielt unerwartet an. ",
+ "report": [
+ "Zus\u00e4tzlich wurde ein Absturzbericht in \"",
+ "Damit Sie es an die Entwickler senden k\u00f6nnen, wenn Sie \u00fcber einen Internetzugang verf\u00fcgen."
+ ],
+ "close": "Schlie\u00dfen",
+ "reset": "Kartik zur\u00fccksetzen und schlie\u00dfen"
+ },
+ "updates": {
+ "ok": "Auf dem neusten Stand",
+ "available": "Spiel-Updates verf\u00fcgbar",
+ "git": "Ausf\u00fchren der Trunk-Version",
+ "error": "Es kann nicht nach Updates gesucht werden",
+ "wait": "Nach Updates suchen ...",
+ "warn": [
+ "Updates sind verf\u00fcgbar",
+ "Laden Sie die neue Version von Kartik von der offiziellen Website herunter, um von den neuesten Funktionen und Fehlerkorrekturen zu profitieren."
+ ]
+ },
+ "scenario": {
+ "intro": [
+ "Hey, hi, wie w\u00e4re es mit einem schnellen Lauf?",
+ "Ah, da bist du wieder! ",
+ "Was w\u00e4re, wenn wir ein kleines Rennen h\u00e4tten?",
+ "Sollen wir spazieren gehen?"
+ ],
+ "ahead1": [
+ "Ach nein !",
+ "Verdammt, das ist nicht m\u00f6glich!",
+ "Aber ich werde nicht dorthin gelangen ...",
+ "Und Schei\u00dfe ...",
+ "Warum du ?"
+ ],
+ "ahead2": [
+ "Hee hee hee",
+ "Dieser ist f\u00fcr mich!",
+ "Ich werde es haben !",
+ "Sie ist f\u00fcr mich!",
+ "Es geh\u00f6rt mir !"
+ ],
+ "won1": [
+ "Gute Partie !",
+ "Schade f\u00fcr mich ...",
+ "Ich h\u00e4tte hoffen k\u00f6nnen ...",
+ "Aber es ist nicht sehr sch\u00f6n!",
+ "Gut gemacht !"
+ ],
+ "won2": [
+ "Ich habe es dir gesagt !",
+ "Als h\u00e4tte ich dich nicht gewarnt!",
+ "Ich habe gewonnen !",
+ "Gro\u00dfartig, ich habe es gewonnen!",
+ "Und noch eine f\u00fcr mich!"
+ ],
+ "wall1": [
+ "Ah ah!",
+ "Na dann, gehen wir nicht richtig?",
+ "Autsch",
+ "Es muss weh tun ...",
+ "Splaf, kein Hindernis!"
+ ],
+ "wall2": [
+ "Scheisse",
+ "Poop",
+ "Nicht m\u00f6glich",
+ "Puti"
+ ],
+ "start": [
+ "Ich werde Spa\u00df haben!",
+ "Du wirst sehen, ich werde dich zu einem dieser Rennen machen!",
+ "Erz\u00e4hl mir Neuigkeiten",
+ "Lass uns gehen!",
+ "Auf geht's !",
+ "Wooo, vorw\u00e4rts!"
+ ]
+ },
+ "discord": {
+ "credits": [
+ "Warten",
+ "Im Abspann"
+ ],
+ "game": [
+ "Anteil",
+ "Solo-Modus",
+ "Versus-Modus",
+ "In der Pause"
+ ],
+ "intro": [
+ "In der Warteschleife",
+ "Zur Einf\u00fchrung"
+ ],
+ "settings": [
+ "In der Warteschleife",
+ "In den Parametern"
+ ],
+ "win": [
+ "Ich habe gerade gewonnen.",
+ "Hat gerade verloren."
+ ]
+ },
+ "intro": [
+ "Tippen Sie auf Eingabe zum Starten",
+ "Dr\u00fccken Sie A, um zu beginnen"
+ ],
+ "game": {
+ "credits": {
+ "by": "durch"
+ },
+ "gpause": {
+ "title": "Spiel in der Pause",
+ "continueg": "Weiter",
+ "showhb": "Hitbox anzeigen",
+ "hidehb": "Hitbox ausblenden",
+ "quit": "Verlassen"
+ }
+ },
+ "menu": {
+ "titles": [
+ "Solo",
+ "Versus",
+ "Optionen",
+ "Mittel",
+ "Verlassen"
+ ],
+ "descriptions": [
+ "Spielen Sie allein und offline gegen einen Roboter",
+ "Zu zweit auf dem gleichen Bildschirm spielen",
+ "Zoom und Einstellungen \u00e4ndern",
+ "Liste der Autoren des Spiels anzeigen",
+ "Das Spiel schlie\u00dfen und zur\u00fcck zu"
+ ],
+ "distribute": "Nicht verteilen"
+ },
+ "settings": {
+ "title": "Optionen",
+ "back": "Zur\u00fcck",
+ "size": "Gr\u00f6\u00dfe der Schnittstelle",
+ "music": "Musik aktivieren",
+ "lang": "Sprache",
+ "voice": "Stimme aktivieren",
+ "yes": "Ja, ja",
+ "no": "nein, nein",
+ "notice": "Die Parameter werden erst nach dem Neustart von Kartik angewendet"
+ },
+ "win": {
+ "solo": {
+ "win": "Sie haben gewonnen!",
+ "lose": "Sie haben verloren!"
+ },
+ "versus": "Spieler 0 hat gewonnen!",
+ "quit": [
+ "Tippen Sie auf \"\u00c9chap\", um zu verlassen",
+ "Dr\u00fccken Sie B, um zu verlassen"
+ ]
+ },
+ "online": {
+ "menu": {
+ "local": "Lokal",
+ "online": "Online",
+ "dlocal": "Mit einem Freund auf der gleichen Maschine spielen",
+ "donline": "Mit einem Freund auf verschiedenen Maschinen spielen"
+ },
+ "error": {
+ "connection": "Fehler bei der Kommunikation",
+ "disconnect": "Offline"
+ },
+ "connecting": "Verbindung zum Server...",
+ "intro": {
+ "create": "Ein Teil erstellen",
+ "pcreate": "Geben Sie ihrem Partner diesen Code, damit er sich mit Ihrem Teil verbinden kann:",
+ "join": "Einem Teil beitreten",
+ "pjoin": "Geben Sie den Code Ihres Teamkollegen ein, um sich seinem Spiel anzuschlie\u00dfen:"
+ },
+ "disconnected": "Verbindung verloren",
+ "unable": "Mit dem Server kann keine Verbindung m\u00f6glich sein",
+ "internal": "Internes Systemfehler",
+ "loading": "Vorbereitung des Spiels...",
+ "discord": "Online",
+ "generate": "Laden Sie das Grundst\u00fcck...",
+ "discord2": "Trifft auf einen Fehler",
+ "timeout": "Die Wartezeit wurde \u00fcberschritten",
+ "aborted": "Der andere Spieler verlie\u00df das Spiel",
+ "car0": "Ihr Auto",
+ "car1": "Sein Auto"
+ }
+} \ No newline at end of file
diff --git a/lang/en.json b/lang/en.json
new file mode 100644
index 0000000..37feb2d
--- /dev/null
+++ b/lang/en.json
@@ -0,0 +1,191 @@
+{
+ "_name": "English",
+ "crash": {
+ "title": "Kartik Crash Reporter",
+ "head": "Kartik stopped working",
+ "intro": "Kartik encountered a problem and exited unexpectedly. We recorded some additional information, and a crash report has been automatically sent to the developers if you were connected to the Internet.",
+ "report": [
+ "Alternately, a crash report has been created in « ",
+ " », so that you can send it to the developers when you will have Internet access."
+ ],
+ "close": "Close",
+ "reset": "Reset Kartik and close"
+ },
+ "updates": {
+ "ok": "Up to date",
+ "available": "Game updates available",
+ "git": "Running trunk version",
+ "error": "Unable to check for updates",
+ "wait": "Checking for updates...",
+ "warn": [
+ "Updates available",
+ "Download the new version of Kartik from the official website to get the newest features and bug fixes."
+ ]
+ },
+ "scenario": {
+ "intro": [
+ "Heyo, what about a lil race?",
+ "Hey, you're back! What 'bout a lil race?",
+ "Shall we do a lil race?",
+ "Have a race?"
+ ],
+ "ahead1": [
+ "Oh no!",
+ "Aw shit, that's not possible!",
+ "But I won't get it...",
+ "Damnit...",
+ "Why you?"
+ ],
+ "ahead2": [
+ "Hey hey hey",
+ "This one's for me!",
+ "I'll get it!",
+ "It's for me!",
+ "For me!"
+ ],
+ "won1": [
+ "Good game!",
+ "Nevermind...",
+ "At least I hoped...",
+ "But, that's not kind!",
+ "Congrats!"
+ ],
+ "won2": [
+ "I told ya!",
+ "As if I hadn't told you!",
+ "I won!",
+ "Great, I won this one!",
+ "And one more for me!"
+ ],
+ "wall1": [
+ "Hey hey!",
+ "Well then, you don't drive well?",
+ "Ouch",
+ "That must've hurt...",
+ "Ouch, in the wall..."
+ ],
+ "wall2": [
+ "Damnit...",
+ "Well...",
+ "Impossible",
+ "Aw crap"
+ ],
+ "start": [
+ "Let's get you airborne!",
+ "You'll see, I'll make you one of those races!",
+ "You'll tell me what ya think",
+ "Let's go!",
+ "And, let's go!",
+ "Wooo, right away!"
+ ]
+ },
+ "discord": {
+ "credits": [
+ "Waiting",
+ "Viewing the credits"
+ ],
+ "game": [
+ "In game",
+ "Singleplayer",
+ "Versus",
+ "Paused"
+ ],
+ "intro": [
+ "Waiting",
+ "On the intro"
+ ],
+ "settings": [
+ "Waiting",
+ "In the settings"
+ ],
+ "win": [
+ "Just won",
+ "Just lost"
+ ]
+ },
+ "intro": [
+ "Press Enter to start",
+ "Press A to start"
+ ],
+ "game": {
+ "credits": {
+ "by": "by"
+ },
+ "gpause": {
+ "title": "Game Paused",
+ "continueg": "Continue",
+ "showhb": "Show hitboxes",
+ "hidehb": "Hide hitboxes",
+ "quit": "Quit"
+ }
+ },
+ "menu": {
+ "titles": [
+ "Singleplayer",
+ "Versus",
+ "Settings",
+ "Credits",
+ "Quit"
+ ],
+ "descriptions": [
+ "Play alone and offline against a robot",
+ "Play with a friend on one screen",
+ "Change zoom and other settings",
+ "View game authors list",
+ "Close the game and return to"
+ ],
+ "distribute": "Do not distribute"
+ },
+ "settings": {
+ "title": "Settings",
+ "back": "Back",
+ "size": "Interface size",
+ "music": "Enable music",
+ "lang": "Language",
+ "voice": "Enable voice",
+ "yes": "yes",
+ "no": "no",
+ "notice": "Changed settings won't apply until you restart Kartik"
+ },
+ "win": {
+ "solo": {
+ "win": "You win!",
+ "lose": "You lose!"
+ },
+ "versus": "Player 0 win!",
+ "quit": [
+ "Press Esc to quit",
+ "Press B to quit"
+ ]
+ },
+ "online": {
+ "menu": {
+ "local": "Local",
+ "online": "Online",
+ "dlocal": "Play with a friend on the same computer",
+ "donline": "Play with a friend on different computers"
+ },
+ "error": {
+ "connection": "Communication Error",
+ "disconnect": "Disconnected"
+ },
+ "connecting": "Connecting to server...",
+ "intro": {
+ "create": "Create a party",
+ "join": "Join a party",
+ "pcreate": "Give this code to your teammate so they can connect to your party:",
+ "pjoin": "Enter the code your teammate gave to connect to their party:"
+ },
+ "disconnected": "Connection Lost",
+ "unable": "Unable to connect to server",
+ "internal": "Internal System Error",
+ "loading": "Preparing to play...",
+ "discord": "Online",
+ "generate": "Loading terrain...",
+ "discord2": "Facing an error",
+ "timeout": "The connection timed out",
+ "aborted": "The other player ended the game",
+ "car0": "Your car",
+ "car1": "Their car"
+ }
+}
diff --git a/lang/es.json b/lang/es.json
new file mode 100644
index 0000000..b505752
--- /dev/null
+++ b/lang/es.json
@@ -0,0 +1,180 @@
+{
+ "_name": "Español",
+ "updates": {
+ "ok": "Al día",
+ "available": "Actualizaciones de juegos disponibles",
+ "git": "Ejecutando la versión trunk",
+ "error": "No se puede buscar actualizaciones",
+ "wait": "Comprobando actualizaciones ...",
+ "warn": [
+ "Hay actualizaciones disponibles",
+ "Descargue la nueva versión de Kartik del sitio web oficial para beneficiarse de las últimas funciones y correcciones de errores."
+ ]
+ },
+ "scenario": {
+ "intro": [
+ "Oye, ¿qué tal una pequeña carrera?",
+ "¡Oye, has vuelto! ¿Qué tal una pequeña carrera?",
+ "¿Hacemos una pequeña carrera?",
+ "¿Tenemos una carrera?"
+ ],
+ "ahead1": [
+ "¡Oh no!",
+ "¡Oh mierda, eso no es posible!",
+ "Pero no lo conseguiré ...",
+ "Maldita sea...",
+ "¿Por qué tú?"
+ ],
+ "ahead2": [
+ "Hey hey hey",
+ "¡Este es para mí!",
+ "¡Lo conseguiré!",
+ "¡Es para mi!",
+ "¡Para mí!"
+ ],
+ "won1": [
+ "¡Buen juego!",
+ "No importa...",
+ "Al menos esperaba ...",
+ "¡Pero eso no es amable!",
+ "¡Felicitaciones!"
+ ],
+ "won2": [
+ "¡Te lo dije!",
+ "¡Como si no te lo hubiera dicho!",
+ "¡Gané!",
+ "¡Genial, gané este!",
+ "¡Y uno más para mí!"
+ ],
+ "wall1": [
+ "¡Oye, oye!",
+ "Bueno entonces, ¿no conduces bien?",
+ "Ay",
+ "Eso debe haber dolido ...",
+ "Ay, en la pared ..."
+ ],
+ "wall2": [
+ "Maldita sea...",
+ "Bien...",
+ "Imposible",
+ "Oh mierda"
+ ],
+ "start": [
+ "¡Vamos a ponerte en el aire!",
+ "¡Ya verás, te haré una de esas carreras!",
+ "Me dirás lo que piensas",
+ "¡Vamos!",
+ "¡Y vamos!",
+ "¡Wooo, ahora mismo!"
+ ]
+ },
+ "discord": {
+ "credits": [
+ "Espera",
+ "Ver los créditos"
+ ],
+ "game": [
+ "En el juego",
+ "Un solo jugador",
+ "Versus",
+ "Pausado"
+ ],
+ "intro": [
+ "Espera",
+ "En la introducción"
+ ],
+ "settings": [
+ "Espera",
+ "En la configuración"
+ ],
+ "win": [
+ "Acaba de ganar",
+ "Acaba de perder"
+ ]
+ },
+ "intro": [
+ "Presiona Enter para comenzar",
+ "Presiona A para comenzar"
+ ],
+ "game": {
+ "credits": {
+ "by": "por"
+ },
+ "gpause": {
+ "title": "Juego en pausa",
+ "continueg": "Continuar",
+ "showhb": "Mostrar hitboxes",
+ "hidehb": "Ocultar hitboxes",
+ "quit": "Salir"
+ }
+ },
+ "menu": {
+ "titles": [
+ "Solo",
+ "Versus",
+ "Ajustes",
+ "Créditos",
+ "Renunciar"
+ ],
+ "descriptions": [
+ "Juega solo y sin conexión contra un robot",
+ "Juega con un amigo en una pantalla",
+ "Cambiar el zoom y otras configuraciones",
+ "Ver lista de autores de juegos",
+ "Cierra el juego y vuelve a"
+ ],
+ "distribute": "No distribuir"
+ },
+ "settings": {
+ "title": "Configuración",
+ "back": "Atras",
+ "size": "Tamaño de la interfaz",
+ "music": "Habilitar música",
+ "lang": "Idioma",
+ "voice": "Activar voz",
+ "yes": "sí",
+ "no": "no",
+ "notice": "La configuración modificada no se aplicará hasta que reinicie Kartik"
+ },
+ "win": {
+ "solo": {
+ "win": "¡Tú ganas!",
+ "lose": "¡Tú pierdes!"
+ },
+ "versus": "¡El jugador 0 gana!",
+ "quit": [
+ "Presione Esc para salir",
+ "Presiona B para salir"
+ ]
+ },
+ "online": {
+ "menu": {
+ "local": "Local",
+ "online": "Online",
+ "dlocal": "Juega con un amigo en la misma máquina",
+ "donline": "Juega con un amigo en diferentes máquinas"
+ },
+ "error": {
+ "connection": "Error de comunicación",
+ "disconnect": "Desconectado"
+ },
+ "connecting": "Conexión al servidor ...",
+ "intro": {
+ "create": "Crea un juego",
+ "pcreate": "Dale este código a tu compañero de equipo para que se conecte a tu juego:",
+ "join": "Únete a un juego",
+ "pjoin": "Ingresa el código de tu compañero de equipo para unirse a su juego:"
+ },
+ "disconnected": "Conexión perdida",
+ "unable": "No se puede conectar al servidor",
+ "internal": "Error interno del sistema",
+ "loading": "Preparación del juego ...",
+ "discord": "En línea",
+ "generate": "Cargando el campo ...",
+ "discord2": "Se encontró un error",
+ "timeout": "Se ha excedido el tiempo de espera",
+ "aborted": "El otro jugador ha abandonado el juego",
+ "car0": "Tu auto",
+ "car1": "Su auto"
+ }
+}
diff --git a/lang/fr.json b/lang/fr.json
new file mode 100644
index 0000000..afcdaed
--- /dev/null
+++ b/lang/fr.json
@@ -0,0 +1,191 @@
+{
+ "_name": "Français",
+ "crash": {
+ "title": "Rapporteur de plantages de Kartik",
+ "head": "Kartik a cessé de fonctionner",
+ "intro": "Kartik a rencontré un problème et s'est arrêté inopinément. Nous avons collecté des informations supplémentaires, et un rapport de plantage a automatiquement été envoyé aux développeurs si vous étiez connecté à Internet.",
+ "report": [
+ "De plus, un rapport de plantage a été créé dans « ",
+ " », afin que vous puissiez l'envoyer aux développeurs lorsque vous aurez accès à Internet."
+ ],
+ "close": "Fermer",
+ "reset": "Réinitialiser Kartik et fermer"
+ },
+ "updates": {
+ "ok": "À jour",
+ "available": "Mises à jour du jeu disponibles",
+ "git": "Exécution de la version trunk",
+ "error": "Impossible de rechercher les mises à jour",
+ "wait": "Recherche de mises à jour...",
+ "warn": [
+ "Des mises à jour sont disponibles",
+ "Téléchargez la nouvelle version de Kartik depuis le site officiel pour bénéficier des dernières fonctionnalités et corrections de bugs."
+ ]
+ },
+ "scenario": {
+ "intro": [
+ "Hey, salut, ça te dit une petite course ?",
+ "Ah, te revoilà ! Ça te dit une petite course ?",
+ "Et si on se faisait une petite course ?",
+ "On fait un tour ?"
+ ],
+ "ahead1": [
+ "Oh non !",
+ "Putain, c'est pas possible !",
+ "Mais je vais pas y arriver...",
+ "Et merde...",
+ "Pourquoi toi ?"
+ ],
+ "ahead2": [
+ "Hi hi hi",
+ "Celle-là est pour moi !",
+ "Je l'aurai !",
+ "Elle est pour moi !",
+ "C'est à moi !"
+ ],
+ "won1": [
+ "Bien joué !",
+ "Tant pis pour moi...",
+ "J'aurai pu espérer...",
+ "Mais, c'est pas très sympa !",
+ "Bravo !"
+ ],
+ "won2": [
+ "Je te l'avais dit !",
+ "Comme si je t'avais pas prévenu !",
+ "J'ai gagné !",
+ "Génial, je l'ai gagnée !",
+ "Et une de plus pour moi !"
+ ],
+ "wall1": [
+ "Ah ah !",
+ "Bah alors, on va pas droit ?",
+ "Ouch",
+ "Ça doit faire mal...",
+ "Splaf, c't'obstacle !"
+ ],
+ "wall2": [
+ "Merde",
+ "Crotte",
+ "Pas possible",
+ "Puti"
+ ],
+ "start": [
+ "Je vais t'éclater !",
+ "Tu vas voir, je vais t'en faire une de ces courses !",
+ "Tu m'en diras des nouvelles",
+ "Allons-y !",
+ "Et, c'est parti !",
+ "Wooo, en avant !"
+ ]
+ },
+ "discord": {
+ "credits": [
+ "En attente",
+ "Dans les crédits"
+ ],
+ "game": [
+ "En jeu",
+ "Mode Solo",
+ "Mode Versus",
+ "En pause"
+ ],
+ "intro": [
+ "En attente",
+ "Sur l'introduction"
+ ],
+ "settings": [
+ "En attente",
+ "Dans les paramètres"
+ ],
+ "win": [
+ "Vient de gagner",
+ "Vient de perdre"
+ ]
+ },
+ "intro": [
+ "Appuyez sur Entrée pour commencer",
+ "Appuyez sur A pour commencer"
+ ],
+ "game": {
+ "credits": {
+ "by": "par"
+ },
+ "gpause": {
+ "title": "Jeu en pause",
+ "continueg": "Continuer",
+ "showhb": "Afficher hitbox",
+ "hidehb": "Masquer hitbox",
+ "quit": "Quitter"
+ }
+ },
+ "menu": {
+ "titles": [
+ "Solo",
+ "Versus",
+ "Options",
+ "Crédits",
+ "Quitter"
+ ],
+ "descriptions": [
+ "Jouer seul et hors ligne contre un robot",
+ "Jouer à deux sur le même écran",
+ "Modifier le zoom et les paramètres",
+ "Afficher la liste des auteurs du jeu",
+ "Fermer le jeu et retourner à"
+ ],
+ "distribute": "Ne pas distribuer"
+ },
+ "settings": {
+ "title": "Options",
+ "back": "Retour",
+ "size": "Taille de l'interface",
+ "music": "Activer la musique",
+ "lang": "Langue",
+ "voice": "Activer la voix",
+ "yes": "oui",
+ "no": "non",
+ "notice": "Les paramètres ne seront appliqués qu'après le redémarrage de Kartik"
+ },
+ "win": {
+ "solo": {
+ "win": "Vous avez gagné !",
+ "lose": "Vous avez perdu !"
+ },
+ "versus": "Joueur 0 a gagné !",
+ "quit": [
+ "Appuyez sur Échap pour quitter",
+ "Appuyez sur B pour quitter"
+ ]
+ },
+ "online": {
+ "menu": {
+ "local": "Local",
+ "online": "En ligne",
+ "dlocal": "Jouer avec un ami sur la même machine",
+ "donline": "Jouer avec un ami sur des machines différentes"
+ },
+ "error": {
+ "connection": "Erreur de communication",
+ "disconnect": "Déconnecté"
+ },
+ "connecting": "Connexion au serveur...",
+ "intro": {
+ "create": "Créer une partie",
+ "pcreate": "Donnez ce code à votre coéquipier pour qu'il se connecte à votre partie :",
+ "join": "Rejoindre une partie",
+ "pjoin": "Entrez le code de votre coéquipier pour rejoindre sa partie :"
+ },
+ "disconnected": "Connexion perdue",
+ "unable": "Impossible de se connecter au serveur",
+ "internal": "Erreur système interne",
+ "loading": "Préparation de la partie...",
+ "discord": "En ligne",
+ "generate": "Chargement du terrain...",
+ "discord2": "Rencontre une erreur",
+ "timeout": "Le délai d'attente a été dépassé",
+ "aborted": "L'autre joueur à quitté la partie",
+ "car0": "Votre voiture",
+ "car1": "Sa voiture"
+ }
+}
diff --git a/lang/it.json b/lang/it.json
new file mode 100644
index 0000000..d6c7f2a
--- /dev/null
+++ b/lang/it.json
@@ -0,0 +1,191 @@
+{
+ "_name": "Francese",
+ "crash": {
+ "title": "Kartik Crash Reporter",
+ "head": "Kartik ha smesso di funzionare",
+ "intro": "Kartik ha riscontrato un problema e si \u00e8 fermato inaspettatamente. ",
+ "report": [
+ "Inoltre, \u00e8 stato creato un rapporto sugli arresti anomali in \"",
+ "In modo che tu possa inviarlo agli sviluppatori quando hai accesso a Internet."
+ ],
+ "close": "Chiudere",
+ "reset": "Resetta Kartik e chiudi"
+ },
+ "updates": {
+ "ok": "Aggiornato",
+ "available": "Aggiornamenti del gioco disponibili",
+ "git": "Esecuzione della versione bagagliaio",
+ "error": "Impossibile controllare gli aggiornamenti",
+ "wait": "Verifica aggiornamenti ...",
+ "warn": [
+ "Sono disponibili aggiornamenti",
+ "Scarica la nuova versione di Kartik dal sito ufficiale per beneficiare delle ultime funzionalit\u00e0 e correzioni di bug."
+ ]
+ },
+ "scenario": {
+ "intro": [
+ "Ehi, ciao, che ne dici di una corsa veloce?",
+ "Ah, eccoti di nuovo! ",
+ "E se facessimo una piccola gara?",
+ "Facciamo una passeggiata?"
+ ],
+ "ahead1": [
+ "Oh no!",
+ "Dannazione, non \u00e8 possibile!",
+ "Ma non ci arriver\u00f2 ...",
+ "E merda ...",
+ "Perche tu ?"
+ ],
+ "ahead2": [
+ "Ih ih ih",
+ "Questo \u00e8 per me!",
+ "Lo avr\u00f2!",
+ "Lei \u00e8 per me!",
+ "\u00c8 mio !"
+ ],
+ "won1": [
+ "Bel gioco !",
+ "Peccato per me ...",
+ "Avrei potuto sperare ...",
+ "Ma non \u00e8 molto carino!",
+ "Ben fatto !"
+ ],
+ "won2": [
+ "Te l'avevo detto !",
+ "Come se non ti avessi avvertito!",
+ "Ho vinto !",
+ "Fantastico, l'ho vinto!",
+ "E ancora uno per me!"
+ ],
+ "wall1": [
+ "Ah ah!",
+ "Ebbene, non stiamo andando bene?",
+ "Ahia",
+ "Deve far male ...",
+ "Splaf, c't'ostacle!"
+ ],
+ "wall2": [
+ "Merda",
+ "Cacca",
+ "Non possibile",
+ "Puti"
+ ],
+ "start": [
+ "Mi divertir\u00f2!",
+ "Vedrai, ti far\u00f2 una di quelle gare!",
+ "Dimmi qualche notizia",
+ "Andiamo!",
+ "Eccoci qui !",
+ "Wooo, avanti!"
+ ]
+ },
+ "discord": {
+ "credits": [
+ "In attesa",
+ "Nei titoli di coda"
+ ],
+ "game": [
+ "Palo",
+ "Modalit\u00e0 Solo",
+ "Modalit\u00e0 Versus",
+ "In pausa"
+ ],
+ "intro": [
+ "In attesa",
+ "Circa l'introduzione"
+ ],
+ "settings": [
+ "In attesa",
+ "Nelle impostazioni"
+ ],
+ "win": [
+ "Appena vinto",
+ "Appena perso"
+ ]
+ },
+ "intro": [
+ "Toccare Voce per iniziare",
+ "Premere A per iniziare"
+ ],
+ "game": {
+ "credits": {
+ "by": "presso"
+ },
+ "gpause": {
+ "title": "Gioco in pausa",
+ "continueg": "continuare",
+ "showhb": "Mostra hitbox",
+ "hidehb": "Nascondi hitbox",
+ "quit": "Lasciare"
+ }
+ },
+ "menu": {
+ "titles": [
+ "assolo",
+ "contro",
+ "Opzioni",
+ "Crediti",
+ "Lasciare"
+ ],
+ "descriptions": [
+ "Giocare da soli e offline contro un robot",
+ "Riproduci due sullo stesso schermo",
+ "Modificare lo zoom e le impostazioni",
+ "Visualizza elenco di autori di giochi",
+ "Chiudere la partita e tornare a"
+ ],
+ "distribute": "Non distribuire"
+ },
+ "settings": {
+ "title": "Opzioni",
+ "back": "ritorno",
+ "size": "Dimensioni interfaccia",
+ "music": "Attivare la musica",
+ "lang": "lingua",
+ "voice": "Attivare la voce",
+ "yes": "s\u00ec",
+ "no": "No",
+ "notice": "Le impostazioni non verranno applicate fino a dopo il riavvio di Kartik"
+ },
+ "win": {
+ "solo": {
+ "win": "Hai vinto!",
+ "lose": "Hai perso!"
+ },
+ "versus": "Giocatore 0 ha vinto!",
+ "quit": [
+ "Premere ESC per andarsene",
+ "Premere B per uscire"
+ ]
+ },
+ "online": {
+ "menu": {
+ "local": "locale",
+ "online": "in linea",
+ "dlocal": "Giocare con un amico sulla stessa macchina",
+ "donline": "Giocare con un amico su macchine diverse"
+ },
+ "error": {
+ "connection": "Errore di comunicazione",
+ "disconnect": "sconnesso"
+ },
+ "connecting": "Connessione al server in corso...",
+ "intro": {
+ "create": "Creare un gioco",
+ "pcreate": "Dai questo codice al tuo compagno di squadra per connetterti al tuo gioco:",
+ "join": "Partecipa a una partita",
+ "pjoin": "Inserisci il codice del tuo compagno di squadra per unirti al suo gioco:"
+ },
+ "disconnected": "Connessione persa",
+ "unable": "Non \u00e8 possibile connettersi al server",
+ "internal": "Errore interno del sistema",
+ "loading": "Prepararsi per il gioco...",
+ "discord": "in linea",
+ "generate": "Caricare il terreno...",
+ "discord2": "Incontra un errore",
+ "timeout": "Il tempo di attesa \u00e8 stato superato",
+ "aborted": "L'altro giocatore ha lasciato il gioco",
+ "car0": "La tua auto",
+ "car1": "La sua auto"
+ }
+} \ No newline at end of file
diff --git a/lang/jp.json b/lang/jp.json
new file mode 100644
index 0000000..ccf83ed
--- /dev/null
+++ b/lang/jp.json
@@ -0,0 +1,191 @@
+{
+ "_name": "\u30d5\u30e9\u30f3\u30b9\u8a9e",
+ "crash": {
+ "title": "\u30ab\u30eb\u30c6\u30a3\u30af\u30af\u30e9\u30c3\u30b7\u30e5\u30ec\u30dd\u30fc\u30bf\u30fc",
+ "head": "\u30ab\u30eb\u30c6\u30a3\u30af\u306f\u4ed5\u4e8b\u3092\u3084\u3081\u305f",
+ "intro": "Kartik \u306f\u554f\u984c\u306b\u906d\u9047\u3057\u3001\u4e88\u671f\u305b\u305a\u505c\u6b62\u3057\u307e\u3057\u305f\u3002\u8ffd\u52a0\u60c5\u5831\u3092\u53ce\u96c6\u3057\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306b\u63a5\u7d9a\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u30af\u30e9\u30c3\u30b7\u30e5 \u30ec\u30dd\u30fc\u30c8\u304c\u81ea\u52d5\u7684\u306b\u958b\u767a\u8005\u306b\u9001\u4fe1\u3055\u308c\u307e\u3057\u305f\u3002",
+ "report": [
+ "\u3055\u3089\u306b\u3001\u30af\u30e9\u30c3\u30b7\u30e5 \u30ec\u30dd\u30fc\u30c8\u306f\u3001",
+ "\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u5834\u5408\u306f\u3001\u958b\u767a\u8005\u306b\u9001\u4fe1\u3067\u304d\u307e\u3059\u3002"
+ ],
+ "close": "\u9589\u3081\u308b",
+ "reset": "\u30ab\u30eb\u30c6\u30a3\u30c3\u30af\u3092\u30ea\u30bb\u30c3\u30c8\u3057\u3066\u9589\u3058\u308b"
+ },
+ "updates": {
+ "ok": "\u6700\u65b0\u3067\u3059",
+ "available": "\u5229\u7528\u53ef\u80fd\u306a\u30b2\u30fc\u30e0\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8",
+ "git": "\u30c8\u30e9\u30f3\u30af \u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u5b9f\u884c",
+ "error": "\u66f4\u65b0\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093",
+ "wait": "\u66f4\u65b0\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u691c\u7d22\u3057\u307e\u3059\u3002",
+ "warn": [
+ "\u66f4\u65b0\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u5229\u7528\u53ef\u80fd\u3067\u3059",
+ "\u6700\u65b0\u306e\u6a5f\u80fd\u3068\u30d0\u30b0\u4fee\u6b63\u306e\u305f\u3081\u306e\u516c\u5f0f\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u304b\u3089Kartik\u306e\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002"
+ ]
+ },
+ "scenario": {
+ "intro": [
+ "\u306d\u3048\u3001\u3053\u3093\u306b\u3061\u306f\u3001\u5c11\u3057\u8d70\u308b\u306e\u306f\u3069\u3046\u3067\u3059\u304b?",
+ "\u3042\u3042\u3001\u3053\u3053\u3067\u3042\u306a\u305f\u306f\u518d\u3073\u3067\u3059!\u5c11\u3057\u8d70\u308b\u306e\u306f\u3069\u3046\u3067\u3059\u304b?",
+ "\u5c11\u3057\u8d70\u308a\u307e\u305b\u3093\u304b\u3002",
+ "\u79c1\u305f\u3061\u306f\u6563\u6b69\u306b\u884c\u304f\u3064\u3082\u308a\u3067\u3059\u304b?"
+ ],
+ "ahead1": [
+ "\u3042\u3042\u9055\u3044\u307e\u3059\uff01",
+ "\u5730\u7344\u3001\u305d\u308c\u306f\u4e0d\u53ef\u80fd\u3067\u3059!",
+ "\u3057\u304b\u3057\u3001\u79c1\u306f\u305d\u308c\u3092\u4f5c\u308b\u3064\u3082\u308a\u306f\u3042\u308a\u307e\u305b\u3093.",
+ "\u304a\u3084\u3002\u3002\u3002",
+ "\u3069\u3046\u3057\u3066\u305d\u3093\u306a\u3053\u3068\u3092\u3057\u306a\u306a\u306e?"
+ ],
+ "ahead2": [
+ "\u3053\u3093\u306b\u3061\u306f\u3053\u3093\u306b\u3061\u306f",
+ "\u3053\u308c\u306f\u79c1\u306e\u305f\u3081\u306e\u3082\u306e\u3067\u3059!",
+ "\u53d6\u3063\u3066\u304d\u307e\u3059\uff01",
+ "\u305d\u308c\u306f\u79c1\u306e\u305f\u3081\u3067\u3059!",
+ "\u79c1\u306e\u3058\u3083\u3042\u308a\u307e\u305b\u3093\uff01"
+ ],
+ "won1": [
+ "\u3088\u304f\u3084\u308a\u307e\u3057\u305f\u306d\uff01",
+ "\u79c1\u306b\u306f\u6b8b\u5ff5\u3067\u3059.",
+ "\u79c1\u306f\u671b\u3080\u3053\u3068\u304c\u3067\u304d\u305f.",
+ "\u3057\u304b\u3057\u3001\u305d\u308c\u306f\u975e\u5e38\u306b\u826f\u3044\u3067\u306f\u3042\u308a\u307e\u305b\u3093!",
+ "\u3088\u304f\u3084\u308a\u307e\u3057\u305f\u306d\uff01"
+ ],
+ "won2": [
+ "\u8a00\u3063\u305f\u3067\u3057\u3087\u3046\uff01",
+ "\u3042\u305f\u304b\u3082\u79c1\u304c\u3042\u306a\u305f\u306b\u8b66\u544a\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u304b\u306e\u3088\u3046\u306b!",
+ "\u79c1\u304c\u52dd\u3061\u307e\u3057\u305f\uff01",
+ "\u7d20\u6674\u3089\u3057\u3044\u3001\u79c1\u306f\u305d\u308c\u3092\u7372\u5f97\u3057\u307e\u3057\u305f!",
+ "\u305d\u3057\u3066\u3001\u79c1\u306e\u305f\u3081\u306b\u3082\u3046\u4e00\u3064!"
+ ],
+ "wall1": [
+ "\u3042\u3042\u3042\u3042\uff01",
+ "\u3058\u3083\u3042\u3001\u307e\u3063\u3059\u3050\u884c\u304b\u306a\u3044\u306e?",
+ "\u75db\u3044",
+ "\u305d\u308c\u306f\u50b7\u3064\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059.",
+ "\u30b9\u30d7\u30e9\u30d5\u3001\u305d\u308c\u304c\u969c\u5bb3\u3060!"
+ ],
+ "wall2": [
+ "\u3061\u304f\u3057\u3087\u3046",
+ "\u3084\u3070\u3044",
+ "\u305d\u3093\u306a\u7b48\u306f\u3042\u308a\u307e\u305b\u3093",
+ "\u30d7\u30fc\u30c6\u30a3"
+ ],
+ "start": [
+ "\u79c1\u306f\u3042\u306a\u305f\u3092\u5439\u304d\u98db\u3070\u3059\u3064\u3082\u308a\u3067\u3059!",
+ "\u3042\u306a\u305f\u304c\u898b\u308b\u3067\u3057\u3087\u3046\u3001\u79c1\u306f\u3042\u306a\u305f\u306b\u305d\u308c\u3089\u306e\u30ec\u30fc\u30b9\u306e\u4e00\u3064\u3092\u4f5c\u308a\u307e\u3059!",
+ "\u3042\u306a\u305f\u306f\u79c1\u306b\u3044\u304f\u3064\u304b\u306e\u30cb\u30e5\u30fc\u30b9\u3092\u6559\u3048\u3066\u304f\u308c\u307e\u3059",
+ "\u884c\u304d\u307e\u3057\u3087\u3046\uff01",
+ "\u3055\u3042\u59cb\u3081\u307e\u3059\uff01",
+ "\u30a6\u30fc\u3001\u524d\u9032!"
+ ]
+ },
+ "discord": {
+ "credits": [
+ "\u5f85\u3064\u3053\u3068",
+ "\u30af\u30ec\u30b8\u30c3\u30c8\u3067"
+ ],
+ "game": [
+ "\u5371\u967a\u306b\u3055\u3089\u3055\u308c\u3066\u3044\u308b",
+ "\u30e2\u30fc\u30c9\u30bd\u30ed",
+ "\u30e2\u30fc\u30c9\u5bfe",
+ "\u4e00\u6642\u505c\u6b62\u4e2d"
+ ],
+ "intro": [
+ "\u5f85\u3064\u3053\u3068",
+ "\u5c0e\u5165\u306b\u3064\u3044\u3066"
+ ],
+ "settings": [
+ "\u5f85\u3064\u3053\u3068",
+ "\u8a2d\u5b9a\u3067"
+ ],
+ "win": [
+ "\u3061\u3087\u3046\u3069\u52dd\u3063\u305f",
+ "\u3061\u3087\u3046\u3069\u5931\u308f\u308c\u305f"
+ ]
+ },
+ "intro": [
+ "[\u30a8\u30f3\u30c8\u30ea]\u3092\u30bf\u30c3\u30d7\u3057\u3066\u958b\u59cb\u3057\u307e\u3059\u3002",
+ "\u958b\u59cb\u3059\u308b\u306b\u306f A \u3092\u62bc\u3057\u307e\u3059\u3002"
+ ],
+ "game": {
+ "credits": {
+ "by": "\u306b\u3088\u3063\u3066"
+ },
+ "gpause": {
+ "title": "\u4e00\u6642\u505c\u6b62\u4e2d\u306e\u30b2\u30fc\u30e0",
+ "continueg": "\u7d9a\u3051\u308b",
+ "showhb": "\u30d2\u30c3\u30c8\u30dc\u30c3\u30af\u30b9\u3092\u8868\u793a\u3059\u308b",
+ "hidehb": "\u30d2\u30c3\u30c8\u30dc\u30c3\u30af\u30b9\u3092\u975e\u8868\u793a\u306b\u3059\u308b",
+ "quit": "\u3053\u3053\u3092\u51fa\u307e\u3059"
+ }
+ },
+ "menu": {
+ "titles": [
+ "\u30bd\u30ed",
+ "\u5bfe",
+ "\u30aa\u30d7\u30b7\u30e7\u30f3",
+ "\u30af\u30ec\u30b8\u30c3\u30c8",
+ "\u3053\u3053\u3092\u51fa\u307e\u3059"
+ ],
+ "descriptions": [
+ "\u30ed\u30dc\u30c3\u30c8\u306b\u5bfe\u3057\u3066\u5358\u72ec\u3067\u30aa\u30d5\u30e9\u30a4\u30f3\u3067\u904a\u3076",
+ "\u540c\u3058\u753b\u9762\u3067 2 \u3064\u3092\u518d\u751f\u3059\u308b",
+ "\u30ba\u30fc\u30e0\u3068\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b",
+ "\u30b2\u30fc\u30e0\u4f5c\u6210\u8005\u306e\u4e00\u89a7\u3092\u8868\u793a\u3059\u308b",
+ "\u30b2\u30fc\u30e0\u3092\u9589\u3058\u3066\u3001\u6b21\u306e\u30da\u30fc\u30b8\u306b\u623b\u308a\u307e\u3059\u3002"
+ ],
+ "distribute": "\u914d\u5e03\u3057\u306a\u3044"
+ },
+ "settings": {
+ "title": "\u30aa\u30d7\u30b7\u30e7\u30f3",
+ "back": "\u5e30\u308b",
+ "size": "\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u30b5\u30a4\u30ba",
+ "music": "\u97f3\u697d\u3092\u30a2\u30af\u30c6\u30a3\u30d6\u306b\u3059\u308b",
+ "lang": "\u820c",
+ "voice": "\u97f3\u58f0\u3092\u30a2\u30af\u30c6\u30a3\u30d6\u306b\u3059\u308b",
+ "yes": "\u306f\u3044",
+ "no": "\u3044\u3044\u3048",
+ "notice": "\u8a2d\u5b9a\u306fKartik\u306e\u518d\u8d77\u52d5\u5f8c\u307e\u3067\u9069\u7528\u3055\u308c\u307e\u305b\u3093"
+ },
+ "win": {
+ "solo": {
+ "win": "\u3042\u306a\u305f\u306f\u52dd\u3063\u305f!",
+ "lose": "\u3042\u306a\u305f\u306f\u5931\u3044\u307e\u3059\uff01"
+ },
+ "versus": "\u30d7\u30ec\u30a4\u30e4\u30fc0\u304c\u52dd\u3063\u305f!",
+ "quit": [
+ "\u7d42\u4e86\u3059\u308b\u30a8\u30b9\u30b1\u30fc\u30d7\u3092\u62bc\u3059",
+ "B \u3092\u62bc\u3057\u3066\u9000\u53bb"
+ ]
+ },
+ "online": {
+ "menu": {
+ "local": "\u5730\u5143\u306e",
+ "online": "\u30aa\u30f3\u30e9\u30a4\u30f3",
+ "dlocal": "\u540c\u3058\u30de\u30b7\u30f3\u4e0a\u306e\u53cb\u4eba\u3068\u904a\u3076",
+ "donline": "\u7570\u306a\u308b\u30de\u30b7\u30f3\u4e0a\u306e\u53cb\u4eba\u3068\u904a\u3076"
+ },
+ "error": {
+ "connection": "\u901a\u4fe1\u30a8\u30e9\u30fc",
+ "disconnect": "\u9014\u5207\u308c\u9014\u5207\u308c"
+ },
+ "connecting": "\u30b5\u30fc\u30d0\u30fc\u3078\u306e\u63a5\u7d9a.",
+ "intro": {
+ "create": "\u30b2\u30fc\u30e0\u3092\u4f5c\u6210\u3059\u308b",
+ "pcreate": "\u3053\u306e\u30b3\u30fc\u30c9\u3092\u30c1\u30fc\u30e0\u30e1\u30a4\u30c8\u306b\u6e21\u3057\u3066\u30b2\u30fc\u30e0\u306b\u63a5\u7d9a\u3057\u307e\u3059\u3002",
+ "join": "\u30b2\u30fc\u30e0\u306b\u53c2\u52a0\u3059\u308b",
+ "pjoin": "\u30c1\u30fc\u30e0\u30e1\u30a4\u30c8\u306e\u30b3\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u30b2\u30fc\u30e0\u306b\u53c2\u52a0\u3057\u307e\u3059\u3002"
+ },
+ "disconnected": "\u63a5\u7d9a\u304c\u5207\u65ad\u3055\u308c\u305f",
+ "unable": "\u30b5\u30fc\u30d0\u30fc\u306b\u63a5\u7d9a\u3067\u304d\u307e\u305b\u3093",
+ "internal": "\u5185\u90e8\u30b7\u30b9\u30c6\u30e0 \u30a8\u30e9\u30fc",
+ "loading": "\u30b2\u30fc\u30e0\u306e\u6e96\u5099.",
+ "discord": "\u30aa\u30f3\u30e9\u30a4\u30f3",
+ "generate": "\u571f\u5730\u3092\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002",
+ "discord2": "\u9593\u9055\u3044\u3092\u6e80\u305f\u3059",
+ "timeout": "\u5f85\u3061\u6642\u9593\u3092\u8d85\u3048\u307e\u3057\u305f",
+ "aborted": "\u4ed6\u306e\u30d7\u30ec\u30a4\u30e4\u30fc\u306f\u30b2\u30fc\u30e0\u3092\u96e2\u308c\u305f",
+ "car0": "\u3042\u306a\u305f\u306e\u8eca",
+ "car1": "\u5f7c\u306e\u8eca"
+ }
+} \ No newline at end of file
diff --git a/lang/languages.json b/lang/languages.json
new file mode 100644
index 0000000..7cdf3f6
--- /dev/null
+++ b/lang/languages.json
@@ -0,0 +1,12 @@
+{
+ "en": "English",
+ "fr": "Français",
+ "es": "Español",
+ "it": "Italiano",
+ "pt": "Português",
+ "de": "Deutsch",
+ "nl": "Nederlands",
+ "zh": "中国人",
+ "jp": "日本語",
+ "ru": "русский"
+}
diff --git a/lang/loader.js b/lang/loader.js
new file mode 100644
index 0000000..fdd5ec2
--- /dev/null
+++ b/lang/loader.js
@@ -0,0 +1,46 @@
+function getCookie(cname) {
+ var name = cname + "=";
+ var decodedCookie = decodeURIComponent(document.cookie);
+ var ca = decodedCookie.split(';');
+ for(var i = 0; i <ca.length; i++) {
+ var c = ca[i];
+ while (c.charAt(0) == ' ') {
+ c = c.substring(1);
+ }
+ if (c.indexOf(name) == 0) {
+ return c.substring(name.length, c.length);
+ }
+ }
+ return "";
+}
+
+if (getCookie("kartik_lang").trim() === "") {
+ document.cookie = "kartik_lang=en; path=/";
+}
+
+if (typeof native === "boolean" && !native) {
+ try {
+ global.lp = getCookie("kartik_lang");
+ global.ll_length = getCookie("kartik_i18n_" + lp) - 1 + 2;
+ global.ll_raw = "";
+
+ for (i = 1; i <= ll_length; i++) {
+ global.ll_raw = ll_raw + getCookie("kartik_i18n_" + lp + "_" + (i - 1));
+ }
+
+ global.lang = JSON.parse(ll_raw);
+ } catch (e) {
+ console.error(e);
+ global.lp = "en";
+ global.lang = JSON.parse(window.fetch("./lang/" + lp + ".json").toString());
+ }
+} else {
+ try {
+ global.lp = require('electron').remote.getCurrentWindow().lp.trim();
+ global.lang = JSON.parse(require('fs').readFileSync("./lang/" + lp + ".json").toString());
+ } catch (e) {
+ console.error(e);
+ global.lp = "en";
+ global.lang = JSON.parse(require('fs').readFileSync("./lang/" + lp + ".json").toString());
+ }
+}
diff --git a/lang/nl.json b/lang/nl.json
new file mode 100644
index 0000000..6b7b2a1
--- /dev/null
+++ b/lang/nl.json
@@ -0,0 +1,191 @@
+{
+ "_name": "Frans",
+ "crash": {
+ "title": "Kartik Crash Verslaggever",
+ "head": "Kartik werkt niet meer",
+ "intro": "Kartik ondervond een probleem en stopte onverwacht.We hebben aanvullende informatie verzameld en er is automatisch een crashrapport naar ontwikkelaars verzonden als u verbinding hebt gemaakt met internet.",
+ "report": [
+ "Daarnaast is er een crashrapport gemaakt in \"",
+ "zodat u het naar ontwikkelaars kunt sturen wanneer u toegang hebt tot internet."
+ ],
+ "close": "Sluiten",
+ "reset": "Reset Kartik en sluit"
+ },
+ "updates": {
+ "ok": "Bijdetijds",
+ "available": "Game-updates beschikbaar",
+ "git": "De trunkversie uitvoeren",
+ "error": "Kan geen updates vinden",
+ "wait": "Zoeken naar updates...",
+ "warn": [
+ "Updates zijn beschikbaar",
+ "Download de nieuwe versie van Kartik van de offici\u00eble website voor de nieuwste functies en bugfixes."
+ ]
+ },
+ "scenario": {
+ "intro": [
+ "H\u00e9, hallo, wat dacht je van een kleine run?",
+ "Ah, hier ben je weer! Wat dacht je van een beetje rennen?",
+ "Waarom gaan we niet even rennen?",
+ "Gaan we wandelen?"
+ ],
+ "ahead1": [
+ "Oh nee!",
+ ", het is niet mogelijk!",
+ "Maar ik ga het niet halen...",
+ "Oh...",
+ "Waarom moet je dat doen?"
+ ],
+ "ahead2": [
+ "Hallo hi hi",
+ "Deze is voor mij.",
+ "Ik pak het wel.",
+ "Het is voor mij!",
+ "Het is van mij!"
+ ],
+ "won1": [
+ "Goed gedaan!",
+ "Jammer voor mij...",
+ "Ik had kunnen hopen...",
+ "Maar het is niet erg leuk!",
+ "Goed gedaan!"
+ ],
+ "won2": [
+ "Zei ik je toch!",
+ "Alsof ik je niet gewaarschuwd had.",
+ "Ik heb gewonnen.",
+ "Geweldig, ik heb gewonnen!",
+ "En nog eentje voor mij."
+ ],
+ "wall1": [
+ "Ah ah!",
+ "Gaan we dan niet rechtdoor?",
+ "Ouch",
+ "Het moet pijn doen...",
+ "Splaf, dat is het obstakel!"
+ ],
+ "wall2": [
+ "Verdomd",
+ "Crap",
+ "Echt niet",
+ "Puti"
+ ],
+ "start": [
+ "Ik ga je wegblazen!",
+ "Je zult zien, ik maak van jou zo'n race!",
+ "Vertel me wat nieuws.",
+ "We gaan!",
+ "Daar gaan we!",
+ "Wooo, vooruit!"
+ ]
+ },
+ "discord": {
+ "credits": [
+ "Wachten",
+ "In de aftiteling"
+ ],
+ "game": [
+ "in gevaar",
+ "Modus Solo",
+ "Modus versus",
+ "Bij pauze"
+ ],
+ "intro": [
+ "Wachten",
+ "Over de introductie"
+ ],
+ "settings": [
+ "Wachten",
+ "In de instellingen"
+ ],
+ "win": [
+ "Net gewonnen",
+ "Net verdwaald"
+ ]
+ },
+ "intro": [
+ "Tik op Invoeren om aan de slag te gaan",
+ "Druk op A om aan de slag te gaan"
+ ],
+ "game": {
+ "credits": {
+ "by": "Door"
+ },
+ "gpause": {
+ "title": "Spel op pauze",
+ "continueg": "Blijven",
+ "showhb": "Hitbox weergeven",
+ "hidehb": "Hitbox verbergen",
+ "quit": "Om te vertrekken"
+ }
+ },
+ "menu": {
+ "titles": [
+ "Solo",
+ "Versus",
+ "Opties",
+ "Credits",
+ "Om te vertrekken"
+ ],
+ "descriptions": [
+ "Alleen en offline spelen tegen een robot",
+ "Twee op hetzelfde scherm afspelen",
+ "Zoom en instellingen wijzigen",
+ "Lijst met gameauteurs weergeven",
+ "Sluit het spel en keer terug naar"
+ ],
+ "distribute": "Niet distribueren"
+ },
+ "settings": {
+ "title": "Opties",
+ "back": "Terug",
+ "size": "Interfacegrootte",
+ "music": "Muziek activeren",
+ "lang": "Tong",
+ "voice": "Activeer de stem",
+ "yes": "Ja",
+ "no": "niet",
+ "notice": "De instellingen worden pas toegepast nadat Kartik opnieuw is opgestart"
+ },
+ "win": {
+ "solo": {
+ "win": "Je hebt gewonnen.",
+ "lose": "Jij hebt verloren!"
+ },
+ "versus": "Speler 0 heeft gewonnen!",
+ "quit": [
+ "Druk op Escape om te vertrekken",
+ "Druk op B om te vertrekken"
+ ]
+ },
+ "online": {
+ "menu": {
+ "local": "Lokale",
+ "online": "Online",
+ "dlocal": "Spelen met een vriend op dezelfde machine",
+ "donline": "Het spelen met een vriend op verschillende machines"
+ },
+ "error": {
+ "connection": "Communicatiefout",
+ "disconnect": "Verbroken"
+ },
+ "connecting": "Verbinding maken met de server...",
+ "intro": {
+ "create": "Een spel maken",
+ "pcreate": "Geef deze code aan je teamgenoot om verbinding te maken met je spel:",
+ "join": "Deelnemen aan een spel",
+ "pjoin": "Voer de code van je teamgenoot in om deel te nemen aan zijn spel:"
+ },
+ "disconnected": "Verbroken verbinding",
+ "unable": "Kan geen verbinding maken met de server",
+ "internal": "Interne systeemfout",
+ "loading": "Voorbereiding op het spel...",
+ "discord": "Online",
+ "generate": "Het land laden...",
+ "discord2": "Ontmoet een fout",
+ "timeout": "De wachttijd is overschreden",
+ "aborted": "De andere speler verliet het spel",
+ "car0": "Uw auto",
+ "car1": "Zijn auto"
+ }
+} \ No newline at end of file
diff --git a/lang/preload.js b/lang/preload.js
new file mode 100644
index 0000000..5fbaa65
--- /dev/null
+++ b/lang/preload.js
@@ -0,0 +1,2 @@
+global.lp = win.lp;
+global.lang = JSON.parse(require('fs').readFileSync("./lang/" + lp + ".json")); \ No newline at end of file
diff --git a/lang/pt.json b/lang/pt.json
new file mode 100644
index 0000000..ec5b9d6
--- /dev/null
+++ b/lang/pt.json
@@ -0,0 +1,191 @@
+{
+ "_name": "Franc\u00eas",
+ "crash": {
+ "title": "Kartik Crash Reporter",
+ "head": "Kartik parou de trabalhar",
+ "intro": "Kartik encontrou um problema e parou inesperadamente.Coletamos informa\u00e7\u00f5es adicionais, e um relat\u00f3rio de falha foi enviado automaticamente aos desenvolvedores se voc\u00ea estivesse conectado \u00e0 Internet.",
+ "report": [
+ "Al\u00e9m disso, um relat\u00f3rio de acidente foi criado em \"",
+ "para que voc\u00ea possa envi\u00e1-lo para desenvolvedores quando voc\u00ea tiver acesso \u00e0 Internet."
+ ],
+ "close": "fechar",
+ "reset": "Redefinir Kartik e fechar"
+ },
+ "updates": {
+ "ok": "Atualizado",
+ "available": "Atualiza\u00e7\u00f5es de jogos dispon\u00edveis",
+ "git": "Executando a vers\u00e3o do porta-malas",
+ "error": "N\u00e3o consigo encontrar atualiza\u00e7\u00f5es",
+ "wait": "Procure por atualiza\u00e7\u00f5es...",
+ "warn": [
+ "Atualiza\u00e7\u00f5es est\u00e3o dispon\u00edveis",
+ "Baixe a nova vers\u00e3o de Kartik no site oficial para os recursos mais recentes e corre\u00e7\u00f5es de bugs."
+ ]
+ },
+ "scenario": {
+ "intro": [
+ "Ei, oi, que tal uma pequena corrida?",
+ "Ah, aqui est\u00e1 voc\u00ea de novo! Que tal uma pequena corrida?",
+ "Por que n\u00e3o corremos um pouco?",
+ "Vamos dar uma volta?"
+ ],
+ "ahead1": [
+ "Ah, n\u00e3o!",
+ "Inferno, n\u00e3o \u00e9 poss\u00edvel!",
+ "Mas eu n\u00e3o vou conseguir...",
+ "ah...",
+ "Por que voc\u00ea tem que fazer isso?"
+ ],
+ "ahead2": [
+ "Oi oi oi",
+ "Este \u00e9 para mim!",
+ "Eu vou peg\u00e1-lo!",
+ "\u00c9 para mim!",
+ "\u00c9 meu!"
+ ],
+ "won1": [
+ "Muito bem!",
+ "Muito ruim para mim...",
+ "Eu poderia ter esperado...",
+ "Mas n\u00e3o \u00e9 muito agrad\u00e1vel!",
+ "Muito bem!"
+ ],
+ "won2": [
+ "Eu te avisei!",
+ "Como se eu n\u00e3o tivesse avisado voc\u00ea!",
+ "Eu ganhei!",
+ "\u00d3timo, eu ganhei!",
+ "E mais um para mim!"
+ ],
+ "wall1": [
+ "Ah ah!",
+ "Bem, ent\u00e3o, n\u00e3o vamos direto?",
+ "ai",
+ "Deve doer...",
+ "Splaf, esse \u00e9 o obst\u00e1culo!"
+ ],
+ "wall2": [
+ "droga",
+ "porcaria",
+ "De maneira nenhuma",
+ "Puti"
+ ],
+ "start": [
+ "Eu vou te surpreender!",
+ "Voc\u00ea vai ver, eu vou fazer de voc\u00ea uma dessas corridas!",
+ "Voc\u00ea vai me contar algumas novidades.",
+ "Vamos!",
+ "Aqui vamos n\u00f3s!",
+ "Wooo, para a frente!"
+ ]
+ },
+ "discord": {
+ "credits": [
+ "espera",
+ "Nos cr\u00e9ditos"
+ ],
+ "game": [
+ "em risco",
+ "Modo Solo",
+ "Modo Versus",
+ "Em pausa"
+ ],
+ "intro": [
+ "espera",
+ "Na introdu\u00e7\u00e3o"
+ ],
+ "settings": [
+ "espera",
+ "Nas configura\u00e7\u00f5es"
+ ],
+ "win": [
+ "Acabou de ganhar.",
+ "Acabou de perder"
+ ]
+ },
+ "intro": [
+ "Toque em Entrar para come\u00e7ar",
+ "Pressione A para come\u00e7ar"
+ ],
+ "game": {
+ "credits": {
+ "by": "por"
+ },
+ "gpause": {
+ "title": "Jogo em pausa",
+ "continueg": "continuar",
+ "showhb": "Show hitbox",
+ "hidehb": "Ocultar caixa de sucesso",
+ "quit": "Sair"
+ }
+ },
+ "menu": {
+ "titles": [
+ "solo",
+ "contra",
+ "Op\u00e7\u00f5es",
+ "Cr\u00e9ditos",
+ "Sair"
+ ],
+ "descriptions": [
+ "Jogando sozinho e offline contra um rob\u00f4",
+ "Jogue dois na mesma tela",
+ "Alterar zoom e configura\u00e7\u00f5es",
+ "Ver lista de autores de jogos",
+ "Feche o jogo e volte para"
+ ],
+ "distribute": "N\u00e3o distribua."
+ },
+ "settings": {
+ "title": "Op\u00e7\u00f5es",
+ "back": "retornar",
+ "size": "Tamanho da interface",
+ "music": "Ativar m\u00fasica",
+ "lang": "l\u00edngua",
+ "voice": "Ativar a voz",
+ "yes": "sim",
+ "no": "N\u00e3o",
+ "notice": "As configura\u00e7\u00f5es n\u00e3o ser\u00e3o aplicadas at\u00e9 depois da reinicializa\u00e7\u00e3o de Kartik"
+ },
+ "win": {
+ "solo": {
+ "win": "Voc\u00ea ganhou!",
+ "lose": "Voc\u00ea perdeu!"
+ },
+ "versus": "Jogador 0 ganhou!",
+ "quit": [
+ "Pressione Escape para sair",
+ "Pressione B para sair"
+ ]
+ },
+ "online": {
+ "menu": {
+ "local": "local",
+ "online": "online",
+ "dlocal": "Brincando com um amigo na mesma m\u00e1quina",
+ "donline": "Brincando com um amigo em diferentes m\u00e1quinas"
+ },
+ "error": {
+ "connection": "Erro de comunica\u00e7\u00e3o",
+ "disconnect": "Desconectado"
+ },
+ "connecting": "Conectando-se ao servidor...",
+ "intro": {
+ "create": "Crie um jogo",
+ "pcreate": "D\u00ea este c\u00f3digo ao seu companheiro de equipe para se conectar ao seu jogo:",
+ "join": "Participe de um jogo",
+ "pjoin": "Digite o c\u00f3digo do seu companheiro de equipe para participar do jogo dele:"
+ },
+ "disconnected": "Conex\u00e3o perdida",
+ "unable": "N\u00e3o pode se conectar ao servidor",
+ "internal": "Erro interno do sistema",
+ "loading": "Preparando-se para o jogo...",
+ "discord": "online",
+ "generate": "Carregando a terra...",
+ "discord2": "Encontra um erro",
+ "timeout": "O tempo de espera foi excedido",
+ "aborted": "O outro jogador deixou o jogo.",
+ "car0": "Seu carro",
+ "car1": "O carro dele."
+ }
+} \ No newline at end of file
diff --git a/lang/ru.json b/lang/ru.json
new file mode 100644
index 0000000..88e9271
--- /dev/null
+++ b/lang/ru.json
@@ -0,0 +1,191 @@
+{
+ "_name": "\u0444\u0440\u0430\u043d\u0446\u0443\u0437\u0441\u043a\u0438\u0439",
+ "crash": {
+ "title": "Kartik \u0410\u0432\u0430\u0440\u0438\u0438 \u0420\u0435\u043f\u043e\u0440\u0442\u0435\u0440",
+ "head": "\u041a\u0430\u0440\u0442\u0438\u043a \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c",
+ "intro": "\u041a\u0430\u0440\u0442\u0438\u043a \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u0438 \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f.\u041c\u044b \u0441\u043e\u0431\u0440\u0430\u043b\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u0438 \u043e\u0442\u0447\u0435\u0442 \u043e \u0441\u0431\u043e\u044f\u0445 \u0431\u044b\u043b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c, \u0435\u0441\u043b\u0438 \u0432\u044b \u0431\u044b\u043b\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u043a \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0443.",
+ "report": [
+ "\u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0432 \"",
+ "\u0442\u0430\u043a \u0447\u0442\u043e \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c, \u043a\u043e\u0433\u0434\u0430 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0443."
+ ],
+ "close": "\u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0442\u044c",
+ "reset": "\u0421\u0431\u0440\u043e\u0441\u0438\u0442\u044c Kartik \u0438 \u0437\u0430\u043a\u0440\u044b\u0442\u044c"
+ },
+ "updates": {
+ "ok": "\u0421\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439",
+ "available": "\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u0433\u0440",
+ "git": "\u0417\u0430\u043f\u0443\u0441\u043a \u0432\u0435\u0440\u0441\u0438\u0438 \u0431\u0430\u0433\u0430\u0436\u043d\u0438\u043a\u0430",
+ "error": "\u041d\u0435 \u043c\u043e\u0433\u0443 \u043d\u0430\u0439\u0442\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f",
+ "wait": "\u041f\u043e\u0438\u0441\u043a \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439...",
+ "warn": [
+ "\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f",
+ "\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e Kartik \u0441 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430 \u0434\u043b\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0439 \u043e\u0448\u0438\u0431\u043e\u043a."
+ ]
+ },
+ "scenario": {
+ "intro": [
+ "\u042d\u0439, \u043f\u0440\u0438\u0432\u0435\u0442, \u043a\u0430\u043a \u043d\u0430\u0441\u0447\u0435\u0442 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043f\u0440\u043e\u0431\u0435\u0436\u043a\u0438?",
+ ", \u0432\u043e\u0442 \u0432\u044b \u0441\u043d\u043e\u0432\u0430! \u041a\u0430\u043a \u043d\u0430\u0441\u0447\u0435\u0442 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043f\u0440\u043e\u0431\u0435\u0436\u043a\u0438?",
+ "\u041f\u043e\u0447\u0435\u043c\u0443 \u0431\u044b \u043d\u0430\u043c \u043d\u0435 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0431\u0435\u0433\u0430\u0442\u044c?",
+ "\u041c\u044b \u0438\u0434\u0435\u043c \u0433\u0443\u043b\u044f\u0442\u044c?"
+ ],
+ "ahead1": [
+ "\u041e, \u043d\u0435\u0442!",
+ "\u0427\u0435\u0440\u0442, \u044d\u0442\u043e \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e!",
+ "\u041d\u043e \u044f \u043d\u0435 \u0441\u043e\u0431\u0438\u0440\u0430\u044e\u0441\u044c \u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e ...",
+ "\u041e,...",
+ "\u0417\u0430\u0447\u0435\u043c \u0442\u044b \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0448\u044c?"
+ ],
+ "ahead2": [
+ "\u041f\u0440\u0438\u0432\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0442",
+ "\u042d\u0442\u043e \u0434\u043b\u044f \u043c\u0435\u043d\u044f!",
+ "\u042f \u044d\u0442\u043e \u0434\u043e\u0441\u0442\u0430\u043d\u0443!",
+ "\u042d\u0442\u043e \u0434\u043b\u044f \u043c\u0435\u043d\u044f!",
+ "\u042d\u0442\u043e \u043c\u043e\u0451!"
+ ],
+ "won1": [
+ "\u041f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e!",
+ "\u0421\u043b\u0438\u0448\u043a\u043e\u043c \u043f\u043b\u043e\u0445\u043e \u0434\u043b\u044f \u043c\u0435\u043d\u044f ...",
+ "\u042f, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043d\u0430\u0434\u0435\u044f\u043b\u0441\u044f...",
+ "\u041d\u043e, \u044d\u0442\u043e \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u0438\u044f\u0442\u043d\u043e!",
+ "\u041f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e!"
+ ],
+ "won2": [
+ "\u042f \u0433\u043e\u0432\u043e\u0440\u0438\u043b \u0442\u0435\u0431\u0435!",
+ "\u041a\u0430\u043a \u0431\u0443\u0434\u0442\u043e \u044f \u043d\u0435 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0430\u043b \u0442\u0435\u0431\u044f!",
+ "\u042f \u043f\u043e\u0431\u0435\u0434\u0438\u043b!",
+ "\u041e\u0442\u043b\u0438\u0447\u043d\u043e, \u044f \u0432\u044b\u0438\u0433\u0440\u0430\u043b\u0430!",
+ "\u0418 \u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u0434\u043b\u044f \u043c\u0435\u043d\u044f!"
+ ],
+ "wall1": [
+ "\u0430\u0445!",
+ "\u041d\u0443, \u0442\u043e\u0433\u0434\u0430 \u043c\u044b \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u044f\u043c\u043e?",
+ "\u043e\u0439",
+ "\u042d\u0442\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0431\u043e\u043b\u044c\u043d\u043e ...",
+ "\u0421\u043f\u043b\u0430\u0444, \u044d\u0442\u043e \u043f\u0440\u0435\u043f\u044f\u0442\u0441\u0442\u0432\u0438\u0435!"
+ ],
+ "wall2": [
+ "\u043f\u0440\u043e\u043a\u043b\u0438\u043d\u0430\u0442\u044c",
+ "\u0434\u0435\u0440\u044c\u043c\u043e",
+ "\u0412\u044b \u0448\u0443\u0442\u0438\u0442\u0435",
+ "\u041f\u0443\u0442\u0438"
+ ],
+ "start": [
+ "\u042f \u0442\u0435\u0431\u044f \u0432\u0437\u043e\u0440\u0432\u0443!",
+ "\u0412\u043e\u0442 \u0443\u0432\u0438\u0434\u0438\u0448\u044c, \u044f \u0441\u0434\u0435\u043b\u0430\u044e \u0442\u0435\u0431\u044f \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u044d\u0442\u0438\u0445 \u0440\u0430\u0441!",
+ "\u0412\u044b \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0435\u0442\u0435 \u043c\u043d\u0435 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u043e\u0432\u043e\u0441\u0442\u0438",
+ "\u041f\u043e\u0435\u0445\u0430\u043b\u0438!",
+ "\u0432\u043e\u0442 \u0442\u0430\u043a!",
+ "\u0412\u0443, \u0432\u043f\u0435\u0440\u0435\u0434!"
+ ]
+ },
+ "discord": {
+ "credits": [
+ "\u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0435",
+ "\u0412 \u0442\u0438\u0442\u0440\u0430\u0445"
+ ],
+ "game": [
+ "\u0432 \u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438",
+ "\u0420\u0435\u0436\u0438\u043c \u0421\u043e\u043b\u043e",
+ "\u0420\u0435\u0436\u0438\u043c \u043f\u0440\u043e\u0442\u0438\u0432",
+ "\u041d\u0430 \u043f\u0430\u0443\u0437\u0435"
+ ],
+ "intro": [
+ "\u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0435",
+ "\u041e \u0432\u0432\u0435\u0434\u0435\u043d\u0438\u0438"
+ ],
+ "settings": [
+ "\u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0435",
+ "\u0412 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445"
+ ],
+ "win": [
+ "\u0422\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u0432\u044b\u0438\u0433\u0440\u0430\u043b",
+ "\u041f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0442\u0435\u0440\u044f\u043b"
+ ]
+ },
+ "intro": [
+ "\u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u0412\u0445\u043e\u0434, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0447\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443",
+ "\u041d\u0430\u0436\u043c\u0438\u0442\u0435 A, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0447\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443"
+ ],
+ "game": {
+ "credits": {
+ "by": "\u043e\u043a\u043e\u043b\u043e"
+ },
+ "gpause": {
+ "title": "\u0418\u0433\u0440\u0430 \u043d\u0430 \u043f\u0430\u0443\u0437\u0435",
+ "continueg": "\u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0442\u044c",
+ "showhb": "\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0445\u0438\u0442\u0431\u043e\u043a\u0441",
+ "hidehb": "\u0421\u043a\u0440\u044b\u0442\u044c \u0445\u0438\u0442\u0431\u043e\u043a\u0441",
+ "quit": "\u0423\u0435\u0437\u0436\u0430\u0442\u044c"
+ }
+ },
+ "menu": {
+ "titles": [
+ "\u0441\u043e\u043b\u043e",
+ "\u043f\u0440\u043e\u0442\u0438\u0432",
+ "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b",
+ "\u043a\u0440\u0435\u0434\u0438\u0442\u044b",
+ "\u0423\u0435\u0437\u0436\u0430\u0442\u044c"
+ ],
+ "descriptions": [
+ "\u0418\u0433\u0440\u0430\u044f \u0432 \u043e\u0434\u0438\u043d\u043e\u0447\u043a\u0443 \u0438 \u0432 \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435 \u043f\u0440\u043e\u0442\u0438\u0432 \u0440\u043e\u0431\u043e\u0442\u0430",
+ "\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0434\u0432\u0443\u0445 \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u044d\u043a\u0440\u0430\u043d\u0435",
+ "\u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a",
+ "\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0430\u0432\u0442\u043e\u0440\u043e\u0432 \u0438\u0433\u0440",
+ "\u0417\u0430\u043a\u0440\u043e\u0439\u0442\u0435 \u0438\u0433\u0440\u0443 \u0438 \u0432\u0435\u0440\u043d\u0438\u0442\u0435\u0441\u044c \u043a"
+ ],
+ "distribute": "\u041d\u0435 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0439\u0442\u0435"
+ },
+ "settings": {
+ "title": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b",
+ "back": "\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0442\u044c",
+ "size": "\u0420\u0430\u0437\u043c\u0435\u0440 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430",
+ "music": "\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043c\u0443\u0437\u044b\u043a\u0443",
+ "lang": "\u044f\u0437\u044b\u043a",
+ "voice": "\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0433\u043e\u043b\u043e\u0441",
+ "yes": "\u0414\u0430",
+ "no": "\u041d\u0435\u0442",
+ "notice": "\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 Kartik"
+ },
+ "win": {
+ "solo": {
+ "win": "\u0422\u044b \u0432\u044b\u0438\u0433\u0440\u0430\u043b\u0430!",
+ "lose": "\u0422\u044b \u043f\u0440\u043e\u0438\u0433\u0440\u0430\u043b!"
+ },
+ "versus": "\u0418\u0433\u0440\u043e\u043a 0 \u0432\u044b\u0438\u0433\u0440\u0430\u043b!",
+ "quit": [
+ "\u041f\u0440\u0435\u0441\u0441 \u041f\u043e\u0431\u0435\u0433 \u0443\u0439\u0442\u0438",
+ "\u041d\u0430\u0436\u043c\u0438\u0442\u0435 B, \u0447\u0442\u043e\u0431\u044b \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c"
+ ]
+ },
+ "online": {
+ "menu": {
+ "local": "\u043c\u0435\u0441\u0442\u043d\u044b\u0439",
+ "online": "\u041e\u043d\u043b\u0430\u0439\u043d",
+ "dlocal": "\u0418\u0433\u0440\u0430 \u0441 \u0434\u0440\u0443\u0433\u043e\u043c \u043d\u0430 \u043e\u0434\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435",
+ "donline": "\u0418\u0433\u0440\u0430 \u0441 \u0434\u0440\u0443\u0433\u043e\u043c \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d\u0430\u0445"
+ },
+ "error": {
+ "connection": "\u041e\u0448\u0438\u0431\u043a\u0430 \u0441\u0432\u044f\u0437\u0438",
+ "disconnect": "\u0431\u0435\u0441\u0441\u0432\u044f\u0437\u043d\u044b\u0439"
+ },
+ "connecting": "\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443...",
+ "intro": {
+ "create": "\u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0438\u0433\u0440\u0443",
+ "pcreate": "\u0414\u0430\u0439\u0442\u0435 \u044d\u0442\u043e\u0442 \u043a\u043e\u0434 \u0432\u0430\u0448\u0435\u043c\u0443 \u0442\u043e\u0432\u0430\u0440\u0438\u0449\u0443 \u043f\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u0435, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u0432\u0430\u0448\u0435\u0439 \u0438\u0433\u0440\u0435:",
+ "join": "\u041f\u0440\u0438\u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c\u0441\u044f \u043a \u0438\u0433\u0440\u0435",
+ "pjoin": "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043e\u0434 \u0432\u0430\u0448\u0435\u0433\u043e \u0442\u043e\u0432\u0430\u0440\u0438\u0449\u0430 \u043f\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u0435, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438\u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c\u0441\u044f \u043a \u0435\u0433\u043e \u0438\u0433\u0440\u0435:"
+ },
+ "disconnected": "\u041f\u043e\u0442\u0435\u0440\u044f\u043d\u043d\u043e\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435",
+ "unable": "\u041d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443",
+ "internal": "\u041e\u0448\u0438\u0431\u043a\u0430 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b",
+ "loading": "\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043a \u0438\u0433\u0440\u0435...",
+ "discord": "\u041e\u043d\u043b\u0430\u0439\u043d",
+ "generate": "\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0437\u0435\u043c\u043b\u0438...",
+ "discord2": "\u0412\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443",
+ "timeout": "\u0412\u0440\u0435\u043c\u044f \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f \u043f\u0440\u0435\u0432\u044b\u0448\u0435\u043d\u043e",
+ "aborted": "\u0414\u0440\u0443\u0433\u043e\u0439 \u0438\u0433\u0440\u043e\u043a \u043f\u043e\u043a\u0438\u043d\u0443\u043b \u0438\u0433\u0440\u0443",
+ "car0": "\u0412\u0430\u0448 \u0430\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u044c",
+ "car1": "\u0415\u0433\u043e \u043c\u0430\u0448\u0438\u043d\u0430"
+ }
+} \ No newline at end of file
diff --git a/lang/zh.json b/lang/zh.json
new file mode 100644
index 0000000..0ca8a43
--- /dev/null
+++ b/lang/zh.json
@@ -0,0 +1,191 @@
+{
+ "_name": "\u6cd5\u8bed",
+ "crash": {
+ "title": "\u5361\u8482\u514b\u5d29\u6e83\u8bb0\u8005",
+ "head": "\u5361\u8482\u514b\u505c\u6b62\u5de5\u4f5c",
+ "intro": "\u5361\u8482\u514b\u9047\u5230\u4e86\u95ee\u9898\uff0c\u610f\u5916\u5730\u505c\u4e86\u4e0b\u6765\u3002\u6211\u4eec\u6536\u96c6\u4e86\u5176\u4ed6\u4fe1\u606f\uff0c\u5982\u679c\u60a8\u8fde\u63a5\u5230 Internet\uff0c\u5219\u4f1a\u81ea\u52a8\u5411\u5f00\u53d1\u4eba\u5458\u53d1\u9001\u5d29\u6e83\u62a5\u544a\u3002",
+ "report": [
+ "\u6b64\u5916\uff0c\u5728\"",
+ "\u56e0\u6b64\uff0c\u60a8\u53ef\u4ee5\u5728\u8bbf\u95ee\u4e92\u8054\u7f51\u65f6\u5c06\u5176\u53d1\u9001\u7ed9\u5f00\u53d1\u4eba\u5458\u3002"
+ ],
+ "close": "\u5173\u95ed",
+ "reset": "\u91cd\u7f6e\u5361\u63d0\u514b\u5e76\u5173\u95ed"
+ },
+ "updates": {
+ "ok": "\u6700\u65b0\u7684",
+ "available": "\u53ef\u7528\u7684\u6e38\u620f\u66f4\u65b0",
+ "git": "\u8fd0\u884c\u4e3b\u5e72\u7248\u672c",
+ "error": "\u627e\u4e0d\u5230\u66f4\u65b0",
+ "wait": "\u641c\u7d22\u66f4\u65b0...",
+ "warn": [
+ "\u63d0\u4f9b\u66f4\u65b0",
+ "\u4ece\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u65b0\u7248\u672c\u7684 Kartik\uff0c\u4e86\u89e3\u6700\u65b0\u529f\u80fd\u548c\u9519\u8bef\u4fee\u590d\u3002"
+ ]
+ },
+ "scenario": {
+ "intro": [
+ "\u563f\uff0c\u55e8\uff0c\u8dd1\u4e00\u4f1a\u513f\u600e\u4e48\u6837\uff1f",
+ "\u554a\uff0c\u4f60\u53c8\u6765\u4e86\uff01\u8dd1\u4e00\u4f1a\u513f\u600e\u4e48\u6837\uff1f",
+ "\u6211\u4eec\u4e3a\u4ec0\u4e48\u4e0d\u8dd1\u4e00\u5c0f\u8dd1\u5462\uff1f",
+ "\u6211\u4eec\u8981\u53bb\u6563\u6b65\u5417\uff1f"
+ ],
+ "ahead1": [
+ "\u54e6\u4e0d\uff01",
+ "\u89c1\u9b3c\uff0c\u8fd9\u662f\u4e0d\u53ef\u80fd\u7684\uff01",
+ "\u4f46\u6211\u4e0d\u4f1a\u6210\u529f\u3002\u3002\u3002",
+ "\u54e6\u3002\u3002\u3002",
+ "\u4f60\u4e3a\u4ec0\u4e48\u8981\u8fd9\u4e48\u505a\uff1f"
+ ],
+ "ahead2": [
+ "\u55e8\u55e8\u55e8\u55e8",
+ "\u8fd9\u4e2a\u662f\u7ed9\u6211\u7684\uff01",
+ "\u6211\u4f1a\u62ff\u5230\u7684\uff01",
+ "\u662f\u7ed9\u6211\u7684\uff01",
+ "\u662f\u6211\u7684\uff01"
+ ],
+ "won1": [
+ "\u5e72\u7684\u597d\uff01",
+ "\u5bf9\u6211\u6765\u8bf4\u592a\u7cdf\u7cd5\u4e86\u3002\u3002\u3002",
+ "\u6211\u672c\u6765\u5e0c\u671b\u3002\u3002\u3002",
+ "\u4f46\u662f\uff0c\u5b83\u4e0d\u662f\u5f88\u597d\uff01",
+ "\u5e72\u7684\u597d\uff01"
+ ],
+ "won2": [
+ "\u6211\u544a\u8bc9\u8fc7\u4f60\uff01",
+ "\u597d\u50cf\u6211\u6ca1\u8b66\u544a\u8fc7\u4f60\uff01",
+ "\u6211\u8d62\u4e86\uff01",
+ "\u592a\u597d\u4e86\uff0c\u6211\u8d62\u4e86\uff01",
+ "\u518d\u7ed9\u6211\u4e00\u4e2a\uff01"
+ ],
+ "wall1": [
+ "\u554a\u554a\uff01",
+ "\u90a3\u6211\u4eec\u5c31\u4e0d\u76f4\u4e86\uff1f",
+ "\u54ce\u54df",
+ "\u4e00\u5b9a\u5f88\u75db\u3002\u3002\u3002",
+ "\u65af\u666e\u62c9\u592b\uff0c\u8fd9\u5c31\u662f\u969c\u788d\uff01"
+ ],
+ "wall2": [
+ "\u8be5\u6b7b\u7684",
+ "\u5e9f\u8bdd",
+ "\u4e0d\u53ef\u80fd",
+ "\u666e\u8482"
+ ],
+ "start": [
+ "\u6211\u8981\u628a\u4f60\u5439\u8d70\uff01",
+ "\u4f60\u4f1a\u770b\u5230\uff0c\u6211\u4f1a\u8ba9\u4f60\u7684\u90a3\u4e9b\u6bd4\u8d5b\u4e4b\u4e00\uff01",
+ "\u4f60\u4f1a\u544a\u8bc9\u6211\u4e00\u4e9b\u6d88\u606f",
+ "\u6211\u4eec\u8d70\u5427\uff01",
+ "\u6765\u5427\uff01",
+ "\u54c7\uff0c\u5411\u524d\uff01"
+ ]
+ },
+ "discord": {
+ "credits": [
+ "\u7b49\u5f85",
+ "\u5728\u5b66\u5206\u4e2d"
+ ],
+ "game": [
+ "\u5904\u4e8e\u5371\u9669\u4e4b\u4e2d",
+ "\u6a21\u5f0f\u72ec\u594f",
+ "\u6a21\u5f0f\u4e0e",
+ "\u6682\u505c"
+ ],
+ "intro": [
+ "\u7b49\u5f85",
+ "\u5173\u4e8e\u4ecb\u7ecd"
+ ],
+ "settings": [
+ "\u7b49\u5f85",
+ "\u5728\u8bbe\u7f6e\u4e2d"
+ ],
+ "win": [
+ "\u521a\u8d62\u4e86",
+ "\u53ea\u662f\u8f93\u4e86"
+ ]
+ },
+ "intro": [
+ "\u70b9\u51fb\u8fdb\u5165\u5f00\u59cb",
+ "\u6309 A \u5f00\u59cb"
+ ],
+ "game": {
+ "credits": {
+ "by": "\u7531"
+ },
+ "gpause": {
+ "title": "\u6682\u505c\u6e38\u620f",
+ "continueg": "\u7ee7\u7eed",
+ "showhb": "\u663e\u793a\u547d\u4e2d\u6846",
+ "hidehb": "\u9690\u85cf\u547d\u4e2d\u6846",
+ "quit": "\u79bb\u5f00"
+ }
+ },
+ "menu": {
+ "titles": [
+ "\u72ec\u594f",
+ "\u5bf9",
+ "\u9009\u9879",
+ "\u5b66\u5206",
+ "\u79bb\u5f00"
+ ],
+ "descriptions": [
+ "\u5355\u72ec\u548c\u79bb\u7ebf\u4e0e\u673a\u5668\u4eba\u6bd4\u8d5b",
+ "\u5728\u540c\u4e00\u5c4f\u5e55\u4e0a\u64ad\u653e\u4e24\u4e2a",
+ "\u66f4\u6539\u53d8\u7126\u548c\u8bbe\u7f6e",
+ "\u67e5\u770b\u6e38\u620f\u4f5c\u8005\u5217\u8868",
+ "\u5173\u95ed\u6e38\u620f\u5e76\u8fd4\u56de\u5230"
+ ],
+ "distribute": "\u4e0d\u5206\u53d1"
+ },
+ "settings": {
+ "title": "\u9009\u9879",
+ "back": "\u8fd4\u56de",
+ "size": "\u63a5\u53e3\u5927\u5c0f",
+ "music": "\u6fc0\u6d3b\u97f3\u4e50",
+ "lang": "\u820c",
+ "voice": "\u6fc0\u6d3b\u8bed\u97f3",
+ "yes": "\u662f\u7684",
+ "no": "\u4e0d",
+ "notice": "\u8fd9\u4e9b\u8bbe\u7f6e\u8981\u5230\u5361\u63d0\u514b\u91cd\u65b0\u542f\u52a8\u540e\u624d\u4f1a\u5e94\u7528"
+ },
+ "win": {
+ "solo": {
+ "win": "\u4f60\u8d62\u4e86\uff01",
+ "lose": "\u4f60\u4e22\u5931\uff01"
+ },
+ "versus": "\u73a9\u5bb60\u8d62\u4e86\uff01",
+ "quit": [
+ "\u6309\u4e0b\u9003\u751f\u79bb\u5f00",
+ "\u6309 B \u79bb\u5f00"
+ ]
+ },
+ "online": {
+ "menu": {
+ "local": "\u5f53\u5730",
+ "online": "\u5728\u7ebf",
+ "dlocal": "\u5728\u540c\u4e00\u53f0\u673a\u5668\u4e0a\u4e0e\u670b\u53cb\u73a9\u800d",
+ "donline": "\u5728\u4e0d\u540c\u7684\u673a\u5668\u4e0a\u4e0e\u670b\u53cb\u73a9\u800d"
+ },
+ "error": {
+ "connection": "\u901a\u4fe1\u9519\u8bef",
+ "disconnect": "\u65ad\u5f00"
+ },
+ "connecting": "\u8fde\u63a5\u5230\u670d\u52a1\u5668\u3002\u3002\u3002",
+ "intro": {
+ "create": "\u521b\u5efa\u6e38\u620f",
+ "pcreate": "\u5c06\u6b64\u4ee3\u7801\u4ea4\u7ed9\u60a8\u7684\u961f\u53cb\u4ee5\u8fde\u63a5\u5230\u60a8\u7684\u6e38\u620f\uff1a",
+ "join": "\u52a0\u5165\u6e38\u620f",
+ "pjoin": "\u8f93\u5165\u961f\u53cb\u7684\u4ee3\u7801\u4ee5\u52a0\u5165\u4ed6\u7684\u6e38\u620f\uff1a"
+ },
+ "disconnected": "\u8fde\u63a5\u4e22\u5931",
+ "unable": "\u65e0\u6cd5\u8fde\u63a5\u5230\u670d\u52a1\u5668",
+ "internal": "\u5185\u90e8\u7cfb\u7edf\u9519\u8bef",
+ "loading": "\u51c6\u5907\u6bd4\u8d5b\u3002\u3002\u3002",
+ "discord": "\u5728\u7ebf",
+ "generate": "\u88c5\u8f7d\u571f\u5730...",
+ "discord2": "\u9047\u5230\u9519\u8bef",
+ "timeout": "\u7b49\u5f85\u65f6\u95f4\u5df2\u8fc7",
+ "aborted": "\u53e6\u4e00\u4e2a\u73a9\u5bb6\u79bb\u5f00\u4e86\u6e38\u620f",
+ "car0": "\u4f60\u7684\u8f66",
+ "car1": "\u4ed6\u7684\u8f66"
+ }
+} \ No newline at end of file
diff --git a/logo/full-alt.png b/logo/full-alt.png
new file mode 100644
index 0000000..16c6cea
--- /dev/null
+++ b/logo/full-alt.png
Binary files differ
diff --git a/logo/full.png b/logo/full.png
new file mode 100644
index 0000000..b2edd9b
--- /dev/null
+++ b/logo/full.png
Binary files differ
diff --git a/logo/itch/background.jpg b/logo/itch/background.jpg
new file mode 100644
index 0000000..1eb9ac4
--- /dev/null
+++ b/logo/itch/background.jpg
Binary files differ
diff --git a/logo/itch/banner.jpg b/logo/itch/banner.jpg
new file mode 100644
index 0000000..61c56d9
--- /dev/null
+++ b/logo/itch/banner.jpg
Binary files differ
diff --git a/logo/itch/cover.jpg b/logo/itch/cover.jpg
new file mode 100644
index 0000000..b397af5
--- /dev/null
+++ b/logo/itch/cover.jpg
Binary files differ
diff --git a/logo/loader.svg b/logo/loader.svg
new file mode 100644
index 0000000..137458c
--- /dev/null
+++ b/logo/loader.svg
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="margin: auto; background: rgb(0, 0, 0) none repeat scroll 0% 0%; display: block; shape-rendering: auto;" width="200px" height="200px" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid">
+<g transform="rotate(0 50 50)">
+ <rect x="48" y="22.5" rx="2" ry="4.3500000000000005" width="4" height="15" fill="#ffffff">
+ <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="-0.9166666666666666s" repeatCount="indefinite"/>
+ </rect>
+</g><g transform="rotate(30 50 50)">
+ <rect x="48" y="22.5" rx="2" ry="4.3500000000000005" width="4" height="15" fill="#ffffff">
+ <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="-0.8333333333333334s" repeatCount="indefinite"/>
+ </rect>
+</g><g transform="rotate(60 50 50)">
+ <rect x="48" y="22.5" rx="2" ry="4.3500000000000005" width="4" height="15" fill="#ffffff">
+ <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="-0.75s" repeatCount="indefinite"/>
+ </rect>
+</g><g transform="rotate(90 50 50)">
+ <rect x="48" y="22.5" rx="2" ry="4.3500000000000005" width="4" height="15" fill="#ffffff">
+ <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="-0.6666666666666666s" repeatCount="indefinite"/>
+ </rect>
+</g><g transform="rotate(120 50 50)">
+ <rect x="48" y="22.5" rx="2" ry="4.3500000000000005" width="4" height="15" fill="#ffffff">
+ <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="-0.5833333333333334s" repeatCount="indefinite"/>
+ </rect>
+</g><g transform="rotate(150 50 50)">
+ <rect x="48" y="22.5" rx="2" ry="4.3500000000000005" width="4" height="15" fill="#ffffff">
+ <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="-0.5s" repeatCount="indefinite"/>
+ </rect>
+</g><g transform="rotate(180 50 50)">
+ <rect x="48" y="22.5" rx="2" ry="4.3500000000000005" width="4" height="15" fill="#ffffff">
+ <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="-0.4166666666666667s" repeatCount="indefinite"/>
+ </rect>
+</g><g transform="rotate(210 50 50)">
+ <rect x="48" y="22.5" rx="2" ry="4.3500000000000005" width="4" height="15" fill="#ffffff">
+ <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="-0.3333333333333333s" repeatCount="indefinite"/>
+ </rect>
+</g><g transform="rotate(240 50 50)">
+ <rect x="48" y="22.5" rx="2" ry="4.3500000000000005" width="4" height="15" fill="#ffffff">
+ <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="-0.25s" repeatCount="indefinite"/>
+ </rect>
+</g><g transform="rotate(270 50 50)">
+ <rect x="48" y="22.5" rx="2" ry="4.3500000000000005" width="4" height="15" fill="#ffffff">
+ <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="-0.16666666666666666s" repeatCount="indefinite"/>
+ </rect>
+</g><g transform="rotate(300 50 50)">
+ <rect x="48" y="22.5" rx="2" ry="4.3500000000000005" width="4" height="15" fill="#ffffff">
+ <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="-0.08333333333333333s" repeatCount="indefinite"/>
+ </rect>
+</g><g transform="rotate(330 50 50)">
+ <rect x="48" y="22.5" rx="2" ry="4.3500000000000005" width="4" height="15" fill="#ffffff">
+ <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="0s" repeatCount="indefinite"/>
+ </rect>
+</g>
+<!-- [ldio] generated by https://loading.io/ --></svg> \ No newline at end of file
diff --git a/logo/logo-beta.png b/logo/logo-beta.png
new file mode 100644
index 0000000..6f6229a
--- /dev/null
+++ b/logo/logo-beta.png
Binary files differ
diff --git a/logo/logo-eap.png b/logo/logo-eap.png
new file mode 100644
index 0000000..142903a
--- /dev/null
+++ b/logo/logo-eap.png
Binary files differ
diff --git a/logo/logo-git.png b/logo/logo-git.png
new file mode 100644
index 0000000..fb0e72c
--- /dev/null
+++ b/logo/logo-git.png
Binary files differ
diff --git a/logo/logo-nightly.png b/logo/logo-nightly.png
new file mode 100644
index 0000000..8f83abb
--- /dev/null
+++ b/logo/logo-nightly.png
Binary files differ
diff --git a/logo/logo.ico b/logo/logo.ico
new file mode 100644
index 0000000..b008109
--- /dev/null
+++ b/logo/logo.ico
Binary files differ
diff --git a/logo/logo.png b/logo/logo.png
new file mode 100644
index 0000000..fac4ab3
--- /dev/null
+++ b/logo/logo.png
Binary files differ
diff --git a/logo/mod.png b/logo/mod.png
new file mode 100644
index 0000000..4aadc92
--- /dev/null
+++ b/logo/mod.png
Binary files differ
diff --git a/logo/newloader.svg b/logo/newloader.svg
new file mode 100644
index 0000000..1020f47
--- /dev/null
+++ b/logo/newloader.svg
@@ -0,0 +1,1914 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="311.92197mm"
+ height="8.46667mm"
+ viewBox="0 0 311.92197 8.4666707"
+ version="1.1"
+ id="svg8"
+ inkscape:version="1.0.2 (e86c870879, 2021-01-15)"
+ sodipodi:docname="newloader.svg">
+ <defs
+ id="defs2">
+ <inkscape:path-effect
+ effect="fillet_chamfer"
+ id="path-effect1605"
+ is_visible="true"
+ lpeversion="1"
+ satellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
+ unit="px"
+ method="auto"
+ mode="F"
+ radius="0"
+ chamfer_steps="1"
+ flexible="false"
+ use_knot_distance="true"
+ apply_no_radius="true"
+ apply_with_radius="true"
+ only_selected="true"
+ hide_knots="false" />
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#000000"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="5.6568545"
+ inkscape:cx="1189.5192"
+ inkscape:cy="56.203996"
+ inkscape:document-units="mm"
+ inkscape:current-layer="layer1"
+ inkscape:document-rotation="0"
+ showgrid="false"
+ units="mm"
+ inkscape:window-width="1366"
+ inkscape:window-height="703"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata5">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1">
+ <rect
+ style="fill:#404040;fill-opacity:1;stroke-width:0.638516"
+ id="rect833"
+ width="342.14731"
+ height="2.6726952"
+ x="-6.7604012"
+ y="4.6772165"
+ ry="0" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837"
+ width="3.9422255"
+ height="1.0022609"
+ x="7.6930299"
+ y="5.5458426" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3"
+ width="3.9422255"
+ height="1.0022609"
+ x="13.222754"
+ y="5.5458426" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6"
+ width="3.9422255"
+ height="1.0022609"
+ x="18.752478"
+ y="5.5458426" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7"
+ width="3.9422255"
+ height="1.0022609"
+ x="24.282211"
+ y="5.5458426" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5"
+ width="3.9422255"
+ height="1.0022609"
+ x="29.811939"
+ y="5.5458426" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3"
+ width="3.9422255"
+ height="1.0022609"
+ x="35.341667"
+ y="5.5458426" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5"
+ width="3.9422255"
+ height="1.0022609"
+ x="40.871395"
+ y="5.5458426" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6"
+ width="3.9422255"
+ height="1.0022609"
+ x="46.401123"
+ y="5.5458426" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2"
+ width="3.9422255"
+ height="1.0022609"
+ x="51.930851"
+ y="5.5458426" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9"
+ width="3.9422255"
+ height="1.0022609"
+ x="57.460579"
+ y="5.5458426" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1"
+ width="3.9422255"
+ height="1.0022609"
+ x="62.99028"
+ y="5.5458426" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2"
+ width="3.9422255"
+ height="1.0022609"
+ x="68.520042"
+ y="5.5458426" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7"
+ width="3.9422255"
+ height="1.0022609"
+ x="74.049774"
+ y="5.5458426" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0"
+ width="3.9422255"
+ height="1.0022609"
+ x="79.579498"
+ y="5.5458426" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9"
+ width="3.9422255"
+ height="1.0022609"
+ x="85.109222"
+ y="5.5458426" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3"
+ width="3.9422255"
+ height="1.0022609"
+ x="90.638947"
+ y="5.5458426" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6"
+ width="3.9422255"
+ height="1.0022609"
+ x="96.168671"
+ y="5.5458426" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2"
+ width="3.9422255"
+ height="1.0022609"
+ x="101.69841"
+ y="5.5458426" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6"
+ width="3.9422255"
+ height="1.0022609"
+ x="107.2281"
+ y="5.5458426" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1"
+ width="3.9422255"
+ height="1.0022609"
+ x="112.75782"
+ y="5.5458426" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8"
+ width="3.9422255"
+ height="1.0022609"
+ x="118.28759"
+ y="5.5458426" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-7"
+ width="3.9422255"
+ height="1.0022609"
+ x="123.81728"
+ y="5.5458426" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-7-9"
+ width="3.9422255"
+ height="1.0022609"
+ x="129.34697"
+ y="5.5458422" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-7-9-2"
+ width="3.9422255"
+ height="1.0022609"
+ x="134.87663"
+ y="5.5458422" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-0"
+ width="3.9422255"
+ height="1.0022609"
+ x="140.40634"
+ y="5.5458422" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-2"
+ width="3.9422255"
+ height="1.0022609"
+ x="145.93607"
+ y="5.5458422" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-3"
+ width="3.9422255"
+ height="1.0022609"
+ x="151.46577"
+ y="5.5458422" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-7-7"
+ width="3.9422255"
+ height="1.0022609"
+ x="156.99551"
+ y="5.5458422" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-7-9-5"
+ width="3.9422255"
+ height="1.0022609"
+ x="162.52524"
+ y="5.5458417" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-7-9-2-9"
+ width="3.9422255"
+ height="1.0022609"
+ x="168.05496"
+ y="5.5458417" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-0-2"
+ width="3.9422255"
+ height="1.0022609"
+ x="173.58467"
+ y="5.5458412" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-2-2"
+ width="3.9422255"
+ height="1.0022609"
+ x="179.1144"
+ y="5.5458412" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-3-8"
+ width="3.9422255"
+ height="1.0022609"
+ x="184.6441"
+ y="5.5458412" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-7-7-9"
+ width="3.9422255"
+ height="1.0022609"
+ x="190.17384"
+ y="5.5458412" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-7-9-5-7"
+ width="3.9422255"
+ height="1.0022609"
+ x="195.70357"
+ y="5.5458403" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-7-9-2-9-3"
+ width="3.9422255"
+ height="1.0022609"
+ x="201.23329"
+ y="5.5458403" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-0-2-9"
+ width="3.9422255"
+ height="1.0022609"
+ x="206.763"
+ y="5.5458403" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-2-2-4"
+ width="3.9422255"
+ height="1.0022609"
+ x="212.29272"
+ y="5.5458403" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-3-8-7"
+ width="3.9422255"
+ height="1.0022609"
+ x="217.82243"
+ y="5.5458403" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-7-7-9-8"
+ width="3.9422255"
+ height="1.0022609"
+ x="223.35217"
+ y="5.5458403" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-7-9-5-7-4"
+ width="3.9422255"
+ height="1.0022609"
+ x="228.8819"
+ y="5.5458393" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-7-9-2-9-3-5"
+ width="3.9422255"
+ height="1.0022609"
+ x="234.41162"
+ y="5.5458393" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-0-2-9-0"
+ width="3.9422255"
+ height="1.0022609"
+ x="239.94133"
+ y="5.5458393" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-2-2-4-3"
+ width="3.9422255"
+ height="1.0022609"
+ x="245.47105"
+ y="5.5458393" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-3-8-7-6"
+ width="3.9422255"
+ height="1.0022609"
+ x="251.00076"
+ y="5.5458393" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-7-7-9-8-1"
+ width="3.9422255"
+ height="1.0022609"
+ x="256.53052"
+ y="5.5458393" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-7-9-5-7-4-0"
+ width="3.9422255"
+ height="1.0022609"
+ x="262.06046"
+ y="5.5458384" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-7-9-2-9-3-5-6"
+ width="3.9422255"
+ height="1.0022609"
+ x="267.59024"
+ y="5.5458384" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-0-2-9-0-3"
+ width="3.9422255"
+ height="1.0022609"
+ x="273.12"
+ y="5.5458384" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-2-2-4-3-2"
+ width="3.9422255"
+ height="1.0022609"
+ x="278.64972"
+ y="5.5458384" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-3-8-7-6-0"
+ width="3.9422255"
+ height="1.0022609"
+ x="284.17941"
+ y="5.5458384" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-7-7-9-8-1-6"
+ width="3.9422255"
+ height="1.0022609"
+ x="289.70917"
+ y="5.5458384" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-7-9-5-7-4-0-1"
+ width="3.9422255"
+ height="1.0022609"
+ x="295.23889"
+ y="5.5458374" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-7-9-2-9-3-5-6-5"
+ width="3.9422255"
+ height="1.0022609"
+ x="300.76868"
+ y="5.5458374" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-0-2-9-0-3-5"
+ width="3.9422255"
+ height="1.0022609"
+ x="306.29843"
+ y="5.5458374" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-3-8-7-6-0-7"
+ width="3.9422255"
+ height="1.0022609"
+ x="317.35785"
+ y="5.5458374" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-3-6-7-5-3-5-6-2-9-1-2-7-0-9-3-6-2-6-1-8-7-7-9-8-1-6-6"
+ width="3.9422255"
+ height="1.0022609"
+ x="322.8876"
+ y="5.5458374" />
+ <path
+ style="fill:#ff8080;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603"
+ width="6.1471992"
+ height="3.1404169"
+ x="7.7117639"
+ y="1.0022607"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 8.730729,1.0022607 h 4.109269 c 0.564507,0 1.018965,0.4544584 1.018965,1.0189651 v 1.1024866 c 0,0.5645067 -0.454458,1.0189651 -1.018965,1.0189651 H 8.730729 c -0.5645067,0 -1.0189651,-0.4544584 -1.0189651,-1.0189651 V 2.0212258 c 0,-0.5645067 0.4544584,-1.0189651 1.0189651,-1.0189651 z" />
+ <rect
+ style="fill:#ff8080;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607"
+ width="6.1451817"
+ height="1.7205472"
+ x="7.7137818"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#ff8080;fill-opacity:1;stroke-width:0.264999"
+ id="path1609"
+ cx="9.276125"
+ cy="4.1422019"
+ r="0.77758729" />
+ <circle
+ style="fill:#ff8080;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9"
+ cx="12.345547"
+ cy="4.1393371"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631"
+ width="1.3563927"
+ height="0.56126595"
+ x="8.463459"
+ y="1.5317885"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3"
+ width="1.3563927"
+ height="0.56126595"
+ x="11.52428"
+ y="1.5317885"
+ ry="0.10523738" />
+ <path
+ style="fill:#ffbb80;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7"
+ width="6.1471992"
+ height="3.1404169"
+ x="18.090273"
+ y="1.0022609"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 19.109238,1.0022609 h 4.109269 c 0.564507,0 1.018965,0.4544585 1.018965,1.0189651 v 1.1024867 c 0,0.5645066 -0.454458,1.0189651 -1.018965,1.0189651 h -4.109269 c -0.564507,0 -1.018965,-0.4544585 -1.018965,-1.0189651 V 2.021226 c 0,-0.5645066 0.454458,-1.0189651 1.018965,-1.0189651 z" />
+ <rect
+ style="fill:#ffbb80;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4"
+ width="6.1451817"
+ height="1.7205472"
+ x="18.092291"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#ffbb80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5"
+ cx="19.654636"
+ cy="4.1422019"
+ r="0.77758729" />
+ <circle
+ style="fill:#ffbb80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2"
+ cx="22.724066"
+ cy="4.1393371"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5"
+ width="1.3563927"
+ height="0.56126595"
+ x="18.84197"
+ y="1.5317886"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4"
+ width="1.3563927"
+ height="0.56126595"
+ x="21.902798"
+ y="1.5317886"
+ ry="0.10523738" />
+ <path
+ style="fill:#fdff80;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-7"
+ width="6.1471992"
+ height="3.1404169"
+ x="28.4688"
+ y="1.002261"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 29.487765,1.002261 h 4.109269 c 0.564506,0 1.018965,0.4544585 1.018965,1.0189652 v 1.1024866 c 0,0.5645067 -0.454459,1.0189651 -1.018965,1.0189651 h -4.109269 c -0.564507,0 -1.018965,-0.4544584 -1.018965,-1.0189651 V 2.0212262 c 0,-0.5645067 0.454458,-1.0189652 1.018965,-1.0189652 z" />
+ <rect
+ style="fill:#fdff80;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-4"
+ width="6.1451817"
+ height="1.7205472"
+ x="28.470818"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#fdff80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-4"
+ cx="30.033159"
+ cy="4.1422019"
+ r="0.77758729" />
+ <circle
+ style="fill:#fdff80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-3"
+ cx="33.102585"
+ cy="4.1393371"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-0"
+ width="1.3563927"
+ height="0.56126595"
+ x="29.220495"
+ y="1.5317886"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-7"
+ width="1.3563927"
+ height="0.56126595"
+ x="32.281319"
+ y="1.5317886"
+ ry="0.10523738" />
+ <path
+ style="fill:#90ff80;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-7-8"
+ width="6.1471992"
+ height="3.1404169"
+ x="38.847317"
+ y="1.0022609"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 39.866282,1.0022609 h 4.109269 c 0.564506,0 1.018965,0.4544585 1.018965,1.0189651 v 1.1024867 c 0,0.5645066 -0.454459,1.0189651 -1.018965,1.0189651 h -4.109269 c -0.564507,0 -1.018965,-0.4544585 -1.018965,-1.0189651 V 2.021226 c 0,-0.5645066 0.454458,-1.0189651 1.018965,-1.0189651 z" />
+ <rect
+ style="fill:#90ff80;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-4-6"
+ width="6.1451817"
+ height="1.7205472"
+ x="38.849335"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#90ff80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-4-8"
+ cx="40.411678"
+ cy="4.1422019"
+ r="0.77758729" />
+ <circle
+ style="fill:#90ff80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-3-8"
+ cx="43.481106"
+ cy="4.1393371"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-0-4"
+ width="1.3563927"
+ height="0.56126595"
+ x="39.599014"
+ y="1.5317886"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-7-3"
+ width="1.3563927"
+ height="0.56126595"
+ x="42.659836"
+ y="1.5317886"
+ ry="0.10523738" />
+ <path
+ style="fill:#8080ff;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-7-8-1"
+ width="6.1471992"
+ height="3.1404169"
+ x="49.225838"
+ y="1.0022612"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 50.244803,1.0022612 h 4.109269 c 0.564506,0 1.018965,0.4544584 1.018965,1.0189651 v 1.1024866 c 0,0.5645067 -0.454459,1.0189651 -1.018965,1.0189651 h -4.109269 c -0.564507,0 -1.018965,-0.4544584 -1.018965,-1.0189651 V 2.0212263 c 0,-0.5645067 0.454458,-1.0189651 1.018965,-1.0189651 z" />
+ <rect
+ style="fill:#8080ff;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-4-6-4"
+ width="6.1451817"
+ height="1.7205472"
+ x="49.227856"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#8080ff;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-4-8-9"
+ cx="50.790199"
+ cy="4.1422024"
+ r="0.77758729" />
+ <circle
+ style="fill:#8080ff;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-3-8-2"
+ cx="53.859627"
+ cy="4.1393375"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-0-4-0"
+ width="1.3563927"
+ height="0.56126595"
+ x="49.977535"
+ y="1.5317888"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-7-3-6"
+ width="1.3563927"
+ height="0.56126595"
+ x="53.038357"
+ y="1.5317888"
+ ry="0.10523738" />
+ <path
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-7-8-1-8"
+ width="6.1471992"
+ height="3.1404169"
+ x="59.606373"
+ y="1.0022612"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 60.625338,1.0022612 h 4.109269 c 0.564507,0 1.018965,0.4544584 1.018965,1.0189651 v 1.1024866 c 0,0.5645067 -0.454458,1.0189651 -1.018965,1.0189651 h -4.109269 c -0.564507,0 -1.018965,-0.4544584 -1.018965,-1.0189651 V 2.0212263 c 0,-0.5645067 0.454458,-1.0189651 1.018965,-1.0189651 z" />
+ <rect
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-4-6-4-9"
+ width="6.1451817"
+ height="1.7205472"
+ x="59.608391"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-4-8-9-2"
+ cx="61.170734"
+ cy="4.1422024"
+ r="0.77758729" />
+ <circle
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-3-8-2-6"
+ cx="64.240181"
+ cy="4.1393375"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-0-4-0-6"
+ width="1.3563927"
+ height="0.56126595"
+ x="60.35807"
+ y="1.5317888"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-7-3-6-4"
+ width="1.3563927"
+ height="0.56126595"
+ x="63.418892"
+ y="1.5317888"
+ ry="0.10523738" />
+ <path
+ style="fill:#ff8080;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-3"
+ width="6.1471992"
+ height="3.1404169"
+ x="69.984924"
+ y="1.0022607"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 71.003889,1.0022607 h 4.109269 c 0.564507,0 1.018965,0.4544584 1.018965,1.0189651 v 1.1024866 c 0,0.5645067 -0.454458,1.0189651 -1.018965,1.0189651 h -4.109269 c -0.564506,0 -1.018965,-0.4544584 -1.018965,-1.0189651 V 2.0212258 c 0,-0.5645067 0.454459,-1.0189651 1.018965,-1.0189651 z" />
+ <rect
+ style="fill:#ff8080;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-40"
+ width="6.1451817"
+ height="1.7205472"
+ x="69.986946"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#ff8080;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-3"
+ cx="71.549286"
+ cy="4.1422024"
+ r="0.77758729" />
+ <circle
+ style="fill:#ff8080;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-9"
+ cx="74.618713"
+ cy="4.1393375"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-1"
+ width="1.3563927"
+ height="0.56126595"
+ x="70.736618"
+ y="1.5317888"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-9"
+ width="1.3563927"
+ height="0.56126595"
+ x="73.797447"
+ y="1.5317888"
+ ry="0.10523738" />
+ <path
+ style="fill:#ffbb80;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-6"
+ width="6.1471992"
+ height="3.1404169"
+ x="80.363441"
+ y="1.0022612"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 81.382407,1.0022612 h 4.109268 c 0.564507,0 1.018966,0.4544584 1.018966,1.0189651 v 1.1024866 c 0,0.5645067 -0.454459,1.0189651 -1.018966,1.0189651 h -4.109268 c -0.564507,0 -1.018966,-0.4544584 -1.018966,-1.0189651 V 2.0212263 c 0,-0.5645067 0.454459,-1.0189651 1.018966,-1.0189651 z" />
+ <rect
+ style="fill:#ffbb80;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-9"
+ width="6.1451817"
+ height="1.7205472"
+ x="80.365456"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#ffbb80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-3"
+ cx="81.927795"
+ cy="4.1422024"
+ r="0.77758729" />
+ <circle
+ style="fill:#ffbb80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-38"
+ cx="84.997223"
+ cy="4.1393375"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-05"
+ width="1.3563927"
+ height="0.56126595"
+ x="81.115135"
+ y="1.5317888"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-6"
+ width="1.3563927"
+ height="0.56126595"
+ x="84.175957"
+ y="1.5317888"
+ ry="0.10523738" />
+ <path
+ style="fill:#fdff80;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-7-6"
+ width="6.1471992"
+ height="3.1404169"
+ x="90.741959"
+ y="1.0022612"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 91.760924,1.0022612 h 4.109269 c 0.564506,0 1.018965,0.4544584 1.018965,1.0189651 v 1.1024866 c 0,0.5645067 -0.454459,1.0189651 -1.018965,1.0189651 h -4.109269 c -0.564507,0 -1.018965,-0.4544584 -1.018965,-1.0189651 V 2.0212263 c 0,-0.5645067 0.454458,-1.0189651 1.018965,-1.0189651 z" />
+ <rect
+ style="fill:#fdff80;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-4-4"
+ width="6.1451817"
+ height="1.7205472"
+ x="90.743973"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#fdff80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-4-0"
+ cx="92.30632"
+ cy="4.1422024"
+ r="0.77758729" />
+ <circle
+ style="fill:#fdff80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-3-0"
+ cx="95.37574"
+ cy="4.1393375"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-0-46"
+ width="1.3563927"
+ height="0.56126595"
+ x="91.493652"
+ y="1.5317888"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-7-2"
+ width="1.3563927"
+ height="0.56126595"
+ x="94.554474"
+ y="1.5317888"
+ ry="0.10523738" />
+ <path
+ style="fill:#90ff80;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-7-8-6"
+ width="6.1471992"
+ height="3.1404169"
+ x="101.12047"
+ y="1.0022612"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 102.13943,1.0022612 h 4.10927 c 0.56451,0 1.01897,0.4544584 1.01897,1.0189651 v 1.1024866 c 0,0.5645067 -0.45446,1.0189651 -1.01897,1.0189651 h -4.10927 c -0.5645,0 -1.01896,-0.4544584 -1.01896,-1.0189651 V 2.0212263 c 0,-0.5645067 0.45446,-1.0189651 1.01896,-1.0189651 z" />
+ <rect
+ style="fill:#90ff80;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-4-6-7"
+ width="6.1451817"
+ height="1.7205472"
+ x="101.12248"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#90ff80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-4-8-5"
+ cx="102.68481"
+ cy="4.1422024"
+ r="0.77758729" />
+ <circle
+ style="fill:#90ff80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-3-8-6"
+ cx="105.75427"
+ cy="4.1393375"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-0-4-9"
+ width="1.3563927"
+ height="0.56126595"
+ x="101.87215"
+ y="1.5317888"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-7-3-8"
+ width="1.3563927"
+ height="0.56126595"
+ x="104.933"
+ y="1.5317888"
+ ry="0.10523738" />
+ <path
+ style="fill:#8080ff;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-7-8-1-7"
+ width="6.1471992"
+ height="3.1404169"
+ x="111.49896"
+ y="1.0022612"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 112.51793,1.0022612 h 4.10927 c 0.5645,0 1.01896,0.4544584 1.01896,1.0189651 v 1.1024866 c 0,0.5645067 -0.45446,1.0189651 -1.01896,1.0189651 h -4.10927 c -0.56451,0 -1.01897,-0.4544584 -1.01897,-1.0189651 V 2.0212263 c 0,-0.5645067 0.45446,-1.0189651 1.01897,-1.0189651 z" />
+ <rect
+ style="fill:#8080ff;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-4-6-4-2"
+ width="6.1451817"
+ height="1.7205472"
+ x="111.50098"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#8080ff;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-4-8-9-8"
+ cx="113.06331"
+ cy="4.1422029"
+ r="0.77758729" />
+ <circle
+ style="fill:#8080ff;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-3-8-2-2"
+ cx="116.13277"
+ cy="4.139338"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-0-4-0-9"
+ width="1.3563927"
+ height="0.56126595"
+ x="112.25065"
+ y="1.5317888"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-7-3-6-9"
+ width="1.3563927"
+ height="0.56126595"
+ x="115.31146"
+ y="1.5317888"
+ ry="0.10523738" />
+ <path
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-7-8-1-8-6"
+ width="6.1471992"
+ height="3.1404169"
+ x="121.87949"
+ y="1.0022612"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 122.89846,1.0022612 h 4.10927 c 0.5645,0 1.01896,0.4544584 1.01896,1.0189651 v 1.1024866 c 0,0.5645067 -0.45446,1.0189651 -1.01896,1.0189651 h -4.10927 c -0.56451,0 -1.01897,-0.4544584 -1.01897,-1.0189651 V 2.0212263 c 0,-0.5645067 0.45446,-1.0189651 1.01897,-1.0189651 z" />
+ <rect
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-4-6-4-9-0"
+ width="6.1451817"
+ height="1.7205472"
+ x="121.88149"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-4-8-9-2-2"
+ cx="123.44383"
+ cy="4.1422029"
+ r="0.77758729" />
+ <circle
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-3-8-2-6-7"
+ cx="126.5133"
+ cy="4.139338"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-0-4-0-6-6"
+ width="1.3563927"
+ height="0.56126595"
+ x="122.63117"
+ y="1.5317888"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-7-3-6-4-1"
+ width="1.3563927"
+ height="0.56126595"
+ x="125.69202"
+ y="1.5317888"
+ ry="0.10523738" />
+ <path
+ style="fill:#ff8080;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-32"
+ width="6.1471992"
+ height="3.1404169"
+ x="132.2579"
+ y="1.0022607"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 133.27687,1.0022607 h 4.10927 c 0.5645,0 1.01896,0.4544584 1.01896,1.0189651 v 1.1024866 c 0,0.5645067 -0.45446,1.0189651 -1.01896,1.0189651 h -4.10927 c -0.56451,0 -1.01897,-0.4544584 -1.01897,-1.0189651 V 2.0212258 c 0,-0.5645067 0.45446,-1.0189651 1.01897,-1.0189651 z" />
+ <rect
+ style="fill:#ff8080;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-1"
+ width="6.1451817"
+ height="1.7205472"
+ x="132.25992"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#ff8080;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-59"
+ cx="133.82224"
+ cy="4.1422019"
+ r="0.77758729" />
+ <circle
+ style="fill:#ff8080;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-91"
+ cx="136.89162"
+ cy="4.1393371"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-4"
+ width="1.3563927"
+ height="0.56126595"
+ x="133.0096"
+ y="1.5317883"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-91"
+ width="1.3563927"
+ height="0.56126595"
+ x="136.07037"
+ y="1.5317883"
+ ry="0.10523738" />
+ <path
+ style="fill:#ffbb80;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-0"
+ width="6.1471992"
+ height="3.1404169"
+ x="142.63634"
+ y="1.0022607"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 143.6553,1.0022607 h 4.10927 c 0.56451,0 1.01897,0.4544584 1.01897,1.0189651 v 1.1024866 c 0,0.5645067 -0.45446,1.0189651 -1.01897,1.0189651 h -4.10927 c -0.5645,0 -1.01896,-0.4544584 -1.01896,-1.0189651 V 2.0212258 c 0,-0.5645067 0.45446,-1.0189651 1.01896,-1.0189651 z" />
+ <rect
+ style="fill:#ffbb80;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-7"
+ width="6.1451817"
+ height="1.7205472"
+ x="142.63837"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#ffbb80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-5"
+ cx="144.2007"
+ cy="4.1422019"
+ r="0.77758729" />
+ <circle
+ style="fill:#ffbb80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-8"
+ cx="147.27013"
+ cy="4.1393371"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-7"
+ width="1.3563927"
+ height="0.56126595"
+ x="143.38803"
+ y="1.5317883"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-0"
+ width="1.3563927"
+ height="0.56126595"
+ x="146.44885"
+ y="1.5317883"
+ ry="0.10523738" />
+ <path
+ style="fill:#fdff80;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-7-4"
+ width="6.1471992"
+ height="3.1404169"
+ x="153.01486"
+ y="1.0022607"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 154.03383,1.0022607 h 4.10927 c 0.5645,0 1.01896,0.4544584 1.01896,1.0189651 v 1.1024866 c 0,0.5645067 -0.45446,1.0189651 -1.01896,1.0189651 h -4.10927 c -0.56451,0 -1.01897,-0.4544584 -1.01897,-1.0189651 V 2.0212258 c 0,-0.5645067 0.45446,-1.0189651 1.01897,-1.0189651 z" />
+ <rect
+ style="fill:#fdff80;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-4-8"
+ width="6.1451817"
+ height="1.7205472"
+ x="153.01688"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#fdff80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-4-04"
+ cx="154.57922"
+ cy="4.1422019"
+ r="0.77758729" />
+ <circle
+ style="fill:#fdff80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-3-2"
+ cx="157.64865"
+ cy="4.1393371"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-0-9"
+ width="1.3563927"
+ height="0.56126595"
+ x="153.76656"
+ y="1.5317883"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-7-6"
+ width="1.3563927"
+ height="0.56126595"
+ x="156.82738"
+ y="1.5317883"
+ ry="0.10523738" />
+ <path
+ style="fill:#90ff80;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-7-8-10"
+ width="6.1471992"
+ height="3.1404169"
+ x="163.39337"
+ y="1.0022607"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 164.41234,1.0022607 h 4.10927 c 0.5645,0 1.01896,0.4544584 1.01896,1.0189651 v 1.1024866 c 0,0.5645067 -0.45446,1.0189651 -1.01896,1.0189651 h -4.10927 c -0.56451,0 -1.01897,-0.4544584 -1.01897,-1.0189651 V 2.0212258 c 0,-0.5645067 0.45446,-1.0189651 1.01897,-1.0189651 z" />
+ <rect
+ style="fill:#90ff80;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-4-6-42"
+ width="6.1451817"
+ height="1.7205472"
+ x="163.39539"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#90ff80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-4-8-2"
+ cx="164.95773"
+ cy="4.1422019"
+ r="0.77758729" />
+ <circle
+ style="fill:#90ff80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-3-8-20"
+ cx="168.02716"
+ cy="4.1393371"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-0-4-5"
+ width="1.3563927"
+ height="0.56126595"
+ x="164.14508"
+ y="1.5317883"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-7-3-5"
+ width="1.3563927"
+ height="0.56126595"
+ x="167.2059"
+ y="1.5317883"
+ ry="0.10523738" />
+ <path
+ style="fill:#8080ff;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-7-8-1-2"
+ width="6.1471992"
+ height="3.1404169"
+ x="173.7719"
+ y="1.0022612"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 174.79086,1.0022612 h 4.10927 c 0.56451,0 1.01897,0.4544584 1.01897,1.0189651 v 1.1024866 c 0,0.5645067 -0.45446,1.0189651 -1.01897,1.0189651 h -4.10927 c -0.56451,0 -1.01896,-0.4544584 -1.01896,-1.0189651 V 2.0212263 c 0,-0.5645067 0.45445,-1.0189651 1.01896,-1.0189651 z" />
+ <rect
+ style="fill:#8080ff;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-4-6-4-90"
+ width="6.1451817"
+ height="1.7205472"
+ x="173.7739"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#8080ff;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-4-8-9-28"
+ cx="175.33626"
+ cy="4.1422024"
+ r="0.77758729" />
+ <circle
+ style="fill:#8080ff;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-3-8-2-3"
+ cx="178.40569"
+ cy="4.1393375"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-0-4-0-8"
+ width="1.3563927"
+ height="0.56126595"
+ x="174.52359"
+ y="1.5317888"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-7-3-6-0"
+ width="1.3563927"
+ height="0.56126595"
+ x="177.58441"
+ y="1.5317888"
+ ry="0.10523738" />
+ <path
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-7-8-1-8-4"
+ width="6.1471992"
+ height="3.1404169"
+ x="184.15244"
+ y="1.0022612"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 185.1714,1.0022612 h 4.10927 c 0.56451,0 1.01896,0.4544584 1.01896,1.0189651 v 1.1024866 c 0,0.5645067 -0.45445,1.0189651 -1.01896,1.0189651 h -4.10927 c -0.56451,0 -1.01896,-0.4544584 -1.01896,-1.0189651 V 2.0212263 c 0,-0.5645067 0.45445,-1.0189651 1.01896,-1.0189651 z" />
+ <rect
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-4-6-4-9-09"
+ width="6.1451817"
+ height="1.7205472"
+ x="184.15445"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-4-8-9-2-1"
+ cx="185.7168"
+ cy="4.1422024"
+ r="0.77758729" />
+ <circle
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-3-8-2-6-9"
+ cx="188.78622"
+ cy="4.1393375"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-0-4-0-6-62"
+ width="1.3563927"
+ height="0.56126595"
+ x="184.90413"
+ y="1.5317888"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-7-3-6-4-5"
+ width="1.3563927"
+ height="0.56126595"
+ x="187.96494"
+ y="1.5317888"
+ ry="0.10523738" />
+ <path
+ style="fill:#ff8080;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-3-4"
+ width="6.1471992"
+ height="3.1404169"
+ x="194.53094"
+ y="1.0022607"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 195.54991,1.0022607 h 4.10927 c 0.56451,0 1.01896,0.4544584 1.01896,1.0189651 v 1.1024866 c 0,0.5645067 -0.45445,1.0189651 -1.01896,1.0189651 h -4.10927 c -0.56451,0 -1.01897,-0.4544584 -1.01897,-1.0189651 V 2.0212258 c 0,-0.5645067 0.45446,-1.0189651 1.01897,-1.0189651 z" />
+ <rect
+ style="fill:#ff8080;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-40-4"
+ width="6.1451817"
+ height="1.7205472"
+ x="194.53296"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#ff8080;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-3-9"
+ cx="196.09531"
+ cy="4.1422024"
+ r="0.77758729" />
+ <circle
+ style="fill:#ff8080;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-9-9"
+ cx="199.16473"
+ cy="4.1393375"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-1-3"
+ width="1.3563927"
+ height="0.56126595"
+ x="195.28264"
+ y="1.5317888"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-9-6"
+ width="1.3563927"
+ height="0.56126595"
+ x="198.34348"
+ y="1.5317888"
+ ry="0.10523738" />
+ <path
+ style="fill:#ffbb80;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-6-0"
+ width="6.1471992"
+ height="3.1404169"
+ x="204.90945"
+ y="1.0022612"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 205.92842,1.0022612 h 4.10927 c 0.56451,0 1.01896,0.4544584 1.01896,1.0189651 v 1.1024866 c 0,0.5645067 -0.45445,1.0189651 -1.01896,1.0189651 h -4.10927 c -0.56451,0 -1.01897,-0.4544584 -1.01897,-1.0189651 V 2.0212263 c 0,-0.5645067 0.45446,-1.0189651 1.01897,-1.0189651 z" />
+ <rect
+ style="fill:#ffbb80;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-9-5"
+ width="6.1451817"
+ height="1.7205472"
+ x="204.91147"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#ffbb80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-3-0"
+ cx="206.47382"
+ cy="4.1422024"
+ r="0.77758729" />
+ <circle
+ style="fill:#ffbb80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-38-2"
+ cx="209.54324"
+ cy="4.1393375"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-05-9"
+ width="1.3563927"
+ height="0.56126595"
+ x="205.66116"
+ y="1.5317888"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-6-4"
+ width="1.3563927"
+ height="0.56126595"
+ x="208.72198"
+ y="1.5317888"
+ ry="0.10523738" />
+ <path
+ style="fill:#fdff80;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-7-6-3"
+ width="6.1471992"
+ height="3.1404169"
+ x="215.28799"
+ y="1.0022612"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 216.30696,1.0022612 h 4.10927 c 0.56451,0 1.01896,0.4544584 1.01896,1.0189651 v 1.1024866 c 0,0.5645067 -0.45445,1.0189651 -1.01896,1.0189651 h -4.10927 c -0.56451,0 -1.01897,-0.4544584 -1.01897,-1.0189651 V 2.0212263 c 0,-0.5645067 0.45446,-1.0189651 1.01897,-1.0189651 z" />
+ <rect
+ style="fill:#fdff80;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-4-4-5"
+ width="6.1451817"
+ height="1.7205472"
+ x="215.29001"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#fdff80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-4-0-1"
+ cx="216.85236"
+ cy="4.1422024"
+ r="0.77758729" />
+ <circle
+ style="fill:#fdff80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-3-0-7"
+ cx="219.92175"
+ cy="4.1393375"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-0-46-4"
+ width="1.3563927"
+ height="0.56126595"
+ x="216.03967"
+ y="1.5317888"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-7-2-3"
+ width="1.3563927"
+ height="0.56126595"
+ x="219.10049"
+ y="1.5317888"
+ ry="0.10523738" />
+ <path
+ style="fill:#90ff80;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-7-8-6-1"
+ width="6.1471992"
+ height="3.1404169"
+ x="225.6665"
+ y="1.0022612"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 226.68547,1.0022612 h 4.10927 c 0.5645,0 1.01896,0.4544584 1.01896,1.0189651 v 1.1024866 c 0,0.5645067 -0.45446,1.0189651 -1.01896,1.0189651 h -4.10927 c -0.56451,0 -1.01897,-0.4544584 -1.01897,-1.0189651 V 2.0212263 c 0,-0.5645067 0.45446,-1.0189651 1.01897,-1.0189651 z" />
+ <rect
+ style="fill:#90ff80;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-4-6-7-4"
+ width="6.1451817"
+ height="1.7205472"
+ x="225.66852"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#90ff80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-4-8-5-6"
+ cx="227.23087"
+ cy="4.1422024"
+ r="0.77758729" />
+ <circle
+ style="fill:#90ff80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-3-8-6-9"
+ cx="230.30029"
+ cy="4.1393375"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-0-4-9-4"
+ width="1.3563927"
+ height="0.56126595"
+ x="226.41818"
+ y="1.5317888"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-7-3-8-2"
+ width="1.3563927"
+ height="0.56126595"
+ x="229.47903"
+ y="1.5317888"
+ ry="0.10523738" />
+ <path
+ style="fill:#8080ff;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-7-8-1-7-2"
+ width="6.1471992"
+ height="3.1404169"
+ x="236.04501"
+ y="1.0022612"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 237.06398,1.0022612 h 4.10927 c 0.5645,0 1.01896,0.4544584 1.01896,1.0189651 v 1.1024866 c 0,0.5645067 -0.45446,1.0189651 -1.01896,1.0189651 h -4.10927 c -0.56451,0 -1.01897,-0.4544584 -1.01897,-1.0189651 V 2.0212263 c 0,-0.5645067 0.45446,-1.0189651 1.01897,-1.0189651 z" />
+ <rect
+ style="fill:#8080ff;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-4-6-4-2-6"
+ width="6.1451817"
+ height="1.7205472"
+ x="236.04703"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#8080ff;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-4-8-9-8-4"
+ cx="237.60938"
+ cy="4.1422029"
+ r="0.77758729" />
+ <circle
+ style="fill:#8080ff;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-3-8-2-2-1"
+ cx="240.6788"
+ cy="4.139338"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-0-4-0-9-2"
+ width="1.3563927"
+ height="0.56126595"
+ x="236.79669"
+ y="1.5317888"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-7-3-6-9-8"
+ width="1.3563927"
+ height="0.56126595"
+ x="239.85751"
+ y="1.5317888"
+ ry="0.10523738" />
+ <path
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-7-8-1-8-6-8"
+ width="6.1471992"
+ height="3.1404169"
+ x="246.42554"
+ y="1.0022612"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 247.4445,1.0022612 h 4.10927 c 0.56451,0 1.01897,0.4544584 1.01897,1.0189651 v 1.1024866 c 0,0.5645067 -0.45446,1.0189651 -1.01897,1.0189651 h -4.10927 c -0.5645,0 -1.01896,-0.4544584 -1.01896,-1.0189651 V 2.0212263 c 0,-0.5645067 0.45446,-1.0189651 1.01896,-1.0189651 z" />
+ <rect
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-4-6-4-9-0-9"
+ width="6.1451817"
+ height="1.7205472"
+ x="246.42755"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-4-8-9-2-2-2"
+ cx="247.98987"
+ cy="4.1422029"
+ r="0.77758729" />
+ <circle
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-3-8-2-6-7-8"
+ cx="251.05936"
+ cy="4.139338"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-0-4-0-6-6-8"
+ width="1.3563927"
+ height="0.56126595"
+ x="247.17725"
+ y="1.5317888"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-7-3-6-4-1-8"
+ width="1.3563927"
+ height="0.56126595"
+ x="250.23807"
+ y="1.5317888"
+ ry="0.10523738" />
+ <path
+ style="fill:#ff8080;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-32-6"
+ width="6.1471992"
+ height="3.1404169"
+ x="256.80417"
+ y="1.0022607"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 257.82313,1.0022607 h 4.10927 c 0.56451,0 1.01897,0.4544584 1.01897,1.0189651 v 1.1024866 c 0,0.5645067 -0.45446,1.0189651 -1.01897,1.0189651 h -4.10927 c -0.5645,0 -1.01896,-0.4544584 -1.01896,-1.0189651 V 2.0212258 c 0,-0.5645067 0.45446,-1.0189651 1.01896,-1.0189651 z" />
+ <rect
+ style="fill:#ff8080;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-1-8"
+ width="6.1451817"
+ height="1.7205472"
+ x="256.80615"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#ff8080;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-59-3"
+ cx="258.36856"
+ cy="4.1422019"
+ r="0.77758729" />
+ <circle
+ style="fill:#ff8080;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-91-8"
+ cx="261.43805"
+ cy="4.1393371"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-4-3"
+ width="1.3563927"
+ height="0.56126595"
+ x="257.55588"
+ y="1.5317883"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-91-3"
+ width="1.3563927"
+ height="0.56126595"
+ x="260.61676"
+ y="1.5317883"
+ ry="0.10523738" />
+ <path
+ style="fill:#ffbb80;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-0-3"
+ width="6.1471992"
+ height="3.1404169"
+ x="267.18292"
+ y="1.0022607"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 268.20189,1.0022607 h 4.10927 c 0.5645,0 1.01896,0.4544584 1.01896,1.0189651 v 1.1024866 c 0,0.5645067 -0.45446,1.0189651 -1.01896,1.0189651 h -4.10927 c -0.56451,0 -1.01897,-0.4544584 -1.01897,-1.0189651 V 2.0212258 c 0,-0.5645067 0.45446,-1.0189651 1.01897,-1.0189651 z" />
+ <rect
+ style="fill:#ffbb80;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-7-8"
+ width="6.1451817"
+ height="1.7205472"
+ x="267.18494"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#ffbb80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-5-0"
+ cx="268.74728"
+ cy="4.1422019"
+ r="0.77758729" />
+ <circle
+ style="fill:#ffbb80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-8-4"
+ cx="271.81671"
+ cy="4.1393371"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-7-7"
+ width="1.3563927"
+ height="0.56126595"
+ x="267.9346"
+ y="1.5317883"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-0-6"
+ width="1.3563927"
+ height="0.56126595"
+ x="270.99542"
+ y="1.5317883"
+ ry="0.10523738" />
+ <path
+ style="fill:#fdff80;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-7-4-8"
+ width="6.1471992"
+ height="3.1404169"
+ x="277.56143"
+ y="1.0022607"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 278.5804,1.0022607 h 4.10927 c 0.5645,0 1.01896,0.4544584 1.01896,1.0189651 v 1.1024866 c 0,0.5645067 -0.45446,1.0189651 -1.01896,1.0189651 h -4.10927 c -0.56451,0 -1.01897,-0.4544584 -1.01897,-1.0189651 V 2.0212258 c 0,-0.5645067 0.45446,-1.0189651 1.01897,-1.0189651 z" />
+ <rect
+ style="fill:#fdff80;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-4-8-9"
+ width="6.1451817"
+ height="1.7205472"
+ x="277.56345"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#fdff80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-4-04-0"
+ cx="279.12579"
+ cy="4.1422019"
+ r="0.77758729" />
+ <circle
+ style="fill:#fdff80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-3-2-6"
+ cx="282.19522"
+ cy="4.1393371"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-0-9-8"
+ width="1.3563927"
+ height="0.56126595"
+ x="278.31314"
+ y="1.5317883"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-7-6-7"
+ width="1.3563927"
+ height="0.56126595"
+ x="281.37396"
+ y="1.5317883"
+ ry="0.10523738" />
+ <path
+ style="fill:#90ff80;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-7-8-10-9"
+ width="6.1471992"
+ height="3.1404169"
+ x="287.93994"
+ y="1.0022607"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 288.95891,1.0022607 h 4.10927 c 0.5645,0 1.01896,0.4544584 1.01896,1.0189651 v 1.1024866 c 0,0.5645067 -0.45446,1.0189651 -1.01896,1.0189651 h -4.10927 c -0.56451,0 -1.01897,-0.4544584 -1.01897,-1.0189651 V 2.0212258 c 0,-0.5645067 0.45446,-1.0189651 1.01897,-1.0189651 z" />
+ <rect
+ style="fill:#90ff80;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-4-6-42-0"
+ width="6.1451817"
+ height="1.7205472"
+ x="287.94196"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#90ff80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-4-8-2-3"
+ cx="289.5043"
+ cy="4.1422019"
+ r="0.77758729" />
+ <circle
+ style="fill:#90ff80;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-3-8-20-3"
+ cx="292.57373"
+ cy="4.1393371"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-0-4-5-3"
+ width="1.3563927"
+ height="0.56126595"
+ x="288.69165"
+ y="1.5317883"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-7-3-5-7"
+ width="1.3563927"
+ height="0.56126595"
+ x="291.75247"
+ y="1.5317883"
+ ry="0.10523738" />
+ <path
+ style="fill:#8080ff;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-7-8-1-2-3"
+ width="6.1471992"
+ height="3.1404169"
+ x="298.31848"
+ y="1.0022612"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 299.33745,1.0022612 h 4.10927 c 0.5645,0 1.01896,0.4544584 1.01896,1.0189651 v 1.1024866 c 0,0.5645067 -0.45446,1.0189651 -1.01896,1.0189651 h -4.10927 c -0.56451,0 -1.01897,-0.4544584 -1.01897,-1.0189651 V 2.0212263 c 0,-0.5645067 0.45446,-1.0189651 1.01897,-1.0189651 z" />
+ <rect
+ style="fill:#8080ff;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-4-6-4-90-2"
+ width="6.1451817"
+ height="1.7205472"
+ x="298.32047"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#8080ff;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-4-8-9-28-6"
+ cx="299.88284"
+ cy="4.1422024"
+ r="0.77758729" />
+ <circle
+ style="fill:#8080ff;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-3-8-2-3-5"
+ cx="302.95227"
+ cy="4.1393375"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-0-4-0-8-2"
+ width="1.3563927"
+ height="0.56126595"
+ x="299.07016"
+ y="1.5317888"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-7-3-6-0-6"
+ width="1.3563927"
+ height="0.56126595"
+ x="302.13098"
+ y="1.5317888"
+ ry="0.10523738" />
+ <path
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-7-8-1-8-4-5"
+ width="6.1471992"
+ height="3.1404169"
+ x="308.69901"
+ y="1.0022612"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m 309.71797,1.0022612 h 4.10927 c 0.56451,0 1.01896,0.4544584 1.01896,1.0189651 v 1.1024866 c 0,0.5645067 -0.45445,1.0189651 -1.01896,1.0189651 h -4.10927 c -0.56451,0 -1.01896,-0.4544584 -1.01896,-1.0189651 V 2.0212263 c 0,-0.5645067 0.45445,-1.0189651 1.01896,-1.0189651 z" />
+ <rect
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-4-6-4-9-09-8"
+ width="6.1451817"
+ height="1.7205472"
+ x="308.70102"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-4-8-9-2-1-7"
+ cx="310.26337"
+ cy="4.1422024"
+ r="0.77758729" />
+ <circle
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-3-8-2-6-9-9"
+ cx="313.33279"
+ cy="4.1393375"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-0-4-0-6-62-6"
+ width="1.3563927"
+ height="0.56126595"
+ x="309.45071"
+ y="1.5317888"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-7-3-6-4-5-0"
+ width="1.3563927"
+ height="0.56126595"
+ x="312.51151"
+ y="1.5317888"
+ ry="0.10523738" />
+ <path
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264999"
+ id="rect1603-7-7-8-1-8-4-5-3"
+ width="6.1471992"
+ height="3.1404169"
+ x="-2.6667454"
+ y="1.0022613"
+ sodipodi:type="rect"
+ ry="1.0189651"
+ d="m -1.6477803,1.0022613 h 4.1092689 c 0.5645067,0 1.0189651,0.4544584 1.0189651,1.0189651 V 3.123713 c 0,0.5645067 -0.4544584,1.0189651 -1.0189651,1.0189651 h -4.1092689 c -0.5645067,0 -1.0189651,-0.4544584 -1.0189651,-1.0189651 V 2.0212264 c 0,-0.5645067 0.4544584,-1.0189651 1.0189651,-1.0189651 z" />
+ <rect
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264596"
+ id="rect1607-4-4-6-4-9-09-8-6"
+ width="6.1451817"
+ height="1.7205472"
+ x="-2.6647313"
+ y="2.4221301"
+ ry="0" />
+ <circle
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-5-4-8-9-2-1-7-7"
+ cx="-1.102384"
+ cy="4.1422024"
+ r="0.77758729" />
+ <circle
+ style="fill:#ff80f7;fill-opacity:1;stroke-width:0.264999"
+ id="path1609-9-2-3-8-2-6-9-9-5"
+ cx="1.967043"
+ cy="4.1393375"
+ r="0.77758729" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-5-0-4-0-6-62-6-3"
+ width="1.3563927"
+ height="0.56126595"
+ x="-1.9150367"
+ y="1.5317889"
+ ry="0.10523738" />
+ <rect
+ style="fill:#000000;fill-opacity:0.25;stroke-width:0.264999"
+ id="rect1631-3-4-7-3-6-4-5-0-5"
+ width="1.3563927"
+ height="0.56126595"
+ x="1.1457543"
+ y="1.5317889"
+ ry="0.10523738" />
+ <rect
+ style="fill:#ffd880;fill-opacity:1;stroke-width:0.264999"
+ id="rect837-6"
+ width="3.9422255"
+ height="1.0022609"
+ x="2.1633039"
+ y="5.5458426" />
+ </g>
+</svg>
diff --git a/logo/old/logo-beta.png b/logo/old/logo-beta.png
new file mode 100644
index 0000000..7b1890b
--- /dev/null
+++ b/logo/old/logo-beta.png
Binary files differ
diff --git a/logo/old/logo-git.png b/logo/old/logo-git.png
new file mode 100644
index 0000000..4ba8f09
--- /dev/null
+++ b/logo/old/logo-git.png
Binary files differ
diff --git a/logo/old/logo-nightly.png b/logo/old/logo-nightly.png
new file mode 100644
index 0000000..fcfb226
--- /dev/null
+++ b/logo/old/logo-nightly.png
Binary files differ
diff --git a/logo/old/logo.png b/logo/old/logo.png
new file mode 100644
index 0000000..148fba5
--- /dev/null
+++ b/logo/old/logo.png
Binary files differ
diff --git a/logo/server.png b/logo/server.png
new file mode 100644
index 0000000..d1479d3
--- /dev/null
+++ b/logo/server.png
Binary files differ
diff --git a/logo/vendor.png b/logo/vendor.png
new file mode 100644
index 0000000..dc44aaa
--- /dev/null
+++ b/logo/vendor.png
Binary files differ
diff --git a/modding/hooks.js b/modding/hooks.js
new file mode 100644
index 0000000..d0ee779
--- /dev/null
+++ b/modding/hooks.js
@@ -0,0 +1,201 @@
+function hook_Music(mod, type, hname) {
+ hook = mod["Hook"][hname];
+ names = Object.keys(hook);
+
+ for (i in names) {
+ name = names[i];
+ if (name !== "Music.Start" && name !== "Music.Prepare" && name !== "Music.Title" && name !== "Music.Credits" && name !== "Music.Win" && name !== "Music.Game1" && name !== "Music.Game2" && name !== "Music.Game3" && name !== "Music.Game4" && name !== "Music.Game5" && name !== "Music.Game6" && name !== "Music.Game7" && name !== "Music.Game8" && name !== "Music.Game9") {
+ dialog.showMessageBoxSync(
+ {
+ type: "error",
+ title: "Illegal Instruction",
+ message: "On package " + item + ": hook " + hname + " (" + type + "): invalid hook data, EXITING"
+ }
+ )
+ process.exit(2);
+ } else {
+ switch (name) {
+ case "Music.Start":
+ resources.music['start'].file = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ resources.music['start'].original = false;
+ break;
+ case "Music.Title":
+ resources.music['title'].file = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ resources.music['title'].original = false;
+ break;
+ case "Music.Credits":
+ resources.music['credits'].file = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ resources.music['credits'].original = false;
+ break;
+ case "Music.Win":
+ resources.music['win'].file = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ resources.music['win'].original = false;
+ break;
+ case "Music.Prepare":
+ resources.music['prepare'].file = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ resources.music['prepare'].original = false;
+ break;
+ case "Music.Game1":
+ resources.music['game1'].file = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ resources.music['game1'].original = false;
+ break;
+ case "Music.Game2":
+ resources.music['game2'].file = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ resources.music['game2'].original = false;
+ break;
+ case "Music.Game3":
+ resources.music['game3'].file = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ resources.music['game3'].original = false;
+ break;
+ case "Music.Game4":
+ resources.music['game4'].file = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ resources.music['game4'].original = false;
+ break;
+ case "Music.Game5":
+ resources.music['game5'].file = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ resources.music['game5'].original = false;
+ break;
+ case "Music.Game6":
+ resources.music['game6'].file = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ resources.music['game6'].original = false;
+ break;
+ case "Music.Game7":
+ resources.music['game7'].file = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ resources.music['game7'].original = false;
+ break;
+ case "Music.Game8":
+ resources.music['game8'].file = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ resources.music['game8'].original = false;
+ break;
+ case "Music.Game9":
+ resources.music['game9'].file = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ resources.music['game9'].original = false;
+ break;
+ }
+ }
+ }
+}
+
+function hook_SoundFX(mod, type, hname) {
+ hook = mod["Hook"][hname];
+ names = Object.keys(hook);
+
+ for (i in names) {
+ name = names[i];
+ if (name !== "SFX.Click" && name !== "SFX.Crash" && name !== "SFX.Intro" && name !== "SFX.Last" && name !== "SFX.Menu" && name !== "SFX.Pass" && name !== "SFX.Pause" && name !== "SFX.Start" && name !== "SFX.Win") {
+ dialog.showMessageBoxSync(
+ {
+ type: "error",
+ title: "Illegal Instruction",
+ message: "On package " + item + ": hook " + hname + " (" + type + "): invalid hook data, EXITING"
+ }
+ )
+ process.exit(2);
+ } else {
+ switch (name) {
+ case "SFX.Click":
+ resources.sfx['click'] = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ break;
+ case "SFX.Crash":
+ resources.sfx['crash'] = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ break;
+ case "SFX.Intro":
+ resources.sfx['intro'] = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ break;
+ case "SFX.Last":
+ resources.sfx['last'] = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ break;
+ case "SFX.Menu":
+ resources.sfx['menu'] = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ break;
+ case "SFX.Pass":
+ resources.sfx['pass'] = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ break;
+ case "SFX.Pause":
+ resources.sfx['pause'] = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ break;
+ case "SFX.Start":
+ resources.sfx['start'] = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ break;
+ case "SFX.Win":
+ resources.sfx['win'] = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ break;
+ }
+ }
+ }
+}
+
+function hook_Car(mod, type, hname) {
+ hook = mod["Hook"][hname];
+ names = Object.keys(hook);
+
+ for (i in names) {
+ name = names[i];
+
+ if (name.startsWith("Car.")) {
+ resources.cars[name.substr(4)] = mod["_Path"] + "/" + mod["Hook"][hname][name];
+ } else {
+ dialog.showMessageBoxSync(
+ {
+ type: "error",
+ title: "Illegal Instruction",
+ message: "On package " + item + ": hook " + hname + " (" + type + "): invalid hook data, EXITING"
+ }
+ )
+ process.exit(2);
+ }
+ }
+}
+
+function hook_Circuit(mod, type, hname) {
+ hook = mod["Hook"][hname];
+ names = Object.keys(hook);
+
+ for (i in names) {
+ name = names[i];
+
+ if (name.startsWith("Circuit.")) {
+ resources.races[name.substr(4)] = mod["_Path"] + "/" + mod["Hook"][hname][name] + ".html";
+ } else {
+ dialog.showMessageBoxSync(
+ {
+ type: "error",
+ title: "Illegal Instruction",
+ message: "On package " + item + ": hook " + hname + " (" + type + "): invalid hook data, EXITING"
+ }
+ )
+ process.exit(2);
+ }
+ }
+}
+
+module.exports = (mod, type, name) => {
+ hook = mod["Hook"][name];
+
+ if (type !== "Kartik.Music" && type !== "Kartik.SoundFX" && type !== "Kartik.Circuit" && type !== "Kartik.Car") {
+ dialog.showMessageBoxSync(
+ {
+ type: "error",
+ title: "Illegal Instruction",
+ message: "On package " + item + ": invalid hook type, EXITING"
+ }
+ )
+ process.exit(2);
+ }
+
+ switch (type) {
+ case "Kartik.Music":
+ hook_Music(mod, type, name);
+ break;
+ case "Kartik.SoundFX":
+ hook_SoundFX(mod, type, name);
+ break;
+ case "Kartik.Car":
+ hook_Car(mod, type, name);
+ break;
+ break;
+ case "Kartik.Circuit":
+ hook_Circuit(mod, type, name);
+ break;
+ }
+}
diff --git a/modding/parser.js b/modding/parser.js
new file mode 100644
index 0000000..26f5320
--- /dev/null
+++ b/modding/parser.js
@@ -0,0 +1,277 @@
+const fs = require('fs');
+const os = require('os');
+const ini = require('ini');
+const YAML = require('yaml');
+const { dialog } = require('electron');
+const semver = require('semver');
+
+function unload(arr) {
+ var what, a = arguments, L = a.length, ax;
+ while (L > 1 && arr.length) {
+ what = a[--L];
+ while ((ax= arr.indexOf(what)) !== -1) {
+ arr.splice(ax, 1);
+ }
+ }
+ return arr;
+}
+
+list = fs.readdirSync(homedir + "/.kartik/mods");
+
+for (index in list) {
+ item = list[index];
+
+ if (!fs.existsSync(homedir + "/.kartik/mods/" + item + "/kartik.ini") && !fs.existsSync(homedir + "/.kartik/mods/" + item + "/kartik.yml")) {
+ unload(list, item);
+ dialog.showMessageBoxSync(
+ {
+ type: "error",
+ title: "Illegal Instruction",
+ message: "On package " + item + ": no kartik.ini or kartik.yml file found"
+ }
+ )
+ }
+}
+
+for (index in list) {
+ item = list[index];
+
+ parts = item.split(".");
+ if (parts.length < 2 || parts[0].length > 5 || item.length > 49 || parts.length > 5 || !/^[a-zA-Z0-9.]*$/gm.test(item)) {
+ unload(list, item);
+ if (parts.length < 2) {
+ dialog.showMessageBoxSync(
+ {
+ type: "error",
+ title: "Illegal Instruction",
+ message: "On package " + item + ": invalid package name: not enough parts"
+ }
+ )
+ }
+ if (parts[0].length > 5) {
+ dialog.showMessageBoxSync(
+ {
+ type: "error",
+ title: "Illegal Instruction",
+ message: "On package " + item + ": invalid package name: tld too long"
+ }
+ )
+ }
+ if (item.length > 49) {
+ dialog.showMessageBoxSync(
+ {
+ type: "error",
+ title: "Illegal Instruction",
+ message: "On package " + item + ": invalid package name: too long"
+ }
+ )
+ }
+ if (parts.length > 5) {
+ dialog.showMessageBoxSync(
+ {
+ type: "error",
+ title: "Illegal Instruction",
+ message: "On package " + item + ": invalid package name: too many parts"
+ }
+ )
+ }
+ if (!/^[a-zA-Z0-9.]*$/gm.test(item)) {
+ dialog.showMessageBoxSync(
+ {
+ type: "error",
+ title: "Illegal Instruction",
+ message: "On package " + item + ": invalid package name: invalid format"
+ }
+ )
+ }
+ }
+}
+
+for (index in list) {
+ item = list[index];
+
+ if (fs.existsSync(homedir + "/.kartik/mods/" + item + "/kartik.ini") && fs.existsSync(homedir + "/.kartik/mods/" + item + "/kartik.yml")) {
+ unload(list, item);
+ dialog.showMessageBoxSync(
+ {
+ type: "error",
+ title: "Illegal Instruction",
+ message: "On package " + item + ": both kartik.ini and kartik.yml found"
+ }
+ )
+ }
+}
+
+global.moddata = {};
+
+for (index in list) {
+ if (fs.existsSync(homedir + "/.kartik/mods/" + item + "/kartik.ini")) {
+ try {
+ moddata[list] = ini.parse(fs.readFileSync(homedir + "/.kartik/mods/" + item + "/kartik.ini", "utf-8"));
+ } catch (e) {
+ unload(list, item);
+ console.error(e);
+ dialog.showMessageBoxSync(
+ {
+ type: "error",
+ title: "Illegal Instruction",
+ message: "On package " + item + ": ini parser error"
+ }
+ )
+ }
+ } else {
+ try {
+ moddata[list] = YAML.parse(fs.readFileSync(homedir + "/.kartik/mods/" + item + "/kartik.yml", "utf-8"));
+ } catch (e) {
+ unload(list, item);
+ console.error(e);
+ dialog.showMessageBoxSync(
+ {
+ type: "error",
+ title: "Illegal Instruction",
+ message: "On package " + item + ": yaml parser error"
+ }
+ )
+ }
+ }
+}
+
+for (index in list) {
+ item = list[index];
+ mod = moddata[item];
+
+ roots = Object.keys(mod);
+
+ for (i1 in roots) {
+ r = roots[i1];
+ if (r !== "Meta" && r !== "Hook") {
+ unload(list, item);
+ dialog.showMessageBoxSync(
+ {
+ type: "error",
+ title: "Illegal Instruction",
+ message: "On package " + item + ": invalid root section: " + r
+ }
+ )
+ }
+ }
+
+ for (i2 in Object.keys(mod["Meta"])) {
+ r = Object.keys(mod["Meta"])[i2];
+ if (r !== "Properties" && r !== "Hooks") {
+ unload(list, item);
+ dialog.showMessageBoxSync(
+ {
+ type: "error",
+ title: "Illegal Instruction",
+ message: "On package " + item + ": invalid meta section: " + r
+ }
+ )
+ }
+ }
+
+ if (Object.keys(mod["Meta"]).length < 2) {
+ unload(list, item);
+ dialog.showMessageBoxSync(
+ {
+ type: "error",
+ title: "Illegal Instruction",
+ message: "On package " + item + ": meta sections incomplete"
+ }
+ )
+ }
+
+ meta = mod["Meta"];
+
+ for (i3 in Object.keys(meta["Properties"])) {
+ r = Object.keys(meta["Properties"])[i3];
+ if (r !== "Mod.Name" && r !== "Mod.Version" && r !== "Mod.Author" && r !== "Mod.Required") {
+ unload(list, item);
+ dialog.showMessageBoxSync(
+ {
+ type: "error",
+ title: "Illegal Instruction",
+ message: "On package " + item + ": invalid property: " + r
+ }
+ )
+ }
+ }
+
+ if (Object.keys(meta["Properties"]).length < 4) {
+ unload(list, item);
+ dialog.showMessageBoxSync(
+ {
+ type: "error",
+ title: "Illegal Instruction",
+ message: "On package " + item + ": properties incomplete"
+ }
+ )
+ }
+
+ props = meta.Properties;
+
+ if (props["Mod.Required"].trim() !== "*") {
+ sver = require('../package.json').version.split(".").map((i) => { if (!isNaN((i - 1 + 1))) { return (i - 1 + 1).toString(); } else { return i; } }).join(".");
+ if (semver.valid(sver)) {
+ if (!semver.satisfies(sver, props["Mod.Required"].trim())) {
+ unload(list, item);
+ dialog.showMessageBoxSync(
+ {
+ type: "error",
+ title: "Illegal Instruction",
+ message: "On package " + item + ": mod made for another version of Kartik"
+ }
+ )
+ }
+ } else {
+ if (require('../package.json').channel !== "git" && require('../package.json').channel !== "nightly") {
+ unload(list, item);
+ dialog.showMessageBoxSync(
+ {
+ type: "error",
+ title: "Illegal Instruction",
+ message: "On package " + item + ": invalid game version"
+ }
+ )
+ }
+ }
+ }
+
+ hooks = meta["Hooks"];
+ hname = Object.keys(hooks);
+
+ for (i4 in hname) {
+ hookn = hname[i4];
+ hook = hooks[hookn];
+ if (typeof mod["Hook"][hook] === "undefined") {
+ unload(list, item);
+ dialog.showMessageBoxSync(
+ {
+ type: "error",
+ title: "Illegal Instruction",
+ message: "On package " + item + ": block " + hook + " required by hook " + hookn + " not found"
+ }
+ )
+ }
+ }
+}
+
+for (index in list) {
+ item = list[index];
+ mod = moddata[item];
+ meta = mod["Meta"];
+
+ hooks = meta["Hooks"];
+ hname = Object.keys(hooks);
+
+ for (i4 in hname) {
+ hookn = hname[i4];
+ hook = hooks[hookn];
+
+ mod["_Path"] = homedir + "/.kartik/mods/" + item;
+
+ require('./hooks')(mod, hookn, hook);
+ }
+}
+
+global.mods = list;
diff --git a/modding/resources.js b/modding/resources.js
new file mode 100644
index 0000000..7301901
--- /dev/null
+++ b/modding/resources.js
@@ -0,0 +1,65 @@
+const fs = require('fs');
+
+global.resources = {
+ music: {},
+ sfx: {},
+ races: {},
+ cars: {},
+ scenario: {
+ voice: {},
+ averi: {}
+ }
+};
+
+music_list = fs.readdirSync("./music");
+for (index in music_list) {
+ music = music_list[index];
+ name = music.split(".")[0];
+ resources.music[name] = {
+ file: KartikRoot + "/music/" + music,
+ original: true
+ };
+}
+
+sfx_list = fs.readdirSync("./sfx");
+for (index in sfx_list) {
+ sfx = sfx_list[index];
+ name = sfx.split(".")[0];
+ if (sfx.split(".")[1] === "mp3") {
+ resources.sfx[name] = KartikRoot + "/sfx/" + sfx;
+ }
+}
+
+races_list = fs.readdirSync("./race/circuits");
+for (index in races_list) {
+ races = races_list[index];
+ name = races.split(".")[0];
+ if (races.split(".")[1] === "html") {
+ resources.races[name] = "./race/circuits/" + races;
+ }
+}
+
+cars_list = fs.readdirSync("./race/models");
+for (index in cars_list) {
+ cars = cars_list[index];
+ name = cars.split(".")[0];
+ resources.cars[name] = KartikRoot + "/race/models/" + cars;
+}
+
+scvoice_list = fs.readdirSync("./scenario/voice");
+for (index in scvoice_list) {
+ scvoice = scvoice_list[index];
+ name = scvoice.split(".")[0];
+ resources.scenario.voice[name] = KartikRoot + "/scenario/voice/" + scvoice;
+}
+
+scchar_list = fs.readdirSync("./scenario/character");
+for (index in scchar_list) {
+ scchar = scchar_list[index];
+ name = scchar.split(".")[0];
+ resources.scenario.averi[name] = KartikRoot + "/scenario/character/" + scchar;
+}
+
+if (typeof building !== "undefined" && building) {
+ global.targetResources = JSON.stringify(resources);
+}
diff --git a/music/credits.mp3 b/music/credits.mp3
new file mode 100644
index 0000000..68297c6
--- /dev/null
+++ b/music/credits.mp3
Binary files differ
diff --git a/music/game1.mp3 b/music/game1.mp3
new file mode 100644
index 0000000..ba12bf1
--- /dev/null
+++ b/music/game1.mp3
Binary files differ
diff --git a/music/game2.mp3 b/music/game2.mp3
new file mode 100644
index 0000000..570acdb
--- /dev/null
+++ b/music/game2.mp3
Binary files differ
diff --git a/music/game3.mp3 b/music/game3.mp3
new file mode 100644
index 0000000..9ecc48d
--- /dev/null
+++ b/music/game3.mp3
Binary files differ
diff --git a/music/game4.mp3 b/music/game4.mp3
new file mode 100644
index 0000000..51b8292
--- /dev/null
+++ b/music/game4.mp3
Binary files differ
diff --git a/music/game5.mp3 b/music/game5.mp3
new file mode 100644
index 0000000..55789da
--- /dev/null
+++ b/music/game5.mp3
Binary files differ
diff --git a/music/game6.mp3 b/music/game6.mp3
new file mode 100644
index 0000000..fbc0501
--- /dev/null
+++ b/music/game6.mp3
Binary files differ
diff --git a/music/game7.mp3 b/music/game7.mp3
new file mode 100644
index 0000000..be31140
--- /dev/null
+++ b/music/game7.mp3
Binary files differ
diff --git a/music/game8.mp3 b/music/game8.mp3
new file mode 100644
index 0000000..17e6820
--- /dev/null
+++ b/music/game8.mp3
Binary files differ
diff --git a/music/game9.mp3 b/music/game9.mp3
new file mode 100644
index 0000000..11fbcde
--- /dev/null
+++ b/music/game9.mp3
Binary files differ
diff --git a/music/prepare.mp3 b/music/prepare.mp3
new file mode 100644
index 0000000..6e84627
--- /dev/null
+++ b/music/prepare.mp3
Binary files differ
diff --git a/music/start.mp3 b/music/start.mp3
new file mode 100644
index 0000000..b72156a
--- /dev/null
+++ b/music/start.mp3
Binary files differ
diff --git a/music/title.mp3 b/music/title.mp3
new file mode 100644
index 0000000..bc2cbc7
--- /dev/null
+++ b/music/title.mp3
Binary files differ
diff --git a/music/win.mp3 b/music/win.mp3
new file mode 100644
index 0000000..636a78d
--- /dev/null
+++ b/music/win.mp3
Binary files differ
diff --git a/online/global.js b/online/global.js
new file mode 100644
index 0000000..0e4fe32
--- /dev/null
+++ b/online/global.js
@@ -0,0 +1,366 @@
+global.pingStart = null;
+global.connecting = false;
+global.role = null;
+global.online = true;
+global.guestInfo = {
+ hostCar: null,
+ guestCar: null,
+ circuit: null,
+ music: null
+};
+global.onlineInitDone = false;
+
+function max(input) {
+ if (toString.call(input) !== "[object Array]")
+ return false;
+ return Math.max.apply(null, input);
+}
+
+pingHistory = [];
+function updatePing(ping) {
+ if (ping < 100000) {
+ document.getElementById('ping').innerText = ping + " ms";
+
+ pingHistory.push(ping);
+ while (pingHistory.length > 70) {
+ pingHistory.shift();
+ }
+
+ dom = "";
+ highest = max(pingHistory);
+ pingHistory.forEach((p) => {
+ high = 1
+ perc = (p/highest)*100
+ if (ping > 70 && ping < 150) {
+ dom = dom + `<span style="display: inline-block;background: orange;width: ${high}px;height: ${perc}%;"></span>`;
+ } else if (ping > 150) {
+ dom = dom + `<span style="display: inline-block;background: red;width: ${high}px;height: ${perc}%;"></span>`;
+ } else {
+ dom = dom + `<span style="display: inline-block;background: limegreen;width: ${high}px;height: ${perc}%;"></span>`;
+ }
+ })
+
+ document.getElementById('ping-chart').innerHTML = dom;
+ }
+}
+
+window.addEventListener('load', () => {
+ document.getElementById('credits').style.backgroundColor = "#000000";
+ document.getElementById('cars-n1').innerText = lang.online.car0;
+ document.getElementById('cars-n2').innerText = lang.online.car1;
+
+ class MessageBuffer {
+ constructor(delimiter) {
+ this.delimiter = delimiter
+ this.buffer = ""
+ }
+
+ isFinished() {
+ if (
+ this.buffer.length === 0 ||
+ this.buffer.indexOf(this.delimiter) === -1
+ ) {
+ return true
+ }
+ return false
+ }
+
+ push(data) {
+ this.buffer += data
+ }
+
+ getMessage() {
+ const delimiterIndex = this.buffer.indexOf(this.delimiter)
+ if (delimiterIndex !== -1) {
+ const message = this.buffer.slice(0, delimiterIndex)
+ this.buffer = this.buffer.replace(message + this.delimiter, "")
+ return message
+ }
+ return null
+ }
+
+ handleData() {
+ /**
+ * Try to accumulate the buffer with messages
+ *
+ * If the server isnt sending delimiters for some reason
+ * then nothing will ever come back for these requests
+ */
+ const message = this.getMessage()
+ return message
+ }
+ }
+
+ const sampleData = {
+ _type: "init",
+ name: "Kartik Core",
+ version: require('../package.json').version,
+ id: null,
+ modded: false
+ }
+
+ global.clientWriter = (data) => {
+ client.write(data + "\n");
+ }
+
+ function crash(e) {
+ console.error(e);
+ if (!quitting) {
+ location.href = "online.html#" + btoa(lang.online.error.connection);
+ }
+ }
+
+ var net = require('net');
+
+ var host = require('../online/server.json').hostname;
+ var port = require('../online/server.json').port;
+
+ global.client = new net.Socket();
+ client.initialized = false;
+
+ client.connect(port, host, () => {
+ console.log("Connected to " + host + ":" + port);
+ clientWriter(JSON.stringify(sampleData) + "|");
+ setInterval(() => {
+ if (role === null) {
+ clientWriter(JSON.stringify({
+ _type: "ping"
+ }) + "|")
+ } else {
+ clientWriter(JSON.stringify({
+ _type: "ipc",
+ action: "Ping",
+ message: null
+ }) + "|")
+ }
+ global.pingCrash = setTimeout(() => {
+ location.href = "online.html#" + btoa(lang.online.timeout);
+ }, 10000);
+ global.pingStart = new Date();
+ }, 1000)
+ })
+
+ let received = new MessageBuffer("\n")
+ client.on("data", chunk => {
+ received.push(chunk)
+ while (!received.isFinished()) {
+ const data = received.handleData()
+
+ raw = data.toString().replaceAll("}{", "}|{");
+ datas = raw.split("|").filter(i => i.trim() !== "");
+ datas.forEach((data) => {
+ try {
+ inf = JSON.parse(data);
+ } catch (e) {
+ console.dir(data);
+ throw e;
+ }
+
+ if (typeof inf['_type'] != "string") {
+ crash(new Error("Invalid JSON data"));
+ }
+ if (!client.initialized) {
+ switch (inf['_type']) {
+ case "init":
+ if (inf['name'] !== "Kartik Server") {
+ crash(new Error("Invalid server"));
+ }
+ console.log("Connection initialized. Server running " + inf.name + " version " + inf.version + ", client ID " + inf.id);
+ document.getElementById('yourid').innerText = inf.id.toUpperCase();
+ document.getElementById('intro').style.display = "";
+ document.getElementById('connecting').style.display = "none";
+ document.getElementById('loading').style.display = "none";
+ client.initialized = true;
+ break;
+ case "error":
+ console.log(inf['type'] + ": " + inf['message']);
+ break;
+ default:
+ crash(new Error("Trying to receive data but client not initialized"));
+ break;
+ }
+ } else {
+ switch (inf['_type']) {
+ case "init":
+ crash(new Error("Trying to initialize client but client is already initialized"));
+ break;
+ case "error":
+ console.log(inf['type'] + ": " + inf['message']);
+ location.href = "online.html#" + btoa(inf['type'] + ": " + inf['message']);
+ break;
+ case "linked":
+ console.log("Now hooked into link: (H) " + inf['ids']['host'] + " <-> " + inf['ids']['guest'] + " (G)");
+ document.getElementById('intro').style.display = "none";
+ document.getElementById('connecting').style.display = "none";
+ document.getElementById('loading').style.display = "";
+ document.getElementById('loading').innerText = lang.online.generate;
+ global.role = inf['role'];
+ if (role === "host") {
+ startHooks.forEach((hook) => {
+ hook(this);
+ })
+ $("#online-login").fadeOut(200);
+ }
+ break;
+ default:
+ if (inf['_type'] === "ipc" && inf['action'] === "Ping") {
+ clientWriter(JSON.stringify({
+ _type: "ipc",
+ action: "Pong",
+ message: null
+ }) + "|")
+ return;
+ }
+ if ((inf['_type'] === "ipc" && inf['action'] === "Pong") || inf['_type'] === "pong") {
+ pingEnd = new Date();
+ ping = Math.round(pingEnd - pingStart);
+ global.pingStart = null;
+ clearTimeout(global.pingCrash);
+ updatePing(ping);
+ return;
+ }
+ if (inf['_type'] === "ipc" && inf['action'] === "posTop") {
+ try {
+ document.getElementById('car1').style.top = inf['message'];
+ } catch (e) {}
+ return;
+ }
+ if (inf['_type'] === "ipc" && inf['action'] === "progressLaps") {
+ try {
+ document.getElementById("laps-car1").innerText = inf['message'];
+ } catch (e) {}
+ return;
+ }
+ if (inf['_type'] === "ipc" && inf['action'] === "progressLose") {
+ global.quitting = true;
+ location.href = "win.html?sp#car1";
+ return;
+ }
+ if (inf['_type'] === "ipc" && inf['action'] === "posLeft") {
+ try {
+ document.getElementById('car1').style.left = inf['message'];
+ } catch (e) {}
+ return;
+ }
+ if (inf['_type'] === "ipc" && inf['action'] === "gameIsReady") {
+ startgame();
+ return;
+ }
+ if (inf['_type'] === "ipc" && inf['action'] === "abort") {
+ location.href = "online.html#" + btoa(lang.online.aborted);
+ return;
+ }
+ if (inf['_type'] === "ipc" && inf['action'] === "posRot") {
+ try {
+ document.getElementById('car1').style.transform = inf['message'];
+ } catch (e) {}
+ return;
+ }
+ if (inf['_type'] === "ipc" && inf['action'].startsWith("RaceData:")) {
+ rd = inf['action'].substr(9);
+ switch (rd) {
+ case "hostCar":
+ guestInfo.hostCar = inf['message'];
+ if (guestInfo.music !== null && guestInfo.circuit !== null && guestInfo.guestCar !== null && guestInfo.hostCar !== null && !onlineInitDone) {
+ onlineInitDone = true;
+ startHooks.forEach((hook) => {
+ hook(this);
+ })
+ $("#online-login").fadeOut(200);
+ }
+ break;
+ case "guestCar":
+ guestInfo.guestCar = inf['message'];
+ if (guestInfo.music !== null && guestInfo.circuit !== null && guestInfo.guestCar !== null && guestInfo.hostCar !== null && !onlineInitDone) {
+ onlineInitDone = true;
+ startHooks.forEach((hook) => {
+ hook(this);
+ })
+ $("#online-login").fadeOut(200);
+ }
+ break;
+ case "circuit":
+ guestInfo.circuit = inf['message'];
+ if (guestInfo.music !== null && guestInfo.circuit !== null && guestInfo.guestCar !== null && guestInfo.hostCar !== null && !onlineInitDone) {
+ onlineInitDone = true;
+ startHooks.forEach((hook) => {
+ hook(this);
+ })
+ $("#online-login").fadeOut(200);
+ }
+ break;
+ case "music":
+ guestInfo.music = inf['message'];
+ if (guestInfo.music !== null && guestInfo.circuit !== null && guestInfo.guestCar !== null && guestInfo.hostCar !== null && !onlineInitDone) {
+ onlineInitDone = true;
+ startHooks.forEach((hook) => {
+ hook(this);
+ })
+ $("#online-login").fadeOut(200);
+ }
+ break;
+ }
+ return;
+ }
+ break;
+ }
+ }
+ })
+ }
+ })
+
+ client.on('close', () => {
+ console.log("Kicked from server");
+ })
+
+ client.on('error', (e) => {
+ switch (e.code) {
+ case "ECONNREFUSED":
+ location.href = "online.html#" + btoa(lang.online.unable);
+ break;
+ default:
+ location.href = "online.html#" + btoa(lang.online.internal);
+ break;
+ }
+ crash(e);
+ })
+
+ setInterval(() => {
+ if (pingStart !== null && new Date() - pingStart >= 10000) {
+ location.href = "online.html#" + btoa(lang.online.timeout);
+ }
+ }, 50)
+})
+
+function checkOnlineLogin() {
+ document.getElementById('theirid').value = document.getElementById('theirid').value.toUpperCase();
+ if (/[^ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890]/gm.test(document.getElementById('theirid').value)) {
+ document.getElementById('theirid').value = "";
+ }
+ if (document.getElementById('theirid').value.length === 8) {
+ if (document.getElementById('theirid').value === document.getElementById('yourid').innerText) {
+ document.getElementById('theirid').value = "";
+ } else {
+ if (!connecting) {
+ connecting = true;
+ document.getElementById('intro').style.display = "none";
+ document.getElementById('connecting').style.display = "none";
+ document.getElementById('loading').style.display = "";
+ console.log("Linking to client " + document.getElementById('theirid').value + "...")
+ clientWriter(JSON.stringify({
+ _type: "link",
+ client: document.getElementById('theirid').value.toLowerCase()
+ }));
+ }
+ }
+ }
+}
+
+$("#theirid").keydown(function(e) {
+ if (e.keyCode === 27 || e.keyCode === 8) { // esc
+ $("body").fadeOut(200);
+ setTimeout(() => {
+ location.href = "menu.html?back";
+ }, 250)
+ }
+}) \ No newline at end of file
diff --git a/online/server.json b/online/server.json
new file mode 100644
index 0000000..905621c
--- /dev/null
+++ b/online/server.json
@@ -0,0 +1,4 @@
+{
+ "hostname": "kartik.hopto.org",
+ "port": 8448
+}
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..9467cd8
--- /dev/null
+++ b/package.json
@@ -0,0 +1 @@
+{"name":"kartik","version":"5f37145","channel":"git","description":"A multiplatform 2D karting game","main":"app.js","dependencies":{"@electron/remote":"^1.0.4","discord-rpc":"^3.2.0","electron":"^12.0.1","ini":"^1.3.8","jquery":"^3.6.0","os-locale":"^5.0.0","uuid":"^8.3.2","yaml":"^1.10.2"},"scripts":{"test":"node_modules\\electron\\dist\\electron.exe app.js"},"author":"Minteck Projects","license":"UNLICENSED","serial":"XXX99999999999"} \ No newline at end of file
diff --git a/race/_archived/triangle.html b/race/_archived/triangle.html
new file mode 100644
index 0000000..a1cb13e
--- /dev/null
+++ b/race/_archived/triangle.html
@@ -0,0 +1,127 @@
+<!-- Manifest version 5 (breaking with version 4) -->
+
+<!-- Metadata -->
+<circuit>
+ {
+ "name": {
+ "fr": "Le triangle des Bermudes",
+ "en": "The Bermuda Triangle"
+ },
+ "author": "Minteck Projects"
+ }
+</circuit>
+
+<!-- Cars -->
+<div id="car0" style="display: inline-block;position: fixed;top: 42.9px;left: 428px;transform: rotate(0deg);"><img id="car0-img" style="
+ width: 36px;
+"></div>
+<div id="car1" style="display: inline-block;position: fixed;top: 79.4px;left: 388.9px;transform: rotate(0deg);"><span id="aibox-far" style="
+ position: absolute;
+ display: block;
+ top: -7px;
+ bottom: -7px;
+ left: 0px;
+ right: -30px;
+ animation-name: aibox;
+ animation-duration: 2s;
+ animation-iteration-count: infinite;
+ animation-timing-function: linear;
+ animation-direction: alternate-reverse;
+"></span><span id="aibox-near" style="
+ position: absolute;
+ display: block;
+ top: -7px;
+ bottom: -7px;
+ left: -7px;
+ right: -7px;
+"></span><span id="aibox-nearest" style="
+ position: absolute;
+ display: block;
+ top: -3px;
+ bottom: -3px;
+ left: -3px;
+ right: -3px;
+"></span><img id="car1-img" style="
+ width: 36px;"></div>
+
+<!-- Oils -->
+<div id="oil">
+ <img src="../race/oil.png" id="oil0" style="top: 278px; left: 634px; transform: rotate(68deg);">
+ <img src="../race/oil.png" id="oil1" style="top: 22px; left: 457px; transform: rotate(217deg);">
+ <img src="../race/oil.png" id="oil2" style="top: 26px; left: 531px; transform: rotate(82deg);">
+ <img src="../race/oil.png" id="oil3" style="top: 155px; left: 425px; transform: rotate(120deg);">
+ <img src="../race/oil.png" id="oil4" style="top: 137px; left: 121px; transform: rotate(178deg);">
+</div>
+
+<!-- Elements -->
+<div id="elements">
+
+ <!-- Walls -->
+
+ <div class="wall" style="
+ height: 8px;
+ position: fixed;
+ width: 20px;
+ top: 111px;
+ left: 110px;
+"></div><div class="wall" style="
+ height: 8px;
+ position: fixed;
+ width: 20px;
+ top: 111px;
+ left: 590px;
+"></div><div class="wall" style="
+ height: 8px;
+ position: fixed;
+ width: 256px;
+ top: 110px;
+ left: 228px;
+"></div><div class="wall" style="
+ height: 8px;
+ position: fixed;
+ width: 498px;
+ top: 24px;
+ left: 107px;
+"></div><div class="wall" style="
+ height: 8px;
+ position: fixed;
+ width: 498px;
+ top: 492px;
+ left: 107px;
+"></div><div class="wall" style="height: 277px;position: fixed;width: 8px;top: 100px;left: 293px;transform: rotate(
+-28deg
+);"></div><div class="wall" style="height: 468px;position: fixed;width: 8px;top: 80px;left: 242px;transform: rotate(
+-31deg
+);"></div><div class="wall" style="height: 468px;position: fixed;width: 8px;top: 80px;left: 470px;transform: rotate(
+31.5deg
+);"></div><div class="wall" style="
+ height: 472px;
+ position: fixed;
+ width: 8px;
+ top: 25px;
+ left: 106px;
+"></div><div class="wall" style="height: 277px;position: fixed;width: 8px;top: 100px;left: 417px;transform: rotate(26.5deg);"></div><div class="wall" style="
+ height: 472px;
+ position: fixed;
+ width: 8px;
+ top: 24px;
+ left: 602px;
+"></div>
+
+ <!-- Arrival Line -->
+ <div style="
+ height: 127px;
+ position: fixed;
+ width: 8px;
+ top: 0px;
+ left: 346px;
+" id="arrival"></div>
+
+ <!-- Anti-reverse wall (codename Barrier) -->
+ <div style="
+ height: 127px;
+ position: fixed;
+ width: 20px;
+ top: 0;
+ left: 355px;
+" id="barrier"></div></div> \ No newline at end of file
diff --git a/race/_archived/triangle.png b/race/_archived/triangle.png
new file mode 100644
index 0000000..8532bf5
--- /dev/null
+++ b/race/_archived/triangle.png
Binary files differ
diff --git a/race/cars/car0.js b/race/cars/car0.js
new file mode 100644
index 0000000..ddfe8c5
--- /dev/null
+++ b/race/cars/car0.js
@@ -0,0 +1,212 @@
+startHooks.push(() => {
+ car0speed = 16;
+ car0cspeed = 0;
+ if (online && role === "guest") {
+ car0startx = 388.9;
+ car0starty = 79.4;
+ } else {
+ car0startx = 428;
+ car0starty = 42.9;
+ }
+ car0collisionon = true;
+ car0enableOOBChecker = false;
+
+// Collision Manager
+ function car0collision() {
+ if (!keysEnabled) { return; }
+
+ if (started) {
+ carshb = document.getElementById("car0").getBoundingClientRect();
+ hitbox = document.getElementById("barrier").getBoundingClientRect();
+
+ var overlap = !(carshb.right < hitbox.left ||
+ carshb.left > hitbox.right ||
+ carshb.bottom < hitbox.top ||
+ carshb.top > hitbox.bottom)
+
+ if (overlap) {
+ info("CarManager:car0", "Reversal prevented at X " + document.getElementById("car0").style.left + ", Y " + document.getElementById("car0").style.top);
+ document.getElementById("car0").style.left = car0startx + "px";
+ document.getElementById("car0").style.top = car0starty + "px";
+ document.getElementById("car0").style.transform = "rotate(0deg)";
+ car0cspeed = 0;
+ }
+ }
+
+ if (!car0collisionon) { return; }
+
+ walls = Array.from(document.getElementsByClassName("wall"));
+
+ walls.forEach((wall) => {
+ carshb = document.getElementById("car0").getBoundingClientRect();
+ hitbox = wall.getBoundingClientRect();
+
+ var overlap = !(carshb.right < hitbox.left ||
+ carshb.left > hitbox.right ||
+ carshb.bottom < hitbox.top ||
+ carshb.top > hitbox.bottom)
+
+ if (overlap) {
+ info("CarManager:car0", "Wall collision at X " + document.getElementById("car0").style.left + ", Y " + document.getElementById("car0").style.top);
+ if (location.search === "?sp") {
+ scenar("wall1", "happy");
+ }
+ Sound.crash()
+ document.getElementById("car0").style.left = car0startx + "px";
+ document.getElementById("car0").style.top = car0starty + "px";
+ Array.from(document.getElementById('oil').children).forEach((item) => {
+ spreadOil(item);
+ })
+ document.getElementById("car0").style.transform = "rotate(0deg)";
+ car0cspeed = 0;
+ }
+ })
+
+ Array.from(document.getElementById('oil').children).forEach((item) => {
+ carshb = document.getElementById("car0").getBoundingClientRect();
+ hitbox = item.getBoundingClientRect();
+
+ var overlap = !(carshb.right < hitbox.left ||
+ carshb.left > hitbox.right ||
+ carshb.bottom < hitbox.top ||
+ carshb.top > hitbox.bottom)
+
+ if (overlap) {
+ car0cspeed = 7;
+ }
+ })
+
+ carshb = document.getElementById("car0").getBoundingClientRect();
+ hitbox = document.getElementById("arrival").getBoundingClientRect();
+
+ var overlap = !(carshb.right < hitbox.left ||
+ carshb.left > hitbox.right ||
+ carshb.bottom < hitbox.top ||
+ carshb.top > hitbox.bottom)
+
+ if (overlap && started) {
+ started = false;
+ if ((document.getElementById('laps-car0').innerText.split("/")[0] - 1 + 1) < 4) {
+ info("CarManager:car0", "New lap");
+ Array.from(document.getElementById('oil').children).forEach((item) => {
+ spreadOil(item);
+ })
+ if ((document.getElementById('laps-car0').innerText.split("/")[0] - 1 + 1) < 3) {
+ Sound.pass()
+ } else {
+ Sound.last()
+ }
+ document.getElementById('laps-car0').innerText = (document.getElementById('laps-car0').innerText.split("/")[0] - 1 + 2).toString();
+ if (location.search === "?sp") {
+ if ((document.getElementById('laps-car0').innerText.split("/")[0] - 1 + 1) > (document.getElementById('laps-car1').innerText.split("/")[0] - 1 + 1)) {
+ scenar("ahead1", "angry");
+ } else {
+ scenar("ahead2", "happy");
+ }
+ }
+ } else {
+ info("CarManager:car0", "Car won the game");
+ if (location.search === "?sp") {
+ scenar("won1", "sad");
+ }
+ try { document.getElementById('music').src = "about:blank"; } catch (e) { console.error(e); }
+ Sound.win();
+ keysEnabled = false;
+ car0cspeed = 0;
+ car0speed = 0;
+ document.getElementById('laps-car0').innerText = (document.getElementById('laps-car0').innerText.split("/")[0] - 1 + 2).toString();
+ $("#box").fadeOut(500);
+ setTimeout(() => {
+ if (online) {
+ clientWriter(JSON.stringify({
+ _type: "ipc",
+ action: "progressLose",
+ message: null
+ }) + "|")
+ }
+ if (location.search === "?sp" || online) {
+ location.href = "win.html?sp#car0";
+ } else {
+ location.href = "win.html#car0";
+ }
+ }, 3500)
+ }
+ document.getElementById("car0").style.left = car0startx + "px";
+ document.getElementById("car0").style.top = car0starty + "px";
+ document.getElementById("car0").style.transform = "rotate(0deg)";
+ Array.from(document.getElementById('oil').children).forEach((item) => {
+ spreadOil(item);
+ })
+ car0cspeed = 0;
+ setTimeout(() => {
+ started = true;
+ }, 150)
+ }
+
+ carshb = document.getElementById("car0").getBoundingClientRect();
+ hitbox = document.getElementById("car1").getBoundingClientRect();
+
+ var overlap = !(carshb.right < hitbox.left ||
+ carshb.left > hitbox.right ||
+ carshb.bottom < hitbox.top ||
+ carshb.top > hitbox.bottom)
+
+ if (overlap) {
+ if (location.search === "?sp") {
+ scenar("wall1", "happy");
+ }
+ Sound.crash();
+ document.getElementById("car0").style.left = car0startx + "px";
+ document.getElementById("car0").style.top = car0starty + "px";
+ Array.from(document.getElementById('oil').children).forEach((item) => {
+ spreadOil(item);
+ })
+ document.getElementById("car0").style.transform = "rotate(0deg)";
+ car0cspeed = 0;
+ }
+ }
+
+// General Movements
+ setInterval(() => {
+ if (!paused) {
+ if (car0cspeed > 0) {
+ car0cspeed = car0cspeed - 0.1;
+ }
+ switch (document.getElementById("car0").style.transform) {
+ case "rotate(0deg)":
+ document.getElementById("car0").style.left = ((document.getElementById("car0").style.left.split("p")[0] - 1) + (1 + car0cspeed)) + "px";
+ break;
+ case "rotate(180deg)":
+ document.getElementById("car0").style.left = ((document.getElementById("car0").style.left.split("p")[0] - 1) - (1 + car0cspeed)) + "px";
+ break;
+ case "rotate(90deg)":
+ document.getElementById("car0").style.top = ((document.getElementById("car0").style.top.split("p")[0] - 1) + (1 + car0cspeed)) + "px";
+ break;
+ case "rotate(-90deg)":
+ document.getElementById("car0").style.top = ((document.getElementById("car0").style.top.split("p")[0] - 1) - (1 + car0cspeed)) + "px";
+ break;
+ }
+ if (document.getElementById("car0").style.left.split("p")[0] - 1 + 1 > (window.innerWidth - 30)) {
+ warn("CarManager:car0", "Colliding with screen border");
+ document.getElementById("car0").style.left = (window.innerWidth - 30) + "px";
+ }
+ if (document.getElementById("car0").style.top.split("p")[0] - 1 + 1 > (window.innerHeight - 30)) {
+ warn("CarManager:car0", "Colliding with screen border");
+ document.getElementById("car0").style.top = (window.innerHeight - 30) + "px";
+ }
+ if (document.getElementById("car0").style.top.split("p")[0] - 1 + 1 < 30) {
+ warn("CarManager:car0", "Colliding with screen border");
+ document.getElementById("car0").style.top = "30px";
+ }
+ if (document.getElementById("car0").style.left.split("p")[0] - 1 + 1 < 30) {
+ warn("CarManager:car0", "Colliding with screen border");
+ document.getElementById("car0").style.left = "30px";
+ }
+ if (car0cspeed > -0.1 && car0cspeed < 0) {
+ car0cspeed = 0;
+ }
+ car0collision();
+ }
+ }, 200)
+
+}) \ No newline at end of file
diff --git a/race/cars/car1.js b/race/cars/car1.js
new file mode 100644
index 0000000..750cbb3
--- /dev/null
+++ b/race/cars/car1.js
@@ -0,0 +1,224 @@
+startHooks.push(() => {
+ car1speed = 16;
+ car1cspeed = 0;
+ if (online && role === "guest") {
+ car1startx = 428;
+ car1starty = 42.9;
+ } else {
+ car1startx = 388.9;
+ car1starty = 79.4;
+ }
+ if (online) {
+ car1collisionon = false;
+ } else {
+ car1collisionon = true;
+ }
+ car1enableOOBChecker = false;
+
+// Collision Manager
+ function car1collision() {
+ if (!keysEnabled) { return; }
+
+ if (started) {
+ carshb = document.getElementById("car0").getBoundingClientRect();
+ hitbox = document.getElementById("barrier").getBoundingClientRect();
+
+ var overlap = !(carshb.right < hitbox.left ||
+ carshb.left > hitbox.right ||
+ carshb.bottom < hitbox.top ||
+ carshb.top > hitbox.bottom)
+
+ if (overlap) {
+ info("CarManager:car0", "Reversal prevented at X " + document.getElementById("car0").style.left + ", Y " + document.getElementById("car0").style.top);
+ document.getElementById("car0").style.left = car0startx + "px";
+ document.getElementById("car0").style.top = car0starty + "px";
+ document.getElementById("car0").style.transform = "rotate(0deg)";
+ car0cspeed = 0;
+ }
+ }
+
+ if (!car1collisionon) { return; }
+
+ walls = Array.from(document.getElementsByClassName("wall"));
+
+ walls.forEach((wall) => {
+ carshb = document.getElementById("car1").getBoundingClientRect();
+ hitbox = wall.getBoundingClientRect();
+
+ var overlap = !(carshb.right < hitbox.left ||
+ carshb.left > hitbox.right ||
+ carshb.bottom < hitbox.top ||
+ carshb.top > hitbox.bottom)
+
+ if (overlap) {
+ info("CarManager:car1", "Wall collision at X " + document.getElementById("car1").style.left + ", Y " + document.getElementById("car1").style.top);
+ if (location.search === "?sp") {
+ scenar("wall2", "angry");
+ }
+ Sound.crash()
+ document.getElementById("car1").style.left = car1startx + "px";
+ document.getElementById("car1").style.top = car1starty + "px";
+ Array.from(document.getElementById('oil').children).forEach((item) => {
+ spreadOil(item);
+ })
+ document.getElementById("car1").style.transform = "rotate(0deg)";
+ car1cspeed = 0;
+ }
+ })
+
+ Array.from(document.getElementById('oil').children).forEach((item) => {
+ carshb = document.getElementById("car1").getBoundingClientRect();
+ hitbox = item.getBoundingClientRect();
+
+ var overlap = !(carshb.right < hitbox.left ||
+ carshb.left > hitbox.right ||
+ carshb.bottom < hitbox.top ||
+ carshb.top > hitbox.bottom)
+
+ if (overlap) {
+ car1cspeed = 7;
+ }
+ })
+
+ carshb = document.getElementById("car1").getBoundingClientRect();
+ hitbox = document.getElementById("arrival").getBoundingClientRect();
+
+ var overlap = !(carshb.right < hitbox.left ||
+ carshb.left > hitbox.right ||
+ carshb.bottom < hitbox.top ||
+ carshb.top > hitbox.bottom)
+
+ if (overlap && started) {
+ started = false;
+ if ((document.getElementById('laps-car1').innerText.split("/")[0] - 1 + 1) < 4) {
+ info("CarManager:car1", "New lap");
+ Array.from(document.getElementById('oil').children).forEach((item) => {
+ spreadOil(item);
+ })
+ if ((document.getElementById('laps-car1').innerText.split("/")[0] - 1 + 1) < 3) {
+ Sound.pass()
+ } else {
+ Sound.last()
+ }
+ document.getElementById('laps-car1').innerText = (document.getElementById('laps-car1').innerText.split("/")[0] - 1 + 2).toString();
+ if (location.search === "?sp") {
+ if ((document.getElementById('laps-car0').innerText.split("/")[0] - 1 + 1) > (document.getElementById('laps-car1').innerText.split("/")[0] - 1 + 1)) {
+ scenar("ahead1", "angry");
+ } else {
+ scenar("ahead2", "happy");
+ }
+ }
+ } else {
+ info("CarManager:car1", "Car won the game");
+ if (location.search === "?sp") {
+ scenar("won2", "happy");
+ }
+ try { document.getElementById('music').src = "about:blank"; } catch (e) { console.error(e); }
+ Sound.win();
+ keysEnabled = false;
+ car1cspeed = 0;
+ car1speed = 0;
+ document.getElementById('laps-car1').innerText = (document.getElementById('laps-car1').innerText.split("/")[0] - 1 + 2).toString();
+ $("#box").fadeOut(500);
+ setTimeout(() => {
+ setTimeout(() => {
+ if (location.search === "?sp" || (online && role === "guest")) {
+ if (online) {} else {
+ location.href = "win.html?sp#car1";
+ }
+ } else {
+ location.href = "win.html#car1";
+ }
+ }, 3500)
+ }, 3000)
+ }
+ document.getElementById("car1").style.left = car1startx + "px";
+ document.getElementById("car1").style.top = car1starty + "px";
+ Array.from(document.getElementById('oil').children).forEach((item) => {
+ spreadOil(item);
+ })
+ document.getElementById("car1").style.transform = "rotate(0deg)";
+ Array.from(document.getElementById('oil').children).forEach((item) => {
+ spreadOil(item);
+ })
+ car1cspeed = 0;
+ setTimeout(() => {
+ started = true;
+ }, 150)
+ }
+
+ carshb = document.getElementById("car1").getBoundingClientRect();
+ hitbox = document.getElementById("car0").getBoundingClientRect();
+
+ var overlap = !(carshb.right < hitbox.left ||
+ carshb.left > hitbox.right ||
+ carshb.bottom < hitbox.top ||
+ carshb.top > hitbox.bottom)
+
+ if (overlap) {
+ if (location.search === "?sp") {
+ scenar("wall2", "angry");
+ }
+ Sound.crash();
+ document.getElementById("car1").style.left = car1startx + "px";
+ document.getElementById("car1").style.top = car1starty + "px";
+ document.getElementById("car1").style.transform = "rotate(0deg)";
+ Array.from(document.getElementById('oil').children).forEach((item) => {
+ spreadOil(item);
+ })
+ car1cspeed = 0;
+ }
+ }
+
+// General Movements
+ setInterval(() => {
+ if (!paused) {
+ if (car1cspeed > 0) {
+ car1cspeed = car1cspeed - 0.1;
+ }
+ switch (document.getElementById("car1").style.transform) {
+ case "rotate(0deg)":
+ document.getElementById("car1").style.left = ((document.getElementById("car1").style.left.split("p")[0] - 1) + (1 + car1cspeed)) + "px";
+ break;
+ case "rotate(180deg)":
+ document.getElementById("car1").style.left = ((document.getElementById("car1").style.left.split("p")[0] - 1) - (1 + car1cspeed)) + "px";
+ break;
+ case "rotate(90deg)":
+ document.getElementById("car1").style.top = ((document.getElementById("car1").style.top.split("p")[0] - 1) + (1 + car1cspeed)) + "px";
+ break;
+ case "rotate(-90deg)":
+ document.getElementById("car1").style.top = ((document.getElementById("car1").style.top.split("p")[0] - 1) - (1 + car1cspeed)) + "px";
+ break;
+ }
+ if (document.getElementById("car1").style.left.split("p")[0] - 1 + 1 > (window.innerWidth - 30)) {
+ warn("CarManager:car1", "Colliding with screen border");
+ if (car1enableOOBChecker) {
+ document.getElementById("car1").style.left = (window.innerWidth - 30) + "px";
+ }
+ }
+ if (document.getElementById("car1").style.top.split("p")[0] - 1 + 1 > (window.innerHeight - 30)) {
+ warn("CarManager:car1", "Colliding with screen border");
+ if (car1enableOOBChecker) {
+ document.getElementById("car1").style.top = (window.innerHeight - 30) + "px";
+ }
+ }
+ if (document.getElementById("car1").style.top.split("p")[0] - 1 + 1 < 30) {
+ warn("CarManager:car1", "Colliding with screen border");
+ if (car1enableOOBChecker) {
+ document.getElementById("car1").style.top = "30px";
+ }
+ }
+ if (document.getElementById("car1").style.left.split("p")[0] - 1 + 1 < 30) {
+ warn("CarManager:car1", "Colliding with screen border");
+ if (car1enableOOBChecker) {
+ document.getElementById("car1").style.left = "30px";
+ }
+ }
+ if (car1cspeed > -0.1 && car1cspeed < 0) {
+ car1cspeed = 0;
+ }
+ car1collision();
+ }
+ }, 200)
+
+}) \ No newline at end of file
diff --git a/race/cars/car1ai.js b/race/cars/car1ai.js
new file mode 100644
index 0000000..25e1819
--- /dev/null
+++ b/race/cars/car1ai.js
@@ -0,0 +1,160 @@
+aiorient = "right";
+elem = 10;
+
+function enableAI() {
+ car1enableOOBChecker = false;
+ setInterval(() => {
+ if (aiorient === "top") {
+ ai_up();
+ } else if (aiorient === "right") {
+ ai_right();
+ } else if (aiorient === "bottom") {
+ ai_down();
+ } else if (aiorient === "left") {
+ ai_left();
+ }
+ }, 100)
+ setInterval(() => {
+ carshb = document.getElementById("aibox-near").getBoundingClientRect();
+ hitbox = document.getElementById('barrier').getBoundingClientRect();
+
+ var overlap = !(carshb.right < hitbox.left ||
+ carshb.left > hitbox.right ||
+ carshb.bottom < hitbox.top ||
+ carshb.top > hitbox.bottom)
+
+ if (overlap) {
+ aiorient = "right";
+ }
+
+ if (elem < 10) { elem++; }
+ if (elem !== 10) { return; }
+
+ walls = Array.from(document.getElementsByClassName("wall"));
+
+ walls.forEach((wall) => {
+ carshb = document.getElementById("aibox-far").getBoundingClientRect();
+ hitbox = wall.getBoundingClientRect();
+
+ var overlap = !(carshb.right < hitbox.left ||
+ carshb.left > hitbox.right ||
+ carshb.bottom < hitbox.top ||
+ carshb.top > hitbox.bottom)
+
+ carshb2 = document.getElementById("aibox-near").getBoundingClientRect();
+
+ var overlap2 = !(carshb2.right < hitbox.left ||
+ carshb2.left > hitbox.right ||
+ carshb2.bottom < hitbox.top ||
+ carshb2.top > hitbox.bottom)
+
+ if (overlap2) {
+ car1speed = 8;
+ } else if (overlap) {
+ car1speed = 9;
+ } else {
+ car1speed = 10;
+ }
+
+ carshb = document.getElementById("aibox-far").getBoundingClientRect();
+ hitbox = wall.getBoundingClientRect();
+
+ var overlap = !(carshb.right < hitbox.left ||
+ carshb.left > hitbox.right ||
+ carshb.bottom < hitbox.top ||
+ carshb.top > hitbox.bottom)
+
+ if (overlap) {
+ if (aiorient === "top") {
+ aiorient = "right";
+ elem = 0;
+ } else if (aiorient === "right") {
+ aiorient = "bottom";
+ elem = 0;
+ } else if (aiorient === "bottom") {
+ aiorient = "left";
+ elem = 0;
+ } else if (aiorient === "left") {
+ aiorient = "top";
+ elem = 0;
+ }
+ }
+
+ carshb = document.getElementById("aibox-near").getBoundingClientRect();
+ hitbox = document.getElementById('car0').getBoundingClientRect();
+
+ var overlap = !(carshb.right < hitbox.left ||
+ carshb.left > hitbox.right ||
+ carshb.bottom < hitbox.top ||
+ carshb.top > hitbox.bottom)
+
+ if (overlap) {
+ if (aiorient === "top") {
+ aiorient = "bottom";
+ elem = 0;
+ } else if (aiorient === "right") {
+ aiorient = "left";
+ elem = 0;
+ } else if (aiorient === "bottom") {
+ aiorient = "top";
+ elem = 0;
+ } else if (aiorient === "left") {
+ aiorient = "right";
+ elem = 0;
+ }
+ }
+ })
+ }, 50)
+}
+
+function ai_up() {
+ if (car1cspeed < car1speed) {
+ car1cspeed = car1cspeed + 0.2;
+ }
+ if (document.getElementById("car1").style.transform !== "rotate(-90deg)") {
+ document.getElementById("car1").style.transform = "rotate(-90deg)";
+ car1collisionon = false;
+ setTimeout(() => {
+ car1collisionon = true;
+ }, 500)
+ }
+}
+
+function ai_down() {
+ if (car1cspeed < car1speed) {
+ car1cspeed = car1cspeed + 0.2;
+ }
+ if (document.getElementById("car1").style.transform !== "rotate(90deg)") {
+ document.getElementById("car1").style.transform = "rotate(90deg)";
+ car1collisionon = false;
+ setTimeout(() => {
+ car1collisionon = true;
+ }, 500)
+ }
+}
+
+function ai_left() {
+ if (car1cspeed < car1speed) {
+ car1cspeed = car1cspeed + 0.2;
+ }
+ if (document.getElementById("car1").style.transform !== "rotate(180deg)") {
+ document.getElementById("car1").style.transform = "rotate(180deg)";
+ car1collisionon = false;
+ setTimeout(() => {
+ car1collisionon = true;
+ }, 500)
+ }
+}
+
+function ai_right() {
+ if (car1cspeed < car1speed) {
+ car1cspeed = car1cspeed + 0.2;
+ }
+ if (document.getElementById("car1").style.transform !== "rotate(0deg)") {
+ document.getElementById("car1").style.transform = "rotate(0deg)";
+ car1collisionon = false;
+ setTimeout(() => {
+ car1collisionon = true;
+ }, 500)
+ }
+} \ No newline at end of file
diff --git a/race/cars/keymap.js b/race/cars/keymap.js
new file mode 100644
index 0000000..74cce0a
--- /dev/null
+++ b/race/cars/keymap.js
@@ -0,0 +1,162 @@
+startHooks.push(() => {
+ $(document).keydown(function(e) {
+ if (online && role === null) {
+ if (e.keyCode === 27 || e.keyCode === 8) { // esc
+ require('electron').ipcRenderer.send('prefademusic', "");
+ $("body").fadeOut(200);
+ setTimeout(() => {
+ location.href = "menu.html?back";
+ }, 250)
+ }
+ }
+ if (keysEnabled) {
+ if (!paused) {
+ if (e.keyCode === 115) { // F4
+ if (hitshow) {
+ hitshow = false;
+ document.getElementById("circuit").classList.remove("hitboxes");
+ document.getElementById('hitboxes').innerText = lang.game.gpause.showhb;
+ info("GameWindow", "Hitboxes hidden");
+ } else {
+ hitshow = true;
+ document.getElementById("circuit").classList.add("hitboxes");
+ document.getElementById('hitboxes').innerText = lang.game.gpause.hidehb;
+ info("GameWindow", "Hitboxes shown");
+ }
+ }
+ if (e.keyCode === 90 || e.keyCode === 87 || ((location.search === "?sp" || location.search === "?online") && e.keyCode === 38)) { // Z
+ if (car0cspeed < car0speed) {
+ car0cspeed = car0cspeed + 0.2;
+ }
+ if (document.getElementById("car0").style.transform !== "rotate(-90deg)") {
+ document.getElementById("car0").style.transform = "rotate(-90deg)";
+ car0collisionon = false;
+ setTimeout(() => {
+ car0collisionon = true;
+ }, 500)
+ }
+ }
+ if (e.keyCode === 83 || ((location.search === "?sp" || location.search === "?online") && e.keyCode === 40)) { // S
+ if (car0cspeed < car0speed) {
+ car0cspeed = car0cspeed + 0.2;
+ }
+ if (document.getElementById("car0").style.transform !== "rotate(90deg)") {
+ document.getElementById("car0").style.transform = "rotate(90deg)";
+ car0collisionon = false;
+ setTimeout(() => {
+ car0collisionon = true;
+ }, 500)
+ }
+ }
+ if (e.keyCode === 81 || e.keyCode === 65 || ((location.search === "?sp" || location.search === "?online") && e.keyCode === 37)) { // Q
+ if (car0cspeed < car0speed) {
+ car0cspeed = car0cspeed + 0.2;
+ }
+ if (document.getElementById("car0").style.transform !== "rotate(180deg)") {
+ document.getElementById("car0").style.transform = "rotate(180deg)";
+ car0collisionon = false;
+ setTimeout(() => {
+ car0collisionon = true;
+ }, 500)
+ }
+ }
+ if (e.keyCode === 68 || ((location.search === "?sp" || location.search === "?online") && e.keyCode === 39)) { // D
+ if (car0cspeed < car0speed) {
+ car0cspeed = car0cspeed + 0.2;
+ }
+ if (document.getElementById("car0").style.transform !== "rotate(0deg)") {
+ document.getElementById("car0").style.transform = "rotate(0deg)";
+ car0collisionon = false;
+ setTimeout(() => {
+ car0collisionon = true;
+ }, 500)
+ }
+ }
+ if (location.search !== "?sp" && location.search !== "?online") {
+ if (e.keyCode === 38) { // up
+ if (car1cspeed < car1speed) {
+ car1cspeed = car1cspeed + 0.2;
+ }
+ if (document.getElementById("car1").style.transform !== "rotate(-90deg)") {
+ document.getElementById("car1").style.transform = "rotate(-90deg)";
+ car1collisionon = false;
+ setTimeout(() => {
+ car1collisionon = true;
+ }, 500)
+ }
+ }
+ if (e.keyCode === 40) { // down
+ if (car1cspeed < car1speed) {
+ car1cspeed = car1cspeed + 0.2;
+ }
+ if (document.getElementById("car1").style.transform !== "rotate(90deg)") {
+ document.getElementById("car1").style.transform = "rotate(90deg)";
+ car1collisionon = false;
+ setTimeout(() => {
+ car1collisionon = true;
+ }, 500)
+ }
+ }
+ if (e.keyCode === 37) { // left
+ if (car1cspeed < car1speed) {
+ car1cspeed = car1cspeed + 0.2;
+ }
+ if (document.getElementById("car1").style.transform !== "rotate(180deg)") {
+ document.getElementById("car1").style.transform = "rotate(180deg)";
+ car1collisionon = false;
+ setTimeout(() => {
+ car1collisionon = true;
+ }, 500)
+ }
+ }
+ if (e.keyCode === 39) { // right
+ if (car1cspeed < car1speed) {
+ car1cspeed = car1cspeed + 0.2;
+ }
+ if (document.getElementById("car1").style.transform !== "rotate(0deg)") {
+ document.getElementById("car1").style.transform = "rotate(0deg)";
+ car1collisionon = false;
+ setTimeout(() => {
+ car1collisionon = true;
+ }, 500)
+ }
+ }
+ }
+ if (e.keyCode === 27 || e.keyCode === 8) { // esc
+ pause(true);
+ }
+ } else {
+ if (e.keyCode === 13 || e.keyCode === 88 || e.keyCode === 32 || e.keyCode === 16) { // enter
+ if ($(".services").is(":visible")) {
+ selectOption();
+ } else {
+ $(".services").show();
+ }
+ }
+ if (e.keyCode === 38 || e.keyCode === 90) { // up
+ Sound.menu();
+ var selected = $(".selected");
+ $(".services li").removeClass("selected");
+ if (selected.prev().length === 0) {
+ selected.siblings().last().addClass("selected");
+ } else {
+ selected.prev().addClass("selected");
+ }
+ }
+ if (e.keyCode === 40 || e.keyCode === 83) { // down
+ Sound.menu();
+ var selected = $(".selected");
+ $(".services li").removeClass("selected");
+ if (selected.next().length === 0) {
+ selected.siblings().first().addClass("selected");
+ } else {
+ selected.next().addClass("selected");
+ }
+ }
+ if (e.keyCode === 27 || e.keyCode === 8) { // esc
+ pause(false);
+ }
+ }
+ }
+ });
+}) \ No newline at end of file
diff --git a/race/circuits/furry.html b/race/circuits/furry.html
new file mode 100644
index 0000000..01a4d16
--- /dev/null
+++ b/race/circuits/furry.html
@@ -0,0 +1,115 @@
+<!-- Manifest version 5 (breaking with version 4) -->
+
+<!-- Metadata -->
+<circuit>
+ {
+ "name": {
+ "fr": "Les petites pattes",
+ "en": "The Little Paws"
+ },
+ "author": "Minteck Projects"
+ }
+</circuit>
+
+<!-- Cars -->
+<div id="car0" style="display: inline-block;position: fixed;top: 42.9px;left: 428px;transform: rotate(0deg);"><img id="car0-img" style="
+ width: 36px;
+"></div>
+<div id="car1" style="display: inline-block;position: fixed;top: 79.4px;left: 388.9px;transform: rotate(0deg);"><span id="aibox-far" style="
+ position: absolute;
+ display: block;
+ top: -7px;
+ bottom: -7px;
+ left: 0px;
+ right: -30px;
+ animation-name: aibox;
+ animation-duration: 2s;
+ animation-iteration-count: infinite;
+ animation-timing-function: linear;
+ animation-direction: alternate-reverse;
+"></span><span id="aibox-near" style="
+ position: absolute;
+ display: block;
+ top: -7px;
+ bottom: -7px;
+ left: -7px;
+ right: -7px;
+"></span><span id="aibox-nearest" style="
+ position: absolute;
+ display: block;
+ top: -3px;
+ bottom: -3px;
+ left: -3px;
+ right: -3px;
+"></span><img id="car1-img" style="
+ width: 36px;"></div>
+
+<!-- Oils -->
+<div id="oil">
+ <img src="../race/oil.png" id="oil0" style="top: 278px; left: 634px; transform: rotate(68deg);">
+ <img src="../race/oil.png" id="oil1" style="top: 22px; left: 457px; transform: rotate(217deg);">
+ <img src="../race/oil.png" id="oil2" style="top: 26px; left: 531px; transform: rotate(82deg);">
+ <img src="../race/oil.png" id="oil3" style="top: 155px; left: 425px; transform: rotate(120deg);">
+ <img src="../race/oil.png" id="oil4" style="top: 137px; left: 121px; transform: rotate(178deg);">
+</div>
+
+<!-- Elements -->
+<div id="elements">
+
+ <!-- Walls -->
+
+ <div class="wall" style="
+ height: 8px;
+ position: fixed;
+ width: 315px;
+ top: 110px;
+ left: 193px;
+"></div><div class="wall" style="
+ height: 8px;
+ position: fixed;
+ width: 498px;
+ top: 24px;
+ left: 107px;
+"></div><div class="wall" style="height: 8px;position: fixed;width: 51px;top: 412px;left: 455px;"></div><div class="wall" style="
+ height: 8px;
+ position: fixed;
+ width: 498px;
+ top: 501px;
+ left: 107px;
+"></div><div class="wall" style="
+ height: 310px;
+ position: fixed;
+ width: 8px;
+ top: 111px;
+ left: 211px;
+"></div><div class="wall" style="
+ height: 484px;
+ position: fixed;
+ width: 8px;
+ top: 25px;
+ left: 106px;
+"></div><div class="wall" style="height: 310px;position: fixed;width: 8px;top: 110px;left: 498px;"></div><div class="wall" style="height: 8px;position: fixed;width: 57px;top: 413px;left: 211px;"></div><div class="wall" style="height: 8px;position: fixed;width: 248px;top: 151px;left: 235px;"></div><div class="wall" style="height: 24px;position: fixed;width: 8px;top: 485px;left: 261px;"></div><div class="wall" style="height: 8px;position: fixed;width: 24px;top: 236px;left: 347px;"></div><div class="wall" style="height: 270px;position: fixed;width: 8px;top: 236px;left: 361px;"></div><div class="wall" style="height: 113px;position: fixed;width: 8px;top: 151px;left: 235px;"></div><div class="wall" style="height: 32px;position: fixed;width: 8px;top: 151px;left: 370px;"></div><div class="wall" style="height: 32px;position: fixed;width: 8px;top: 151px;left: 340px;"></div><div class="wall" style="height: 28px;position: fixed;width: 8px;top: 236px;left: 370px;"></div><div class="wall" style="height: 8px;position: fixed;width: 24px;top: 255px;left: 325px;"></div><div class="wall" style="height: 9px;position: fixed;width: 24px;top: 351px;left: 498px;"></div><div class="wall" style="height: 9px;position: fixed;width: 24px;top: 249px;left: 106px;"></div><div class="wall" style="height: 9px;position: fixed;width: 46px;top: 249px;left: 173px;"></div><div class="wall" style="height: 9px;position: fixed;width: 46px;top: 246px;left: 498px;"></div><div class="wall" style="height: 9px;position: fixed;width: 46px;top: 351px;left: 566px;"></div><div class="wall" style="height: 9px;position: fixed;width: 46px;top: 255px;left: 234px;"></div><div class="wall" style="height: 9px;position: fixed;width: 46px;top: 257px;left: 439px;"></div><div class="wall" style="height: 9px;position: fixed;width: 46px;top: 353px;left: 106px;"></div><div class="wall" style="height: 9px;position: fixed;width: 75px;top: 302px;left: 328px;"></div><div class="wall" style="height: 9px;position: fixed;width: 23px;top: 302px;left: 441px;"></div><div class="wall" style="height: 9px;position: fixed;width: 23px;top: 302px;left: 260px;"></div><div class="wall" style="height: 9px;position: fixed;width: 24px;top: 352px;left: 195px;"></div><div class="wall" style="height: 8px;position: fixed;width: 24px;top: 246px;left: 589px;"></div><div class="wall" style="height: 8px;position: fixed;width: 24px;top: 256px;left: 367px;"></div><div class="wall" style="height: 28px;position: fixed;width: 8px;top: 236px;left: 340px;"></div><div class="wall" style="height: 113px;position: fixed;width: 8px;top: 151px;left: 475px;"></div><div class="wall" style="height: 166px;position: fixed;width: 8px;top: 255px;left: 260px;"></div><div class="wall" style="height: 118px;position: fixed;width: 8px;top: 302px;left: 456px;"></div><div class="wall" style="height: 24px;position: fixed;width: 8px;top: 485px;left: 457px;"></div><div class="wall" style="
+ height: 485px;
+ position: fixed;
+ width: 8px;
+ top: 24px;
+ left: 602px;
+"></div>
+
+ <!-- Arrival Line -->
+ <div style="
+ height: 127px;
+ position: fixed;
+ width: 8px;
+ top: 0px;
+ left: 346px;
+" id="arrival"></div>
+
+ <!-- Anti-reverse wall (codename Barrier) -->
+ <div style="
+ height: 127px;
+ position: fixed;
+ width: 20px;
+ top: 0;
+ left: 355px;
+" id="barrier"></div></div> \ No newline at end of file
diff --git a/race/circuits/furry.png b/race/circuits/furry.png
new file mode 100644
index 0000000..c1d5d46
--- /dev/null
+++ b/race/circuits/furry.png
Binary files differ
diff --git a/race/circuits/main.html b/race/circuits/main.html
new file mode 100644
index 0000000..8285085
--- /dev/null
+++ b/race/circuits/main.html
@@ -0,0 +1,115 @@
+<!-- Manifest version 5 (breaking with version 4) -->
+
+<!-- Metadata -->
+<circuit>
+ {
+ "name": {
+ "fr": "Un simple carré",
+ "en": "A Simple Square"
+ },
+ "author": "Minteck Projects"
+ }
+</circuit>
+
+<!-- Cars -->
+<div id="car0" style="display: inline-block;position: fixed;top: 42.9px;left: 428px;transform: rotate(0deg);"><img id="car0-img" style="
+ width: 36px;
+"></div>
+<div id="car1" style="display: inline-block;position: fixed;top: 79.4px;left: 388.9px;transform: rotate(0deg);"><span id="aibox-far" style="
+ position: absolute;
+ display: block;
+ top: -7px;
+ bottom: -7px;
+ left: 0px;
+ right: -30px;
+ animation-name: aibox;
+ animation-duration: 2s;
+ animation-iteration-count: infinite;
+ animation-timing-function: linear;
+ animation-direction: alternate-reverse;
+"></span><span id="aibox-near" style="
+ position: absolute;
+ display: block;
+ top: -7px;
+ bottom: -7px;
+ left: -7px;
+ right: -7px;
+"></span><span id="aibox-nearest" style="
+ position: absolute;
+ display: block;
+ top: -3px;
+ bottom: -3px;
+ left: -3px;
+ right: -3px;
+"></span><img id="car1-img" style="
+ width: 36px;"></div>
+
+<!-- Oils -->
+<div id="oil">
+ <img src="../race/oil.png" id="oil0" style="top: 278px; left: 634px; transform: rotate(68deg);">
+ <img src="../race/oil.png" id="oil1" style="top: 22px; left: 457px; transform: rotate(217deg);">
+ <img src="../race/oil.png" id="oil2" style="top: 26px; left: 531px; transform: rotate(82deg);">
+ <img src="../race/oil.png" id="oil3" style="top: 155px; left: 425px; transform: rotate(120deg);">
+ <img src="../race/oil.png" id="oil4" style="top: 137px; left: 121px; transform: rotate(178deg);">
+</div>
+
+<!-- Elements -->
+<div id="elements">
+
+ <!-- Walls -->
+
+ <div class="wall" style="
+ height: 8px;
+ position: fixed;
+ width: 325px;
+ top: 110px;
+ left: 193px;
+"></div><div class="wall" style="
+ height: 8px;
+ position: fixed;
+ width: 498px;
+ top: 24px;
+ left: 107px;
+"></div><div class="wall" style="height: 8px;position: fixed;width: 325px;top: 404px;left: 193px;"></div><div class="wall" style="
+ height: 8px;
+ position: fixed;
+ width: 498px;
+ top: 492px;
+ left: 107px;
+"></div><div class="wall" style="
+ height: 300px;
+ position: fixed;
+ width: 8px;
+ top: 111px;
+ left: 194px;
+"></div><div class="wall" style="
+ height: 472px;
+ position: fixed;
+ width: 8px;
+ top: 25px;
+ left: 106px;
+"></div><div class="wall" style="height: 300px;position: fixed;width: 8px;top: 110px;left: 515px;"></div><div class="wall" style="
+ height: 472px;
+ position: fixed;
+ width: 8px;
+ top: 24px;
+ left: 602px;
+"></div>
+
+ <!-- Arrival Line -->
+ <div style="
+ height: 127px;
+ position: fixed;
+ width: 8px;
+ top: 0px;
+ left: 346px;
+" id="arrival"></div>
+
+ <!-- Anti-reverse wall (codename Barrier) -->
+ <div style="
+ height: 127px;
+ position: fixed;
+ width: 20px;
+ top: 0;
+ left: 355px;
+" id="barrier"></div></div> \ No newline at end of file
diff --git a/race/circuits/main.png b/race/circuits/main.png
new file mode 100644
index 0000000..0bf2c03
--- /dev/null
+++ b/race/circuits/main.png
Binary files differ
diff --git a/race/circuits/snowy.html b/race/circuits/snowy.html
new file mode 100644
index 0000000..3fea303
--- /dev/null
+++ b/race/circuits/snowy.html
@@ -0,0 +1,115 @@
+<!-- Manifest version 5 (breaking with version 4) -->
+
+<!-- Metadata -->
+<circuit>
+ {
+ "name": {
+ "fr": "La montagne enneigée",
+ "en": "The Snowy Mountain"
+ },
+ "author": "Minteck Projects"
+ }
+</circuit>
+
+<!-- Cars -->
+<div id="car0" style="display: inline-block;position: fixed;top: 42.9px;left: 428px;transform: rotate(0deg);"><img id="car0-img" style="
+ width: 36px;
+"></div>
+<div id="car1" style="display: inline-block;position: fixed;top: 79.4px;left: 388.9px;transform: rotate(0deg);"><span id="aibox-far" style="
+ position: absolute;
+ display: block;
+ top: -7px;
+ bottom: -7px;
+ left: 0px;
+ right: -30px;
+ animation-name: aibox;
+ animation-duration: 2s;
+ animation-iteration-count: infinite;
+ animation-timing-function: linear;
+ animation-direction: alternate-reverse;
+"></span><span id="aibox-near" style="
+ position: absolute;
+ display: block;
+ top: -7px;
+ bottom: -7px;
+ left: -7px;
+ right: -7px;
+"></span><span id="aibox-nearest" style="
+ position: absolute;
+ display: block;
+ top: -3px;
+ bottom: -3px;
+ left: -3px;
+ right: -3px;
+"></span><img id="car1-img" style="
+ width: 36px;"></div>
+
+<!-- Oils -->
+<div id="oil">
+ <img src="../race/oil.png" id="oil0" style="top: 278px; left: 634px; transform: rotate(68deg);">
+ <img src="../race/oil.png" id="oil1" style="top: 22px; left: 457px; transform: rotate(217deg);">
+ <img src="../race/oil.png" id="oil2" style="top: 26px; left: 531px; transform: rotate(82deg);">
+ <img src="../race/oil.png" id="oil3" style="top: 155px; left: 425px; transform: rotate(120deg);">
+ <img src="../race/oil.png" id="oil4" style="top: 137px; left: 121px; transform: rotate(178deg);">
+</div>
+
+<!-- Elements -->
+<div id="elements">
+
+ <!-- Walls -->
+
+ <div class="wall" style="
+ height: 8px;
+ position: fixed;
+ width: 325px;
+ top: 110px;
+ left: 197px;
+"></div><div class="wall" style="
+ height: 8px;
+ position: fixed;
+ width: 498px;
+ top: 24px;
+ left: 112px;
+"></div><div class="wall" style="height: 8px;position: fixed;width: 335px;top: 401px;left: 200px;"></div><div class="wall" style="height: 8px;position: fixed;width: 335px;top: 370px;left: 205px;"></div><div class="wall" style="height: 8px;position: fixed;width: 315px;top: 170px;left: 210px;"></div><div class="wall" style="height: 8px;position: fixed;width: 250px;top: 257px;left: 422px;"></div><div class="wall" style="height: 8px;position: fixed;width: 250px;top: 300px;left: 422px;"></div><div class="wall" style="
+ height: 8px;
+ position: fixed;
+ width: 498px;
+ top: 471px;
+ left: 117px;
+"></div><div class="wall" style="
+ height: 300px;
+ position: fixed;
+ width: 8px;
+ top: 111px;
+ left: 197px;
+"></div><div class="wall" style="
+ height: 472px;
+ position: fixed;
+ width: 8px;
+ top: 25px;
+ left: 111px;
+"></div><div class="wall" style="height: 70px;position: fixed;width: 8px;top: 110px;left: 520px;"></div><div class="wall" style="height: 210px;position: fixed;width: 8px;top: 170px;left: 335px;"></div><div class="wall" style="height: 45px;position: fixed;width: 8px;top: 260px;left: 422px;"></div><div class="wall" style="
+ height: 472px;
+ position: fixed;
+ width: 8px;
+ top: 24px;
+ left: 608px;
+"></div>
+
+ <!-- Arrival Line -->
+ <div style="
+ height: 127px;
+ position: fixed;
+ width: 8px;
+ top: 0px;
+ left: 346px;
+" id="arrival"></div>
+
+ <!-- Anti-reverse wall (codename Barrier) -->
+ <div style="
+ height: 127px;
+ position: fixed;
+ width: 20px;
+ top: 0;
+ left: 355px;
+" id="barrier"></div></div> \ No newline at end of file
diff --git a/race/circuits/snowy.png b/race/circuits/snowy.png
new file mode 100644
index 0000000..31f28a9
--- /dev/null
+++ b/race/circuits/snowy.png
Binary files differ
diff --git a/race/circuits/water.html b/race/circuits/water.html
new file mode 100644
index 0000000..1c6166a
--- /dev/null
+++ b/race/circuits/water.html
@@ -0,0 +1,133 @@
+<!-- Manifest version 5 (breaking with version 4) -->
+
+<!-- Metadata -->
+<circuit>
+ {
+ "name": {
+ "fr": "Attention à l'eau",
+ "en": "Keep out the water"
+ },
+ "author": "Minteck Projects"
+ }
+</circuit>
+
+<!-- Cars -->
+<div id="car0" style="display: inline-block;position: fixed;top: 42.9px;left: 428px;transform: rotate(0deg);"><img id="car0-img" style="
+ width: 36px;
+"></div>
+<div id="car1" style="display: inline-block;position: fixed;top: 79.4px;left: 388.9px;transform: rotate(0deg);"><span id="aibox-far" style="
+ position: absolute;
+ display: block;
+ top: -7px;
+ bottom: -7px;
+ left: 0px;
+ right: -30px;
+ animation-name: aibox;
+ animation-duration: 2s;
+ animation-iteration-count: infinite;
+ animation-timing-function: linear;
+ animation-direction: alternate-reverse;
+"></span><span id="aibox-near" style="
+ position: absolute;
+ display: block;
+ top: -7px;
+ bottom: -7px;
+ left: -7px;
+ right: -7px;
+"></span><span id="aibox-nearest" style="
+ position: absolute;
+ display: block;
+ top: -3px;
+ bottom: -3px;
+ left: -3px;
+ right: -3px;
+"></span><img id="car1-img" style="
+ width: 36px;"></div>
+
+<!-- Oils -->
+<div id="oil">
+ <img src="../race/oil.png" id="oil0" style="top: 278px; left: 634px; transform: rotate(68deg);">
+ <img src="../race/oil.png" id="oil1" style="top: 22px; left: 457px; transform: rotate(217deg);">
+ <img src="../race/oil.png" id="oil2" style="top: 26px; left: 531px; transform: rotate(82deg);">
+ <img src="../race/oil.png" id="oil3" style="top: 155px; left: 425px; transform: rotate(120deg);">
+ <img src="../race/oil.png" id="oil4" style="top: 137px; left: 121px; transform: rotate(178deg);">
+</div>
+
+<!-- Elements -->
+<div id="elements">
+
+ <!-- Walls -->
+
+ <div class="wall" style="
+ height: 8px;
+ position: fixed;
+ width: 325px;
+ top: 110px;
+ left: 193px;
+"></div><div class="wall" style="
+ height: 8px;
+ position: fixed;
+ width: 498px;
+ top: 24px;
+ left: 107px;
+"></div><div class="wall" style="height: 8px;position: fixed;width: 325px;top: 288px;left: 193px;"></div><div class="wall" style="
+ height: 8px;
+ position: fixed;
+ width: 302px;
+ top: 469px;
+ left: 107px;
+"></div><div class="wall" style="
+ height: 186px;
+ position: fixed;
+ width: 8px;
+ top: 111px;
+ left: 194px;
+"></div><div class="wall" style="
+ height: 452px;
+ position: fixed;
+ width: 8px;
+ top: 25px;
+ left: 106px;
+"></div><div class="wall" style="height: 186px;position: fixed;width: 8px;top: 110px;left: 515px;"></div><div class="wall" style="
+ height: 346px;
+ position: fixed;
+ width: 8px;
+ top: 24px;
+ left: 602px;
+"></div>
+
+ <div class="wall" style="
+ height: 8px;
+ position: fixed;
+ width: 210px;
+ top: 363px;
+ left: 401px;
+"></div><div class="wall" style="
+ height: 110px;
+ position: fixed;
+ width: 8px;
+ top: 363px;
+ left: 401px;
+"></div><div class="wall" style="
+ height: 145px;
+ position: fixed;
+ width: 180px;
+ top: 369px;
+ left: 187px;
+"></div><!-- Arrival Line -->
+ <div style="
+ height: 127px;
+ position: fixed;
+ width: 8px;
+ top: 0px;
+ left: 346px;
+" id="arrival"></div>
+
+ <!-- Anti-reverse wall (codename Barrier) -->
+ <div style="
+ height: 127px;
+ position: fixed;
+ width: 20px;
+ top: 0;
+ left: 355px;
+" id="barrier"></div></div> \ No newline at end of file
diff --git a/race/circuits/water.png b/race/circuits/water.png
new file mode 100644
index 0000000..d065b1c
--- /dev/null
+++ b/race/circuits/water.png
Binary files differ
diff --git a/race/models/alpspin_by_redman.png b/race/models/alpspin_by_redman.png
new file mode 100644
index 0000000..59bcd11
--- /dev/null
+++ b/race/models/alpspin_by_redman.png
Binary files differ
diff --git a/race/models/argenquirie_by_redman.png b/race/models/argenquirie_by_redman.png
new file mode 100644
index 0000000..b3e0866
--- /dev/null
+++ b/race/models/argenquirie_by_redman.png
Binary files differ
diff --git a/race/models/argenquiriedx_by_redman.png b/race/models/argenquiriedx_by_redman.png
new file mode 100644
index 0000000..ea97f54
--- /dev/null
+++ b/race/models/argenquiriedx_by_redman.png
Binary files differ
diff --git a/race/models/blues_by_minteck.png b/race/models/blues_by_minteck.png
new file mode 100644
index 0000000..36d58b6
--- /dev/null
+++ b/race/models/blues_by_minteck.png
Binary files differ
diff --git a/race/models/formula1_by_redman.png b/race/models/formula1_by_redman.png
new file mode 100644
index 0000000..596d26a
--- /dev/null
+++ b/race/models/formula1_by_redman.png
Binary files differ
diff --git a/race/models/pinks_by_minteck.png b/race/models/pinks_by_minteck.png
new file mode 100644
index 0000000..927f58c
--- /dev/null
+++ b/race/models/pinks_by_minteck.png
Binary files differ
diff --git a/race/models/spagetti11_by_redman.png b/race/models/spagetti11_by_redman.png
new file mode 100644
index 0000000..63707a5
--- /dev/null
+++ b/race/models/spagetti11_by_redman.png
Binary files differ
diff --git a/race/oil.png b/race/oil.png
new file mode 100644
index 0000000..cb23917
--- /dev/null
+++ b/race/oil.png
Binary files differ
diff --git a/race/pause.js b/race/pause.js
new file mode 100644
index 0000000..d1ee002
--- /dev/null
+++ b/race/pause.js
@@ -0,0 +1,102 @@
+global.quitting = false;
+
+startHooks.push(() => {
+ global.pause = (stat) => {
+ if (stat) {
+ if (location.search === "?sp") {
+ require('@electron/remote').getCurrentWindow().dstate = lang.discord.game[3];
+ require('@electron/remote').getCurrentWindow().ddetails = lang.discord.game[1];
+ } else {
+ require('@electron/remote').getCurrentWindow().dstate = lang.discord.game[3];
+ require('@electron/remote').getCurrentWindow().ddetails = lang.discord.game[2];
+ }
+ warn("Suspend", "Game paused");
+ Sound.pause();
+ if (require('@electron/remote').getCurrentWindow().music) {
+ shouldMusicPlay = false;
+ require('electron').ipcRenderer.send('prefademusic', "");
+ }
+ if (typeof e !== "undefined") {
+ if (e.currentTime < e.duration) {
+ e.pause();
+ }
+ }
+ if (typeof b !== "undefined") {
+ b.pause();
+ }
+ paused = true;
+ document.getElementById('box').classList.add('paused');
+ $("#paused").show();
+ $("#credits").show();
+ } else {
+ if (location.search === "?sp") {
+ require('@electron/remote').getCurrentWindow().dstate = lang.discord.game[0];
+ require('@electron/remote').getCurrentWindow().ddetails = lang.discord.game[1];
+ } else {
+ require('@electron/remote').getCurrentWindow().dstate = lang.discord.game[0];
+ require('@electron/remote').getCurrentWindow().ddetails = lang.discord.game[2];
+ }
+ warn("Suspend", "Game resumed");
+ Sound.pause();
+ if (require('@electron/remote').getCurrentWindow().music) {
+ shouldMusicPlay = true;
+ require('electron').ipcRenderer.send('preunfademusic', "");
+ }
+ if (typeof me !== "undefined") {
+ if (me.currentTime < me.duration) {
+ me.play();
+ }
+ }
+ if (typeof b !== "undefined") {
+ b.play();
+ }
+ paused = false;
+ document.getElementById('box').classList.remove('paused');
+ $("#paused").hide();
+ $("#credits").hide();
+ }
+ }
+
+ global.selectOption = () => {
+ item = document.querySelector(".selected a").id;
+ Sound.click();
+
+ switch (item) {
+ case 'continue':
+ pause(false);
+ break;
+ case 'hitboxes':
+ if (hitshow) {
+ hitshow = false;
+ document.getElementById("circuit").classList.remove("hitboxes");
+ document.getElementById('hitboxes').innerText = lang.game.gpause.showhb;
+ info("GameWindow", "Hitboxes hidden");
+ } else {
+ hitshow = true;
+ document.getElementById("circuit").classList.add("hitboxes");
+ document.getElementById('hitboxes').innerText = lang.game.gpause.hidehb;
+ info("GameWindow", "Hitboxes shown");
+ }
+ break;
+ case 'quit':
+ if (online) {
+ global.quitting = true;
+ clientWriter(JSON.stringify({
+ _type: "ipc",
+ action: "abort",
+ message: null
+ }) + "|")
+ }
+ keysEnabled = false;
+ require('electron').ipcRenderer.send('prefademusic', "");
+ $("#box").fadeOut(500);
+ $("#bg").fadeOut(500);
+ $("#paused").fadeOut(500);
+ setTimeout(() => {
+ info("GameWindow", "Switching control to MenuWindow");
+ location.href = "menu.html?back";
+ }, 1000)
+ break;
+ }
+ }
+}) \ No newline at end of file
diff --git a/runtime/kartik-crash-mac.sh b/runtime/kartik-crash-mac.sh
new file mode 100644
index 0000000..e2bd0ec
--- /dev/null
+++ b/runtime/kartik-crash-mac.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+./bin/macos/Electron.app/Contents/MacOS/Electron crash/wrapper.js %1
diff --git a/runtime/kartik-crash.bat b/runtime/kartik-crash.bat
new file mode 100644
index 0000000..f7c85b0
--- /dev/null
+++ b/runtime/kartik-crash.bat
@@ -0,0 +1,2 @@
+@echo off
+bin\win32\kartik-core.exe crash\wrapper.js %1 \ No newline at end of file
diff --git a/runtime/kartik-crash.sh b/runtime/kartik-crash.sh
new file mode 100644
index 0000000..38c782e
--- /dev/null
+++ b/runtime/kartik-crash.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+./bin/linux/kartik-core.bin crash/wrapper.js %1
diff --git a/runtime/kartik-debug.bat b/runtime/kartik-debug.bat
new file mode 100644
index 0000000..475547d
--- /dev/null
+++ b/runtime/kartik-debug.bat
@@ -0,0 +1,2 @@
+@echo off
+bin\win32\kartik-core.exe app.js d \ No newline at end of file
diff --git a/runtime/kartik-debug.sh b/runtime/kartik-debug.sh
new file mode 100644
index 0000000..80c82ba
--- /dev/null
+++ b/runtime/kartik-debug.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+./bin/linux/kartik-core.bin app.js d
diff --git a/runtime/kartik-launcher.bat b/runtime/kartik-launcher.bat
new file mode 100644
index 0000000..e7775a8
--- /dev/null
+++ b/runtime/kartik-launcher.bat
@@ -0,0 +1,2 @@
+cd %localappdata%\Kartik
+kartik.bat \ No newline at end of file
diff --git a/runtime/kartik-launcher.sed b/runtime/kartik-launcher.sed
new file mode 100644
index 0000000..13c6d5e
--- /dev/null
+++ b/runtime/kartik-launcher.sed
@@ -0,0 +1,37 @@
+[Version]
+Class=IEXPRESS
+SEDVersion=3
+[Options]
+PackagePurpose=InstallApp
+ShowInstallProgramWindow=1
+HideExtractAnimation=1
+UseLongFileName=1
+InsideCompressed=0
+CAB_FixedSize=0
+CAB_ResvCodeSigning=0
+RebootMode=N
+InstallPrompt=%InstallPrompt%
+DisplayLicense=%DisplayLicense%
+FinishMessage=%FinishMessage%
+TargetName=%TargetName%
+FriendlyName=%FriendlyName%
+AppLaunched=%AppLaunched%
+PostInstallCmd=%PostInstallCmd%
+AdminQuietInstCmd=%AdminQuietInstCmd%
+UserQuietInstCmd=%UserQuietInstCmd%
+SourceFiles=SourceFiles
+[Strings]
+InstallPrompt=
+DisplayLicense=
+FinishMessage=
+TargetName=X:\Projets\Kartik\kartik-launcher.exe
+FriendlyName=Kartik
+AppLaunched=cmd /c kartik-launcher.bat
+PostInstallCmd=<None>
+AdminQuietInstCmd=
+UserQuietInstCmd=
+FILE0="kartik-launcher.bat"
+[SourceFiles]
+SourceFiles0=X:\Projets\Kartik\
+[SourceFiles0]
+%FILE0%=
diff --git a/runtime/kartik-launcher.sh b/runtime/kartik-launcher.sh
new file mode 100644
index 0000000..a636c79
--- /dev/null
+++ b/runtime/kartik-launcher.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+cd $HOME/.local/share/kartik
+./kartik.sh
diff --git a/runtime/kartik-mitigation-mac.sh b/runtime/kartik-mitigation-mac.sh
new file mode 100644
index 0000000..a63c663
--- /dev/null
+++ b/runtime/kartik-mitigation-mac.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+./bin/macos/Electron.app/Contents/MacOS/Electron app.js m
diff --git a/runtime/kartik-mitigation.bat b/runtime/kartik-mitigation.bat
new file mode 100644
index 0000000..b7e3d53
--- /dev/null
+++ b/runtime/kartik-mitigation.bat
@@ -0,0 +1,2 @@
+@echo off
+bin\win32\kartik-core.exe app.js m
diff --git a/runtime/kartik-mitigation.sh b/runtime/kartik-mitigation.sh
new file mode 100644
index 0000000..2517115
--- /dev/null
+++ b/runtime/kartik-mitigation.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+./bin/linux/kartik-core.bin app.js m
diff --git a/scenario/character/angry.png b/scenario/character/angry.png
new file mode 100644
index 0000000..604abf3
--- /dev/null
+++ b/scenario/character/angry.png
Binary files differ
diff --git a/scenario/character/happy.png b/scenario/character/happy.png
new file mode 100644
index 0000000..8661645
--- /dev/null
+++ b/scenario/character/happy.png
Binary files differ
diff --git a/scenario/character/neutral.png b/scenario/character/neutral.png
new file mode 100644
index 0000000..bca341e
--- /dev/null
+++ b/scenario/character/neutral.png
Binary files differ
diff --git a/scenario/character/sad.png b/scenario/character/sad.png
new file mode 100644
index 0000000..a48df9d
--- /dev/null
+++ b/scenario/character/sad.png
Binary files differ
diff --git a/scenario/client.js b/scenario/client.js
new file mode 100644
index 0000000..38412c5
--- /dev/null
+++ b/scenario/client.js
@@ -0,0 +1,9 @@
+function scenar(ns, emote, cb) {
+ if (!require('@electron/remote').getCurrentWindow().voice) { return; };
+
+ min = 0;
+ max = lang.scenario[ns].length - 1;
+ id = Math.floor(Math.random() * (max - min + 1) + min);
+
+ require('@electron/remote').getCurrentWindow().webContents.send("scenario", {message:lang.scenario[ns][id],lang:lp,namespace:ns,id:id,emote:emote,callback:cb});
+}
diff --git a/scenario/voice/de/ahead10.mp3 b/scenario/voice/de/ahead10.mp3
new file mode 100644
index 0000000..3cf4b9e
--- /dev/null
+++ b/scenario/voice/de/ahead10.mp3
Binary files differ
diff --git a/scenario/voice/de/ahead11.mp3 b/scenario/voice/de/ahead11.mp3
new file mode 100644
index 0000000..5b720c6
--- /dev/null
+++ b/scenario/voice/de/ahead11.mp3
Binary files differ
diff --git a/scenario/voice/de/ahead12.mp3 b/scenario/voice/de/ahead12.mp3
new file mode 100644
index 0000000..428661c
--- /dev/null
+++ b/scenario/voice/de/ahead12.mp3
Binary files differ
diff --git a/scenario/voice/de/ahead13.mp3 b/scenario/voice/de/ahead13.mp3
new file mode 100644
index 0000000..ff33422
--- /dev/null
+++ b/scenario/voice/de/ahead13.mp3
Binary files differ
diff --git a/scenario/voice/de/ahead14.mp3 b/scenario/voice/de/ahead14.mp3
new file mode 100644
index 0000000..dd12713
--- /dev/null
+++ b/scenario/voice/de/ahead14.mp3
Binary files differ
diff --git a/scenario/voice/de/ahead20.mp3 b/scenario/voice/de/ahead20.mp3
new file mode 100644
index 0000000..1f45569
--- /dev/null
+++ b/scenario/voice/de/ahead20.mp3
Binary files differ
diff --git a/scenario/voice/de/ahead21.mp3 b/scenario/voice/de/ahead21.mp3
new file mode 100644
index 0000000..b23ef13
--- /dev/null
+++ b/scenario/voice/de/ahead21.mp3
Binary files differ
diff --git a/scenario/voice/de/ahead22.mp3 b/scenario/voice/de/ahead22.mp3
new file mode 100644
index 0000000..1ee7b83
--- /dev/null
+++ b/scenario/voice/de/ahead22.mp3
Binary files differ
diff --git a/scenario/voice/de/ahead23.mp3 b/scenario/voice/de/ahead23.mp3
new file mode 100644
index 0000000..ed7ada6
--- /dev/null
+++ b/scenario/voice/de/ahead23.mp3
Binary files differ
diff --git a/scenario/voice/de/ahead24.mp3 b/scenario/voice/de/ahead24.mp3
new file mode 100644
index 0000000..1328adb
--- /dev/null
+++ b/scenario/voice/de/ahead24.mp3
Binary files differ
diff --git a/scenario/voice/de/intro0.mp3 b/scenario/voice/de/intro0.mp3
new file mode 100644
index 0000000..42440b6
--- /dev/null
+++ b/scenario/voice/de/intro0.mp3
Binary files differ
diff --git a/scenario/voice/de/intro1.mp3 b/scenario/voice/de/intro1.mp3
new file mode 100644
index 0000000..c147dff
--- /dev/null
+++ b/scenario/voice/de/intro1.mp3
Binary files differ
diff --git a/scenario/voice/de/intro2.mp3 b/scenario/voice/de/intro2.mp3
new file mode 100644
index 0000000..3ffb08c
--- /dev/null
+++ b/scenario/voice/de/intro2.mp3
Binary files differ
diff --git a/scenario/voice/de/intro3.mp3 b/scenario/voice/de/intro3.mp3
new file mode 100644
index 0000000..4d923cd
--- /dev/null
+++ b/scenario/voice/de/intro3.mp3
Binary files differ
diff --git a/scenario/voice/de/start0.mp3 b/scenario/voice/de/start0.mp3
new file mode 100644
index 0000000..e69cfe6
--- /dev/null
+++ b/scenario/voice/de/start0.mp3
Binary files differ
diff --git a/scenario/voice/de/start1.mp3 b/scenario/voice/de/start1.mp3
new file mode 100644
index 0000000..4ba3b06
--- /dev/null
+++ b/scenario/voice/de/start1.mp3
Binary files differ
diff --git a/scenario/voice/de/start2.mp3 b/scenario/voice/de/start2.mp3
new file mode 100644
index 0000000..20cb7e7
--- /dev/null
+++ b/scenario/voice/de/start2.mp3
Binary files differ
diff --git a/scenario/voice/de/start3.mp3 b/scenario/voice/de/start3.mp3
new file mode 100644
index 0000000..09b3267
--- /dev/null
+++ b/scenario/voice/de/start3.mp3
Binary files differ
diff --git a/scenario/voice/de/start4.mp3 b/scenario/voice/de/start4.mp3
new file mode 100644
index 0000000..77dd366
--- /dev/null
+++ b/scenario/voice/de/start4.mp3
Binary files differ
diff --git a/scenario/voice/de/start5.mp3 b/scenario/voice/de/start5.mp3
new file mode 100644
index 0000000..4b27a45
--- /dev/null
+++ b/scenario/voice/de/start5.mp3
Binary files differ
diff --git a/scenario/voice/de/wall10.mp3 b/scenario/voice/de/wall10.mp3
new file mode 100644
index 0000000..3519d3d
--- /dev/null
+++ b/scenario/voice/de/wall10.mp3
Binary files differ
diff --git a/scenario/voice/de/wall11.mp3 b/scenario/voice/de/wall11.mp3
new file mode 100644
index 0000000..7ee4b3d
--- /dev/null
+++ b/scenario/voice/de/wall11.mp3
Binary files differ
diff --git a/scenario/voice/de/wall12.mp3 b/scenario/voice/de/wall12.mp3
new file mode 100644
index 0000000..d4ff6ba
--- /dev/null
+++ b/scenario/voice/de/wall12.mp3
Binary files differ
diff --git a/scenario/voice/de/wall13.mp3 b/scenario/voice/de/wall13.mp3
new file mode 100644
index 0000000..8770282
--- /dev/null
+++ b/scenario/voice/de/wall13.mp3
Binary files differ
diff --git a/scenario/voice/de/wall14.mp3 b/scenario/voice/de/wall14.mp3
new file mode 100644
index 0000000..9f10b62
--- /dev/null
+++ b/scenario/voice/de/wall14.mp3
Binary files differ
diff --git a/scenario/voice/de/wall20.mp3 b/scenario/voice/de/wall20.mp3
new file mode 100644
index 0000000..bd7c0bd
--- /dev/null
+++ b/scenario/voice/de/wall20.mp3
Binary files differ
diff --git a/scenario/voice/de/wall21.mp3 b/scenario/voice/de/wall21.mp3
new file mode 100644
index 0000000..a6e174c
--- /dev/null
+++ b/scenario/voice/de/wall21.mp3
Binary files differ
diff --git a/scenario/voice/de/wall22.mp3 b/scenario/voice/de/wall22.mp3
new file mode 100644
index 0000000..2cf97fa
--- /dev/null
+++ b/scenario/voice/de/wall22.mp3
Binary files differ
diff --git a/scenario/voice/de/wall23.mp3 b/scenario/voice/de/wall23.mp3
new file mode 100644
index 0000000..6feb5e6
--- /dev/null
+++ b/scenario/voice/de/wall23.mp3
Binary files differ
diff --git a/scenario/voice/de/won10.mp3 b/scenario/voice/de/won10.mp3
new file mode 100644
index 0000000..fef1693
--- /dev/null
+++ b/scenario/voice/de/won10.mp3
Binary files differ
diff --git a/scenario/voice/de/won11.mp3 b/scenario/voice/de/won11.mp3
new file mode 100644
index 0000000..e8bbafd
--- /dev/null
+++ b/scenario/voice/de/won11.mp3
Binary files differ
diff --git a/scenario/voice/de/won12.mp3 b/scenario/voice/de/won12.mp3
new file mode 100644
index 0000000..b0bab02
--- /dev/null
+++ b/scenario/voice/de/won12.mp3
Binary files differ
diff --git a/scenario/voice/de/won13.mp3 b/scenario/voice/de/won13.mp3
new file mode 100644
index 0000000..40eaafa
--- /dev/null
+++ b/scenario/voice/de/won13.mp3
Binary files differ
diff --git a/scenario/voice/de/won14.mp3 b/scenario/voice/de/won14.mp3
new file mode 100644
index 0000000..47b85ef
--- /dev/null
+++ b/scenario/voice/de/won14.mp3
Binary files differ
diff --git a/scenario/voice/de/won20.mp3 b/scenario/voice/de/won20.mp3
new file mode 100644
index 0000000..d9e904b
--- /dev/null
+++ b/scenario/voice/de/won20.mp3
Binary files differ
diff --git a/scenario/voice/de/won21.mp3 b/scenario/voice/de/won21.mp3
new file mode 100644
index 0000000..d235f35
--- /dev/null
+++ b/scenario/voice/de/won21.mp3
Binary files differ
diff --git a/scenario/voice/de/won22.mp3 b/scenario/voice/de/won22.mp3
new file mode 100644
index 0000000..7456ace
--- /dev/null
+++ b/scenario/voice/de/won22.mp3
Binary files differ
diff --git a/scenario/voice/de/won23.mp3 b/scenario/voice/de/won23.mp3
new file mode 100644
index 0000000..668c1d8
--- /dev/null
+++ b/scenario/voice/de/won23.mp3
Binary files differ
diff --git a/scenario/voice/de/won24.mp3 b/scenario/voice/de/won24.mp3
new file mode 100644
index 0000000..ef5e904
--- /dev/null
+++ b/scenario/voice/de/won24.mp3
Binary files differ
diff --git a/scenario/voice/en/ahead10.mp3 b/scenario/voice/en/ahead10.mp3
new file mode 100644
index 0000000..3cf4b9e
--- /dev/null
+++ b/scenario/voice/en/ahead10.mp3
Binary files differ
diff --git a/scenario/voice/en/ahead11.mp3 b/scenario/voice/en/ahead11.mp3
new file mode 100644
index 0000000..5b720c6
--- /dev/null
+++ b/scenario/voice/en/ahead11.mp3
Binary files differ
diff --git a/scenario/voice/en/ahead12.mp3 b/scenario/voice/en/ahead12.mp3
new file mode 100644
index 0000000..428661c
--- /dev/null
+++ b/scenario/voice/en/ahead12.mp3
Binary files differ
diff --git a/scenario/voice/en/ahead13.mp3 b/scenario/voice/en/ahead13.mp3
new file mode 100644
index 0000000..ff33422
--- /dev/null
+++ b/scenario/voice/en/ahead13.mp3
Binary files differ
diff --git a/scenario/voice/en/ahead14.mp3 b/scenario/voice/en/ahead14.mp3
new file mode 100644
index 0000000..dd12713
--- /dev/null
+++ b/scenario/voice/en/ahead14.mp3
Binary files differ
diff --git a/scenario/voice/en/ahead20.mp3 b/scenario/voice/en/ahead20.mp3
new file mode 100644
index 0000000..1f45569
--- /dev/null
+++ b/scenario/voice/en/ahead20.mp3
Binary files differ
diff --git a/scenario/voice/en/ahead21.mp3 b/scenario/voice/en/ahead21.mp3
new file mode 100644
index 0000000..b23ef13
--- /dev/null
+++ b/scenario/voice/en/ahead21.mp3
Binary files differ
diff --git a/scenario/voice/en/ahead22.mp3 b/scenario/voice/en/ahead22.mp3
new file mode 100644
index 0000000..1ee7b83
--- /dev/null
+++ b/scenario/voice/en/ahead22.mp3
Binary files differ
diff --git a/scenario/voice/en/ahead23.mp3 b/scenario/voice/en/ahead23.mp3
new file mode 100644
index 0000000..ed7ada6
--- /dev/null
+++ b/scenario/voice/en/ahead23.mp3
Binary files differ
diff --git a/scenario/voice/en/ahead24.mp3 b/scenario/voice/en/ahead24.mp3
new file mode 100644
index 0000000..1328adb
--- /dev/null
+++ b/scenario/voice/en/ahead24.mp3
Binary files differ
diff --git a/scenario/voice/en/intro0.mp3 b/scenario/voice/en/intro0.mp3
new file mode 100644
index 0000000..42440b6
--- /dev/null
+++ b/scenario/voice/en/intro0.mp3
Binary files differ
diff --git a/scenario/voice/en/intro1.mp3 b/scenario/voice/en/intro1.mp3
new file mode 100644
index 0000000..c147dff
--- /dev/null
+++ b/scenario/voice/en/intro1.mp3
Binary files differ
diff --git a/scenario/voice/en/intro2.mp3 b/scenario/voice/en/intro2.mp3
new file mode 100644
index 0000000..3ffb08c
--- /dev/null
+++ b/scenario/voice/en/intro2.mp3
Binary files differ
diff --git a/scenario/voice/en/intro3.mp3 b/scenario/voice/en/intro3.mp3
new file mode 100644
index 0000000..4d923cd
--- /dev/null
+++ b/scenario/voice/en/intro3.mp3
Binary files differ
diff --git a/scenario/voice/en/start0.mp3 b/scenario/voice/en/start0.mp3
new file mode 100644
index 0000000..e69cfe6
--- /dev/null
+++ b/scenario/voice/en/start0.mp3
Binary files differ
diff --git a/scenario/voice/en/start1.mp3 b/scenario/voice/en/start1.mp3
new file mode 100644
index 0000000..4ba3b06
--- /dev/null
+++ b/scenario/voice/en/start1.mp3
Binary files differ
diff --git a/scenario/voice/en/start2.mp3 b/scenario/voice/en/start2.mp3
new file mode 100644
index 0000000..20cb7e7
--- /dev/null
+++ b/scenario/voice/en/start2.mp3
Binary files differ
diff --git a/scenario/voice/en/start3.mp3 b/scenario/voice/en/start3.mp3
new file mode 100644
index 0000000..09b3267
--- /dev/null
+++ b/scenario/voice/en/start3.mp3
Binary files differ
diff --git a/scenario/voice/en/start4.mp3 b/scenario/voice/en/start4.mp3
new file mode 100644
index 0000000..77dd366
--- /dev/null
+++ b/scenario/voice/en/start4.mp3
Binary files differ
diff --git a/scenario/voice/en/start5.mp3 b/scenario/voice/en/start5.mp3
new file mode 100644
index 0000000..4b27a45
--- /dev/null
+++ b/scenario/voice/en/start5.mp3
Binary files differ
diff --git a/scenario/voice/en/wall10.mp3 b/scenario/voice/en/wall10.mp3
new file mode 100644
index 0000000..3519d3d
--- /dev/null
+++ b/scenario/voice/en/wall10.mp3
Binary files differ
diff --git a/scenario/voice/en/wall11.mp3 b/scenario/voice/en/wall11.mp3
new file mode 100644
index 0000000..7ee4b3d
--- /dev/null
+++ b/scenario/voice/en/wall11.mp3
Binary files differ
diff --git a/scenario/voice/en/wall12.mp3 b/scenario/voice/en/wall12.mp3
new file mode 100644
index 0000000..d4ff6ba
--- /dev/null
+++ b/scenario/voice/en/wall12.mp3
Binary files differ
diff --git a/scenario/voice/en/wall13.mp3 b/scenario/voice/en/wall13.mp3
new file mode 100644
index 0000000..8770282
--- /dev/null
+++ b/scenario/voice/en/wall13.mp3
Binary files differ
diff --git a/scenario/voice/en/wall14.mp3 b/scenario/voice/en/wall14.mp3
new file mode 100644
index 0000000..9f10b62
--- /dev/null
+++ b/scenario/voice/en/wall14.mp3
Binary files differ
diff --git a/scenario/voice/en/wall20.mp3 b/scenario/voice/en/wall20.mp3
new file mode 100644
index 0000000..bd7c0bd
--- /dev/null
+++ b/scenario/voice/en/wall20.mp3
Binary files differ
diff --git a/scenario/voice/en/wall21.mp3 b/scenario/voice/en/wall21.mp3
new file mode 100644
index 0000000..a6e174c
--- /dev/null
+++ b/scenario/voice/en/wall21.mp3
Binary files differ
diff --git a/scenario/voice/en/wall22.mp3 b/scenario/voice/en/wall22.mp3
new file mode 100644
index 0000000..2cf97fa
--- /dev/null
+++ b/scenario/voice/en/wall22.mp3
Binary files differ
diff --git a/scenario/voice/en/wall23.mp3 b/scenario/voice/en/wall23.mp3
new file mode 100644
index 0000000..6feb5e6
--- /dev/null
+++ b/scenario/voice/en/wall23.mp3
Binary files differ
diff --git a/scenario/voice/en/won10.mp3 b/scenario/voice/en/won10.mp3
new file mode 100644
index 0000000..fef1693
--- /dev/null
+++ b/scenario/voice/en/won10.mp3
Binary files differ
diff --git a/scenario/voice/en/won11.mp3 b/scenario/voice/en/won11.mp3
new file mode 100644
index 0000000..e8bbafd
--- /dev/null
+++ b/scenario/voice/en/won11.mp3
Binary files differ
diff --git a/scenario/voice/en/won12.mp3 b/scenario/voice/en/won12.mp3
new file mode 100644
index 0000000..b0bab02
--- /dev/null
+++ b/scenario/voice/en/won12.mp3
Binary files differ
diff --git a/scenario/voice/en/won13.mp3 b/scenario/voice/en/won13.mp3
new file mode 100644
index 0000000..40eaafa
--- /dev/null
+++ b/scenario/voice/en/won13.mp3
Binary files differ
diff --git a/scenario/voice/en/won14.mp3 b/scenario/voice/en/won14.mp3
new file mode 100644
index 0000000..47b85ef
--- /dev/null
+++ b/scenario/voice/en/won14.mp3
Binary files differ
diff --git a/scenario/voice/en/won20.mp3 b/scenario/voice/en/won20.mp3
new file mode 100644
index 0000000..d9e904b
--- /dev/null
+++ b/scenario/voice/en/won20.mp3
Binary files differ
diff --git a/scenario/voice/en/won21.mp3 b/scenario/voice/en/won21.mp3
new file mode 100644
index 0000000..d235f35
--- /dev/null
+++ b/scenario/voice/en/won21.mp3
Binary files differ
diff --git a/scenario/voice/en/won22.mp3 b/scenario/voice/en/won22.mp3
new file mode 100644
index 0000000..7456ace
--- /dev/null
+++ b/scenario/voice/en/won22.mp3
Binary files differ
diff --git a/scenario/voice/en/won23.mp3 b/scenario/voice/en/won23.mp3
new file mode 100644
index 0000000..668c1d8
--- /dev/null
+++ b/scenario/voice/en/won23.mp3
Binary files differ
diff --git a/scenario/voice/en/won24.mp3 b/scenario/voice/en/won24.mp3
new file mode 100644
index 0000000..ef5e904
--- /dev/null
+++ b/scenario/voice/en/won24.mp3
Binary files differ
diff --git a/scenario/voice/es/ahead10.mp3 b/scenario/voice/es/ahead10.mp3
new file mode 100644
index 0000000..3cf4b9e
--- /dev/null
+++ b/scenario/voice/es/ahead10.mp3
Binary files differ
diff --git a/scenario/voice/es/ahead11.mp3 b/scenario/voice/es/ahead11.mp3
new file mode 100644
index 0000000..5b720c6
--- /dev/null
+++ b/scenario/voice/es/ahead11.mp3
Binary files differ
diff --git a/scenario/voice/es/ahead12.mp3 b/scenario/voice/es/ahead12.mp3
new file mode 100644
index 0000000..428661c
--- /dev/null
+++ b/scenario/voice/es/ahead12.mp3
Binary files differ
diff --git a/scenario/voice/es/ahead13.mp3 b/scenario/voice/es/ahead13.mp3
new file mode 100644
index 0000000..ff33422
--- /dev/null
+++ b/scenario/voice/es/ahead13.mp3
Binary files differ
diff --git a/scenario/voice/es/ahead14.mp3 b/scenario/voice/es/ahead14.mp3
new file mode 100644
index 0000000..dd12713
--- /dev/null
+++ b/scenario/voice/es/ahead14.mp3
Binary files differ
diff --git a/scenario/voice/es/ahead20.mp3 b/scenario/voice/es/ahead20.mp3
new file mode 100644
index 0000000..1f45569
--- /dev/null
+++ b/scenario/voice/es/ahead20.mp3
Binary files differ
diff --git a/scenario/voice/es/ahead21.mp3 b/scenario/voice/es/ahead21.mp3
new file mode 100644
index 0000000..b23ef13
--- /dev/null
+++ b/scenario/voice/es/ahead21.mp3
Binary files differ
diff --git a/scenario/voice/es/ahead22.mp3 b/scenario/voice/es/ahead22.mp3
new file mode 100644
index 0000000..1ee7b83
--- /dev/null
+++ b/scenario/voice/es/ahead22.mp3
Binary files differ
diff --git a/scenario/voice/es/ahead23.mp3 b/scenario/voice/es/ahead23.mp3
new file mode 100644
index 0000000..ed7ada6
--- /dev/null
+++ b/scenario/voice/es/ahead23.mp3
Binary files differ
diff --git a/scenario/voice/es/ahead24.mp3 b/scenario/voice/es/ahead24.mp3
new file mode 100644
index 0000000..1328adb
--- /dev/null
+++ b/scenario/voice/es/ahead24.mp3
Binary files differ
diff --git a/scenario/voice/es/intro0.mp3 b/scenario/voice/es/intro0.mp3
new file mode 100644
index 0000000..42440b6
--- /dev/null
+++ b/scenario/voice/es/intro0.mp3
Binary files differ
diff --git a/scenario/voice/es/intro1.mp3 b/scenario/voice/es/intro1.mp3
new file mode 100644
index 0000000..c147dff
--- /dev/null
+++ b/scenario/voice/es/intro1.mp3
Binary files differ
diff --git a/scenario/voice/es/intro2.mp3 b/scenario/voice/es/intro2.mp3
new file mode 100644
index 0000000..3ffb08c
--- /dev/null
+++ b/scenario/voice/es/intro2.mp3
Binary files differ
diff --git a/scenario/voice/es/intro3.mp3 b/scenario/voice/es/intro3.mp3
new file mode 100644
index 0000000..4d923cd
--- /dev/null
+++ b/scenario/voice/es/intro3.mp3
Binary files differ
diff --git a/scenario/voice/es/start0.mp3 b/scenario/voice/es/start0.mp3
new file mode 100644
index 0000000..e69cfe6
--- /dev/null
+++ b/scenario/voice/es/start0.mp3
Binary files differ
diff --git a/scenario/voice/es/start1.mp3 b/scenario/voice/es/start1.mp3
new file mode 100644
index 0000000..4ba3b06
--- /dev/null
+++ b/scenario/voice/es/start1.mp3
Binary files differ
diff --git a/scenario/voice/es/start2.mp3 b/scenario/voice/es/start2.mp3
new file mode 100644
index 0000000..20cb7e7
--- /dev/null
+++ b/scenario/voice/es/start2.mp3
Binary files differ
diff --git a/scenario/voice/es/start3.mp3 b/scenario/voice/es/start3.mp3
new file mode 100644
index 0000000..09b3267
--- /dev/null
+++ b/scenario/voice/es/start3.mp3
Binary files differ
diff --git a/scenario/voice/es/start4.mp3 b/scenario/voice/es/start4.mp3
new file mode 100644
index 0000000..77dd366
--- /dev/null
+++ b/scenario/voice/es/start4.mp3
Binary files differ
diff --git a/scenario/voice/es/start5.mp3 b/scenario/voice/es/start5.mp3
new file mode 100644
index 0000000..4b27a45
--- /dev/null
+++ b/scenario/voice/es/start5.mp3
Binary files differ
diff --git a/scenario/voice/es/wall10.mp3 b/scenario/voice/es/wall10.mp3
new file mode 100644
index 0000000..3519d3d
--- /dev/null
+++ b/scenario/voice/es/wall10.mp3
Binary files differ
diff --git a/scenario/voice/es/wall11.mp3 b/scenario/voice/es/wall11.mp3
new file mode 100644
index 0000000..7ee4b3d
--- /dev/null
+++ b/scenario/voice/es/wall11.mp3
Binary files differ
diff --git a/scenario/voice/es/wall12.mp3 b/scenario/voice/es/wall12.mp3
new file mode 100644
index 0000000..d4ff6ba
--- /dev/null
+++ b/scenario/voice/es/wall12.mp3
Binary files differ
diff --git a/scenario/voice/es/wall13.mp3 b/scenario/voice/es/wall13.mp3
new file mode 100644
index 0000000..8770282
--- /dev/null
+++ b/scenario/voice/es/wall13.mp3
Binary files differ
diff --git a/scenario/voice/es/wall14.mp3 b/scenario/voice/es/wall14.mp3
new file mode 100644
index 0000000..9f10b62
--- /dev/null
+++ b/scenario/voice/es/wall14.mp3
Binary files differ
diff --git a/scenario/voice/es/wall20.mp3 b/scenario/voice/es/wall20.mp3
new file mode 100644
index 0000000..bd7c0bd
--- /dev/null
+++ b/scenario/voice/es/wall20.mp3
Binary files differ
diff --git a/scenario/voice/es/wall21.mp3 b/scenario/voice/es/wall21.mp3
new file mode 100644
index 0000000..a6e174c
--- /dev/null
+++ b/scenario/voice/es/wall21.mp3
Binary files differ
diff --git a/scenario/voice/es/wall22.mp3 b/scenario/voice/es/wall22.mp3
new file mode 100644
index 0000000..2cf97fa
--- /dev/null
+++ b/scenario/voice/es/wall22.mp3
Binary files differ
diff --git a/scenario/voice/es/wall23.mp3 b/scenario/voice/es/wall23.mp3
new file mode 100644
index 0000000..6feb5e6
--- /dev/null
+++ b/scenario/voice/es/wall23.mp3
Binary files differ
diff --git a/scenario/voice/es/won10.mp3 b/scenario/voice/es/won10.mp3
new file mode 100644
index 0000000..fef1693
--- /dev/null
+++ b/scenario/voice/es/won10.mp3
Binary files differ
diff --git a/scenario/voice/es/won11.mp3 b/scenario/voice/es/won11.mp3
new file mode 100644
index 0000000..e8bbafd
--- /dev/null
+++ b/scenario/voice/es/won11.mp3
Binary files differ
diff --git a/scenario/voice/es/won12.mp3 b/scenario/voice/es/won12.mp3
new file mode 100644
index 0000000..b0bab02
--- /dev/null
+++ b/scenario/voice/es/won12.mp3
Binary files differ
diff --git a/scenario/voice/es/won13.mp3 b/scenario/voice/es/won13.mp3
new file mode 100644
index 0000000..40eaafa
--- /dev/null
+++ b/scenario/voice/es/won13.mp3
Binary files differ
diff --git a/scenario/voice/es/won14.mp3 b/scenario/voice/es/won14.mp3
new file mode 100644
index 0000000..47b85ef
--- /dev/null
+++ b/scenario/voice/es/won14.mp3
Binary files differ
diff --git a/scenario/voice/es/won20.mp3 b/scenario/voice/es/won20.mp3
new file mode 100644
index 0000000..d9e904b
--- /dev/null
+++ b/scenario/voice/es/won20.mp3
Binary files differ
diff --git a/scenario/voice/es/won21.mp3 b/scenario/voice/es/won21.mp3
new file mode 100644
index 0000000..d235f35
--- /dev/null
+++ b/scenario/voice/es/won21.mp3
Binary files differ
diff --git a/scenario/voice/es/won22.mp3 b/scenario/voice/es/won22.mp3
new file mode 100644
index 0000000..7456ace
--- /dev/null
+++ b/scenario/voice/es/won22.mp3
Binary files differ
diff --git a/scenario/voice/es/won23.mp3 b/scenario/voice/es/won23.mp3
new file mode 100644
index 0000000..668c1d8
--- /dev/null
+++ b/scenario/voice/es/won23.mp3
Binary files differ
diff --git a/scenario/voice/es/won24.mp3 b/scenario/voice/es/won24.mp3
new file mode 100644
index 0000000..ef5e904
--- /dev/null
+++ b/scenario/voice/es/won24.mp3
Binary files differ
diff --git a/scenario/voice/fr/ahead10.mp3 b/scenario/voice/fr/ahead10.mp3
new file mode 100644
index 0000000..3cf4b9e
--- /dev/null
+++ b/scenario/voice/fr/ahead10.mp3
Binary files differ
diff --git a/scenario/voice/fr/ahead11.mp3 b/scenario/voice/fr/ahead11.mp3
new file mode 100644
index 0000000..5b720c6
--- /dev/null
+++ b/scenario/voice/fr/ahead11.mp3
Binary files differ
diff --git a/scenario/voice/fr/ahead12.mp3 b/scenario/voice/fr/ahead12.mp3
new file mode 100644
index 0000000..428661c
--- /dev/null
+++ b/scenario/voice/fr/ahead12.mp3
Binary files differ
diff --git a/scenario/voice/fr/ahead13.mp3 b/scenario/voice/fr/ahead13.mp3
new file mode 100644
index 0000000..ff33422
--- /dev/null
+++ b/scenario/voice/fr/ahead13.mp3
Binary files differ
diff --git a/scenario/voice/fr/ahead14.mp3 b/scenario/voice/fr/ahead14.mp3
new file mode 100644
index 0000000..dd12713
--- /dev/null
+++ b/scenario/voice/fr/ahead14.mp3
Binary files differ
diff --git a/scenario/voice/fr/ahead20.mp3 b/scenario/voice/fr/ahead20.mp3
new file mode 100644
index 0000000..1f45569
--- /dev/null
+++ b/scenario/voice/fr/ahead20.mp3
Binary files differ
diff --git a/scenario/voice/fr/ahead21.mp3 b/scenario/voice/fr/ahead21.mp3
new file mode 100644
index 0000000..b23ef13
--- /dev/null
+++ b/scenario/voice/fr/ahead21.mp3
Binary files differ
diff --git a/scenario/voice/fr/ahead22.mp3 b/scenario/voice/fr/ahead22.mp3
new file mode 100644
index 0000000..1ee7b83
--- /dev/null
+++ b/scenario/voice/fr/ahead22.mp3
Binary files differ
diff --git a/scenario/voice/fr/ahead23.mp3 b/scenario/voice/fr/ahead23.mp3
new file mode 100644
index 0000000..ed7ada6
--- /dev/null
+++ b/scenario/voice/fr/ahead23.mp3
Binary files differ
diff --git a/scenario/voice/fr/ahead24.mp3 b/scenario/voice/fr/ahead24.mp3
new file mode 100644
index 0000000..1328adb
--- /dev/null
+++ b/scenario/voice/fr/ahead24.mp3
Binary files differ
diff --git a/scenario/voice/fr/intro0.mp3 b/scenario/voice/fr/intro0.mp3
new file mode 100644
index 0000000..42440b6
--- /dev/null
+++ b/scenario/voice/fr/intro0.mp3
Binary files differ
diff --git a/scenario/voice/fr/intro1.mp3 b/scenario/voice/fr/intro1.mp3
new file mode 100644
index 0000000..c147dff
--- /dev/null
+++ b/scenario/voice/fr/intro1.mp3
Binary files differ
diff --git a/scenario/voice/fr/intro2.mp3 b/scenario/voice/fr/intro2.mp3
new file mode 100644
index 0000000..3ffb08c
--- /dev/null
+++ b/scenario/voice/fr/intro2.mp3
Binary files differ
diff --git a/scenario/voice/fr/intro3.mp3 b/scenario/voice/fr/intro3.mp3
new file mode 100644
index 0000000..4d923cd
--- /dev/null
+++ b/scenario/voice/fr/intro3.mp3
Binary files differ
diff --git a/scenario/voice/fr/start0.mp3 b/scenario/voice/fr/start0.mp3
new file mode 100644
index 0000000..e69cfe6
--- /dev/null
+++ b/scenario/voice/fr/start0.mp3
Binary files differ
diff --git a/scenario/voice/fr/start1.mp3 b/scenario/voice/fr/start1.mp3
new file mode 100644
index 0000000..4ba3b06
--- /dev/null
+++ b/scenario/voice/fr/start1.mp3
Binary files differ
diff --git a/scenario/voice/fr/start2.mp3 b/scenario/voice/fr/start2.mp3
new file mode 100644
index 0000000..20cb7e7
--- /dev/null
+++ b/scenario/voice/fr/start2.mp3
Binary files differ
diff --git a/scenario/voice/fr/start3.mp3 b/scenario/voice/fr/start3.mp3
new file mode 100644
index 0000000..09b3267
--- /dev/null
+++ b/scenario/voice/fr/start3.mp3
Binary files differ
diff --git a/scenario/voice/fr/start4.mp3 b/scenario/voice/fr/start4.mp3
new file mode 100644
index 0000000..77dd366
--- /dev/null
+++ b/scenario/voice/fr/start4.mp3
Binary files differ
diff --git a/scenario/voice/fr/start5.mp3 b/scenario/voice/fr/start5.mp3
new file mode 100644
index 0000000..4b27a45
--- /dev/null
+++ b/scenario/voice/fr/start5.mp3
Binary files differ
diff --git a/scenario/voice/fr/wall10.mp3 b/scenario/voice/fr/wall10.mp3
new file mode 100644
index 0000000..3519d3d
--- /dev/null
+++ b/scenario/voice/fr/wall10.mp3
Binary files differ
diff --git a/scenario/voice/fr/wall11.mp3 b/scenario/voice/fr/wall11.mp3
new file mode 100644
index 0000000..7ee4b3d
--- /dev/null
+++ b/scenario/voice/fr/wall11.mp3
Binary files differ
diff --git a/scenario/voice/fr/wall12.mp3 b/scenario/voice/fr/wall12.mp3
new file mode 100644
index 0000000..d4ff6ba
--- /dev/null
+++ b/scenario/voice/fr/wall12.mp3
Binary files differ
diff --git a/scenario/voice/fr/wall13.mp3 b/scenario/voice/fr/wall13.mp3
new file mode 100644
index 0000000..8770282
--- /dev/null
+++ b/scenario/voice/fr/wall13.mp3
Binary files differ
diff --git a/scenario/voice/fr/wall14.mp3 b/scenario/voice/fr/wall14.mp3
new file mode 100644
index 0000000..9f10b62
--- /dev/null
+++ b/scenario/voice/fr/wall14.mp3
Binary files differ
diff --git a/scenario/voice/fr/wall20.mp3 b/scenario/voice/fr/wall20.mp3
new file mode 100644
index 0000000..bd7c0bd
--- /dev/null
+++ b/scenario/voice/fr/wall20.mp3
Binary files differ
diff --git a/scenario/voice/fr/wall21.mp3 b/scenario/voice/fr/wall21.mp3
new file mode 100644
index 0000000..a6e174c
--- /dev/null
+++ b/scenario/voice/fr/wall21.mp3
Binary files differ
diff --git a/scenario/voice/fr/wall22.mp3 b/scenario/voice/fr/wall22.mp3
new file mode 100644
index 0000000..2cf97fa
--- /dev/null
+++ b/scenario/voice/fr/wall22.mp3
Binary files differ
diff --git a/scenario/voice/fr/wall23.mp3 b/scenario/voice/fr/wall23.mp3
new file mode 100644
index 0000000..6feb5e6
--- /dev/null
+++ b/scenario/voice/fr/wall23.mp3
Binary files differ
diff --git a/scenario/voice/fr/won10.mp3 b/scenario/voice/fr/won10.mp3
new file mode 100644
index 0000000..fef1693
--- /dev/null
+++ b/scenario/voice/fr/won10.mp3
Binary files differ
diff --git a/scenario/voice/fr/won11.mp3 b/scenario/voice/fr/won11.mp3
new file mode 100644
index 0000000..e8bbafd
--- /dev/null
+++ b/scenario/voice/fr/won11.mp3
Binary files differ
diff --git a/scenario/voice/fr/won12.mp3 b/scenario/voice/fr/won12.mp3
new file mode 100644
index 0000000..b0bab02
--- /dev/null
+++ b/scenario/voice/fr/won12.mp3
Binary files differ
diff --git a/scenario/voice/fr/won13.mp3 b/scenario/voice/fr/won13.mp3
new file mode 100644
index 0000000..40eaafa
--- /dev/null
+++ b/scenario/voice/fr/won13.mp3
Binary files differ
diff --git a/scenario/voice/fr/won14.mp3 b/scenario/voice/fr/won14.mp3
new file mode 100644
index 0000000..47b85ef
--- /dev/null
+++ b/scenario/voice/fr/won14.mp3
Binary files differ
diff --git a/scenario/voice/fr/won20.mp3 b/scenario/voice/fr/won20.mp3
new file mode 100644
index 0000000..d9e904b
--- /dev/null
+++ b/scenario/voice/fr/won20.mp3
Binary files differ
diff --git a/scenario/voice/fr/won21.mp3 b/scenario/voice/fr/won21.mp3
new file mode 100644
index 0000000..d235f35
--- /dev/null
+++ b/scenario/voice/fr/won21.mp3
Binary files differ
diff --git a/scenario/voice/fr/won22.mp3 b/scenario/voice/fr/won22.mp3
new file mode 100644
index 0000000..7456ace
--- /dev/null
+++ b/scenario/voice/fr/won22.mp3
Binary files differ
diff --git a/scenario/voice/fr/won23.mp3 b/scenario/voice/fr/won23.mp3
new file mode 100644
index 0000000..668c1d8
--- /dev/null
+++ b/scenario/voice/fr/won23.mp3
Binary files differ
diff --git a/scenario/voice/fr/won24.mp3 b/scenario/voice/fr/won24.mp3
new file mode 100644
index 0000000..ef5e904
--- /dev/null
+++ b/scenario/voice/fr/won24.mp3
Binary files differ
diff --git a/scenario/voice/jp/ahead10.mp3 b/scenario/voice/jp/ahead10.mp3
new file mode 100644
index 0000000..3cf4b9e
--- /dev/null
+++ b/scenario/voice/jp/ahead10.mp3
Binary files differ
diff --git a/scenario/voice/jp/ahead11.mp3 b/scenario/voice/jp/ahead11.mp3
new file mode 100644
index 0000000..5b720c6
--- /dev/null
+++ b/scenario/voice/jp/ahead11.mp3
Binary files differ
diff --git a/scenario/voice/jp/ahead12.mp3 b/scenario/voice/jp/ahead12.mp3
new file mode 100644
index 0000000..428661c
--- /dev/null
+++ b/scenario/voice/jp/ahead12.mp3
Binary files differ
diff --git a/scenario/voice/jp/ahead13.mp3 b/scenario/voice/jp/ahead13.mp3
new file mode 100644
index 0000000..ff33422
--- /dev/null
+++ b/scenario/voice/jp/ahead13.mp3
Binary files differ
diff --git a/scenario/voice/jp/ahead14.mp3 b/scenario/voice/jp/ahead14.mp3
new file mode 100644
index 0000000..dd12713
--- /dev/null
+++ b/scenario/voice/jp/ahead14.mp3
Binary files differ
diff --git a/scenario/voice/jp/ahead20.mp3 b/scenario/voice/jp/ahead20.mp3
new file mode 100644
index 0000000..1f45569
--- /dev/null
+++ b/scenario/voice/jp/ahead20.mp3
Binary files differ
diff --git a/scenario/voice/jp/ahead21.mp3 b/scenario/voice/jp/ahead21.mp3
new file mode 100644
index 0000000..b23ef13
--- /dev/null
+++ b/scenario/voice/jp/ahead21.mp3
Binary files differ
diff --git a/scenario/voice/jp/ahead22.mp3 b/scenario/voice/jp/ahead22.mp3
new file mode 100644
index 0000000..1ee7b83
--- /dev/null
+++ b/scenario/voice/jp/ahead22.mp3
Binary files differ
diff --git a/scenario/voice/jp/ahead23.mp3 b/scenario/voice/jp/ahead23.mp3
new file mode 100644
index 0000000..ed7ada6
--- /dev/null
+++ b/scenario/voice/jp/ahead23.mp3
Binary files differ
diff --git a/scenario/voice/jp/ahead24.mp3 b/scenario/voice/jp/ahead24.mp3
new file mode 100644
index 0000000..1328adb
--- /dev/null
+++ b/scenario/voice/jp/ahead24.mp3
Binary files differ
diff --git a/scenario/voice/jp/intro0.mp3 b/scenario/voice/jp/intro0.mp3
new file mode 100644
index 0000000..42440b6
--- /dev/null
+++ b/scenario/voice/jp/intro0.mp3
Binary files differ
diff --git a/scenario/voice/jp/intro1.mp3 b/scenario/voice/jp/intro1.mp3
new file mode 100644
index 0000000..c147dff
--- /dev/null
+++ b/scenario/voice/jp/intro1.mp3
Binary files differ
diff --git a/scenario/voice/jp/intro2.mp3 b/scenario/voice/jp/intro2.mp3
new file mode 100644
index 0000000..3ffb08c
--- /dev/null
+++ b/scenario/voice/jp/intro2.mp3
Binary files differ
diff --git a/scenario/voice/jp/intro3.mp3 b/scenario/voice/jp/intro3.mp3
new file mode 100644
index 0000000..4d923cd
--- /dev/null
+++ b/scenario/voice/jp/intro3.mp3
Binary files differ
diff --git a/scenario/voice/jp/start0.mp3 b/scenario/voice/jp/start0.mp3
new file mode 100644
index 0000000..e69cfe6
--- /dev/null
+++ b/scenario/voice/jp/start0.mp3
Binary files differ
diff --git a/scenario/voice/jp/start1.mp3 b/scenario/voice/jp/start1.mp3
new file mode 100644
index 0000000..4ba3b06
--- /dev/null
+++ b/scenario/voice/jp/start1.mp3
Binary files differ
diff --git a/scenario/voice/jp/start2.mp3 b/scenario/voice/jp/start2.mp3
new file mode 100644
index 0000000..20cb7e7
--- /dev/null
+++ b/scenario/voice/jp/start2.mp3
Binary files differ
diff --git a/scenario/voice/jp/start3.mp3 b/scenario/voice/jp/start3.mp3
new file mode 100644
index 0000000..09b3267
--- /dev/null
+++ b/scenario/voice/jp/start3.mp3
Binary files differ
diff --git a/scenario/voice/jp/start4.mp3 b/scenario/voice/jp/start4.mp3
new file mode 100644
index 0000000..77dd366
--- /dev/null
+++ b/scenario/voice/jp/start4.mp3
Binary files differ
diff --git a/scenario/voice/jp/start5.mp3 b/scenario/voice/jp/start5.mp3
new file mode 100644
index 0000000..4b27a45
--- /dev/null
+++ b/scenario/voice/jp/start5.mp3
Binary files differ
diff --git a/scenario/voice/jp/wall10.mp3 b/scenario/voice/jp/wall10.mp3
new file mode 100644
index 0000000..3519d3d
--- /dev/null
+++ b/scenario/voice/jp/wall10.mp3
Binary files differ
diff --git a/scenario/voice/jp/wall11.mp3 b/scenario/voice/jp/wall11.mp3
new file mode 100644
index 0000000..7ee4b3d
--- /dev/null
+++ b/scenario/voice/jp/wall11.mp3
Binary files differ
diff --git a/scenario/voice/jp/wall12.mp3 b/scenario/voice/jp/wall12.mp3
new file mode 100644
index 0000000..d4ff6ba
--- /dev/null
+++ b/scenario/voice/jp/wall12.mp3
Binary files differ
diff --git a/scenario/voice/jp/wall13.mp3 b/scenario/voice/jp/wall13.mp3
new file mode 100644
index 0000000..8770282
--- /dev/null
+++ b/scenario/voice/jp/wall13.mp3
Binary files differ
diff --git a/scenario/voice/jp/wall14.mp3 b/scenario/voice/jp/wall14.mp3
new file mode 100644
index 0000000..9f10b62
--- /dev/null
+++ b/scenario/voice/jp/wall14.mp3
Binary files differ
diff --git a/scenario/voice/jp/wall20.mp3 b/scenario/voice/jp/wall20.mp3
new file mode 100644
index 0000000..bd7c0bd
--- /dev/null
+++ b/scenario/voice/jp/wall20.mp3
Binary files differ
diff --git a/scenario/voice/jp/wall21.mp3 b/scenario/voice/jp/wall21.mp3
new file mode 100644
index 0000000..a6e174c
--- /dev/null
+++ b/scenario/voice/jp/wall21.mp3
Binary files differ
diff --git a/scenario/voice/jp/wall22.mp3 b/scenario/voice/jp/wall22.mp3
new file mode 100644
index 0000000..2cf97fa
--- /dev/null
+++ b/scenario/voice/jp/wall22.mp3
Binary files differ
diff --git a/scenario/voice/jp/wall23.mp3 b/scenario/voice/jp/wall23.mp3
new file mode 100644
index 0000000..6feb5e6
--- /dev/null
+++ b/scenario/voice/jp/wall23.mp3
Binary files differ
diff --git a/scenario/voice/jp/won10.mp3 b/scenario/voice/jp/won10.mp3
new file mode 100644
index 0000000..fef1693
--- /dev/null
+++ b/scenario/voice/jp/won10.mp3
Binary files differ
diff --git a/scenario/voice/jp/won11.mp3 b/scenario/voice/jp/won11.mp3
new file mode 100644
index 0000000..e8bbafd
--- /dev/null
+++ b/scenario/voice/jp/won11.mp3
Binary files differ
diff --git a/scenario/voice/jp/won12.mp3 b/scenario/voice/jp/won12.mp3
new file mode 100644
index 0000000..b0bab02
--- /dev/null
+++ b/scenario/voice/jp/won12.mp3
Binary files differ
diff --git a/scenario/voice/jp/won13.mp3 b/scenario/voice/jp/won13.mp3
new file mode 100644
index 0000000..40eaafa
--- /dev/null
+++ b/scenario/voice/jp/won13.mp3
Binary files differ
diff --git a/scenario/voice/jp/won14.mp3 b/scenario/voice/jp/won14.mp3
new file mode 100644
index 0000000..47b85ef
--- /dev/null
+++ b/scenario/voice/jp/won14.mp3
Binary files differ
diff --git a/scenario/voice/jp/won20.mp3 b/scenario/voice/jp/won20.mp3
new file mode 100644
index 0000000..d9e904b
--- /dev/null
+++ b/scenario/voice/jp/won20.mp3
Binary files differ
diff --git a/scenario/voice/jp/won21.mp3 b/scenario/voice/jp/won21.mp3
new file mode 100644
index 0000000..d235f35
--- /dev/null
+++ b/scenario/voice/jp/won21.mp3
Binary files differ
diff --git a/scenario/voice/jp/won22.mp3 b/scenario/voice/jp/won22.mp3
new file mode 100644
index 0000000..7456ace
--- /dev/null
+++ b/scenario/voice/jp/won22.mp3
Binary files differ
diff --git a/scenario/voice/jp/won23.mp3 b/scenario/voice/jp/won23.mp3
new file mode 100644
index 0000000..668c1d8
--- /dev/null
+++ b/scenario/voice/jp/won23.mp3
Binary files differ
diff --git a/scenario/voice/jp/won24.mp3 b/scenario/voice/jp/won24.mp3
new file mode 100644
index 0000000..ef5e904
--- /dev/null
+++ b/scenario/voice/jp/won24.mp3
Binary files differ
diff --git a/scenario/voice/nl/ahead10.mp3 b/scenario/voice/nl/ahead10.mp3
new file mode 100644
index 0000000..3cf4b9e
--- /dev/null
+++ b/scenario/voice/nl/ahead10.mp3
Binary files differ
diff --git a/scenario/voice/nl/ahead11.mp3 b/scenario/voice/nl/ahead11.mp3
new file mode 100644
index 0000000..5b720c6
--- /dev/null
+++ b/scenario/voice/nl/ahead11.mp3
Binary files differ
diff --git a/scenario/voice/nl/ahead12.mp3 b/scenario/voice/nl/ahead12.mp3
new file mode 100644
index 0000000..428661c
--- /dev/null
+++ b/scenario/voice/nl/ahead12.mp3
Binary files differ
diff --git a/scenario/voice/nl/ahead13.mp3 b/scenario/voice/nl/ahead13.mp3
new file mode 100644
index 0000000..ff33422
--- /dev/null
+++ b/scenario/voice/nl/ahead13.mp3
Binary files differ
diff --git a/scenario/voice/nl/ahead14.mp3 b/scenario/voice/nl/ahead14.mp3
new file mode 100644
index 0000000..dd12713
--- /dev/null
+++ b/scenario/voice/nl/ahead14.mp3
Binary files differ
diff --git a/scenario/voice/nl/ahead20.mp3 b/scenario/voice/nl/ahead20.mp3
new file mode 100644
index 0000000..1f45569
--- /dev/null
+++ b/scenario/voice/nl/ahead20.mp3
Binary files differ
diff --git a/scenario/voice/nl/ahead21.mp3 b/scenario/voice/nl/ahead21.mp3
new file mode 100644
index 0000000..b23ef13
--- /dev/null
+++ b/scenario/voice/nl/ahead21.mp3
Binary files differ
diff --git a/scenario/voice/nl/ahead22.mp3 b/scenario/voice/nl/ahead22.mp3
new file mode 100644
index 0000000..1ee7b83
--- /dev/null
+++ b/scenario/voice/nl/ahead22.mp3
Binary files differ
diff --git a/scenario/voice/nl/ahead23.mp3 b/scenario/voice/nl/ahead23.mp3
new file mode 100644
index 0000000..ed7ada6
--- /dev/null
+++ b/scenario/voice/nl/ahead23.mp3
Binary files differ
diff --git a/scenario/voice/nl/ahead24.mp3 b/scenario/voice/nl/ahead24.mp3
new file mode 100644
index 0000000..1328adb
--- /dev/null
+++ b/scenario/voice/nl/ahead24.mp3
Binary files differ
diff --git a/scenario/voice/nl/intro0.mp3 b/scenario/voice/nl/intro0.mp3
new file mode 100644
index 0000000..42440b6
--- /dev/null
+++ b/scenario/voice/nl/intro0.mp3
Binary files differ
diff --git a/scenario/voice/nl/intro1.mp3 b/scenario/voice/nl/intro1.mp3
new file mode 100644
index 0000000..c147dff
--- /dev/null
+++ b/scenario/voice/nl/intro1.mp3
Binary files differ
diff --git a/scenario/voice/nl/intro2.mp3 b/scenario/voice/nl/intro2.mp3
new file mode 100644
index 0000000..3ffb08c
--- /dev/null
+++ b/scenario/voice/nl/intro2.mp3
Binary files differ
diff --git a/scenario/voice/nl/intro3.mp3 b/scenario/voice/nl/intro3.mp3
new file mode 100644
index 0000000..4d923cd
--- /dev/null
+++ b/scenario/voice/nl/intro3.mp3
Binary files differ
diff --git a/scenario/voice/nl/start0.mp3 b/scenario/voice/nl/start0.mp3
new file mode 100644
index 0000000..e69cfe6
--- /dev/null
+++ b/scenario/voice/nl/start0.mp3
Binary files differ
diff --git a/scenario/voice/nl/start1.mp3 b/scenario/voice/nl/start1.mp3
new file mode 100644
index 0000000..4ba3b06
--- /dev/null
+++ b/scenario/voice/nl/start1.mp3
Binary files differ
diff --git a/scenario/voice/nl/start2.mp3 b/scenario/voice/nl/start2.mp3
new file mode 100644
index 0000000..20cb7e7
--- /dev/null
+++ b/scenario/voice/nl/start2.mp3
Binary files differ
diff --git a/scenario/voice/nl/start3.mp3 b/scenario/voice/nl/start3.mp3
new file mode 100644
index 0000000..09b3267
--- /dev/null
+++ b/scenario/voice/nl/start3.mp3
Binary files differ
diff --git a/scenario/voice/nl/start4.mp3 b/scenario/voice/nl/start4.mp3
new file mode 100644
index 0000000..77dd366
--- /dev/null
+++ b/scenario/voice/nl/start4.mp3
Binary files differ
diff --git a/scenario/voice/nl/start5.mp3 b/scenario/voice/nl/start5.mp3
new file mode 100644
index 0000000..4b27a45
--- /dev/null
+++ b/scenario/voice/nl/start5.mp3
Binary files differ
diff --git a/scenario/voice/nl/wall10.mp3 b/scenario/voice/nl/wall10.mp3
new file mode 100644
index 0000000..3519d3d
--- /dev/null
+++ b/scenario/voice/nl/wall10.mp3
Binary files differ
diff --git a/scenario/voice/nl/wall11.mp3 b/scenario/voice/nl/wall11.mp3
new file mode 100644
index 0000000..7ee4b3d
--- /dev/null
+++ b/scenario/voice/nl/wall11.mp3
Binary files differ
diff --git a/scenario/voice/nl/wall12.mp3 b/scenario/voice/nl/wall12.mp3
new file mode 100644
index 0000000..d4ff6ba
--- /dev/null
+++ b/scenario/voice/nl/wall12.mp3
Binary files differ
diff --git a/scenario/voice/nl/wall13.mp3 b/scenario/voice/nl/wall13.mp3
new file mode 100644
index 0000000..8770282
--- /dev/null
+++ b/scenario/voice/nl/wall13.mp3
Binary files differ
diff --git a/scenario/voice/nl/wall14.mp3 b/scenario/voice/nl/wall14.mp3
new file mode 100644
index 0000000..9f10b62
--- /dev/null
+++ b/scenario/voice/nl/wall14.mp3
Binary files differ
diff --git a/scenario/voice/nl/wall20.mp3 b/scenario/voice/nl/wall20.mp3
new file mode 100644
index 0000000..bd7c0bd
--- /dev/null
+++ b/scenario/voice/nl/wall20.mp3
Binary files differ
diff --git a/scenario/voice/nl/wall21.mp3 b/scenario/voice/nl/wall21.mp3
new file mode 100644
index 0000000..a6e174c
--- /dev/null
+++ b/scenario/voice/nl/wall21.mp3
Binary files differ
diff --git a/scenario/voice/nl/wall22.mp3 b/scenario/voice/nl/wall22.mp3
new file mode 100644
index 0000000..2cf97fa
--- /dev/null
+++ b/scenario/voice/nl/wall22.mp3
Binary files differ
diff --git a/scenario/voice/nl/wall23.mp3 b/scenario/voice/nl/wall23.mp3
new file mode 100644
index 0000000..6feb5e6
--- /dev/null
+++ b/scenario/voice/nl/wall23.mp3
Binary files differ
diff --git a/scenario/voice/nl/won10.mp3 b/scenario/voice/nl/won10.mp3
new file mode 100644
index 0000000..fef1693
--- /dev/null
+++ b/scenario/voice/nl/won10.mp3
Binary files differ
diff --git a/scenario/voice/nl/won11.mp3 b/scenario/voice/nl/won11.mp3
new file mode 100644
index 0000000..e8bbafd
--- /dev/null
+++ b/scenario/voice/nl/won11.mp3
Binary files differ
diff --git a/scenario/voice/nl/won12.mp3 b/scenario/voice/nl/won12.mp3
new file mode 100644
index 0000000..b0bab02
--- /dev/null
+++ b/scenario/voice/nl/won12.mp3
Binary files differ
diff --git a/scenario/voice/nl/won13.mp3 b/scenario/voice/nl/won13.mp3
new file mode 100644
index 0000000..40eaafa
--- /dev/null
+++ b/scenario/voice/nl/won13.mp3
Binary files differ
diff --git a/scenario/voice/nl/won14.mp3 b/scenario/voice/nl/won14.mp3
new file mode 100644
index 0000000..47b85ef
--- /dev/null
+++ b/scenario/voice/nl/won14.mp3
Binary files differ
diff --git a/scenario/voice/nl/won20.mp3 b/scenario/voice/nl/won20.mp3
new file mode 100644
index 0000000..d9e904b
--- /dev/null
+++ b/scenario/voice/nl/won20.mp3
Binary files differ
diff --git a/scenario/voice/nl/won21.mp3 b/scenario/voice/nl/won21.mp3
new file mode 100644
index 0000000..d235f35
--- /dev/null
+++ b/scenario/voice/nl/won21.mp3
Binary files differ
diff --git a/scenario/voice/nl/won22.mp3 b/scenario/voice/nl/won22.mp3
new file mode 100644
index 0000000..7456ace
--- /dev/null
+++ b/scenario/voice/nl/won22.mp3
Binary files differ
diff --git a/scenario/voice/nl/won23.mp3 b/scenario/voice/nl/won23.mp3
new file mode 100644
index 0000000..668c1d8
--- /dev/null
+++ b/scenario/voice/nl/won23.mp3
Binary files differ
diff --git a/scenario/voice/nl/won24.mp3 b/scenario/voice/nl/won24.mp3
new file mode 100644
index 0000000..ef5e904
--- /dev/null
+++ b/scenario/voice/nl/won24.mp3
Binary files differ
diff --git a/scenario/voice/ru/ahead10.mp3 b/scenario/voice/ru/ahead10.mp3
new file mode 100644
index 0000000..3cf4b9e
--- /dev/null
+++ b/scenario/voice/ru/ahead10.mp3
Binary files differ
diff --git a/scenario/voice/ru/ahead11.mp3 b/scenario/voice/ru/ahead11.mp3
new file mode 100644
index 0000000..5b720c6
--- /dev/null
+++ b/scenario/voice/ru/ahead11.mp3
Binary files differ
diff --git a/scenario/voice/ru/ahead12.mp3 b/scenario/voice/ru/ahead12.mp3
new file mode 100644
index 0000000..428661c
--- /dev/null
+++ b/scenario/voice/ru/ahead12.mp3
Binary files differ
diff --git a/scenario/voice/ru/ahead13.mp3 b/scenario/voice/ru/ahead13.mp3
new file mode 100644
index 0000000..ff33422
--- /dev/null
+++ b/scenario/voice/ru/ahead13.mp3
Binary files differ
diff --git a/scenario/voice/ru/ahead14.mp3 b/scenario/voice/ru/ahead14.mp3
new file mode 100644
index 0000000..dd12713
--- /dev/null
+++ b/scenario/voice/ru/ahead14.mp3
Binary files differ
diff --git a/scenario/voice/ru/ahead20.mp3 b/scenario/voice/ru/ahead20.mp3
new file mode 100644
index 0000000..1f45569
--- /dev/null
+++ b/scenario/voice/ru/ahead20.mp3
Binary files differ
diff --git a/scenario/voice/ru/ahead21.mp3 b/scenario/voice/ru/ahead21.mp3
new file mode 100644
index 0000000..b23ef13
--- /dev/null
+++ b/scenario/voice/ru/ahead21.mp3
Binary files differ
diff --git a/scenario/voice/ru/ahead22.mp3 b/scenario/voice/ru/ahead22.mp3
new file mode 100644
index 0000000..1ee7b83
--- /dev/null
+++ b/scenario/voice/ru/ahead22.mp3
Binary files differ
diff --git a/scenario/voice/ru/ahead23.mp3 b/scenario/voice/ru/ahead23.mp3
new file mode 100644
index 0000000..ed7ada6
--- /dev/null
+++ b/scenario/voice/ru/ahead23.mp3
Binary files differ
diff --git a/scenario/voice/ru/ahead24.mp3 b/scenario/voice/ru/ahead24.mp3
new file mode 100644
index 0000000..1328adb
--- /dev/null
+++ b/scenario/voice/ru/ahead24.mp3
Binary files differ
diff --git a/scenario/voice/ru/intro0.mp3 b/scenario/voice/ru/intro0.mp3
new file mode 100644
index 0000000..42440b6
--- /dev/null
+++ b/scenario/voice/ru/intro0.mp3
Binary files differ
diff --git a/scenario/voice/ru/intro1.mp3 b/scenario/voice/ru/intro1.mp3
new file mode 100644
index 0000000..c147dff
--- /dev/null
+++ b/scenario/voice/ru/intro1.mp3
Binary files differ
diff --git a/scenario/voice/ru/intro2.mp3 b/scenario/voice/ru/intro2.mp3
new file mode 100644
index 0000000..3ffb08c
--- /dev/null
+++ b/scenario/voice/ru/intro2.mp3
Binary files differ
diff --git a/scenario/voice/ru/intro3.mp3 b/scenario/voice/ru/intro3.mp3
new file mode 100644
index 0000000..4d923cd
--- /dev/null
+++ b/scenario/voice/ru/intro3.mp3
Binary files differ
diff --git a/scenario/voice/ru/start0.mp3 b/scenario/voice/ru/start0.mp3
new file mode 100644
index 0000000..e69cfe6
--- /dev/null
+++ b/scenario/voice/ru/start0.mp3
Binary files differ
diff --git a/scenario/voice/ru/start1.mp3 b/scenario/voice/ru/start1.mp3
new file mode 100644
index 0000000..4ba3b06
--- /dev/null
+++ b/scenario/voice/ru/start1.mp3
Binary files differ
diff --git a/scenario/voice/ru/start2.mp3 b/scenario/voice/ru/start2.mp3
new file mode 100644
index 0000000..20cb7e7
--- /dev/null
+++ b/scenario/voice/ru/start2.mp3
Binary files differ
diff --git a/scenario/voice/ru/start3.mp3 b/scenario/voice/ru/start3.mp3
new file mode 100644
index 0000000..09b3267
--- /dev/null
+++ b/scenario/voice/ru/start3.mp3
Binary files differ
diff --git a/scenario/voice/ru/start4.mp3 b/scenario/voice/ru/start4.mp3
new file mode 100644
index 0000000..77dd366
--- /dev/null
+++ b/scenario/voice/ru/start4.mp3
Binary files differ
diff --git a/scenario/voice/ru/start5.mp3 b/scenario/voice/ru/start5.mp3
new file mode 100644
index 0000000..4b27a45
--- /dev/null
+++ b/scenario/voice/ru/start5.mp3
Binary files differ
diff --git a/scenario/voice/ru/wall10.mp3 b/scenario/voice/ru/wall10.mp3
new file mode 100644
index 0000000..3519d3d
--- /dev/null
+++ b/scenario/voice/ru/wall10.mp3
Binary files differ
diff --git a/scenario/voice/ru/wall11.mp3 b/scenario/voice/ru/wall11.mp3
new file mode 100644
index 0000000..7ee4b3d
--- /dev/null
+++ b/scenario/voice/ru/wall11.mp3
Binary files differ
diff --git a/scenario/voice/ru/wall12.mp3 b/scenario/voice/ru/wall12.mp3
new file mode 100644
index 0000000..d4ff6ba
--- /dev/null
+++ b/scenario/voice/ru/wall12.mp3
Binary files differ
diff --git a/scenario/voice/ru/wall13.mp3 b/scenario/voice/ru/wall13.mp3
new file mode 100644
index 0000000..8770282
--- /dev/null
+++ b/scenario/voice/ru/wall13.mp3
Binary files differ
diff --git a/scenario/voice/ru/wall14.mp3 b/scenario/voice/ru/wall14.mp3
new file mode 100644
index 0000000..9f10b62
--- /dev/null
+++ b/scenario/voice/ru/wall14.mp3
Binary files differ
diff --git a/scenario/voice/ru/wall20.mp3 b/scenario/voice/ru/wall20.mp3
new file mode 100644
index 0000000..bd7c0bd
--- /dev/null
+++ b/scenario/voice/ru/wall20.mp3
Binary files differ
diff --git a/scenario/voice/ru/wall21.mp3 b/scenario/voice/ru/wall21.mp3
new file mode 100644
index 0000000..a6e174c
--- /dev/null
+++ b/scenario/voice/ru/wall21.mp3
Binary files differ
diff --git a/scenario/voice/ru/wall22.mp3 b/scenario/voice/ru/wall22.mp3
new file mode 100644
index 0000000..2cf97fa
--- /dev/null
+++ b/scenario/voice/ru/wall22.mp3
Binary files differ
diff --git a/scenario/voice/ru/wall23.mp3 b/scenario/voice/ru/wall23.mp3
new file mode 100644
index 0000000..6feb5e6
--- /dev/null
+++ b/scenario/voice/ru/wall23.mp3
Binary files differ
diff --git a/scenario/voice/ru/won10.mp3 b/scenario/voice/ru/won10.mp3
new file mode 100644
index 0000000..fef1693
--- /dev/null
+++ b/scenario/voice/ru/won10.mp3
Binary files differ
diff --git a/scenario/voice/ru/won11.mp3 b/scenario/voice/ru/won11.mp3
new file mode 100644
index 0000000..e8bbafd
--- /dev/null
+++ b/scenario/voice/ru/won11.mp3
Binary files differ
diff --git a/scenario/voice/ru/won12.mp3 b/scenario/voice/ru/won12.mp3
new file mode 100644
index 0000000..b0bab02
--- /dev/null
+++ b/scenario/voice/ru/won12.mp3
Binary files differ
diff --git a/scenario/voice/ru/won13.mp3 b/scenario/voice/ru/won13.mp3
new file mode 100644
index 0000000..40eaafa
--- /dev/null
+++ b/scenario/voice/ru/won13.mp3
Binary files differ
diff --git a/scenario/voice/ru/won14.mp3 b/scenario/voice/ru/won14.mp3
new file mode 100644
index 0000000..47b85ef
--- /dev/null
+++ b/scenario/voice/ru/won14.mp3
Binary files differ
diff --git a/scenario/voice/ru/won20.mp3 b/scenario/voice/ru/won20.mp3
new file mode 100644
index 0000000..d9e904b
--- /dev/null
+++ b/scenario/voice/ru/won20.mp3
Binary files differ
diff --git a/scenario/voice/ru/won21.mp3 b/scenario/voice/ru/won21.mp3
new file mode 100644
index 0000000..d235f35
--- /dev/null
+++ b/scenario/voice/ru/won21.mp3
Binary files differ
diff --git a/scenario/voice/ru/won22.mp3 b/scenario/voice/ru/won22.mp3
new file mode 100644
index 0000000..7456ace
--- /dev/null
+++ b/scenario/voice/ru/won22.mp3
Binary files differ
diff --git a/scenario/voice/ru/won23.mp3 b/scenario/voice/ru/won23.mp3
new file mode 100644
index 0000000..668c1d8
--- /dev/null
+++ b/scenario/voice/ru/won23.mp3
Binary files differ
diff --git a/scenario/voice/ru/won24.mp3 b/scenario/voice/ru/won24.mp3
new file mode 100644
index 0000000..ef5e904
--- /dev/null
+++ b/scenario/voice/ru/won24.mp3
Binary files differ
diff --git a/scenario/voice/zh/ahead10.mp3 b/scenario/voice/zh/ahead10.mp3
new file mode 100644
index 0000000..3cf4b9e
--- /dev/null
+++ b/scenario/voice/zh/ahead10.mp3
Binary files differ
diff --git a/scenario/voice/zh/ahead11.mp3 b/scenario/voice/zh/ahead11.mp3
new file mode 100644
index 0000000..5b720c6
--- /dev/null
+++ b/scenario/voice/zh/ahead11.mp3
Binary files differ
diff --git a/scenario/voice/zh/ahead12.mp3 b/scenario/voice/zh/ahead12.mp3
new file mode 100644
index 0000000..428661c
--- /dev/null
+++ b/scenario/voice/zh/ahead12.mp3
Binary files differ
diff --git a/scenario/voice/zh/ahead13.mp3 b/scenario/voice/zh/ahead13.mp3
new file mode 100644
index 0000000..ff33422
--- /dev/null
+++ b/scenario/voice/zh/ahead13.mp3
Binary files differ
diff --git a/scenario/voice/zh/ahead14.mp3 b/scenario/voice/zh/ahead14.mp3
new file mode 100644
index 0000000..dd12713
--- /dev/null
+++ b/scenario/voice/zh/ahead14.mp3
Binary files differ
diff --git a/scenario/voice/zh/ahead20.mp3 b/scenario/voice/zh/ahead20.mp3
new file mode 100644
index 0000000..1f45569
--- /dev/null
+++ b/scenario/voice/zh/ahead20.mp3
Binary files differ
diff --git a/scenario/voice/zh/ahead21.mp3 b/scenario/voice/zh/ahead21.mp3
new file mode 100644
index 0000000..b23ef13
--- /dev/null
+++ b/scenario/voice/zh/ahead21.mp3
Binary files differ
diff --git a/scenario/voice/zh/ahead22.mp3 b/scenario/voice/zh/ahead22.mp3
new file mode 100644
index 0000000..1ee7b83
--- /dev/null
+++ b/scenario/voice/zh/ahead22.mp3
Binary files differ
diff --git a/scenario/voice/zh/ahead23.mp3 b/scenario/voice/zh/ahead23.mp3
new file mode 100644
index 0000000..ed7ada6
--- /dev/null
+++ b/scenario/voice/zh/ahead23.mp3
Binary files differ
diff --git a/scenario/voice/zh/ahead24.mp3 b/scenario/voice/zh/ahead24.mp3
new file mode 100644
index 0000000..1328adb
--- /dev/null
+++ b/scenario/voice/zh/ahead24.mp3
Binary files differ
diff --git a/scenario/voice/zh/intro0.mp3 b/scenario/voice/zh/intro0.mp3
new file mode 100644
index 0000000..42440b6
--- /dev/null
+++ b/scenario/voice/zh/intro0.mp3
Binary files differ
diff --git a/scenario/voice/zh/intro1.mp3 b/scenario/voice/zh/intro1.mp3
new file mode 100644
index 0000000..c147dff
--- /dev/null
+++ b/scenario/voice/zh/intro1.mp3
Binary files differ
diff --git a/scenario/voice/zh/intro2.mp3 b/scenario/voice/zh/intro2.mp3
new file mode 100644
index 0000000..3ffb08c
--- /dev/null
+++ b/scenario/voice/zh/intro2.mp3
Binary files differ
diff --git a/scenario/voice/zh/intro3.mp3 b/scenario/voice/zh/intro3.mp3
new file mode 100644
index 0000000..4d923cd
--- /dev/null
+++ b/scenario/voice/zh/intro3.mp3
Binary files differ
diff --git a/scenario/voice/zh/start0.mp3 b/scenario/voice/zh/start0.mp3
new file mode 100644
index 0000000..e69cfe6
--- /dev/null
+++ b/scenario/voice/zh/start0.mp3
Binary files differ
diff --git a/scenario/voice/zh/start1.mp3 b/scenario/voice/zh/start1.mp3
new file mode 100644
index 0000000..4ba3b06
--- /dev/null
+++ b/scenario/voice/zh/start1.mp3
Binary files differ
diff --git a/scenario/voice/zh/start2.mp3 b/scenario/voice/zh/start2.mp3
new file mode 100644
index 0000000..20cb7e7
--- /dev/null
+++ b/scenario/voice/zh/start2.mp3
Binary files differ
diff --git a/scenario/voice/zh/start3.mp3 b/scenario/voice/zh/start3.mp3
new file mode 100644
index 0000000..09b3267
--- /dev/null
+++ b/scenario/voice/zh/start3.mp3
Binary files differ
diff --git a/scenario/voice/zh/start4.mp3 b/scenario/voice/zh/start4.mp3
new file mode 100644
index 0000000..77dd366
--- /dev/null
+++ b/scenario/voice/zh/start4.mp3
Binary files differ
diff --git a/scenario/voice/zh/start5.mp3 b/scenario/voice/zh/start5.mp3
new file mode 100644
index 0000000..4b27a45
--- /dev/null
+++ b/scenario/voice/zh/start5.mp3
Binary files differ
diff --git a/scenario/voice/zh/wall10.mp3 b/scenario/voice/zh/wall10.mp3
new file mode 100644
index 0000000..3519d3d
--- /dev/null
+++ b/scenario/voice/zh/wall10.mp3
Binary files differ
diff --git a/scenario/voice/zh/wall11.mp3 b/scenario/voice/zh/wall11.mp3
new file mode 100644
index 0000000..7ee4b3d
--- /dev/null
+++ b/scenario/voice/zh/wall11.mp3
Binary files differ
diff --git a/scenario/voice/zh/wall12.mp3 b/scenario/voice/zh/wall12.mp3
new file mode 100644
index 0000000..d4ff6ba
--- /dev/null
+++ b/scenario/voice/zh/wall12.mp3
Binary files differ
diff --git a/scenario/voice/zh/wall13.mp3 b/scenario/voice/zh/wall13.mp3
new file mode 100644
index 0000000..8770282
--- /dev/null
+++ b/scenario/voice/zh/wall13.mp3
Binary files differ
diff --git a/scenario/voice/zh/wall14.mp3 b/scenario/voice/zh/wall14.mp3
new file mode 100644
index 0000000..9f10b62
--- /dev/null
+++ b/scenario/voice/zh/wall14.mp3
Binary files differ
diff --git a/scenario/voice/zh/wall20.mp3 b/scenario/voice/zh/wall20.mp3
new file mode 100644
index 0000000..bd7c0bd
--- /dev/null
+++ b/scenario/voice/zh/wall20.mp3
Binary files differ
diff --git a/scenario/voice/zh/wall21.mp3 b/scenario/voice/zh/wall21.mp3
new file mode 100644
index 0000000..a6e174c
--- /dev/null
+++ b/scenario/voice/zh/wall21.mp3
Binary files differ
diff --git a/scenario/voice/zh/wall22.mp3 b/scenario/voice/zh/wall22.mp3
new file mode 100644
index 0000000..2cf97fa
--- /dev/null
+++ b/scenario/voice/zh/wall22.mp3
Binary files differ
diff --git a/scenario/voice/zh/wall23.mp3 b/scenario/voice/zh/wall23.mp3
new file mode 100644
index 0000000..6feb5e6
--- /dev/null
+++ b/scenario/voice/zh/wall23.mp3
Binary files differ
diff --git a/scenario/voice/zh/won10.mp3 b/scenario/voice/zh/won10.mp3
new file mode 100644
index 0000000..fef1693
--- /dev/null
+++ b/scenario/voice/zh/won10.mp3
Binary files differ
diff --git a/scenario/voice/zh/won11.mp3 b/scenario/voice/zh/won11.mp3
new file mode 100644
index 0000000..e8bbafd
--- /dev/null
+++ b/scenario/voice/zh/won11.mp3
Binary files differ
diff --git a/scenario/voice/zh/won12.mp3 b/scenario/voice/zh/won12.mp3
new file mode 100644
index 0000000..b0bab02
--- /dev/null
+++ b/scenario/voice/zh/won12.mp3
Binary files differ
diff --git a/scenario/voice/zh/won13.mp3 b/scenario/voice/zh/won13.mp3
new file mode 100644
index 0000000..40eaafa
--- /dev/null
+++ b/scenario/voice/zh/won13.mp3
Binary files differ
diff --git a/scenario/voice/zh/won14.mp3 b/scenario/voice/zh/won14.mp3
new file mode 100644
index 0000000..47b85ef
--- /dev/null
+++ b/scenario/voice/zh/won14.mp3
Binary files differ
diff --git a/scenario/voice/zh/won20.mp3 b/scenario/voice/zh/won20.mp3
new file mode 100644
index 0000000..d9e904b
--- /dev/null
+++ b/scenario/voice/zh/won20.mp3
Binary files differ
diff --git a/scenario/voice/zh/won21.mp3 b/scenario/voice/zh/won21.mp3
new file mode 100644
index 0000000..d235f35
--- /dev/null
+++ b/scenario/voice/zh/won21.mp3
Binary files differ
diff --git a/scenario/voice/zh/won22.mp3 b/scenario/voice/zh/won22.mp3
new file mode 100644
index 0000000..7456ace
--- /dev/null
+++ b/scenario/voice/zh/won22.mp3
Binary files differ
diff --git a/scenario/voice/zh/won23.mp3 b/scenario/voice/zh/won23.mp3
new file mode 100644
index 0000000..668c1d8
--- /dev/null
+++ b/scenario/voice/zh/won23.mp3
Binary files differ
diff --git a/scenario/voice/zh/won24.mp3 b/scenario/voice/zh/won24.mp3
new file mode 100644
index 0000000..ef5e904
--- /dev/null
+++ b/scenario/voice/zh/won24.mp3
Binary files differ
diff --git a/sfx/click.mp3 b/sfx/click.mp3
new file mode 100644
index 0000000..710c85b
--- /dev/null
+++ b/sfx/click.mp3
Binary files differ
diff --git a/sfx/crash.mp3 b/sfx/crash.mp3
new file mode 100644
index 0000000..1ce02e9
--- /dev/null
+++ b/sfx/crash.mp3
Binary files differ
diff --git a/sfx/intro.mp3 b/sfx/intro.mp3
new file mode 100644
index 0000000..5d90f31
--- /dev/null
+++ b/sfx/intro.mp3
Binary files differ
diff --git a/sfx/last.mp3 b/sfx/last.mp3
new file mode 100644
index 0000000..2595f73
--- /dev/null
+++ b/sfx/last.mp3
Binary files differ
diff --git a/sfx/menu.mp3 b/sfx/menu.mp3
new file mode 100644
index 0000000..f48daa8
--- /dev/null
+++ b/sfx/menu.mp3
Binary files differ
diff --git a/sfx/pass.mp3 b/sfx/pass.mp3
new file mode 100644
index 0000000..04caca0
--- /dev/null
+++ b/sfx/pass.mp3
Binary files differ
diff --git a/sfx/pause.mp3 b/sfx/pause.mp3
new file mode 100644
index 0000000..aedcd13
--- /dev/null
+++ b/sfx/pause.mp3
Binary files differ
diff --git a/sfx/sfx.js b/sfx/sfx.js
new file mode 100644
index 0000000..9ed6418
--- /dev/null
+++ b/sfx/sfx.js
@@ -0,0 +1,60 @@
+const Sound = {
+ pass: () => {
+ new Audio(kresources.sfx['pass']).play()
+ },
+ last: () => {
+ new Audio(kresources.sfx['last']).play()
+ },
+ crash: () => {
+ new Audio(kresources.sfx['crash']).play()
+ },
+ win: () => {
+ new Audio(kresources.sfx['win']).play()
+ },
+ click: () => {
+ new Audio(kresources.sfx['click']).play()
+ },
+ menu: () => {
+ new Audio(kresources.sfx['menu']).play()
+ },
+ pause: () => {
+ new Audio(kresources.sfx['pause']).play()
+ },
+ start: () => {
+ new Audio(kresources.sfx['start']).play()
+ },
+ intro: () => {
+ new Audio(kresources.music['start'].file).play()
+ },
+}
+
+shouldMusicPlay = true;
+
+setInterval(() => {
+ try {
+ if (typeof document.getElementById('music') !== "undefined" && typeof document.getElementById('music') !== "null") {
+ if (shouldMusicPlay) {
+ document.getElementById('music').play();
+ }
+ if (!shouldMusicPlay) {
+ document.getElementById('music').pause();
+ }
+ }
+ if (typeof b !== "undefined" && typeof b !== "null") {
+ if (shouldMusicPlay) {
+ b.play();
+ }
+ if (!shouldMusicPlay) {
+ b.pause();
+ }
+ }
+ if (typeof me !== "undefined" && typeof me !== "null") {
+ if (me.currentTime < me.duration) {
+ me.play();
+ }
+ if (me.currentTime >= me.duration) {
+ me.pause();
+ }
+ }
+ } catch (e) {}
+}, 200) \ No newline at end of file
diff --git a/sfx/win.mp3 b/sfx/win.mp3
new file mode 100644
index 0000000..9a7ae56
--- /dev/null
+++ b/sfx/win.mp3
Binary files differ
diff --git a/views/background.jpg b/views/background.jpg
new file mode 100644
index 0000000..d3e959a
--- /dev/null
+++ b/views/background.jpg
Binary files differ
diff --git a/views/common/bold.ttf b/views/common/bold.ttf
new file mode 100644
index 0000000..a7e7b1e
--- /dev/null
+++ b/views/common/bold.ttf
Binary files differ
diff --git a/views/common/fonts.css b/views/common/fonts.css
new file mode 100644
index 0000000..ac8f9f0
--- /dev/null
+++ b/views/common/fonts.css
@@ -0,0 +1,27 @@
+@font-face {
+ font-family: "Comfortaa";
+ src: url("regular.ttf");
+ font-weight: normal;
+}
+
+@font-face {
+ font-family: "Comfortaa";
+ src: url("bold.ttf");
+ font-weight: bold;
+}
+
+*, body, html, div {
+ font-family: "Comfortaa", -apple-system, sans-serif;
+}
+
+#gpuinfo, #gpuinfo * {
+ font-family: monospace !important;
+}
+
+body, * {
+ cursor: url("../../cursors/main.png"), default !important;
+}
+
+input {
+ cursor: url("../../cursors/text.png"), default !important;
+} \ No newline at end of file
diff --git a/views/common/index.css b/views/common/index.css
new file mode 100644
index 0000000..f9ff24e
--- /dev/null
+++ b/views/common/index.css
@@ -0,0 +1,29 @@
+#titlebar-minimize, #titlebar-close {
+ background-color: transparent;
+ transition: background-color 200ms;
+ border-radius: 10px;
+}
+
+#titlebar-minimize:hover {
+ background-color: rgba(99, 99, 99, .5);
+}
+
+#titlebar-minimize:focus, #titlebar-minimize:active {
+ background-color: rgba(99, 99, 99, .75);
+}
+
+#titlebar-close:hover {
+ background-color: rgba(255, 0, 0, .5);
+}
+
+#titlebar-close:focus, #titlebar-close:active {
+ background-color: rgba(255, 0, 0, .75);
+}
+
+*::selection {
+ background-color: transparent;
+}
+
+*::inactive-selection {
+ background-color: transparent;
+} \ No newline at end of file
diff --git a/views/common/light.ttf b/views/common/light.ttf
new file mode 100644
index 0000000..5e4bfc7
--- /dev/null
+++ b/views/common/light.ttf
Binary files differ
diff --git a/views/common/load-channel.otf b/views/common/load-channel.otf
new file mode 100644
index 0000000..1968a8e
--- /dev/null
+++ b/views/common/load-channel.otf
Binary files differ
diff --git a/views/common/load-version.otf b/views/common/load-version.otf
new file mode 100644
index 0000000..d112022
--- /dev/null
+++ b/views/common/load-version.otf
Binary files differ
diff --git a/views/common/mouse.css b/views/common/mouse.css
new file mode 100644
index 0000000..7670e90
--- /dev/null
+++ b/views/common/mouse.css
@@ -0,0 +1,3 @@
+*::selection {
+ background: none;
+} \ No newline at end of file
diff --git a/views/common/old/Josefin Sans 100.ttf b/views/common/old/Josefin Sans 100.ttf
new file mode 100644
index 0000000..b440c18
--- /dev/null
+++ b/views/common/old/Josefin Sans 100.ttf
Binary files differ
diff --git a/views/common/old/Josefin Sans 100italic.ttf b/views/common/old/Josefin Sans 100italic.ttf
new file mode 100644
index 0000000..70bc289
--- /dev/null
+++ b/views/common/old/Josefin Sans 100italic.ttf
Binary files differ
diff --git a/views/common/old/Josefin Sans 200.ttf b/views/common/old/Josefin Sans 200.ttf
new file mode 100644
index 0000000..4425f67
--- /dev/null
+++ b/views/common/old/Josefin Sans 200.ttf
Binary files differ
diff --git a/views/common/old/Josefin Sans 200italic.ttf b/views/common/old/Josefin Sans 200italic.ttf
new file mode 100644
index 0000000..2b9df22
--- /dev/null
+++ b/views/common/old/Josefin Sans 200italic.ttf
Binary files differ
diff --git a/views/common/old/Josefin Sans 300italic.ttf b/views/common/old/Josefin Sans 300italic.ttf
new file mode 100644
index 0000000..caa381c
--- /dev/null
+++ b/views/common/old/Josefin Sans 300italic.ttf
Binary files differ
diff --git a/views/common/old/Josefin Sans 500.ttf b/views/common/old/Josefin Sans 500.ttf
new file mode 100644
index 0000000..7f58172
--- /dev/null
+++ b/views/common/old/Josefin Sans 500.ttf
Binary files differ
diff --git a/views/common/old/Josefin Sans 500italic.ttf b/views/common/old/Josefin Sans 500italic.ttf
new file mode 100644
index 0000000..27efef3
--- /dev/null
+++ b/views/common/old/Josefin Sans 500italic.ttf
Binary files differ
diff --git a/views/common/old/Josefin Sans 600.ttf b/views/common/old/Josefin Sans 600.ttf
new file mode 100644
index 0000000..2df283e
--- /dev/null
+++ b/views/common/old/Josefin Sans 600.ttf
Binary files differ
diff --git a/views/common/old/Josefin Sans 600italic.ttf b/views/common/old/Josefin Sans 600italic.ttf
new file mode 100644
index 0000000..b6a60e3
--- /dev/null
+++ b/views/common/old/Josefin Sans 600italic.ttf
Binary files differ
diff --git a/views/common/old/Josefin Sans 700italic.ttf b/views/common/old/Josefin Sans 700italic.ttf
new file mode 100644
index 0000000..58c1d47
--- /dev/null
+++ b/views/common/old/Josefin Sans 700italic.ttf
Binary files differ
diff --git a/views/common/old/Josefin Sans italic.ttf b/views/common/old/Josefin Sans italic.ttf
new file mode 100644
index 0000000..1da194d
--- /dev/null
+++ b/views/common/old/Josefin Sans italic.ttf
Binary files differ
diff --git a/views/common/old/bold~.ttf b/views/common/old/bold~.ttf
new file mode 100644
index 0000000..ec3eadf
--- /dev/null
+++ b/views/common/old/bold~.ttf
Binary files differ
diff --git a/views/common/old/light~.ttf b/views/common/old/light~.ttf
new file mode 100644
index 0000000..dea4cec
--- /dev/null
+++ b/views/common/old/light~.ttf
Binary files differ
diff --git a/views/common/old/regular~.ttf b/views/common/old/regular~.ttf
new file mode 100644
index 0000000..5e81491
--- /dev/null
+++ b/views/common/old/regular~.ttf
Binary files differ
diff --git a/views/common/race.svg b/views/common/race.svg
new file mode 100644
index 0000000..197387b
--- /dev/null
+++ b/views/common/race.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24"><g><rect fill="none" height="24" width="24" y="0"/></g><g><path d="M12,2c-4.2,0-8,3.22-8,8.2c0,3.18,2.45,6.92,7.34,11.23c0.38,0.33,0.95,0.33,1.33,0 C17.55,17.12,20,13.38,20,10.2C20,5.22,16.2,2,12,2z M12,12c-1.1,0-2-0.9-2-2c0-1.1,0.9-2,2-2c1.1,0,2,0.9,2,2 C14,11.1,13.1,12,12,12z" enable-background="new"/></g></svg> \ No newline at end of file
diff --git a/views/common/regular.ttf b/views/common/regular.ttf
new file mode 100644
index 0000000..89d36f8
--- /dev/null
+++ b/views/common/regular.ttf
Binary files differ
diff --git a/views/credits.html b/views/credits.html
new file mode 100644
index 0000000..e3ff9f9
--- /dev/null
+++ b/views/credits.html
@@ -0,0 +1,198 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <script>if (typeof require !== "undefined") {native = true;try{global.native = true;}catch(e){}} else {native = false;try{global.native = false;}catch(e){}}if (!native){global = window;}if (native){kresources=require('@electron/remote').getCurrentWindow().resources;trackEvent=require('@electron/remote').getCurrentWindow().trackEvent;}info=(_a,b)=>{console.info(b);};warn=(_a,b)=>{console.warn(b);};error=(_a,b)=>{console.error(b);};</script>
+ <script src="../lang/loader.js"></script>
+ <script src="../scenario/client.js"></script>
+ <meta charset="UTF-8">
+ <link rel="stylesheet" href="common/fonts.css">
+ <link rel="stylesheet" href="menu.css">
+ <title>Kartik</title>
+ <script src="../crash/client.js"></script>
+ <script src="../sfx/sfx.js"></script>
+ <script>
+ require('@electron/remote').getCurrentWindow().dstate = lang.discord.credits[0];
+ require('@electron/remote').getCurrentWindow().ddetails = lang.discord.credits[1];
+ </script>
+ <script>
+ if (!require('@electron/remote').getCurrentWindow().debug) {
+ document.write('<link rel="stylesheet" href="common/mouse.css">');
+ }
+ </script>
+ <style>
+ body::-webkit-scrollbar {
+ display: none;
+ }
+ </style>
+</head>
+<body style="color:white;text-align:center;">
+ <script>info("MainWindow", "Rendering initial frame...");
+
+ if (native) {
+ scale=require('@electron/remote').getCurrentWindow().scale;document.body.style.zoom=scale;
+ }
+
+ </script>
+
+ <div style="position:fixed;inset:0;background:black;display:none;z-index:-1;" id="box"></div>
+ <div style="height:100vh;"></div>
+
+ <!-- START credits -->
+
+ <h2>Kartik, a 2D car race game</h2>
+ <p>© Minteck Projects. All assets are licensed under their original license rather than Kartik's license.</p>
+ <p class="technical"><script src="./script/credits_technical.js"></script></p>
+
+ <p class="cred-title">Lead</p>
+ <p class="cred-content">Minteck</p>
+
+ <p class="cred-title">Base Assets</p>
+ <p class="cred-content">Minteck<br>Redman 054</p>
+
+ <p class="cred-title">Narrator Character</p>
+ <p class="cred-content"><b>Averi</b> by cactus (@fiddleafox on Twitter)</p>
+
+ <p class="cred-title">Sound Effects, Music and Additional Assets</p>
+ <div class="cred-content" style="display:grid;grid-template-columns: 1fr 1fr 1fr; text-align:center;">
+ <div>Prosta4okua</div>
+ <div>Felix Corvus</div>
+ <div>Vanguard</div>
+ <div>Timmeey86</div>
+ <div>Epowerj</div>
+ <div>Baltazár Radics</div>
+ <div>Dexapnow</div>
+ <div>Milinai</div>
+ <div>키에르</div>
+ <div>skybldev</div>
+ <div>Leone25</div>
+ <div>Gureumi</div>
+ <div>VizardAlpha</div>
+ <div>LQ</div>
+ <div>Commodore64x</div>
+ <div>iczero</div>
+ <div>Krzysztof Skrzętnicki</div>
+ <div>Baramos666</div>
+ <div>theshadowknight</div>
+ <div>elmenda452</div>
+ <div>Predator127</div>
+ <div>Sonnicon</div>
+ <div>CinExPL</div>
+ <div>toushangyouxiang</div>
+ <div>xgamezs</div>
+ <div>William So</div>
+ <div>beito</div>
+ <div>BeefEX</div>
+ <div>Lorex</div>
+ <div>老滑稽</div>
+ <div>Spico The Spirit Guy</div>
+ <div>TunacanGamer</div>
+ <div>kemalinanc13</div>
+ <div>Zachary</div>
+ <div>Fenr1r</div>
+ <div>Jaiun Lee</div>
+ <div>Gab_351</div>
+ <div>Carter Gale</div>
+ <div>Jan Polák</div>
+ <div>JustYanns</div>
+ <div>BasedUser</div>
+ <div>BLucky-gh</div>
+ <div>DinoWattz</div>
+ <div>Jae</div>
+ <div>angelickite</div>
+ <div>ScriptHosT12</div>
+ <div>Senventise</div>
+ <div>SkeptiC</div>
+ <div>Deyvid67</div>
+ <div>Damlon</div>
+ <div>DaGamerFiles</div>
+ <div>Trigg</div>
+ <div>Uriel</div>
+ <div>VXF</div>
+ <div>Valen. H</div>
+ <div>Valentin Sonin</div>
+ <div>Clarence "Sparr" Risher</div>
+ <div>bei2</div>
+ <div>AceEllysium</div>
+ <div>Cedric L'homme</div>
+ <div>Michał “Neoqueto”</div>
+ <div>indielm</div>
+ <div>Ameb</div>
+ <div>player20033</div>
+ <div>Ignacy</div>
+ <div>J-VdS</div>
+ <div>Kenny</div>
+ <div>Franciszek Zaranowicz</div>
+ <div>Andreas Heiskanen</div>
+ <div>Doyoung Gwak</div>
+ <div>MMG</div>
+ <div>Math2128</div>
+ <div>Michael Plotke</div>
+ <div>Niko</div>
+ <div>Paul T</div>
+ <div>Dominik</div>
+ <div>Arkanic</div>
+ <div>Potion</div>
+ <div>Markus G</div>
+ <div>itskatt</div>
+ <div>Agent-Laevain</div>
+ <div>AzariasB</div>
+ <div>amrsoll</div>
+ <div>ねらひかだ</div>
+ <div>Draco</div>
+ <div>Quezler</div>
+ <div>killall -q</div>
+ <div>Alicila</div>
+ <div>Daniel Dusek</div>
+ <div>DeltaNedas</div>
+ <div>GioIacca9</div>
+ <div>SnakkiZXZ</div>
+ <div>sk7725</div>
+ <div>The Slaylord</div>
+ <div>ThePlayerA</div>
+ <div>YellOw139</div>
+ <div>NgLamVN</div>
+ <div>JINODK</div>
+ <div>PetrGasparik</div>
+ <div>LeoDog896</div>
+ <div>Summet</div>
+ <div>MEEP of Faith</div>
+ <div>jalastram (freesound.org)</div>
+ <div>newlocknew (freesound.org)</div>
+ <div>dsmolenaers (freesound.org)</div>
+ <div>Headphaze (freesound.org)</div>
+ <div>Nikolass</div>
+ <div>VolasYouKnow</div>
+ <div>Quick-Korx</div>
+ <div>Ángel Rodríguez Aguilera</div>
+ <div>Catchears</div>
+ <div>younggam</div>
+ <div>simba-fs</div>
+ <div>RedRadiation</div>
+ <div>Marko Zajc</div>
+ <div>CPX MC</div>
+ <div>Phinner</div>
+ <div>BTA_Susideur</div>
+ <div>nilq</div>
+ <div>AsgerHB</div>
+ <div>AzCraft</div>
+ <div>foo</div>
+ <div>Skat</div>
+ <div>WilloIzCitron</div>
+ </div>
+
+ <p class="cred-title">Testing</p>
+ <p class="cred-content">Minteck<br>Romain<br>Redman 054<br>Oxymillion</p>
+
+ <p class="cred-title">Libraries</p>
+ <p class="cred-content"><script src="./script/credits_libs.js"></script></p>
+
+ <!-- END credits -->
+
+ <div style="height:100vh;"></div>
+
+ <script src="./script/credits_music.js"></script>
+<script>info("OptnWindow", "Menu opened");</script>
+</body>
+<script src="./script/credits_global.js"></script>
+<script src="./script/client_fullscreen.js"></script>
+</html>
diff --git a/views/game.css b/views/game.css
new file mode 100644
index 0000000..e72a786
--- /dev/null
+++ b/views/game.css
@@ -0,0 +1,152 @@
+#paused {
+ z-index: 5;
+ position: fixed;
+ inset: 0;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+#paused > div {
+ background: #262626;
+ border-radius: 10px;
+ padding: 20px;
+ box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.25);
+}
+
+#paused * {
+ color: white;
+}
+
+.services li {
+ padding: 10px;
+ font-size: 28px;
+ width: 256px;
+ list-style: none;
+ color: transparent;
+ margin-top: 10px;
+ margin-bottom: 10px;
+ border-radius: 10px;
+}
+
+.services li a {
+ color: white !important;
+ text-decoration: none;
+ transition: color 200ms;
+}
+
+.services li.selected a {
+ color: black !important;
+ text-decoration: none;
+}
+
+.services li.selected {
+ background-color: #00ff99;
+}
+
+.services li {
+ background-color: #383838;
+ transition: margin-left 200ms, background-color 200ms;
+}
+
+#circuit.hitboxes, #circuit.hitboxes * {
+ outline: 1px dashed blue;
+}
+
+#car0, #car1 {
+ transition: top 600ms, bottom 600ms, left 600ms, right 600ms, transform 500ms;
+}
+
+#box.paused {
+ opacity: .5;
+}
+
+circuit {
+ display: none;
+}
+
+#credits-inner {
+ position: fixed;
+ z-index: 9;
+ background: #171717;
+ color: white;
+ padding: 20px;
+ display: grid;
+ font-size: 11px;
+ top: 200px;
+ left: 0;
+ right: 0;
+}
+
+#credits .big {
+ font-size: 15px;
+ font-weight: bold;
+}
+
+#credits #race, #credits #musicb {
+ display: grid;
+ grid-template-columns: 48px 1fr;
+}
+
+#credits-inner > * > * {
+ vertical-align: middle;
+}
+
+#credits img {
+ filter: invert(100%);
+}
+
+#credits .cbox {
+ width: max-content;
+}
+
+#laps-inner-car0 {
+ background: rgba(0, 0, 0, .5);
+ position: fixed;
+ bottom: 20px;
+ left: 20px;
+ z-index: 9;
+ border-radius: 9999px;
+ width: 40px;
+ height: 43px;
+ text-align: center;
+ color: white;
+ padding: 7px 10px 10px;
+}
+
+#laps-inner-car1 {
+ background: rgba(0, 0, 0, .5);
+ position: fixed;
+ bottom: 20px;
+ right: 20px;
+ z-index: 9;
+ border-radius: 9999px;
+ width: 40px;
+ height: 43px;
+ text-align: center;
+ color: white;
+ padding: 7px 10px 10px;
+}
+
+.laps-inner-sep {
+ margin: 5px;
+ border: none;
+ border-top: 2px solid white;
+}
+
+#oil img {
+ position: fixed;
+ width: 32px;
+ z-index: 5;
+ opacity: .9;
+}
+
+#credits {
+ background: rgba(0, 0, 0, .5);
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ z-index: 9999;
+} \ No newline at end of file
diff --git a/views/game.html b/views/game.html
new file mode 100644
index 0000000..023e547
--- /dev/null
+++ b/views/game.html
@@ -0,0 +1,152 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <script>if (typeof require !== "undefined") {native = true;try{global.native = true;}catch(e){}} else {native = false;try{global.native = false;}catch(e){}}if (!native){global = window;}if (native){kresources=require('@electron/remote').getCurrentWindow().resources;trackEvent=require('@electron/remote').getCurrentWindow().trackEvent;}info=(_a,b)=>{console.info(b);};warn=(_a,b)=>{console.warn(b);};error=(_a,b)=>{console.error(b);};</script>
+ <script src="../lang/loader.js"></script>
+ <script src="../scenario/client.js"></script>
+ <meta charset="UTF-8">
+ <link rel="stylesheet" href="common/fonts.css">
+ <link rel="stylesheet" href="game.css">
+ <title>Kartik</title>
+ <script src="../crash/client.js"></script>
+ <script src="../sfx/sfx.js"></script>
+ <script>
+ require('@electron/remote').getCurrentWindow().dstate = lang.discord.game[0];
+ if (location.search === "?sp") {
+ require('@electron/remote').getCurrentWindow().ddetails = lang.discord.game[1];
+ } else if (location.search === "?online") {
+ require('@electron/remote').getCurrentWindow().ddetails = lang.discord.game[2];
+ } else {
+ require('@electron/remote').getCurrentWindow().ddetails = lang.online.discord;
+ }
+
+ global.online = false;
+ global.paused = false;
+ global.keysEnabled = true;
+ global.started = false;
+ global.startHooks = [];
+ </script>
+ <script>
+ _sfx = false;
+
+ if (!require('@electron/remote').getCurrentWindow().debug) {
+ document.write('<link rel="stylesheet" href="common/mouse.css">');
+ }
+ </script>
+</head>
+<body>
+ <script>info("MainWindow", "Rendering initial frame...");
+
+ if (native) {
+ scale=require('@electron/remote').getCurrentWindow().scale;document.body.style.zoom=scale;
+ }
+
+ </script>
+ <div id="bg" style="display: none;background:black;position:fixed;top:0;left:0;right:0;bottom:0;z-index:1;">
+ <div id="box" style="display: none;background-color: #545454;position:fixed;top:0;left:0;right:0;bottom:0;z-index:2;">
+
+ <div id="online-login" style="display: none;position: fixed;top: 0;left: 0;bottom: 0;right: 0;background: transparent;z-index: 99999;padding: 50px;color: white;text-align: center;background:#111;">
+ <p id="connecting"><script id="pf1">document.write(lang.online.connecting);document.getElementById('pf1').outerHTML='';</script></p>
+ <p id="loading" style="display:none;"><script id="pf2">document.write(lang.online.loading);document.getElementById('pf2').outerHTML='';</script></p>
+ <div id="intro" style="display:none;">
+ <h2><script>document.write(lang.online.intro.create);</script></h2>
+ <p><script>document.write(lang.online.intro.pcreate);</script></p>
+ <span id="yourid" style="font-family:monospace;font-size:48px;">########</span>
+
+ <hr style="border-bottom: 0;">
+
+ <h2><script>document.write(lang.online.intro.join);</script></h2>
+ <p><script>document.write(lang.online.intro.pjoin);</script></p>
+ <input onchange="checkOnlineLogin();" onkeyup="checkOnlineLogin();" onkeydown="checkOnlineLogin();" id="theirid" style="font-family:monospace;font-size:48px;border:1px solid black;width: 5em;padding: 0;margin: 0;background: transparent;color: white;outline: none;" maxlength="8" placeholder="--------" length="8" spellcheck="false">
+ <script>document.getElementById('theirid').focus(); global.focuser = setInterval(() => { document.getElementById('theirid').focus(); }, 1);</script>
+ </div>
+ </div>
+
+ <div id="ping-chart" style="position: fixed;top: 4px;left: 4px;z-index: 9999999998;display: flex;width: 70px;height: 50px;justify-content: flex-end;align-items: flex-end;"></div>
+ <div id="ping-outer" style="position: fixed;top: 4px;left: 4px;z-index: 9999999999;display: flex;width: 70px;height: 50px;align-items: center;justify-content: center;">
+ <div id="ping" style="font-family:monospace;color: white;text-shadow: 1px 1px 5px black;font-size: 8px;">- ms</div>
+ </div>
+
+ <script>
+ if (!require('@electron/remote').getCurrentWindow().online || require('@electron/remote').getCurrentWindow().update === "stable") {
+ document.getElementById('ping-chart').style.display = "none";
+ document.getElementById('ping-outer').style.display = "none";
+ }
+ </script>
+
+ <div id="laps">
+ <span id="laps-inner-car0"><span id="laps-car0">0</span><hr class="laps-inner-sep">5</span>
+ <span id="laps-inner-car1"><span id="laps-car1">0</span><hr class="laps-inner-sep">5</span>
+ </div>
+ <div id="credits"><div id="credits-inner">
+ <div id="credits-race" style="
+ display: grid;
+ grid-template-columns: 1fr;
+ text-align: center;
+"><div id="race">
+ <img src="common/race.svg" style="vertical-align: middle;">
+ <div class="cbox"><span><span class="big" id="race-title">...</span><br><script>document.write(lang.game.credits.by);</script> <span id="race-author">...</span></span></div>
+ </div>
+ </div><div id="credits-cars" style="
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ margin-top: 16px;
+ text-align: center;
+"><div id="cars-p1" style="
+ display: grid;
+ grid-template-columns: 48px 1fr;
+">
+ <img src="../icons/gamepad.svg" style="vertical-align: middle;filter: brightness(0) invert(1) !important;width: 24px;">
+ <div class="cbox"><span><span class="big" id="cars-n1">1</span><br><img src="/" style="
+ width: 72px;
+ filter: none !important;
+" id="cars-p1-inner"></span></div>
+ </div><div style="
+ display: grid;
+ grid-template-columns: 48px 1fr;
+">
+ <img src="../icons/gamepad.svg" style="vertical-align: middle;filter: brightness(0) invert(1) !important;width: 24px;">
+ <div class="cbox"><span><span class="big" id="cars-n2">2</span><br><img src="/" style="
+ width: 72px;
+ filter: none !important;
+" id="cars-p2-inner"></span></div>
+ </div></div></div></div>
+ <div id="circuit" style="background-size: cover;background-position: center center;position: fixed;inset: 0;z-index: 2;background-color: rgb(255, 255, 255);width: 720px;height: 540px;">
+ ...
+ </div>
+
+ <script src="./script/game_select.js"></script>
+ </div>
+
+ <div id="paused" style="z-index:5;display:none;">
+ <div>
+ <h2 style="text-align:center;"><!--<script>document.write(lang.game.gpause.title);</script>--><img alt="full-logo" src="../logo/full.png" style="height: 96px;"></h2>
+ <div class="services">
+ <div class="items">
+ <ul style="padding:0;">
+ <li class="selected"><a href="#" id="continue"><script>document.write(lang.game.gpause.continueg);</script></a></li>
+ <li><a href="#" id="hitboxes"><script>document.write(lang.game.gpause.showhb);</script></a></li>
+ <li><a href="#" id="quit"><script>document.write(lang.game.gpause.quit);</script></a></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+ <script src="../race/pause.js"></script>
+
+ <script src="./script/game_music.js"></script>
+ <script>info("GameWindow", "Game started");</script>
+
+ </div>
+</body>
+<script src="../race/cars/car0.js"></script>
+<script src="../race/cars/car1.js"></script>
+<script src="../race/cars/car1ai.js"></script>
+<script src="../race/cars/keymap.js"></script>
+
+<script src="./script/game_global.js"></script>
+<script src="./script/game_online.js"></script>
+
+<script src="./script/client_fullscreen.js"></script>
+
+</html>
diff --git a/views/hero.svg b/views/hero.svg
new file mode 100644
index 0000000..e19252e
--- /dev/null
+++ b/views/hero.svg
@@ -0,0 +1,3 @@
+<svg width="534" height="360" xmlns="http://www.w3.org/2000/svg">
+ <path d="M534 14.718A964.663 964.663 0 0 0 517.678 0H534v14.718zm0 1.524v21.47C520.671 24.453 506.625 11.881 493.247 0h22.741c5.997 5.287 12.036 10.7 18.012 16.242zm0 23.029v22.492c-16.968-18.565-36.071-35.9-53.74-51.934a5535.863 5535.863 0 0 1-6.31-5.732c-1.492-1.351-3.002-2.73-4.495-4.097h22.125c13.903 12.344 28.569 25.438 42.42 39.27zm0 24.118v23.68c-18.826-23.443-42.231-45.148-63.476-64.85-1.892-1.754-3.771-3.496-5.631-5.225a2037.489 2037.489 0 0 1-5.8-5.4c-4.146-3.87-8.35-7.793-12.583-11.594h21.325c1.788 1.639 3.608 3.304 5.404 4.933 2.083 1.895 4.189 3.806 6.31 5.732 17.923 16.262 37.322 33.87 54.451 52.724zm0 25.417v25.45c-19.336-29.199-47.757-56.111-73.004-80.02-1.679-1.59-3.345-3.168-4.997-4.736-1.588-1.501-3.175-3.008-4.758-4.512C442.118 16.323 432.714 7.392 423.329 0h21.553c4.54 4.052 9.051 8.26 13.496 12.41 1.902 1.775 3.867 3.61 5.803 5.402 1.86 1.729 3.739 3.471 5.631 5.226 21.529 19.964 45.273 41.99 64.188 65.768zm0 27.389v29.594a158.194 158.194 0 0 0-8.725-16.497c-18.574-30.497-47.85-58.768-73.679-83.711l-4.318-4.172c-1.191-1.148-2.38-2.296-3.567-3.443-10.514-10.157-20.446-19.751-30.766-27.821a166.548 166.548 0 0 0-2.48-1.888c-3.284-2.467-6.386-4.797-8.863-8.099L401.486 0h20.092c9.713 7.524 19.483 16.798 28.949 25.79 1.584 1.504 3.17 3.012 4.76 4.514 1.65 1.567 3.318 3.145 4.997 4.735C485.87 59.269 514.722 86.59 534 116.195zm0 32.156v39.53c-4.68-16.084-10.184-32.639-20.458-49.71-17.948-29.762-46.236-57.57-71.193-82.103-1.204-1.182-2.399-2.358-3.588-3.528l-2.083-2.042c-10.637-10.437-20.684-20.295-31.1-28.726a213.188 213.188 0 0 0-1.947-1.55c-3.457-2.733-6.722-5.313-9.193-8.993-2.398-3.57-4.603-7.383-6.715-11.229h12.456c.198.275.397.55.599.82 2.569 3.421 5.875 5.907 9.074 8.309.812.61 1.65 1.24 2.464 1.875 10.277 8.036 20.189 17.612 30.683 27.75 1.187 1.146 2.377 2.295 3.568 3.442 1.428 1.382 2.869 2.773 4.318 4.172 25.783 24.898 55.006 53.118 73.508 83.497 3.782 6.223 6.919 12.385 9.607 18.486zm0 43.266v36.71c-3.114-6.133-5.663-12.722-7.811-20.137a2817.08 2817.08 0 0 1-.955-3.39c-5.307-18.86-10.796-38.359-22.901-58.624-17.425-29.11-44.855-56.495-69.055-80.656l-2.781-2.777-.05-.05c-10.986-10.934-21.363-21.263-32.08-30.2-.492-.412-.989-.82-1.484-1.227-3.612-2.97-7.023-5.776-9.453-9.795-3.23-5.342-6.057-11.138-8.791-16.744-.76-1.56-1.534-3.144-2.32-4.727h10.218c2.211 4.046 4.523 8.07 7.053 11.837 2.566 3.816 6.048 6.568 9.416 9.23.638.503 1.296 1.023 1.937 1.543 10.376 8.4 20.407 18.242 31.026 28.66l2.082 2.042c1.188 1.17 2.384 2.345 3.587 3.528 24.912 24.49 53.15 52.247 71.027 81.893C523.6 156.904 529.11 174.525 534 191.617zm0 38.94v20.675a100.678 100.678 0 0 1-6.38-8.957c-5.397-8.538-9.438-17.877-12.717-29.382-5.035-18.109-10.742-38.632-22.9-59.23-16.974-28.68-43.828-55.839-67.522-79.801l-1.695-1.714c-10.679-10.763-21.146-21.177-31.805-30.274-.268-.23-.537-.458-.806-.686-3.714-3.154-7.222-6.133-9.563-10.41-2.69-4.914-5.03-10.181-7.291-15.274-1.56-3.51-3.17-7.137-4.886-10.627A995.835 995.835 0 0 0 366.034 0h9.135c.867 1.74 1.72 3.485 2.557 5.203 2.746 5.626 5.584 11.445 8.839 16.827 2.522 4.172 6.163 7.167 9.683 10.062.493.405.987.812 1.479 1.222 10.68 8.908 21.043 19.221 32.012 30.139l2.83 2.825c24.157 24.119 51.537 51.456 68.895 80.452 12.032 20.143 17.5 39.572 22.79 58.363.318 1.135.637 2.266.956 3.395 2.373 8.19 5.23 15.383 8.79 22.069zm0 22.302v14.36c-6.567-6.271-12.003-12.83-16.443-19.822-5.44-8.568-9.378-17.652-12.767-29.453-4.789-17.106-10.747-38.396-23.485-59.588-16.76-27.827-42.655-54.272-65.503-77.604l-.392-.4c-11.414-11.616-21.008-21.08-30.726-29.515l-.825-.714c-3.713-3.207-7.552-6.521-9.813-11.075-2.432-4.898-4.538-10.084-6.573-15.098-1.586-3.906-3.225-7.944-5.02-11.854-1.845-4.03-3.732-8.075-5.623-12.096h8.068a1464.55 1464.55 0 0 1 2.638 5.346c1.706 3.473 3.314 7.093 4.869 10.592 2.271 5.113 4.62 10.4 7.331 15.352 2.433 4.446 6.178 7.626 9.8 10.703l.804.684c10.628 9.073 21.08 19.47 31.742 30.216l1.694 1.713c23.651 23.92 50.458 51.03 67.366 79.599 12.086 20.477 17.773 40.929 22.792 58.977 3.308 11.61 7.387 21.035 12.84 29.662A101.99 101.99 0 0 0 534 252.86zm0 15.756v10.775c-.378-.296-.753-.594-1.126-.895-11.337-9.17-19.926-18.697-26.261-29.125-3.301-5.434-7.628-13.55-11.815-28.19-5.03-18.022-10.923-37.272-22.653-57.039-16.536-27.798-42.735-54.757-63.786-76.418-8.957-9.185-19.564-19.845-30.316-29.273l-.597-.523c-3.826-3.343-7.783-6.801-9.94-11.556-2.066-4.546-3.82-9.338-5.515-13.97-1.415-3.863-2.876-7.857-4.527-11.741-2.924-6.898-5.992-13.84-9.038-20.66h7.293c1.961 4.166 3.919 8.361 5.832 12.539 1.784 3.888 3.419 7.915 5 11.81 2.043 5.032 4.156 10.237 6.607 15.17 2.354 4.74 6.272 8.124 10.062 11.395l.823.712c9.693 8.414 19.27 17.862 30.666 29.46l.391.4c22.809 23.292 48.66 49.692 65.357 77.415 12.664 21.07 18.601 42.284 23.373 59.333 3.42 11.904 7.396 21.073 12.892 29.73 4.636 7.3 10.346 14.13 17.278 20.65zm0 12.054v9.105c-4.606-2.717-8.987-5.69-13.1-8.984-11.206-8.995-19.691-18.377-25.944-28.68-6.148-10.135-9.392-20.071-11.53-27.592-4.624-16.668-10.515-36.096-21.956-55.73-14.914-25.529-37.519-49.916-61.327-74.73-11.808-12.263-20.962-21.197-29.683-28.965l-.369-.328c-3.896-3.463-7.924-7.044-9.924-11.962-1.77-4.349-3.244-8.897-4.67-13.296-1.301-4.012-2.648-8.162-4.231-12.222-3.552-9.133-7.4-18.34-11.155-27.285h7.226c3.107 6.954 6.24 14.035 9.223 21.073 1.639 3.858 3.097 7.84 4.506 11.69 1.702 4.65 3.463 9.46 5.544 14.043 2.25 4.957 6.29 8.488 10.196 11.903l.597.522c10.726 9.405 21.314 20.047 30.258 29.217 21.014 21.624 47.166 48.534 63.64 76.228 11.666 19.658 17.535 38.832 22.547 56.79 2.219 7.755 5.579 17.996 11.927 28.447 6.397 10.53 15.062 20.142 26.49 29.386.572.462 1.15.918 1.735 1.37zm0 10.27v6.426c-11.695-5.307-21.055-11.05-29.065-17.8-23.404-19.788-29.998-38.183-34.341-53.867-4.414-16.318-10.42-35.579-21.506-54.709-14.596-25.111-37.137-49.771-58.975-72.877-9.991-10.532-19.23-19.643-28.245-27.852-3.824-3.477-7.779-7.073-9.576-12.077-1.496-4.163-2.706-8.49-3.876-12.674-1.158-4.142-2.356-8.426-3.852-12.652-3.454-9.796-7.319-19.695-11.057-29.268l-.397-1.016c-.328-.848-.655-1.71-.982-2.573h6.917c3.805 9.064 7.714 18.404 11.314 27.663 1.575 4.032 2.915 8.166 4.211 12.164 1.432 4.416 2.913 8.983 4.697 13.366 2.088 5.137 6.206 8.797 10.187 12.337l.368.326c8.701 7.751 17.839 16.669 29.627 28.912 23.764 24.769 46.325 49.107 61.183 74.54 11.38 19.529 17.247 38.88 21.856 55.49 2.155 7.586 5.427 17.608 11.64 27.847 6.314 10.407 14.876 19.874 26.172 28.942 4.297 3.443 8.878 6.535 13.7 9.352zm0 7.52v4.232a251.471 251.471 0 0 1-11.503-4.551c-13.42-5.724-23.694-11.791-32.335-19.094-10.317-8.751-18.007-17.829-23.508-27.75-5.018-9.048-7.766-18.003-9.988-26.329-3.508-13.503-9.533-33.79-21.308-53.96-14.283-24.394-36.17-48.728-55.566-69.622-8.896-9.549-17.578-18.239-26.54-26.567-3.583-3.325-7.646-7.093-9.205-12.174-1.173-3.82-2.085-7.757-2.967-11.565-.946-4.084-1.924-8.307-3.244-12.515-3.282-10.496-7.11-21.108-10.81-31.367-.546-1.524-1.09-3.1-1.619-4.624-.295-.856-.593-1.714-.893-2.573h6.577c.372.986.746 1.973 1.123 2.945l.396 1.019c3.735 9.566 7.595 19.456 11.045 29.237 1.484 4.194 2.678 8.46 3.832 12.586 1.175 4.202 2.39 8.547 3.898 12.744 1.882 5.241 5.93 8.92 9.843 12.479 8.997 8.192 18.22 17.287 28.193 27.801 21.797 23.063 44.294 47.673 58.837 72.692 11.027 19.029 17.008 38.21 21.404 54.467 2.149 7.76 5.094 16.984 10.649 26.558 5.751 9.915 13.605 19.012 24.013 27.811 8.168 6.885 17.717 12.725 29.676 18.12zm0 5.281v2.782c-23.545-8.055-45.41-16.441-61.59-31.001-20.303-18.343-25.648-34.298-30.108-51.768-4.91-19.756-11.444-36.665-19.975-51.694-12.978-22.787-32.614-45.621-51.901-66.904-8.158-8.97-16.797-17.79-26.411-26.962-3.866-3.68-7.162-7.094-8.36-11.586-1.014-3.807-1.727-7.726-2.416-11.516-.754-4.143-1.533-8.427-2.724-12.735-2.626-9.542-5.717-19.048-9.195-29.592a447.974 447.974 0 0 1-1.476-4.63c-.854-2.714-1.72-5.46-2.663-8.134h6.316c.34.97.676 1.939 1.01 2.905a486.437 486.437 0 0 0 1.622 4.633c3.697 10.252 7.521 20.852 10.796 31.328 1.31 4.173 2.283 8.376 3.224 12.44.887 3.827 1.803 7.782 2.987 11.635 1.639 5.337 5.802 9.201 9.476 12.61 8.946 8.312 17.611 16.986 26.49 26.517 19.36 20.856 41.204 45.14 55.437 69.449 5.61 9.609 13.911 25.63 21.205 53.709 2.238 8.391 5.01 17.417 10.08 26.56 5.56 10.027 13.323 19.193 23.732 28.023 8.716 7.366 19.068 13.48 32.576 19.244 3.86 1.646 7.819 3.195 11.868 4.687zm0 3.811v2.302a496.694 496.694 0 0 1-6.42-2.32c-2.881-1.048-5.763-2.082-8.55-3.083-25.398-9.119-47.333-16.993-63.873-32.563-18.576-17.576-23.355-32.744-27.301-49.339-4.294-18.56-10.685-35.583-18.996-50.598-12.66-22.779-31.652-45.348-50.29-66.344-8.485-9.522-16.672-17.69-23.561-24.425-3.63-3.542-6.966-7.09-7.91-11.562-.736-3.48-1.195-7.029-1.639-10.46-.52-4.021-1.058-8.179-2.05-12.421-2.212-9.512-4.983-18.995-7.867-28.68-.437-1.481-.874-3.027-1.298-4.521-1.302-4.588-2.629-9.266-4.304-13.537h6.233c.985 2.764 1.885 5.617 2.773 8.436a404.6 404.6 0 0 0 1.479 4.642c3.473 10.532 6.56 20.024 9.18 29.546 1.18 4.264 1.954 8.527 2.704 12.648.693 3.81 1.409 7.748 2.435 11.595 1.366 5.127 5.565 9.125 8.629 12.045 9.597 9.156 18.22 17.959 26.362 26.911 19.25 21.241 38.845 44.026 51.776 66.73 8.486 14.95 14.986 31.777 19.876 51.447 2.037 7.978 4.408 16.506 8.98 25.342 4.945 9.557 11.952 18.36 21.421 26.915C488.172 291 510.25 299.433 534 307.551zm0 3.322V360H0v-71.7a68.936 68.936 0 0 0 6.655 3.673c4.535 2.166 8.816 3.487 12.75 3.94l-.22-.066c-3.868-.478-8.068-1.79-12.512-3.913A68.865 68.865 0 0 1 0 288.251v-2.653c3.603 2.625 7.108 4.831 10.485 6.595 3.028 1.581 5.934 2.799 8.7 3.652.096.012.192.021.289.031-2.846-.853-5.84-2.098-8.966-3.73-3.384-1.768-6.896-3.98-10.508-6.613v-3.675c15.108 12.545 25.831 15.825 32.36 16.266l.003-.064c-6.525-.44-17.247-3.723-32.363-16.284v-4.671c.508.47 1.018.938 1.53 1.4 17.432 15.717 29.582 19.615 36.705 20.117l.005-.076c-7.11-.5-19.245-4.394-36.66-20.098-.53-.477-1.056-.96-1.58-1.446v-5.588a181.396 181.396 0 0 0 7.675 7.347c17.325 15.612 29.4 19.508 36.477 20.027l.006-.087c-12.8-.939-26.875-11.397-36.428-20.006-2.63-2.368-5.21-4.849-7.73-7.403v-6.464c4.417 4.854 9.07 9.57 13.881 13.9 9.495 8.551 23.484 18.95 36.205 19.922l.007-.098c-12.695-.971-26.665-11.357-36.149-19.899-4.835-4.35-9.508-9.09-13.944-13.97v-7.273c6.164 7.283 12.968 14.576 20.126 21.016 9.416 8.48 23.287 18.8 35.891 19.811l.009-.109c-12.576-1.009-26.426-11.316-35.83-19.784-7.185-6.464-14.013-13.789-20.196-21.1v-8.022c7.681 9.697 16.718 19.965 26.383 28.663 9.328 8.404 23.066 18.642 35.54 19.7l.008-.121c-12.441-1.054-26.157-11.279-35.472-19.67C16.762 269.066 7.696 258.757 0 249.03v-8.709c8.808 11.825 20.212 25.624 32.635 36.814 7.164 6.459 13.992 11.412 20.293 14.723 5.379 2.826 10.379 4.464 14.861 4.87l.012-.133c-12.295-1.11-25.864-11.25-35.082-19.56C20.256 265.81 8.817 251.955 0 240.106v-9.33c9.278 13.215 23.244 31.329 38.768 45.353 7.137 6.452 13.925 11.4 20.177 14.706 5.298 2.803 10.23 4.442 14.657 4.872l.013-.142c-4.41-.43-9.326-2.063-14.607-4.857-6.241-3.302-13.02-8.243-20.149-14.687C23.283 261.949 9.273 243.754 0 230.533v-9.891a450.788 450.788 0 0 0 3.62 5.362c6.58 9.626 13.773 19.125 20.801 27.47 8.136 9.66 16.041 17.807 23.496 24.214 11.904 10.242 22.48 15.92 31.435 16.876l.015-.154c-8.924-.953-19.473-6.62-31.355-16.843-8.115-6.975-24.657-22.96-44.27-51.653A448.124 448.124 0 0 1 0 220.368v-10.33a465.277 465.277 0 0 0 9.663 14.659c6.57 9.604 13.75 19.091 20.764 27.436 8.153 9.7 16.061 17.876 23.507 24.303 11.782 10.182 22.244 15.869 31.096 16.903l.019-.166c-8.821-1.03-19.255-6.704-31.013-16.865-8.093-6.986-24.6-22.994-44.241-51.707A466.28 466.28 0 0 1 0 209.735v-10.693a475.61 475.61 0 0 0 15.854 24.594c6.552 9.55 13.705 18.988 20.686 27.293 8.136 9.683 16.02 17.848 23.428 24.268 11.618 10.077 21.936 15.756 30.667 16.879l.022-.177c-8.699-1.119-18.987-6.784-30.58-16.838-8.04-6.967-24.457-22.925-44.083-51.528A474.176 474.176 0 0 1 0 198.706v-11.038a472.861 472.861 0 0 0 23.597 37.204c8.133 11.633 24.438 33.47 42.25 48.995 11.644 10.158 21.56 15.701 30.318 16.95l.026-.186c-8.722-1.243-18.61-6.774-30.226-16.907-17.797-15.513-34.091-37.336-42.22-48.963A472.418 472.418 0 0 1 0 187.297v-11.375c9.006 16.773 19.811 34.163 31.3 50.233 7.784 10.94 23.378 31.515 40.352 46.404 11.506 10.098 21.311 15.675 29.974 17.046l.03-.197c-8.626-1.366-18.4-6.927-29.878-17.002-16.959-14.875-32.543-35.436-40.323-46.369C19.9 209.874 9.035 192.373 0 175.511v-11.834c9.981 20.037 22.9 41.392 37.083 61.205 7.792 10.931 23.388 31.497 40.3 46.43 11.368 10.043 21.062 15.66 29.637 17.17l.035-.208c-8.538-1.504-18.2-7.105-29.54-17.123-16.897-14.919-32.481-35.47-40.268-46.393C22.984 204.833 10 183.348 0 163.215v-12.462c.317.713.641 1.431.973 2.157 9.876 21.74 25.119 47.545 41.816 70.8 7.799 10.918 23.4 31.472 40.255 46.457 11.229 9.988 20.819 15.654 29.317 17.32l.04-.218c-8.46-1.659-18.017-7.308-29.216-17.27-16.84-14.972-32.429-35.511-40.223-46.421-16.69-23.244-31.923-49.036-41.795-70.763-.4-.875-.788-1.74-1.167-2.596v-14.511c2.005 5.895 4.666 12.39 7.898 19.252 10.376 22.136 25.417 47.078 42.355 70.234 7.787 10.7 23.313 30.8 39.796 45.2 10.651 9.31 19.425 14.478 27.609 16.263l.046-.228c-8.146-1.777-16.887-6.93-27.51-16.214-16.466-14.385-31.98-34.47-39.762-45.162-16.683-22.81-32.112-48.394-42.33-70.194-3.344-7.097-6.077-13.803-8.102-19.854V98.419c.63 4.074.903 7.765 1.167 11.35.369 4.984.75 10.139 2.082 16.433 1.812 8.353 5.79 19.051 11.503 30.936 10.244 21.433 25.89 46.85 42.93 69.73 13.172 17.784 27.498 33.797 39.307 43.934 13 11.168 21.03 14.04 25.94 15.228l.054-.238c-4.887-1.183-12.882-4.043-25.843-15.179-11.796-10.125-26.11-26.124-39.27-43.895-17.03-22.868-32.669-48.27-42.906-69.688-5.704-11.868-9.676-22.547-11.484-30.88-1.328-6.277-1.708-11.423-2.076-16.4-.296-4.003-.601-8.142-1.404-12.801v-18.07C2.244 86.077 4.325 93.2 5.618 99.534c1.026 5.02 1.457 9.39 1.873 13.615.494 5.012 1.004 10.195 2.504 16.566 1.88 7.786 5.475 17.196 10.682 27.97 4.718 9.78 11.378 21.594 19.795 35.113 7.411 11.914 14.842 22.842 22.72 33.409 13.189 17.754 27.506 33.784 39.283 43.979 12.845 11.126 20.828 14.148 25.715 15.452l.062-.247c-4.865-1.3-12.813-4.309-25.619-15.402-11.764-10.182-26.068-26.198-39.245-43.938-7.873-10.56-15.301-21.483-22.708-33.392-8.413-13.51-15.068-25.316-19.782-35.088-5.2-10.758-8.788-20.15-10.664-27.918-1.495-6.353-2.004-11.526-2.498-16.53-.416-4.231-.848-8.608-1.876-13.64C4.52 92.914 2.336 85.506 0 78.045V65.453a913.718 913.718 0 0 0 3.4 10.35c3.135 9.428 6.379 19.174 8.24 27.453 1.126 5.02 1.664 9.364 2.184 13.564.573 4.622 1.165 9.402 2.54 15.136 2.09 8.524 6.304 19.08 12.186 30.525 10.232 19.995 24.549 42.573 40.314 63.572 13.167 17.638 27.438 33.61 39.153 43.82 12.514 10.913 20.173 14.088 25.447 15.635l.071-.257c-5.249-1.54-12.875-4.702-25.35-15.583-11.702-10.199-25.959-26.156-39.115-43.78-15.756-20.988-30.065-43.552-40.29-63.534-5.872-11.427-10.08-21.96-12.164-30.464-1.37-5.72-1.962-10.49-2.533-15.105-.522-4.206-1.06-8.557-2.188-13.591-1.864-8.293-5.11-18.046-8.251-27.478C2.416 72.027 1.16 68.252 0 64.598V52.185c.657 2.69 1.645 5.678 2.57 8.474.315.958.615 1.862.897 2.74C5.158 68.844 7.214 74.763 9.2 80.488c3.163 9.108 6.433 18.524 8.425 26.532 1.276 5.13 1.922 9.507 2.548 13.741.683 4.621 1.388 9.4 2.912 15.176 2.04 7.56 5.946 17.088 11.295 27.555 4.943 9.7 11.94 21.5 20.794 35.07 6.885 10.567 13.739 20.296 20.951 29.74 7.428 9.757 22.155 28.119 37.344 41.465 12.379 10.88 20.02 14.217 25.294 15.906l.08-.266c-5.249-1.683-12.857-5.005-25.199-15.852-15.171-13.332-29.886-31.677-37.307-41.427-7.208-9.438-14.058-19.161-20.94-29.724-8.849-13.561-15.84-25.351-20.779-35.043-5.34-10.45-9.238-19.96-11.273-27.5-1.521-5.76-2.225-10.531-2.907-15.144-.626-4.24-1.273-8.626-2.552-13.768-1.997-8.02-5.269-17.443-8.434-26.557-1.986-5.723-4.041-11.64-5.731-17.08-.283-.88-.582-1.785-.899-2.744C1.77 57.376.631 53.934 0 50.987V44.53c.63-1.427 1.745-2.072 2.832-2.7l.165-.095c.295-.167.594-.331.894-.497 3.438-1.894 6.994-3.853 7.988-10.453C13.152 21.66 11.85 8.453 8.846 0h2.683a57.635 57.635 0 0 1 1.712 4.504c2.77 8.515 4 21.158 2.923 30.065-.863 6.616-4.292 8.543-7.608 10.406-.288.161-.574.323-.86.486l-.177.105c-1.311.768-2.796 1.64-3.17 4.164a7.29 7.29 0 0 0-.078 1.11c0 3.507 1.93 9.13 3.653 14.153.326.95.634 1.848.923 2.712 1.825 5.639 4.059 11.796 6.218 17.75 3.048 8.405 6.2 17.096 8.285 24.533 1.592 5.685 2.406 10.391 3.194 14.943.732 4.237 1.49 8.617 2.873 13.776 2.159 7.86 6.275 17.625 11.904 28.236 10.323 19.574 25.739 42.96 42.294 64.162 7.043 9.069 21.007 26.182 35.404 38.914 12.215 10.802 19.835 14.295 25.107 16.132l.09-.274c-5.25-1.828-12.837-5.308-25.015-16.078-14.38-12.717-28.332-29.815-35.368-38.875-16.545-21.19-31.95-44.56-42.266-64.12-5.619-10.595-9.728-20.337-11.88-28.176-1.379-5.145-2.136-9.518-2.867-13.749-.788-4.559-1.604-9.272-3.201-14.972-2.086-7.449-5.24-16.145-8.29-24.554C13.17 79.4 10.937 73.246 9.113 67.61c-.29-.867-.598-1.765-.924-2.717-1.907-5.56-4.07-11.861-3.563-15.12.354-2.387 1.714-3.185 3.031-3.958l.179-.104c.282-.162.568-.323.855-.484 3.378-1.897 6.87-3.86 7.752-10.623 1.08-8.946-.155-21.644-2.937-30.193A59.678 59.678 0 0 0 11.842 0h2.263c1.306 2.609 2.615 5.557 3.64 8.823 2.732 8.937 3.96 22.06 2.853 30.523-.863 6.093-4.024 7.916-7.082 9.678-.443.255-.902.52-1.342.792l-.04.025c-1.156.734-2.468 1.565-2.779 3.884-.47 3.328 1.762 9.643 3.732 15.213.322.912.637 1.8.929 2.648 2.017 6.016 4.509 12.606 6.919 18.979 3.066 8.108 6.237 16.492 8.408 23.66 1.757 5.792 2.687 10.519 3.585 15.092.837 4.254 1.702 8.653 3.23 13.873 2.247 7.504 6.365 16.88 11.912 27.113 4.719 8.727 11.382 19.495 19.805 32.004 7.001 10.41 13.923 19.967 21.16 29.214 7.068 9.058 21.077 26.17 35.487 39.001 12.037 10.717 19.416 14.328 25.045 16.447l.1-.284c-5.606-2.11-12.953-5.707-24.955-16.391-14.393-12.815-28.388-29.912-35.45-38.963-7.233-9.242-14.15-18.792-21.147-29.196-8.417-12.502-15.076-23.261-19.791-31.98-5.536-10.214-9.647-19.57-11.888-27.053-1.523-5.206-2.387-9.598-3.222-13.845-.9-4.58-1.831-9.315-3.593-15.121-2.175-7.178-5.348-15.567-8.416-23.68-2.409-6.37-4.9-12.958-6.915-18.97-.292-.849-.607-1.738-.93-2.65-1.958-5.538-4.178-11.814-3.716-15.068.292-2.18 1.487-2.937 2.644-3.67l.038-.024c.435-.269.892-.532 1.333-.787 3.12-1.798 6.345-3.657 7.229-9.899 1.111-8.502-.12-21.681-2.865-30.657C17.01 5.504 15.721 2.586 14.434 0h2.347a76.684 76.684 0 0 1 5.204 12.557c2.748 8.992 4.108 22.282 3.16 30.911-.751 6.245-3.849 8.09-6.844 9.874-.433.258-.88.524-1.307.798l-.057.037c-1.113.73-2.375 1.559-2.611 3.905-.367 3.384 2.019 9.88 4.125 15.612.332.904.655 1.783.955 2.616 2.177 6.238 4.872 13.072 7.479 19.68 3.103 7.866 6.31 16 8.55 22.918 1.898 5.874 2.95 10.621 3.966 15.211.851 3.84 1.73 7.813 3.1 12.4 2.211 7.26 6.097 15.998 11.547 25.973 4.987 9.154 12.367 20.85 21.34 33.82 6.489 9.393 12.8 17.966 19.293 26.205 7.075 9.007 21.093 26.039 35.48 38.91 11.905 10.65 19.296 14.426 24.955 16.714l.11-.29c-5.635-2.28-12.997-6.04-24.867-16.659-14.37-12.857-28.374-29.872-35.444-38.87-6.49-8.236-12.797-16.803-19.281-26.191-8.968-12.963-16.342-24.648-21.323-33.793-5.363-9.816-9.348-18.776-11.523-25.913-1.366-4.574-2.244-8.54-3.093-12.375-1.018-4.598-2.07-9.353-3.974-15.241-2.242-6.927-5.452-15.066-8.556-22.937-2.605-6.605-5.3-13.436-7.474-19.669-.3-.835-.623-1.715-.957-2.62-1.99-5.417-4.467-12.158-4.106-15.468.22-2.197 1.365-2.948 2.472-3.675l.056-.036c.423-.27.867-.535 1.298-.791 3.06-1.822 6.225-3.708 6.993-10.108.954-8.668-.41-22.014-3.174-31.043A76.946 76.946 0 0 0 17.126 0h1.962c2.829 4.886 5.434 10.931 7.285 17.026 2.69 9.108 4.083 22.014 3.309 30.683-.631 6.412-3.671 8.294-6.611 10.115-.418.26-.852.527-1.265.803l-.068.046c-1.073.73-2.288 1.56-2.449 3.946a7.14 7.14 0 0 0-.017.498c0 3.348 2.134 9.015 4.026 14.044.331.88.655 1.74.956 2.56 2.447 6.823 5.541 14.359 8.535 21.647 3.212 7.821 6.246 15.208 8.561 21.821 2.18 6.231 3.388 11.15 4.556 15.908.903 3.677 1.836 7.48 3.209 11.833 2.349 7.292 6.472 16.227 11.923 25.838 9.81 17.402 25.198 39.602 41.165 59.382 7.038 8.77 20.94 25.33 34.971 37.687 11.074 9.752 17.898 13.382 23.623 15.851l.12-.298c-5.7-2.46-12.499-6.077-23.54-15.8-14.013-12.34-27.901-28.883-34.933-37.648-15.956-19.767-31.334-41.95-41.136-59.337-5.44-9.593-9.554-18.505-11.896-25.776-1.369-4.341-2.302-8.139-3.203-11.811-1.17-4.766-2.38-9.692-4.565-15.938-2.319-6.622-5.354-14.013-8.568-21.839-2.991-7.283-6.085-14.816-8.53-21.634-.301-.822-.625-1.681-.957-2.563-1.978-5.255-4.22-11.211-3.989-14.4.15-2.227 1.247-2.976 2.31-3.7l.066-.045c.408-.271.839-.538 1.255-.796 3.007-1.863 6.115-3.787 6.763-10.362.778-8.707-.62-21.665-3.322-30.812C24.835 10.881 22.257 4.88 19.452 0h1.687c1.915 2.874 3.358 5.991 5.04 9.757 1.617 3.618 3.289 7.56 4.562 11.864 2.69 9.372 4.153 22.712 3.403 31.03-.615 6.12-3.489 7.978-6.268 9.773-.42.27-.852.55-1.266.839l-.073.052c-1.034.74-2.207 1.58-2.288 4.015-.04 1.27.246 2.946.851 4.98.9 3.031 2.208 6.42 3.474 9.699.364.943.727 1.883 1.08 2.814 2.633 7.045 5.964 14.827 9.185 22.352 3.142 7.34 6.11 14.274 8.457 20.52 2.494 6.637 3.866 11.74 5.194 16.675.941 3.499 1.915 7.117 3.275 11.221 2.424 7.16 6.67 16.041 12.28 25.68 4.341 7.472 10.385 16.687 18.475 28.172 7.62 10.83 15.241 20.866 23.302 30.682 11.86 14.489 24.423 27.79 34.468 36.49 10.78 9.343 17.189 12.644 22.348 15.005l.132-.307c-5.14-2.352-11.522-5.64-22.271-14.954-10.032-8.69-22.58-21.976-34.428-36.45-8.056-9.81-15.673-19.841-23.288-30.664-8.085-11.477-14.122-20.683-18.458-28.147-5.599-9.62-9.835-18.478-12.252-25.617-1.357-4.095-2.329-7.707-3.269-11.201-1.33-4.944-2.705-10.055-5.205-16.707-2.349-6.253-5.319-13.19-8.462-20.536-3.22-7.522-6.549-15.3-9.18-22.337-.353-.932-.717-1.874-1.08-2.816-1.263-3.272-2.57-6.655-3.465-9.674-.595-1.998-.876-3.636-.838-4.87.075-2.267 1.13-3.022 2.149-3.75l.072-.052c.406-.283.818-.55 1.254-.831 2.713-1.752 5.787-3.739 6.42-10.025.752-8.355-.716-21.75-3.416-31.159-1.28-4.325-2.957-8.279-4.578-11.907C24.823 5.917 23.4 2.84 21.532 0h1.324c.864 1.221 1.744 2.475 2.542 3.722 1.963 3.057 3.4 6.302 5.075 10.23 1.518 3.558 3.249 7.732 4.557 12.212 2.732 9.647 4.283 23.114 3.609 31.324-.551 5.947-3.27 7.808-5.898 9.608-.478.328-.974.666-1.438 1.022l-.029.022c-.993.78-2.116 1.664-2.061 4.24.056 3.301 2.41 9.126 4.488 14.266.365.902.72 1.78 1.05 2.617 2.9 7.499 6.596 15.799 10.172 23.826 3.22 7.23 6.262 14.058 8.693 20.193 2.66 6.73 4.162 11.855 5.614 16.813.908 3.102 1.847 6.31 3.059 9.862 2.419 6.954 6.465 15.27 12.025 24.716 4.603 7.84 11.379 17.943 20.14 30.025 7.138 9.864 14.146 18.924 21.42 27.7 6.975 8.44 20.725 24.377 34.437 36.29 10.674 9.275 17.14 12.74 22.361 15.26l.142-.314c-5.203-2.51-11.644-5.963-22.287-15.212-13.694-11.897-27.43-27.818-34.399-36.25-7.27-8.77-14.273-17.825-21.407-27.683-8.754-12.074-15.523-22.165-20.121-29.997-5.55-9.427-9.585-17.721-11.996-24.652-1.209-3.543-2.147-6.748-3.054-9.847-1.454-4.965-2.957-10.099-5.624-16.844-2.434-6.142-5.477-12.974-8.699-20.207-3.574-8.023-7.27-16.32-10.165-23.812-.333-.838-.688-1.718-1.053-2.62-2.065-5.112-4.407-10.905-4.463-14.14-.054-2.399.955-3.192 1.93-3.957l.026-.022c.457-.348.926-.67 1.423-1.01 2.57-1.76 5.48-3.753 6.046-9.866.678-8.249-.88-21.77-3.62-31.454-1.315-4.5-3.05-8.685-4.573-12.253-1.68-3.942-3.124-7.201-5.102-10.28A92.939 92.939 0 0 0 23.271 0h1.375c.772 1.237 1.593 2.452 2.404 3.653.887 1.309 1.803 2.664 2.628 4.008 1.988 3.229 3.402 6.558 5.045 10.575 1.677 4.097 3.289 8.14 4.571 12.56 2.787 9.926 4.438 23.516 3.84 31.612-.497 5.851-3.113 7.743-5.642 9.573-.43.31-.873.63-1.293.964l-.06.05c-1.012.825-2.16 1.758-1.943 4.6.084 1.093.39 2.479.91 4.12 1.044 3.304 2.654 7.162 4.211 10.893.391.937.78 1.865 1.152 2.772 3.052 7.522 6.909 15.828 10.637 23.858 3.07 6.612 5.969 12.856 8.37 18.529 3.115 7.35 4.835 12.777 6.498 18.025.955 3.014 1.943 6.13 3.18 9.558 2.423 6.579 6.299 14.341 11.52 23.072 6.292 10.555 15.36 23.155 21.859 31.867 6.593 8.857 12.973 16.953 19.503 24.75 6.988 8.369 20.756 24.19 34.456 36.114 10.598 9.226 17.135 12.857 22.432 15.536l.152-.321c-5.278-2.67-11.795-6.288-22.362-15.488-13.682-11.907-27.436-27.713-34.418-36.074-6.525-7.792-12.901-15.882-19.49-24.733-6.495-8.705-15.555-21.295-21.84-31.837-5.208-8.712-9.075-16.455-11.49-23.011-1.234-3.42-2.22-6.533-3.175-9.544-1.666-5.258-3.388-10.693-6.51-18.058-2.404-5.679-5.304-11.925-8.375-18.539-3.726-8.028-7.58-16.328-10.63-23.843-.374-.909-.762-1.836-1.153-2.774-1.555-3.723-3.161-7.573-4.2-10.863-.511-1.613-.812-2.972-.894-4.036-.2-2.65.823-3.485 1.812-4.29l.06-.048c.411-.327.832-.631 1.277-.954 2.474-1.789 5.278-3.816 5.79-9.836.6-8.135-1.057-21.78-3.854-31.742-1.288-4.44-2.903-8.492-4.584-12.599-1.649-4.032-3.07-7.374-5.073-10.626-.828-1.35-1.746-2.71-2.633-4.024A126.236 126.236 0 0 1 25.059 0h1.88c1.21 2.67 2.862 5.227 4.479 7.729.836 1.293 1.7 2.631 2.482 3.952 2.05 3.457 3.546 7.125 5.29 11.56 1.591 4.05 3.122 8.033 4.343 12.258 2.763 9.849 4.507 23.013 4.149 31.3-.324 6.136-2.882 8.139-5.356 10.075-.413.324-.84.658-1.243 1.004l-.12.105c-.954.838-2.036 1.786-1.794 4.573.27 3.229 2.599 8.63 4.652 13.396.384.892.76 1.763 1.11 2.595 3.474 8.4 8.006 17.798 12.388 26.886 3.16 6.554 6.146 12.744 8.64 18.35 3.297 7.419 5.133 12.821 6.908 18.045.983 2.891 1.998 5.88 3.246 9.159 2.615 6.736 6.664 14.525 12.034 23.151 4.803 7.727 11.906 17.857 20.542 29.293 6.55 8.686 12.976 16.739 19.646 24.616 7.01 8.307 20.817 24.024 34.527 35.968 10.54 9.182 16.928 12.856 22.569 15.831l.143-.29c2.408 1.522 4.571 2.743 6.637 3.873l.089-.174c-.635-.41-1.285-.839-1.951-1.29-5.265-2.972-11.403-6.9-20.67-14.973-12.955-11.292-26.097-25.948-32.776-33.68-7.348-8.483-14.428-17.192-21.646-26.624-8.336-10.877-14.806-19.896-19.229-26.804-5.736-8.945-10.036-16.97-12.78-23.85-1.06-2.709-1.986-5.253-2.881-7.715-2.064-5.671-4.198-11.536-8.121-19.852-2.442-5.175-5.274-10.813-8.272-16.782-4.558-9.075-9.271-18.459-12.925-26.873-.385-.876-.777-1.758-1.168-2.64-1.381-3.108-2.81-6.323-3.935-9.287-.833-2.194-1.326-3.981-1.46-5.31-.249-2.469.62-3.322 1.457-4.149l.082-.08c.433-.415.886-.799 1.365-1.205 2.285-1.935 4.875-4.128 5.143-10.283.274-7.93-1.512-20.979-4.247-31.03-1.231-4.386-2.751-8.472-4.33-12.62l-.172-.452c-1.641-4.314-3.059-8.04-5.111-11.666-.815-1.446-1.72-2.9-2.595-4.305C33.743 8.033 31.33 4.155 30.34 0h3.518a18.52 18.52 0 0 0 .452 4.044c.985 4.333 3.409 8.363 5.752 12.26.894 1.486 1.818 3.023 2.646 4.55 1.895 3.485 3.21 7.038 4.732 11.153l.295.795c1.51 4.074 3.072 8.287 4.34 12.743 2.937 10.664 4.853 24.028 4.556 31.775-.27 5.53-2.476 7.561-4.61 9.526-.578.532-1.124 1.034-1.634 1.605-.766.884-1.72 1.983-1.215 4.949.2 1.165.64 2.645 1.312 4.4 1.203 3.147 2.828 6.657 4.399 10.052.43.93.858 1.854 1.275 2.766 3.932 8.699 8.994 18.388 13.89 27.76 3.007 5.756 5.847 11.192 8.322 16.196 2.426 4.968 5.145 10.641 6.925 15.04.867 2.141 1.575 4.102 2.26 5.999.788 2.178 1.601 4.429 2.639 6.898 7.066 16.935 27.49 45.69 53.297 75.042 15.62 17.848 27.29 28.631 32.856 33.472 5.67 4.93 10.133 8.318 14.005 10.94.666.451 1.316.88 1.95 1.29 2.496 1.61 4.769 2.929 7.01 4.194l.035-.067c-1.047-.691-2.16-1.45-3.348-2.295-5.14-3.058-10.918-6.981-19.408-14.36-12.95-11.261-26.12-25.782-32.818-33.437-25.782-29.321-46.178-58.034-53.23-74.933-1.034-2.46-1.81-4.607-2.632-6.88-.686-1.9-1.397-3.864-2.266-6.012-1.785-4.411-4.507-10.091-6.937-15.067-2.477-5.008-5.318-10.447-8.326-16.204-4.893-9.366-9.954-19.052-13.88-27.74-.419-.914-.846-1.84-1.277-2.77-1.568-3.388-3.19-6.891-4.388-10.026-.662-1.73-1.097-3.185-1.292-4.324-.473-2.78.376-3.757 1.123-4.618.494-.555 1.033-1.051 1.604-1.576 2.091-1.924 4.46-4.106 4.738-9.801.297-7.784-1.625-21.2-4.57-31.901-1.274-4.473-2.838-8.693-4.35-12.774l-.295-.796c-1.528-4.128-2.848-7.694-4.756-11.204-.832-1.535-1.759-3.075-2.654-4.565-2.328-3.87-4.735-7.873-5.705-12.143A17.751 17.751 0 0 1 34.23 0h4.368c-.324 1.263-.468 2.634-.468 3.984 0 1.328.138 2.635.376 3.79.913 4.502 3.356 8.696 5.72 12.75.836 1.436 1.701 2.922 2.481 4.391 1.973 3.708 3.333 7.461 4.907 11.807l.377 1.038c1.525 4.202 3.103 8.546 4.388 13.111 2.945 10.804 4.889 23.68 4.729 31.312-.171 5.584-2.28 7.725-4.319 9.794-.513.521-.997 1.013-1.453 1.561l-.06.073c-.768.947-1.64 2.02-1.172 4.835.24 1.433.858 3.335 1.837 5.652 1.356 3.209 2.993 6.629 4.575 9.936.381.797.763 1.594 1.14 2.39 4.231 8.988 9.66 18.983 14.912 28.65 3.013 5.545 5.858 10.784 8.37 15.63 2.638 5.155 5.333 10.508 7.176 14.739 1.066 2.44 1.906 4.626 2.72 6.737.838 2.181 1.705 4.435 2.799 6.905 2.733 6.137 6.784 13.268 12.042 21.197 4.12 6.224 10.489 14.783 18.933 25.439a588.521 588.521 0 0 0 21.958 26.2c8.228 9.275 20.625 22.576 32.956 33.265 4.935 4.276 9.021 7.445 12.476 9.9 1.189.844 2.3 1.604 3.348 2.295 2.694 1.778 4.955 3.107 6.928 4.251l.004.003c.161.095.32.187.478.278l.179-.33-.303-.203a159.899 159.899 0 0 1-4.767-2.853 131.682 131.682 0 0 0 4.413 3.108l.477.278-.478-.278c2.692 1.814 4.975 3.2 6.976 4.392a145.138 145.138 0 0 1-5.215-3.716l.011.007a143.86 143.86 0 0 0 5.204 3.708c3.063 2.08 5.622 3.637 7.838 4.977l.005.004c3.221 2.195 5.913 3.848 8.235 5.273l.014-.025c3.307 2.268 6.12 4.014 8.66 5.591l.045-.078a179.96 179.96 0 0 1-4.885-3.499c-4.965-3.22-11.083-7.527-19.431-14.606-11.664-9.894-23.43-21.8-31.247-30.045-6.65-7.002-13.203-14.23-20.038-22.096-6.553-7.53-15.667-18.278-21.875-26.727-5.591-7.598-9.77-14.231-13.153-20.876l-1.116-2.238c-3.894-7.817-7.572-15.2-15.296-27.728-2.428-3.94-5.029-8.072-7.782-12.446-7.059-11.215-14.358-22.812-19.994-33.153-.467-.85-.935-1.697-1.402-2.543-1.82-3.297-3.705-6.706-5.332-9.954-1.106-2.205-1.864-3.993-2.317-5.464-.99-3.233-.406-4.576.062-5.652.426-.942.954-1.773 1.513-2.654 1.486-2.339 3.168-4.99 3.032-10.399-.278-8.241-3.18-21.722-5.935-31.427-1.239-4.235-2.676-8.363-4.066-12.354-.306-.878-.61-1.752-.91-2.62l-.453-1.32c-1.516-4.411-2.825-8.22-4.727-12.114-.787-1.617-1.66-3.246-2.503-4.82-2.23-4.166-4.536-8.472-5.485-12.964-.915-4.244-.451-8.844 1.13-11.189.683-1.015 1.552-1.603 2.583-1.748 1.997-.3 4.186.526 6.303 1.326l.108.04c1.029.388 2.075.808 3.087 1.215 1.683.675 3.422 1.374 5.16 1.956 3.876 1.3 7.312 1.92 10.504 1.9.59-.002 1.181.005 1.807.012 2.485.029 5.054.059 7.444-.56 3.234-.856 5.056-3.464 6.016-5.5 1.221-2.594 1.756-5.82 1.465-8.85-.089-.914-.23-1.803-.41-2.671h1.853c.638 1.966 1.124 4.023 1.325 6.225.5 5.553-1.679 12.343-6.692 14-2.242.727-4.704.782-7.087.837-.673.015-1.309.029-1.944.058-3.135.145-6.51-.365-10.316-1.561-1.84-.577-3.687-1.297-5.474-1.994-.882-.344-1.794-.7-2.692-1.033l-.179-.066c-2.12-.788-4.31-1.601-6.364-1.282-1.084.158-2 .775-2.72 1.834-1.185 1.742-1.65 4.412-1.65 7.035 0 1.514.155 3.014.418 4.308.953 4.814 3.397 9.42 5.762 13.876.94 1.772 1.913 3.605 2.777 5.426 1.686 3.534 2.91 7.114 4.207 10.904.25.732.505 1.475.767 2.233.357 1.027.72 2.063 1.085 3.106 1.292 3.683 2.628 7.492 3.809 11.37 2.773 9.388 6.147 23.457 6.525 32.21.174 5.002-1.215 7.491-2.557 9.897-.597 1.071-1.161 2.082-1.579 3.287-.48 1.447-.814 3.023.358 6.346.485 1.37 1.25 3.063 2.275 5.035 1.572 3.025 3.397 6.205 5.16 9.28.563.98 1.126 1.963 1.685 2.946 6.136 10.883 14.141 23.12 21.884 34.956 2.845 4.35 5.534 8.46 8.052 12.387 8.5 13.25 12.482 20.926 16.697 29.052l.38.731c3.788 7.176 8.216 13.955 14.355 21.984 5.846 7.655 14.562 17.693 20.844 24.767 6.9 7.783 13.498 14.924 20.172 21.835 11.438 11.86 21.995 21.872 31.374 29.757 4.047 3.4 7.591 6.181 10.749 8.522 1.825 1.184 3.497 2.222 5.063 3.195l-.177.304v.001l.178-.304c-.783-.487-1.593-.99-2.434-1.518.841.529 1.65 1.031 2.434 1.518l-.177.304a176.52 176.52 0 0 0 0 0c3.577 2.47 6.609 4.37 9.334 6.076l.078-.134a193.424 193.424 0 0 1-4.378-3.127 348.755 348.755 0 0 0 4.531 2.869l-.152.26a190.325 190.325 0 0 1-4.382-3.13h.003a348.755 348.755 0 0 0 4.531 2.87l-.152.26a190.325 190.325 0 0 1-4.382-3.13h.003l-.004-.002c-5.205-3.363-11.616-7.82-20.385-15.19-9.368-7.875-19.913-17.876-31.341-29.726-6.67-6.906-13.264-14.043-20.16-21.82-6.277-7.069-14.985-17.099-20.823-24.742-6.123-8.007-10.538-14.768-14.313-21.918l-.378-.73c-4.22-8.134-8.206-15.819-16.718-29.089-2.52-3.928-5.21-8.038-8.056-12.39-7.737-11.83-15.739-24.062-21.868-34.932-.56-.983-1.124-1.967-1.686-2.947-1.762-3.071-3.584-6.248-5.152-9.265-1.015-1.953-1.772-3.627-2.249-4.975-1.122-3.183-.808-4.673-.356-6.037.403-1.163.957-2.157 1.544-3.208 1.372-2.464 2.793-5.009 2.616-10.146-.38-8.797-3.763-22.91-6.545-32.327-1.184-3.889-2.522-7.702-3.816-11.39-.365-1.042-.728-2.077-1.085-3.104-.262-.757-.516-1.5-.766-2.232-1.301-3.803-2.53-7.397-4.228-10.954-.869-1.828-1.843-3.666-2.786-5.443-2.349-4.426-4.777-9.002-5.717-13.749-.697-3.443-.63-8.35 1.161-10.988.646-.95 1.46-1.504 2.421-1.643 1.944-.303 4.082.491 6.15 1.258l.178.066c.895.332 1.806.688 2.686 1.03 1.793.7 3.649 1.423 5.501 2.005 3.856 1.21 7.279 1.727 10.466 1.58.63-.03 1.263-.044 1.933-.059 2.413-.054 4.908-.11 7.212-.857 5.234-1.731 7.514-8.75 7.004-14.476-.199-2.19-.674-4.232-1.299-6.182h1.533c1.18 2.899 2.191 5.948 2.577 9.34.342 3.057-.057 6.33-1.095 8.98-.819 2.088-2.424 4.8-5.422 5.853-2.064.71-4.33.853-6.52.993-.663.042-1.349.085-2.004.144-3.159.287-6.518-.102-10.269-1.191-1.907-.554-3.823-1.276-5.676-1.974-.797-.3-1.62-.61-2.43-.902l-.289-.104c-2.059-.746-4.188-1.515-6.166-1.166-1.073.177-1.97.814-2.667 1.893-1.094 1.698-1.526 4.204-1.526 6.734 0 1.822.225 3.655.587 5.206 1.06 4.624 3.394 9.044 5.65 13.32.895 1.696 1.82 3.45 2.656 5.195 1.838 3.826 3.19 7.721 4.623 11.845.261.754.528 1.52.802 2.3.385 1.095.777 2.198 1.173 3.31 1.317 3.703 2.679 7.533 3.894 11.42 3.088 10.175 6.547 24.033 6.995 32.412.21 4.77-1.021 7.298-2.212 9.744-.557 1.143-1.082 2.221-1.449 3.496-.417 1.52-.69 3.16.553 6.513.506 1.36 1.278 3.002 2.364 5.024 1.866 3.473 4.089 7.177 6.238 10.76.565.94 1.129 1.882 1.689 2.821 6.41 10.838 14.686 22.998 22.691 34.758 2.834 4.164 5.51 8.096 8.041 11.877 3.846 5.798 8.196 12.395 11.145 17.329 2.099 3.51 3.614 6.399 5.08 9.192.824 1.568 1.6 3.05 2.477 4.639 3.793 6.842 8.13 13.28 14.063 20.878 4.567 5.854 11.59 14.015 20.874 24.255 6.95 7.677 13.591 14.727 20.301 21.552 11.496 11.71 22.088 21.61 31.483 29.425 4.17 3.467 7.827 6.308 11.092 8.708a359.643 359.643 0 0 0 4.534 2.871l-.152.26c3.823 2.65 7.059 4.685 9.959 6.51l.11-.187.001.001.126-.213a469.532 469.532 0 0 1-3.984-2.526c1.347.98 2.63 1.889 3.856 2.738l.002.001.063-.106-.031.053-.032.053c-1.226-.849-2.51-1.759-3.858-2.74 1.404.903 2.726 1.736 3.984 2.527l-.094.16-.032.053c-1.226-.849-2.51-1.759-3.858-2.74 1.404.903 2.726 1.736 3.984 2.527l-.063.107.063-.107a471.755 471.755 0 0 1-3.985-2.53c-5.46-3.512-12.184-8.123-21.4-15.787-9.384-7.805-19.965-17.695-31.449-29.393a712.078 712.078 0 0 1-20.289-21.54c-9.277-10.231-16.292-18.384-20.851-24.229-5.917-7.577-10.242-13.997-14.023-20.816-.873-1.583-1.65-3.063-2.472-4.63-1.469-2.799-2.988-5.694-5.093-9.215-2.954-4.941-7.308-11.546-11.157-17.348a1860.77 1860.77 0 0 0-8.043-11.88c-8-11.754-16.273-23.908-22.675-34.733-.56-.94-1.124-1.882-1.69-2.822-2.146-3.578-4.366-7.278-6.227-10.74-1.074-2.002-1.84-3.626-2.336-4.964-1.194-3.219-.938-4.778-.541-6.214.354-1.232.87-2.293 1.418-3.417 1.216-2.498 2.474-5.082 2.26-9.978-.451-8.425-3.92-22.327-7.016-32.53-1.219-3.898-2.582-7.733-3.901-11.44a610.444 610.444 0 0 1-1.973-5.607c-1.437-4.137-2.794-8.044-4.644-11.896-.84-1.754-1.768-3.51-2.664-5.212-2.242-4.248-4.56-8.64-5.607-13.205-.846-3.606-.932-8.765.875-11.569.623-.965 1.416-1.534 2.363-1.69 1.864-.328 3.938.422 5.943 1.147l.288.105c.808.291 1.63.6 2.425.9 1.861.701 3.785 1.426 5.709 1.985 3.805 1.105 7.217 1.5 10.431 1.206.65-.058 1.302-.1 1.993-.145 2.22-.14 4.514-.286 6.636-1.016 2.502-.88 4.472-2.996 5.698-6.123 1.066-2.72 1.476-6.077 1.124-9.21-.384-3.38-1.373-6.41-2.535-9.285h204.68c1.725 4.325 3.083 9.115 4.413 13.808.424 1.497.863 3.044 1.301 4.532 2.88 9.672 5.648 19.138 7.852 28.623.98 4.194 1.516 8.326 2.032 12.323.447 3.452.909 7.02 1.652 10.538 1.001 4.741 4.441 8.41 8.181 12.058 6.878 6.723 15.05 14.878 23.517 24.377 18.6 20.954 37.551 43.474 50.167 66.17 8.266 14.934 14.625 31.873 18.898 50.347 3.984 16.753 8.81 32.065 27.58 49.824 7.629 7.181 16.834 13.189 28.97 18.904 10.82 5.095 22.674 9.352 35.226 13.859 2.786 1 5.667 2.034 8.545 3.08 2.226.823 4.47 1.632 6.732 2.43zM0 43.942v-7.01c3.334-1.874 6.555-4.166 7.44-10.603C8.479 18.295 7.668 7.84 5.52 0h3.038c3.017 8.411 4.33 21.626 3.057 30.747-.973 6.46-4.468 8.386-7.849 10.25-.3.164-.6.33-.898.498l-.165.095c-.96.554-2.01 1.16-2.703 2.352zm0-7.314v-6.96c1.342-1.588 2.388-3.715 2.874-6.811C3.897 15.915 3.469 7.248 1.911 0h3.34c2.154 7.815 2.97 18.266 1.933 26.293C6.327 32.518 3.233 34.797 0 36.628zm0-7.362V0h1.657c1.562 7.23 1.994 15.886.973 22.818-.453 2.885-1.403 4.914-2.63 6.448zM27.336 0h2.626c.993 4.249 3.442 8.183 5.81 11.988.873 1.402 1.776 2.853 2.586 4.291 2.037 3.6 3.45 7.314 5.086 11.614l.171.452c1.577 4.14 3.093 8.217 4.32 12.586 2.726 10.016 4.506 23.016 4.233 30.91-.26 5.984-2.674 8.028-5.008 10.005-.484.41-.941.797-1.384 1.222l-.083.082c-.861.847-1.837 1.808-1.57 4.463.139 1.363.638 3.183 1.484 5.41 1.13 2.973 2.56 6.193 3.942 9.307.392.882.784 1.762 1.167 2.638 3.658 8.422 8.374 17.812 12.934 26.891 2.998 5.967 5.828 11.603 8.267 16.773 3.917 8.302 6.047 14.157 8.107 19.82.897 2.464 1.824 5.01 2.884 7.726 2.755 6.903 7.066 14.95 12.815 23.915 4.428 6.917 10.904 15.945 19.246 26.83 7.223 9.44 14.308 18.153 21.66 26.642 6.687 7.74 19.841 22.41 32.815 33.717 6.496 5.66 11.46 9.288 15.663 11.978-5.505-2.923-11.805-6.632-22.014-15.527-13.692-11.929-27.486-27.63-34.49-35.928-6.665-7.874-13.087-15.92-19.633-24.6-8.63-11.427-15.726-21.547-20.523-29.265-5.358-8.607-9.397-16.376-12.002-23.088-1.245-3.272-2.259-6.258-3.24-9.145-1.778-5.232-3.618-10.643-6.92-18.076-2.497-5.613-5.483-11.806-8.646-18.361-4.381-9.084-8.91-18.476-12.38-26.869a407.19 407.19 0 0 0-1.112-2.597c-2.042-4.74-4.357-10.112-4.621-13.278-.225-2.599.738-3.443 1.67-4.26l.118-.105c.394-.338.8-.656 1.229-.991 2.42-1.895 5.164-4.041 5.496-10.351.36-8.324-1.39-21.539-4.162-31.423-1.227-4.241-2.76-8.234-4.356-12.292-1.75-4.452-3.25-8.133-5.315-11.613-.785-1.327-1.652-2.669-2.49-3.967-1.577-2.44-3.186-4.932-4.38-7.524zm11.66 0h5.907a5.506 5.506 0 0 0-.832.953C42.804 2.777 42.3 5.428 42.3 8.008c0 1.372.142 2.726.39 3.924.927 4.58 3.372 8.888 5.736 13.054.926 1.631 1.883 3.318 2.733 4.993 1.698 3.337 2.938 6.845 4.25 10.56l.464 1.31.46 1.294c1.39 3.9 2.826 7.933 4.035 12.13 3.16 11.345 5.28 24.571 5.16 32.16-.144 5.333-2.108 7.516-4.005 9.628-.551.614-1.073 1.194-1.547 1.847-.683.968-1.533 2.172-.878 5.238.294 1.366.898 3.104 1.796 5.164 1.307 3 2.895 6.205 4.43 9.304.45.907.9 1.815 1.343 2.718 4.616 9.503 10.615 20.144 16.417 30.435 2.922 5.182 5.681 10.075 8.158 14.637 2.818 5.252 5.98 11.234 8.054 15.772 1.106 2.415 1.985 4.574 2.837 6.662.866 2.124 1.683 4.13 2.723 6.398 2.829 6.14 6.778 12.924 12.071 20.742 4.517 6.686 11.775 16.184 20.99 27.465 7.349 9.014 14.492 17.318 21.842 25.388 7.733 8.509 19.4 20.765 31.06 30.833 4.246 3.663 7.886 6.538 11.048 8.861a161.207 161.207 0 0 0 4.767 2.853c-4.09-2.748-9.126-6.482-15.558-12.032-11.646-10.053-23.3-22.297-31.026-30.798-7.344-8.065-14.483-16.364-21.827-25.372-9.207-11.273-16.458-20.759-20.967-27.437-5.282-7.8-9.22-14.565-12.039-20.682-1.035-2.258-1.851-4.262-2.716-6.381-.852-2.093-1.734-4.256-2.843-6.678-2.08-4.549-5.244-10.537-8.066-15.797-2.48-4.566-5.24-9.462-8.162-14.645-5.798-10.285-11.795-20.92-16.405-30.412-.445-.906-.895-1.813-1.344-2.72-1.533-3.095-3.119-6.295-4.421-9.285-.887-2.036-1.482-3.747-1.77-5.084-.617-2.884.142-3.958.81-4.903.46-.634.974-1.206 1.518-1.812 1.857-2.067 3.963-4.41 4.112-9.9.126-7.626-2.005-20.903-5.177-32.285-1.213-4.213-2.652-8.252-4.043-12.157l-.46-1.295-.465-1.309c-1.316-3.728-2.56-7.25-4.271-10.61-.854-1.684-1.815-3.375-2.742-5.01-2.349-4.137-4.776-8.415-5.69-12.93-.82-3.977-.279-8.358 1.315-10.653.344-.494.73-.891 1.156-1.191h5.939c1.938.613 3.924 1.532 5.875 2.437 1.385.642 2.693 1.25 3.957 1.734 4.29 1.632 7.833 2.512 11.151 2.77.653.05 1.303.112 1.992.18 2.446.236 4.977.48 7.38.13 2.594-.381 4.884-1.96 6.45-4.446.543-.865.979-1.81 1.31-2.805h4.253c-.587 4.753-3.403 9.268-8.083 9.995-1.043.159-2.164.184-3.634.079-.986-.07-1.974-.09-2.93-.109a58.398 58.398 0 0 1-2.82-.102c-3.015-.206-6.163-.93-9.908-2.278-1.701-.612-3.41-1.323-5.062-2.01-1.102-.459-2.241-.933-3.365-1.372l-.11-.043c-2.243-.877-4.784-1.873-7.077-1.562-1.227.153-2.26.824-3.068 1.994-1.256 1.818-1.755 4.47-1.755 7.07 0 1.422.15 2.828.407 4.071.926 4.562 3.305 8.864 5.607 13.024.86 1.555 1.75 3.163 2.547 4.758 1.83 3.642 3.091 7.265 4.552 11.46.15.435.304.874.459 1.32l.484 1.382c1.386 3.95 2.818 8.036 4.035 12.266 3.105 11.15 5.316 24.157 5.373 31.629-.005 5.477-1.86 7.78-3.653 10.008-.606.752-1.177 1.461-1.675 2.285-.742 1.271-1.293 2.567-.517 5.564.901 3.516 3.677 8.887 6.126 13.626.493.955.974 1.885 1.423 2.769 5.003 10.002 11.59 21.288 17.96 32.202 2.824 4.836 5.49 9.404 7.92 13.693 3.201 5.718 6.47 11.64 8.683 16.21 1.287 2.652 2.286 4.98 3.253 7.23.85 1.98 1.653 3.85 2.639 5.933 2.895 6.085 6.85 12.735 12.093 20.331 4.53 6.578 11.576 15.632 20.944 26.913 7.37 8.892 14.534 17.098 21.903 25.09 7.743 8.409 19.413 20.533 31.047 30.531 3.924 3.373 7.351 6.096 10.374 8.35a208.462 208.462 0 0 1-1.4-.927c-1.42-.824-2.99-1.74-4.765-2.852l-.004-.002c-4.44-2.78-10.169-6.784-18.091-13.649-12.314-10.673-24.7-23.961-32.92-33.228a587.64 587.64 0 0 1-21.943-26.182c-8.437-10.648-14.8-19.198-18.912-25.411-5.247-7.911-9.288-15.022-12.01-21.138-1.09-2.46-1.917-4.61-2.792-6.886-.815-2.117-1.656-4.304-2.725-6.755-1.847-4.24-4.546-9.6-7.188-14.762-2.514-4.852-5.36-10.092-8.374-15.64-5.248-9.66-10.675-19.65-14.9-28.629l-1.141-2.39c-1.58-3.304-3.216-6.72-4.567-9.919-.967-2.288-1.576-4.16-1.811-5.56-.437-2.631.338-3.586 1.087-4.508l.058-.072c.443-.532.922-1.018 1.429-1.533 1.995-2.027 4.258-4.323 4.435-10.07.16-7.669-1.79-20.594-4.744-31.433-1.29-4.582-2.87-8.933-4.398-13.142l-.376-1.038c-1.58-4.36-2.944-8.126-4.93-11.858-.784-1.478-1.652-2.965-2.49-4.405-2.347-4.026-4.773-8.19-5.672-12.626-.478-2.313-.544-5.233.108-7.692zm13.767 0h4.223c.314.124.628.246.942.366 4.091 1.557 7.482 2.44 10.67 2.776.612.065 1.25.14 1.869.215 2.51.3 5.106.612 7.586.369 2.555-.254 4.8-1.644 6.402-3.726h4.721c-.315.92-.72 1.793-1.216 2.58-1.5 2.384-3.693 3.897-6.17 4.262-2.357.342-4.863.1-7.287-.134-.66-.064-1.343-.13-1.998-.18-3.281-.255-6.79-1.127-11.042-2.744-1.252-.48-2.555-1.084-3.933-1.724C55.95 1.327 54.349.586 52.763 0zm5.332 0h12.179c1.445.148 2.893.22 4.307.092.237-.021.471-.052.702-.092h8.667c-1.521 1.859-3.59 3.093-5.934 3.325-2.439.24-5.014-.068-7.504-.368-.619-.074-1.258-.151-1.874-.216C65.492 2.409 62.141 1.538 58.095 0zm36.182 0h2.58c.522 7.398-3.54 12.306-7.63 13.169-1.443.298-2.931.268-4.067.21-.968-.052-1.934-.034-2.868-.016-.764.014-1.555.03-2.333.006-3.152-.098-6.46-.791-10.411-2.183-1.665-.587-3.34-1.272-4.959-1.935-.958-.393-1.949-.798-2.925-1.178l-.212-.082c-2.192-.856-4.677-1.824-6.912-1.512-1.192.155-2.193.815-2.977 1.962-1.227 1.796-1.71 4.481-1.71 7.096 0 1.506.16 2.987.43 4.261.955 4.59 3.313 8.935 5.595 13.137.891 1.642 1.813 3.34 2.638 5.03 1.76 3.589 3.031 7.291 4.377 11.21.224.653.451 1.317.685 1.992l.572 1.643c1.297 3.728 2.64 7.584 3.807 11.544 3.93 13.811 5.76 26.543 5.798 32.527-.024 5.068-1.692 7.384-3.303 9.623-.555.77-1.078 1.497-1.53 2.325l-.02.039c-.607 1.147-1.296 2.45-.484 5.553.375 1.426 1.048 3.158 2.055 5.295 1.704 3.617 3.778 7.501 5.784 11.258.405.758.81 1.516 1.211 2.272 5.174 9.817 11.812 20.767 18.231 31.357 2.86 4.718 5.562 9.175 8.044 13.384 6.693 11.338 9.981 18.232 13.462 25.531.593 1.242 1.187 2.49 1.804 3.77 3.304 6.73 7.473 13.515 13.12 21.352 6.308 8.767 15.382 19.684 21.882 27.297 6.802 7.982 13.326 15.303 19.944 22.383 7.796 8.354 19.538 20.408 31.213 30.387 3.932 3.361 7.388 6.1 10.448 8.385 2.22 1.448 4.155 2.62 5.88 3.663-4.282-2.91-9.505-6.783-16.06-12.384-11.658-9.967-23.39-22.008-31.177-30.355-6.614-7.075-13.134-14.392-19.931-22.369-6.495-7.608-15.56-18.515-21.86-27.27-5.633-7.816-9.79-14.58-13.082-21.286-.616-1.278-1.21-2.526-1.803-3.767-3.485-7.309-6.777-14.212-13.48-25.566-2.484-4.212-5.187-8.67-8.047-13.39-6.416-10.584-13.05-21.528-18.218-31.335l-1.212-2.274c-2.004-3.752-4.076-7.632-5.774-11.237-.996-2.114-1.66-3.82-2.027-5.22-.768-2.933-.151-4.101.445-5.23l.02-.035c.437-.803.953-1.519 1.499-2.277 1.576-2.19 3.362-4.671 3.387-9.884-.052-8.627-2.959-22.614-5.815-32.65-1.17-3.974-2.514-7.834-3.814-11.569l-.572-1.642c-.234-.674-.46-1.336-.685-1.99-1.35-3.933-2.625-7.648-4.397-11.262-.83-1.697-1.753-3.4-2.647-5.045-2.266-4.174-4.609-8.49-5.55-13.016-.881-4.151-.383-8.68 1.212-11.013.713-1.043 1.615-1.64 2.687-1.78 2.13-.298 4.562.65 6.707 1.487l.212.083c.972.378 1.962.783 2.918 1.176 1.624.665 3.304 1.352 4.978 1.943 3.992 1.406 7.34 2.107 10.535 2.205.788.024 1.585.009 2.353-.005.927-.017 1.886-.035 2.84.015 1.16.061 2.681.091 4.171-.217C95.015 12.392 97.668 5.706 97.28 0h2.184c.186.883.332 1.786.422 2.716.286 2.947-.233 6.084-1.421 8.606-.92 1.952-2.661 4.45-5.734 5.263-2.334.605-4.874.575-7.332.546-.628-.007-1.22-.014-1.815-.011-3.145.02-6.537-.594-10.37-1.878-1.724-.578-3.458-1.275-5.135-1.948a157.17 157.17 0 0 0-3.095-1.217l-.108-.041c-2.066-.78-4.409-1.665-6.511-1.347-1.154.16-2.123.813-2.88 1.935-1.192 1.769-1.662 4.42-1.662 7.03 0 1.589.175 3.162.465 4.51.963 4.556 3.284 8.891 5.53 13.084.84 1.57 1.71 3.195 2.494 4.805 1.89 3.869 3.195 7.665 4.705 12.063l.455 1.322c.3.868.604 1.741.91 2.62 1.388 3.986 2.823 8.109 4.058 12.33 2.746 9.677 5.64 23.113 5.917 31.313.134 5.265-1.44 7.744-2.962 10.14-.568.894-1.104 1.739-1.544 2.712-.614 1.41-1.044 2.834-.082 5.976.461 1.495 1.228 3.305 2.345 5.533 1.632 3.256 3.518 6.67 5.342 9.97.467.846.935 1.693 1.4 2.542 5.642 10.354 12.946 21.957 20.008 33.177 2.753 4.374 5.353 8.505 7.779 12.443 7.714 12.51 11.387 19.884 15.277 27.692l1.117 2.24c3.395 6.668 7.586 13.322 13.192 20.94 6.218 8.46 15.34 19.22 21.898 26.754 6.839 7.872 13.398 15.104 20.05 22.111 7.824 8.254 19.602 20.171 31.281 30.077 3.942 3.343 7.388 6.069 10.45 8.355-.735-.479-1.5-.988-2.404-1.6l-.009-.007a194.583 194.583 0 0 1-5.877-3.661l-.003-.003c-.377-.246-.763-.5-1.158-.764l.027-.048-.852-.505-.016-.01c-4.162-2.819-9.257-6.602-15.695-12.134-11.617-9.985-23.277-22.097-31.01-30.498-7.365-7.985-14.525-16.186-21.89-25.073-9.36-11.271-16.4-20.316-20.92-26.882-5.23-7.577-9.175-14.209-12.06-20.272-.98-2.076-1.782-3.942-2.631-5.918-.968-2.256-1.97-4.588-3.26-7.25-2.22-4.579-5.491-10.507-8.697-16.232-2.431-4.292-5.099-8.861-7.922-13.699-6.366-10.909-12.95-22.188-17.947-32.178-.45-.887-.932-1.818-1.425-2.773-2.439-4.72-5.202-10.067-6.091-13.536-.795-3.067-.093-4.27.47-5.233.48-.796 1.044-1.495 1.64-2.236 1.755-2.178 3.745-4.649 3.749-10.281-.059-7.508-2.275-20.563-5.391-31.747-1.221-4.244-2.655-8.335-4.043-12.292l-.484-1.382-.46-1.318c-1.464-4.21-2.73-7.845-4.572-11.512-.802-1.603-1.694-3.215-2.557-4.774-2.285-4.132-4.648-8.404-5.562-12.9-.839-4.057-.312-8.5 1.281-10.807.739-1.07 1.675-1.681 2.786-1.82 2.192-.295 4.682.68 6.88 1.539l.11.043c1.12.438 2.257.91 3.357 1.368 1.657.69 3.37 1.403 5.08 2.018 3.781 1.36 6.964 2.09 10.017 2.3.952.065 1.912.085 2.84.103.951.02 1.934.038 2.91.107 1.5.107 2.647.081 3.72-.082 2.673-.416 5.008-2.093 6.575-4.727C93.4 4.032 94.037 2.052 94.277 0zM19.405 295.912c2.503.756 4.89 1.213 7.144 1.359l.003-.054c-2.168-.139-4.46-.568-6.86-1.274-.073-.02-.146-.044-.22-.066-.095-.01-.19-.019-.288-.031l.221.066zm196.83 21.641zm51.072 32.96a555.26 555.26 0 0 1-3.36-2.129 226.09 226.09 0 0 0 3.261 2.296l.1-.167zm-60.361-38.952l-.314-.182.303.202.01-.02zM20.83 296.041l.003-.042c-.447-.028-.902-.07-1.36-.122l.22.066c.38.04.761.075 1.137.098z" fill="#000" fill-rule="nonzero"/>
+</svg> \ No newline at end of file
diff --git a/views/intro.css b/views/intro.css
new file mode 100644
index 0000000..bcda35f
--- /dev/null
+++ b/views/intro.css
@@ -0,0 +1,33 @@
+.hero-inner {
+ position: fixed;
+ inset: 0;
+ background-image: url('./hero.svg');
+ background-position: 100% 50%;
+ background-size: cover;
+ background-repeat: repeat;
+ background-attachment: scroll;
+ z-index: -1;
+}
+
+.hero {
+ color: #fff;
+ background: linear-gradient(-45deg, #64f20c, #5cfbc6, #3149ff, #63f777);
+ background-size: auto;
+ background-size: 400% 400%;
+ animation: Gradient 10s ease infinite;
+ position: fixed;
+ inset: 0;
+ z-index: -2;
+}
+
+@keyframes Gradient {
+ 0% {
+ background-position: 0 50%;
+ }
+ 50% {
+ background-position: 100% 50%;
+ }
+ 100% {
+ background-position: 0 50%;
+ }
+} \ No newline at end of file
diff --git a/views/intro.html b/views/intro.html
new file mode 100644
index 0000000..f298cb7
--- /dev/null
+++ b/views/intro.html
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<html lang="en" style="background:#000000;margin:0;height:100%;width:100%;">
+<head>
+ <script>if (typeof require !== "undefined") {native = true;try{global.native = true;}catch(e){}} else {native = false;try{global.native = false;}catch(e){}}if (!native){global = window;}if (native){kresources=require('@electron/remote').getCurrentWindow().resources;trackEvent=require('@electron/remote').getCurrentWindow().trackEvent;}info=(_a,b)=>{console.info(b);};warn=(_a,b)=>{console.warn(b);};error=(_a,b)=>{console.error(b);};</script>
+ <script src="../lang/loader.js"></script>
+ <script src="../scenario/client.js"></script>
+ <meta charset="UTF-8">
+ <title>Kartik</title>
+ <link rel="stylesheet" href="common/fonts.css">
+ <link rel="stylesheet" href="intro.css">
+ <script src="../crash/client.js"></script>
+ <script>
+ require('@electron/remote').getCurrentWindow().dstate = lang.discord.intro[0];
+ require('@electron/remote').getCurrentWindow().ddetails = lang.discord.intro[1];
+ </script>
+ <script>
+ if (!require('@electron/remote').getCurrentWindow().debug) {
+ document.write('<link rel="stylesheet" href="common/mouse.css">');
+ }
+ </script>
+</head>
+<body style="background:#000000;margin:0;height:100%;width:100%;">
+ <script>info("MainWindow", "Rendering initial frame...");
+
+ if (native) {
+ scale=require('@electron/remote').getCurrentWindow().scale;document.body.style.zoom=scale;
+ }
+
+ </script>
+ <script src="./script/intro_media.js"></script>
+ <div id="box" style="display:none;position:fixed;inset:0;">
+ <div class="hero">
+ <div class="hero-inner"></div>
+ </div>
+ <div style="margin-left: auto;margin-right: auto;width: max-content;margin-top: 100px;">
+ <img alt="full-logo" src="../logo/full.png" style="height: 96px;">
+ </div>
+ <div id="intro" style="position: fixed;bottom: 0;height: 120px;width: 100%;background: rgba(0, 0, 0, .5);" class="clickable" onclick="ev = document.createEvent('Event');ev.initEvent('keypress');ev.which = ev.keyCode = 13;document.body.dispatchEvent(ev);">
+ <span id="progress" style="color: white;position: fixed;left: 0;right: 0;text-align: center;bottom: 50px;">
+ <script>document.write(lang.intro[0]);</script>
+ </span>
+ <script src="./script/intro_message.js"></script>
+ </div>
+ </div>
+
+ <script src="./script/intro_global.js"></script>
+ <script>info("LoadWindow", "Launching start-up procedure");</script>
+
+ <script src="./script/client_fullscreen.js"></script>
+</body>
+</html>
diff --git a/views/load.html b/views/load.html
new file mode 100644
index 0000000..b4fe8c2
--- /dev/null
+++ b/views/load.html
@@ -0,0 +1,52 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>Kartik</title>
+ <style>
+
+ * {
+ -webkit-app-region: drag !important;
+ }
+
+ @font-face {
+ font-family: "Milliard SB";
+ src: url("./common/load-version.otf");
+ font-weight: normal;
+ }
+
+ @font-face {
+ font-family: "Milliard";
+ src: url("./common/load-channel.otf");
+ font-weight: normal;
+ }
+
+ </style>
+</head>
+<body style="overflow:hidden;margin:0;padding:0;background-color:#4b4e50;">
+ <img src="splash.png" style="width:100%;">
+ <span style="position: fixed;color: white;z-index: 99;top: 122px;font-size: 18px;display: inline-block;right: 309px;font-family: 'Milliard SB', sans-serif;">
+ <script>
+ switch (require('../package.json').channel) {
+ case "git":
+ document.write(`<span style="font-family: 'Milliard', sans-serif;">TRUNK&nbsp;</span>`);
+ break;
+ case "nightly":
+ document.write(`<span style="font-family: 'Milliard', sans-serif;">NIGHTLY&nbsp;</span>`);
+ break;
+ case "beta":
+ document.write(`<span style="font-family: 'Milliard', sans-serif;">BETA&nbsp;</span>`);
+ break;
+ case "eap":
+ document.write(`<span style="font-family: 'Milliard', sans-serif;">EAP&nbsp;</span>`);
+ break;
+ default:
+ break;
+ }
+ </script>
+ <script>
+ document.write(require('../package.json').version.toUpperCase());
+ </script>
+ </span>
+</body>
+</html>
diff --git a/views/loader.html b/views/loader.html
new file mode 100644
index 0000000..c1db38b
--- /dev/null
+++ b/views/loader.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html lang="en" style="background:#000000;margin:0;height:100%;width:100%;">
+<head>
+ <script>if (typeof require !== "undefined") {native = true;try{global.native = true;}catch(e){}} else {native = false;try{global.native = false;}catch(e){}}if (!native){global = window;}if (native){kresources=require('@electron/remote').getCurrentWindow().resources;trackEvent=require('@electron/remote').getCurrentWindow().trackEvent;}info=(_a,b)=>{console.info(b);};warn=(_a,b)=>{console.warn(b);};error=(_a,b)=>{console.error(b);};</script>
+ <script src="../lang/loader.js"></script>
+ <script src="../scenario/client.js"></script>
+ <meta charset="UTF-8">
+ <title>Kartik</title>
+ <link rel="stylesheet" href="common/fonts.css">
+ <script>
+ if (!require('@electron/remote').getCurrentWindow().debug) {
+ document.write('<link rel="stylesheet" href="common/mouse.css">');
+ }
+ </script>
+</head>
+<body style="background:#000000;margin:0;height:100%;width:100%;">
+ <script>info("MainWindow", "Rendering initial frame...");
+
+ if (native) {
+ scale=require('@electron/remote').getCurrentWindow().scale;document.body.style.zoom=scale;
+ }
+
+ </script>
+ <div style="display:flex;align-items:center;justify-content:center;inset: 0;height: 100%;">
+ <img src="../logo/vendor.png" id="vendor" style="width:128px;transform: scale(1);transition: transform 200ms;">
+ </div>
+ <script>
+ if (native) {
+ document.write(`<div style="position: fixed;bottom: 20px;right: 20px;font-size: 12px;padding: 10px 20px;background: lightblue;border-radius: 5px;transition: all 200ms;" id="updates">${lang.updates.wait}</div>`);
+ } else {
+ document.write(`<div style="position: fixed;bottom: 20px;right: 20px;font-size: 12px;padding: 10px 20px;background: black;border: 1px solid white;border-radius: 5px;transition: all 200ms;color:white;" id="updates">Kartik <b>Mobile</b></div>`);
+ }
+ </script>
+ <div id="warning" style="opacity:0;transition:opacity 200ms;position: fixed;background: darkred;color: white;padding: 20px 10px;max-width: 40vw;text-align: center;border-radius: 10px;left: 20vw;top: 30vh;"><h2><script>document.write(lang.updates.warn[0]);</script></h2><p><script>document.write(lang.updates.warn[1]);</script></p></div>
+
+ <script src="./script/loader_global.js"></script>
+ <script>info("LoadWindow", "Launching start-up procedure");</script>
+
+ <script src="./script/client_fullscreen.js"></script>
+</body>
+</html>
diff --git a/views/menu.css b/views/menu.css
new file mode 100644
index 0000000..d6fc60e
--- /dev/null
+++ b/views/menu.css
@@ -0,0 +1,150 @@
+.services li .item {
+ padding: 4px;
+ font-size: 20px;
+ width: 300px;
+ border-color: transparent;
+ margin-right: auto !important;
+ display: block;
+ text-align: left;
+ border-left-width: 3px;
+ border-left-style: solid;
+ border-color: transparent;
+}
+
+.services {
+ position: fixed;
+ left: 0;
+ bottom: 0;
+ right: 0;
+ top: 150px;
+ padding-top: 50px;
+}
+
+.services li {
+ color: transparent;
+ margin-top: 5px;
+ margin-bottom: 5px;
+}
+
+.services li .item a {
+ color: white !important;
+ text-decoration: none;
+ transition: color 200ms;
+}
+
+.services li.selected .item a {
+ text-decoration: none;
+}
+
+.services:not(.services-settings) li.selected .item {
+ border-color: #00ff99;
+ animation-direction: alternate-reverse;
+ animation-duration: 3s;
+ animation-name: border-overlay;
+ animation-fill-mode: both;
+ animation-iteration-count: infinite;
+}
+
+.services.services-settings li.selected .item {
+ border-color: #00ff99;
+ background-color: rgba(0, 255, 153, 0.25);
+ animation-direction: alternate-reverse;
+ animation-duration: 3s;
+ animation-name: border-overlay2;
+ animation-fill-mode: both;
+ animation-iteration-count: infinite;
+ border-top-right-radius: 10px;
+ border-bottom-right-radius: 10px;
+}
+
+@keyframes border-overlay {
+ 0% {
+ border-color: #00ff66;
+ }
+ 100% {
+ border-color: #00ccff;
+ }
+}
+
+@keyframes border-overlay2 {
+ 0% {
+ border-color: #00ff66;
+ background-color: rgba(0, 255, 102, 0.25);
+ }
+ 100% {
+ border-color: #00ccff;
+ background-color: rgba(0, 204, 255, 0.25);
+ }
+}
+
+.services li .item {
+ margin-left: 12.5px;
+ transition: margin-left 200ms, background-color 200ms, border 200ms;
+}
+
+.services li .help {
+ color: white;
+ margin-left: 5px;
+ display: inline-block;
+ font-size: 12px;
+ position: relative;
+ top: -2.5px;
+ opacity: 0;
+ transition: opacity 200ms;
+}
+
+.services li .help.exit {
+ color: #ff6969;
+}
+
+.services li.selected .help {
+ opacity: 1;
+}
+
+#copyright {
+ color: rgba(255, 255, 255, .5);
+ position: fixed;
+ bottom: 30px;
+ right: 30px;
+ text-align: right;
+ font-size: 12px;
+}
+
+.setting-status {
+ float: right;
+}
+
+#notice {
+ color: white;
+ position: fixed;
+ top: 20px;
+ right: 20px;
+ width: 180px;
+ text-align: right;
+ font-size: 14px;
+}
+
+#scroll {
+ display: block;
+ text-align: center;
+ color: white;
+ padding-top: 100vh;
+ padding-bottom: 100vh;
+}
+
+.cred-title {
+ color: yellow;
+}
+
+.cred-content {
+ color: white;
+}
+
+.technical {
+ color: cyan;
+}
+
+.item-icon {
+ filter: invert(1);
+ vertical-align: middle;
+} \ No newline at end of file
diff --git a/views/menu.html b/views/menu.html
new file mode 100644
index 0000000..7f7256a
--- /dev/null
+++ b/views/menu.html
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <script>if (typeof require !== "undefined") {native = true;try{global.native = true;}catch(e){}} else {native = false;try{global.native = false;}catch(e){}}if (!native){global = window;}if (native){kresources=require('@electron/remote').getCurrentWindow().resources;trackEvent=require('@electron/remote').getCurrentWindow().trackEvent;}info=(_a,b)=>{console.info(b);};warn=(_a,b)=>{console.warn(b);};error=(_a,b)=>{console.error(b);};</script>
+ <script src="../lang/loader.js"></script>
+ <script src="../scenario/client.js"></script>
+ <meta charset="UTF-8">
+ <link rel="stylesheet" href="common/fonts.css">
+ <link rel="stylesheet" href="menu.css">
+ <title>Kartik</title>
+ <script src="../crash/client.js"></script>
+ <script src="../sfx/sfx.js"></script>
+ <link rel="stylesheet" href="rain/rainstyle.css">
+ <script>
+ scenar("intro", "neutral");
+ if (!require('@electron/remote').getCurrentWindow().debug) {
+ document.write('<link rel="stylesheet" href="common/mouse.css">');
+ }
+ </script>
+</head>
+<body class="back-row-toggle splat-toggle">
+ <script>info("MainWindow", "Rendering initial frame...");
+
+ if (native) {
+ scale=require('@electron/remote').getCurrentWindow().scale;document.body.style.zoom=scale;
+ }
+
+ </script>
+ <div id="box" style="display: none;background:#222;position:fixed;top:0;left:0;right:0;bottom:0;">
+ <div class="rain front-row"></div>
+ <div class="rain back-row"></div>
+
+ <div style="width: 100%;height: 100%;background-color: #001743;background-image: url('./menu.jpg');background-size: cover;position: fixed;z-index: -1;">
+ <img alt="full-logo" src="../logo/full.png" style="margin-left: 50px;margin-top: 30px;height: 96px;">
+ </div>
+
+ <div class="services">
+ <div class="items">
+ <ul>
+ <li class="selected"><span class="item"><a href="#" id="single"><img class="item-icon" src="../icons/singleplayer.svg"> <script>document.write(lang.menu.titles[0])</script></a></span></li>
+ <script id="prefill">
+ if (require('@electron/remote').getCurrentWindow().online) {
+ document.write(`<li><span class="item"><a href="#" id="play"><img class="item-icon" src="../icons/local.svg"> ${lang.online.menu.local}</a></span></li>`)
+ document.write(`<li><span class="item"><a href="#" id="online"><img class="item-icon" src="../icons/online.svg"> ${lang.online.menu.online} <span style="font-size: 10px;vertical-align: middle;display: inline-block;border-radius: 999px;padding: 2px 5px;background: #9c6500;">BETA</span></a></span></li>`);
+ document.write(`<li><span class="item"><a href="#" id="settings"><img class="item-icon" src="../icons/settings.svg"> ${lang.menu.titles[2]}</a></span></li>`);
+ } else {
+ document.write(`<li><span class="item"><a href="#" id="play"><img class="item-icon" src="../icons/local.svg"> ${lang.online.menu.local}</a></span></li>`)
+ document.write(`<li><span class="item"><a href="#" id="settings"><img class="item-icon" src="../icons/settings.svg"> ${lang.menu.titles[2]}</a></span></li>`);
+ }
+ document.getElementById('prefill').outerHTML = "";
+ </script>
+ <li><span class="item"><a href="#" id="quit"><img class="item-icon" src="../icons/exit.svg"> <script>document.write(lang.menu.titles[4])</script></a></span></li>
+ </ul>
+ </div>
+ </div>
+
+ <div style="font-family:monospace;position: fixed;right: 16px;top: 16px;color: white;font-size: 10px;text-align:left;z-index:999999999;" id="gpuinfo">
+ <b><u>GPU Supported Features:</u></b><br>
+ <div id="gpuinfo-outer">Hold Shift to view</div>
+ <div id="gpuinfo-inner" style="opacity:0;">
+ <script src="./script/menu_gpuinfo.js"></script>
+ </div>
+ <script>
+
+ if (require('@electron/remote').getCurrentWindow().update === "stable") {
+ document.getElementById('gpuinfo').style.display = "none";
+ }
+
+ </script>
+ </div>
+
+ <span id="copyright">© <script src="./script/menu_copyright.js"></script></span>
+ </div>
+
+ <script src="./script/menu_music.js"></script>
+</body>
+<script src="./script/menu_global.js"></script>
+<script src="./rain/rainscript.js"></script>
+<script src="./script/client_fullscreen.js"></script>
+</html>
diff --git a/views/menu.jpg b/views/menu.jpg
new file mode 100644
index 0000000..0ac1665
--- /dev/null
+++ b/views/menu.jpg
Binary files differ
diff --git a/views/online.html b/views/online.html
new file mode 100644
index 0000000..ab8e61d
--- /dev/null
+++ b/views/online.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html lang="en" style="background:#000000;margin:0;height:100%;width:100%;">
+<head>
+ <script>if (typeof require !== "undefined") {native = true;try{global.native = true;}catch(e){}} else {native = false;try{global.native = false;}catch(e){}}if (!native){global = window;}if (native){kresources=require('@electron/remote').getCurrentWindow().resources;trackEvent=require('@electron/remote').getCurrentWindow().trackEvent;}info=(_a,b)=>{console.info(b);};warn=(_a,b)=>{console.warn(b);};error=(_a,b)=>{console.error(b);};</script>
+ <script src="../lang/loader.js"></script>
+ <script src="../scenario/client.js"></script>
+ <meta charset="UTF-8">
+ <title>Kartik</title>
+ <link rel="stylesheet" href="common/fonts.css">
+ <script src="../crash/client.js"></script>
+ <script src="../sfx/sfx.js"></script>
+ <script>
+ if (!require('@electron/remote').getCurrentWindow().debug) {
+ document.write('<link rel="stylesheet" href="common/mouse.css">');
+ }
+ </script>
+ <script src="./script/online_play.js"></script>
+</head>
+<body style="background:#000000;margin:0;height:100%;width:100%;color:white;">
+ <script>info("MainWindow", "Rendering initial frame...");
+
+ if (native) {
+ scale=require('@electron/remote').getCurrentWindow().scale;document.body.style.zoom=scale;
+ }
+
+ </script>
+ <div id="box" style="display: none;background:#222;position:fixed;top:0;left:0;right:0;bottom:0;">
+ <div style="position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;">
+ <div style="text-align: center;">
+ <p style="font-size:10px;" id="progress"><script>document.write(lang.online.disconnected)</script></p>
+ <p style="font-size:15px;"><script>document.write(atob(location.hash.substr(1)))</script></p>
+ </div>
+ </div>
+ </div>
+
+ <script src="./script/win_music.js"></script>
+
+ <script src="./script/win_global.js"></script>
+ <script src="./script/client_fullscreen.js"></script>
+</body>
+</html>
diff --git a/views/rain/rainscript.js b/views/rain/rainscript.js
new file mode 100644
index 0000000..1dabb23
--- /dev/null
+++ b/views/rain/rainscript.js
@@ -0,0 +1,44 @@
+var makeItRain = function() {
+ //clear out everything
+ $('.rain').empty();
+
+ var increment = 0;
+ var drops = "";
+ var backDrops = "";
+
+ while (increment < 100) {
+ //couple random numbers to use for various randomizations
+ //random number between 98 and 1
+ var randoHundo = (Math.floor(Math.random() * (98 - 1 + 1) + 1));
+ //random number between 5 and 2
+ var randoFiver = (Math.floor(Math.random() * (5 - 2 + 1) + 2));
+ //increment
+ increment += randoFiver;
+ //add in a new raindrop with various randomizations to certain CSS properties
+ drops += '<div class="drop" style="left: ' + increment + '%; bottom: ' + (randoFiver + randoFiver - 1 + 100) + '%; animation-delay: 0.' + randoHundo + 's; animation-duration: 0.5' + randoHundo + 's;"><div class="stem" style="animation-delay: 0.' + randoHundo + 's; animation-duration: 0.5' + randoHundo + 's;"></div><div class="splat" style="animation-delay: 0.' + randoHundo + 's; animation-duration: 0.5' + randoHundo + 's;"></div></div>';
+ backDrops += '<div class="drop" style="right: ' + increment + '%; bottom: ' + (randoFiver + randoFiver - 1 + 100) + '%; animation-delay: 0.' + randoHundo + 's; animation-duration: 0.5' + randoHundo + 's;"><div class="stem" style="animation-delay: 0.' + randoHundo + 's; animation-duration: 0.5' + randoHundo + 's;"></div><div class="splat" style="animation-delay: 0.' + randoHundo + 's; animation-duration: 0.5' + randoHundo + 's;"></div></div>';
+ }
+
+ $('.rain.front-row').append(drops);
+ $('.rain.back-row').append(backDrops);
+}
+
+$('.splat-toggle.toggle').on('click', function() {
+ $('body').toggleClass('splat-toggle');
+ $('.splat-toggle.toggle').toggleClass('active');
+ makeItRain();
+});
+
+$('.back-row-toggle.toggle').on('click', function() {
+ $('body').toggleClass('back-row-toggle');
+ $('.back-row-toggle.toggle').toggleClass('active');
+ makeItRain();
+});
+
+$('.single-toggle.toggle').on('click', function() {
+ $('body').toggleClass('single-toggle');
+ $('.single-toggle.toggle').toggleClass('active');
+ makeItRain();
+});
+
+makeItRain(); \ No newline at end of file
diff --git a/views/rain/rainstyle.css b/views/rain/rainstyle.css
new file mode 100644
index 0000000..fef63cf
--- /dev/null
+++ b/views/rain/rainstyle.css
@@ -0,0 +1,155 @@
+.rain {
+ position: absolute;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 2;
+}
+
+.rain.back-row {
+ display: none;
+ z-index: 1;
+ bottom: 60px;
+ opacity: 0.5;
+}
+
+body.back-row-toggle .rain.back-row {
+ display: block;
+}
+
+.drop {
+ position: absolute;
+ bottom: 100%;
+ width: 15px;
+ height: 120px;
+ pointer-events: none;
+ animation: drop 0.5s linear infinite;
+}
+
+@keyframes drop {
+ 0% {
+ transform: translateY(0vh);
+ }
+ 75% {
+ transform: translateY(90vh);
+ }
+ 100% {
+ transform: translateY(90vh);
+ }
+}
+
+.stem {
+ width: 1px;
+ height: 60%;
+ margin-left: 7px;
+ background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.25));
+ animation: stem 0.5s linear infinite;
+}
+
+@keyframes stem {
+ 0% {
+ opacity: 1;
+ }
+ 65% {
+ opacity: 1;
+ }
+ 75% {
+ opacity: 0;
+ }
+ 100% {
+ opacity: 0;
+ }
+}
+
+.splat {
+ width: 15px;
+ height: 10px;
+ border-top: 2px dotted rgba(255, 255, 255, 0.5);
+ border-radius: 50%;
+ opacity: 1;
+ transform: scale(0);
+ animation: splat 0.5s linear infinite;
+ display: none;
+}
+
+body.splat-toggle .splat {
+ display: block;
+}
+
+@keyframes splat {
+ 0% {
+ opacity: 1;
+ transform: scale(0);
+ }
+ 80% {
+ opacity: 1;
+ transform: scale(0);
+ }
+ 90% {
+ opacity: 0.5;
+ transform: scale(1);
+ }
+ 100% {
+ opacity: 0;
+ transform: scale(1.5);
+ }
+}
+
+.toggles {
+ position: absolute;
+ top: 0;
+ left: 0;
+ z-index: 3;
+}
+
+.toggle {
+ position: absolute;
+ left: 20px;
+ width: 50px;
+ height: 50px;
+ line-height: 51px;
+ box-sizing: border-box;
+ text-align: center;
+ font-family: sans-serif;
+ font-size: 10px;
+ font-weight: bold;
+ background-color: rgba(255, 255, 255, 0.2);
+ color: rgba(0, 0, 0, 0.5);
+ border-radius: 50%;
+ cursor: pointer;
+ transition: background-color 0.3s;
+}
+
+.toggle:hover {
+ background-color: rgba(255, 255, 255, 0.25);
+}
+
+.toggle:active {
+ background-color: rgba(255, 255, 255, 0.3);
+}
+
+.toggle.active {
+ background-color: rgba(255, 255, 255, 0.4);
+}
+
+.splat-toggle {
+ top: 20px;
+}
+
+.back-row-toggle {
+ top: 90px;
+ line-height: 12px;
+ padding-top: 14px;
+}
+
+.single-toggle {
+ top: 160px;
+}
+
+body.single-toggle .drop {
+ display: none;
+}
+
+body.single-toggle .drop:nth-child(10) {
+ display: block;
+} \ No newline at end of file
diff --git a/views/script/client_fullscreen.js b/views/script/client_fullscreen.js
new file mode 100644
index 0000000..80d745c
--- /dev/null
+++ b/views/script/client_fullscreen.js
@@ -0,0 +1,9 @@
+document.addEventListener('keydown', function(e) {
+ if (e.key === "F1" || e.key === "F10" || e.key === "F11") { // F11/F1/F10
+ if (!require('@electron/remote').getCurrentWindow().fullScreen && require('@electron/remote').getCurrentWindow().fullScreenable) {
+ require('@electron/remote').getCurrentWindow().setFullScreen(true);
+ } else {
+ require('@electron/remote').getCurrentWindow().setFullScreen(false);
+ }
+ }
+}) \ No newline at end of file
diff --git a/views/script/core_chart.js b/views/script/core_chart.js
new file mode 100644
index 0000000..179dd82
--- /dev/null
+++ b/views/script/core_chart.js
@@ -0,0 +1,67 @@
+setInterval(() => {
+ try {
+ currentMemory = process.memoryUsage().rss;
+ currentMemoryMib = (((currentMemory)/1024)/1024).toFixed(2);
+ if ((((currentMemory)/1024)/1024) > 250) {
+ throw new Error("Out of memory");
+ }
+
+ file = webview.getURL().split("/")[webview.getURL().split("/").length - 1];
+ activity = lang.discord.game[0];
+ enableActivity = true;
+ eaid = "";
+
+ switch (file) {
+ case "game.html?online":
+ activity = lang.online.discord;
+ break;
+ case "game.html?sp":
+ activity = lang.discord.game[1];
+ break;
+ case "game.html":
+ activity = lang.discord.game[2];
+ break;
+ case "intro.html":
+ activity = lang.discord.intro[1];
+ break;
+ case "settings.html":
+ activity = lang.discord.settings[1];
+ break;
+ case "credits.html":
+ activity = lang.discord.credits[1];
+ break;
+ case "online.html":
+ activity = lang.online.discord2;
+ break;
+ case "menu.html":
+ case "win.html":
+ activity = lang.discord.credits[0];
+ break;
+ case "loader.html":
+ enableActivity = false;
+ break;
+ }
+
+ if (file.includes("online.html")) {
+ activity = lang.online.discord2;
+ }
+
+ if (enableActivity) {
+ eaid = " - " + activity;
+ } else {
+ eaid = "";
+ }
+
+ if (require('./package.json').channel === "git") {
+ document.getElementById('experimental-ramusage').innerText = currentMemoryMib;
+ document.title="Kartik Trunk " +require('./package.json').version + eaid;
+ } else {
+ if (require('./package.json').channel !== "stable") {
+ document.getElementById('experimental-ramusage').innerText = currentMemoryMib;
+ document.title="Kartik"+require('@electron/remote').getCurrentWindow().channel+require('./package.json').version + eaid;
+ } else {
+ document.title="Kartik"+require('@electron/remote').getCurrentWindow().channel+require('./package.json').version + eaid;
+ }
+ }
+ } catch (e) {}
+}, 1000) \ No newline at end of file
diff --git a/views/script/core_fullscreen.js b/views/script/core_fullscreen.js
new file mode 100644
index 0000000..69f9e45
--- /dev/null
+++ b/views/script/core_fullscreen.js
@@ -0,0 +1,9 @@
+$(document).keydown(function(e) {
+ if (e.keyCode === 122 || e.keyCode === 121 || e.keyCode === 112) { // F11/F1/F10
+ if (!require('@electron/remote').getCurrentWindow().fullScreen && require('@electron/remote').getCurrentWindow().fullScreenable) {
+ require('@electron/remote').getCurrentWindow().setFullScreen(true);
+ } else {
+ require('@electron/remote').getCurrentWindow().setFullScreen(false);
+ }
+ }
+}) \ No newline at end of file
diff --git a/views/script/core_head.js b/views/script/core_head.js
new file mode 100644
index 0000000..be27c87
--- /dev/null
+++ b/views/script/core_head.js
@@ -0,0 +1,31 @@
+if (native) {global.$ = require('jquery');} else {var script = document.createElement('script');script.src = './webinit/jquery.js';script.type = 'text/javascript';document.getElementsByTagName('head')[0].appendChild(script);}
+
+if (native && require('@electron/remote').getCurrentWindow().debug) {
+ document.write('<link rel="stylesheet" href="' + atob("Li92aWV3cy9jb21tb24vZGVidWcuY3Nz") + '">');
+}
+
+if (native) {
+ var ipcRenderer = require('electron').ipcRenderer;
+ ipcRenderer.on('scenario', function (event,obj) {
+ try {
+ console.log(kresources.scenario.voice[obj.lang] + "/" + obj.namespace + obj.id + ".mp3");
+ a = new Audio(kresources.scenario.voice[obj.lang] + "/" + obj.namespace + obj.id + ".mp3");
+ a.onended = () => {
+ setTimeout(() => {
+ $("#message").fadeOut(200);
+ if (typeof obj.cb == "function") {
+ obj.cb();
+ }
+ }, 3000)
+ }
+ a.play();
+ } catch (e) {
+ console.error(e);
+ obj.cb();
+ }
+
+ document.getElementById('message-text').innerText = obj.message;
+ document.getElementById('message-character-inner').src = kresources.scenario.averi[obj.emote];
+ $("#message").fadeIn(200);
+ });
+}
diff --git a/views/script/core_music.js b/views/script/core_music.js
new file mode 100644
index 0000000..d1e8619
--- /dev/null
+++ b/views/script/core_music.js
@@ -0,0 +1,109 @@
+global.csng = null;
+global.csp1 = null;
+global.csp2 = null;
+global.cspn = 1;
+const musicIpc = require('electron').ipcRenderer;
+
+musicIpc.on('setmusic', (event, args) => {
+ song = args;
+
+ if (song !== null && song !== "" && csng !== song) {
+ if (cspn === 1) {
+ if (csp1 !== null) {
+ csi1 = setInterval(() => {
+ if (csp1.volume <= 0.05) {
+ csp1.pause();
+ clearInterval(csi1);
+ return;
+ }
+ csp1.volume = csp1.volume - 0.05;
+ }, 100)
+ }
+ csp2 = new Audio(song);
+ csp2.volume = 0;
+ csp2.loop = true;
+ csp2.play();
+ csi2 = setInterval(() => {
+ if (csp2.volume >= 0.95) {
+ clearInterval(csi2);
+ return;
+ }
+ csp2.volume = csp2.volume + 0.05;
+ }, 100)
+ csng = song;
+ cspn = 2;
+ } else {
+ if (csp2 !== null) {
+ csi2 = setInterval(() => {
+ if (csp2.volume <= 0.05) {
+ csp2.pause();
+ clearInterval(csi2);
+ return;
+ }
+ csp2.volume = csp2.volume - 0.05;
+ }, 100)
+ }
+ csp1 = new Audio(song);
+ csp1.volume = 0;
+ csp1.loop = true;
+ csp1.play();
+ csi1 = setInterval(() => {
+ if (csp1.volume >= 0.95) {
+ clearInterval(csi1);
+ return;
+ }
+ csp1.volume = csp1.volume + 0.05;
+ }, 100)
+ csng = song;
+ cspn = 1;
+ }
+ }
+})
+
+musicIpc.on('fademusic', (event) => {
+ if (cspn === 1) {
+ if (csp1 !== null) {
+ csi1 = setInterval(() => {
+ if (csp1.volume <= 0.5) {
+ clearInterval(csi1);
+ return;
+ }
+ csp1.volume = csp1.volume - 0.05;
+ }, 100)
+ }
+ } else {
+ if (csp2 !== null) {
+ csi2 = setInterval(() => {
+ if (csp2.volume <= 0.5) {
+ clearInterval(csi2);
+ return;
+ }
+ csp2.volume = csp2.volume - 0.05;
+ }, 100)
+ }
+ }
+})
+
+musicIpc.on('unfademusic', (event) => {
+ if (cspn === 1) {
+ if (csp1 !== null) {
+ csi1 = setInterval(() => {
+ if (csp1.volume >= 0.95) {
+ clearInterval(csi1);
+ return;
+ }
+ csp1.volume = csp1.volume + 0.05;
+ }, 100)
+ }
+ } else {
+ if (csp2 !== null) {
+ csi2 = setInterval(() => {
+ if (csp2.volume >= 0.95) {
+ clearInterval(csi2);
+ return;
+ }
+ csp2.volume = csp2.volume + 0.05;
+ }, 100)
+ }
+ }
+}) \ No newline at end of file
diff --git a/views/script/core_stats.js b/views/script/core_stats.js
new file mode 100644
index 0000000..5c7314f
--- /dev/null
+++ b/views/script/core_stats.js
@@ -0,0 +1,47 @@
+const fs = require('fs');
+const homedir = require('@electron/remote').getCurrentWindow().homedir;
+const defaultStats = {
+ times: {
+ game: 0,
+ single: 0,
+ local: 0,
+ online: 0
+ },
+ results: {
+ wins: 0,
+ loses: 0
+ },
+ ingame: {
+ walls: 0,
+ laps: 0,
+ turns: 0
+ }
+}
+
+if (!fs.existsSync(homedir + "/.kartik/stats.json")) {
+ fs.writeFileSync(homedir + "/.kartik/stats.json", JSON.stringify(defaultStats));
+} else {
+ try {
+ JSON.parse(fs.readFileSync(homedir + "/.kartik/stats.json").toString());
+ } catch (e) {
+ fs.writeFileSync(homedir + "/.kartik/stats.json", JSON.stringify(defaultStats));
+ }
+}
+
+class Stats {
+ static add(category, counter, quantity) {
+ try {
+ let current = JSON.parse(fs.readFileSync(homedir + "/.kartik/stats.json").toString());
+ current[category][counter] = current[category][counter] + quantity;
+ fs.writeFileSync(homedir + "/.kartik/stats.json", JSON.stringify(current));
+ } catch (e) {}
+ }
+
+ static set(category, counter, value) {
+ try {
+ let current = JSON.parse(fs.readFileSync(homedir + "/.kartik/stats.json").toString());
+ current[category][counter] = value;
+ fs.writeFileSync(homedir + "/.kartik/stats.json", JSON.stringify(current));
+ } catch (e) {}
+ }
+} \ No newline at end of file
diff --git a/views/script/core_viewer.js b/views/script/core_viewer.js
new file mode 100644
index 0000000..d22ada9
--- /dev/null
+++ b/views/script/core_viewer.js
@@ -0,0 +1,23 @@
+const webview = document.getElementById('wb');
+
+webview.addEventListener('dom-ready', () => {
+ require('@electron/remote').getCurrentWindow().log(" * " + webview.getURL());
+ try {
+ if (require('@electron/remote').getCurrentWindow().debug) {
+ info("MainWindow", "Opening debugging tools...");
+ webview.openDevTools();
+ }
+ } catch (e) {}
+})
+
+webview.addEventListener('dom-ready', () => {
+ setInterval(() => {
+ try {
+ if (webview.isCrashed()) {
+ require('@electron/remote').getCurrentWindow().log(" * Compositing engine crashed!");
+ error("MainWindow", "Subcontainer crashed");
+ crash(new Error("Webview crashed"));
+ }
+ } catch (e) {}
+ }, 2000)
+}) \ No newline at end of file
diff --git a/views/script/credits_global.js b/views/script/credits_global.js
new file mode 100644
index 0000000..58946ff
--- /dev/null
+++ b/views/script/credits_global.js
@@ -0,0 +1,54 @@
+let menuOpen = true;
+
+if (native) {global.$ = require('jquery');} else {var script = document.createElement('script');script.src = '../webinit/jquery.js';script.type = 'text/javascript';document.getElementsByTagName('head')[0].appendChild(script);}
+
+keysEnabled = true;
+$(document).keydown(function(e) {
+ if (keysEnabled) {
+ if (e.keyCode === 13 || e.keyCode === 88 || e.keyCode === 32 || e.keyCode === 27 || e.keyCode === 8 || e.keyCode === 16) { // enter/esc
+ keysEnabled = false;
+ Sound.click();
+ require('electron').ipcRenderer.send('prefademusic', "");
+ $("#box").fadeOut(500);
+ setTimeout(() => {
+ info("GWinWindow", "Switching control to MenuWindow");
+ location.href = "settings.html?credits";
+ }, 1000)
+ }
+ }
+})
+
+var currentpos=0,alt=1,curpos1=0,curpos2=-1
+function initialize(){
+ $("#box").fadeIn(500);
+ startit()
+}
+function scrollwindow(){
+ if (document.all)
+ temp=document.body.scrollTop
+ else
+ temp=window.pageYOffset
+ if (alt===0)
+ alt=1
+ else
+ alt=0
+ if (alt===0)
+ curpos1=temp
+ else
+ curpos2=temp
+ if (curpos1!==curpos2){
+ if (document.all)
+ currentpos=document.body.scrollTop+1
+ else
+ currentpos=window.pageYOffset+1
+ window.scroll(0,currentpos)
+ }
+ else{
+ currentpos=0
+ window.scroll(0,currentpos)
+ }
+}
+function startit(){
+ setInterval("scrollwindow()",20)
+}
+window.onload=initialize
diff --git a/views/script/credits_libs.js b/views/script/credits_libs.js
new file mode 100644
index 0000000..9e2f21a
--- /dev/null
+++ b/views/script/credits_libs.js
@@ -0,0 +1,15 @@
+Object.keys(process.versions).forEach((e) => {
+ v = process.versions[e];
+ document.write(e.substr(0, 1).toUpperCase() + e.substr(1) + " contributors<br>");
+})
+dirs = require('fs').readdirSync("./node_modules");
+dirs.forEach((dir) => {
+ if (!dir.startsWith(".") && !dir.startsWith("@") && dir !== "electron") {
+ j = JSON.parse(require('fs').readFileSync("./node_modules/" + dir + "/package.json").toString());
+ if (typeof j.author === "string") {
+ document.write(j.author + "<br>");
+ } else {
+ document.write(j.name.substr(0, 1).toUpperCase() + j.name.substr(1) + " authors<br>");
+ }
+ }
+}) \ No newline at end of file
diff --git a/views/script/credits_music.js b/views/script/credits_music.js
new file mode 100644
index 0000000..7a4883b
--- /dev/null
+++ b/views/script/credits_music.js
@@ -0,0 +1,4 @@
+if (require('@electron/remote').getCurrentWindow().music) {
+ info("MusicMgr", "Playing settings.mp3");
+ require('electron').ipcRenderer.send('newmusic', kresources.music['credits'].file);
+} \ No newline at end of file
diff --git a/views/script/credits_technical.js b/views/script/credits_technical.js
new file mode 100644
index 0000000..8193167
--- /dev/null
+++ b/views/script/credits_technical.js
@@ -0,0 +1,9 @@
+document.write("Kartik"+require('@electron/remote').getCurrentWindow().channel + " (" + require('../package.json').name + ") " +require('../package.json').version);
+document.write(" on " + require('os').type() + " (" + require('os').version() + ", " + require('os').arch() +") version " + require('os').release() + "<br>")
+cores = require('os').cpus()
+if (cores.length > 1) {
+ document.write(cores.length + " processors<br>");
+} else {
+ document.write(cores.length + " processor<br>");
+}
+document.write(((process.memoryUsage().heapUsed/1024)/1024).toFixed(2) + " MB heap memory used, " + ((process.memoryUsage().heapTotal/1024)/1024).toFixed(2) + " MB heap memory total, " + ((process.memoryUsage().rss/1024)/1024).toFixed(2) + " MB virtual memory"); \ No newline at end of file
diff --git a/views/script/game_global.js b/views/script/game_global.js
new file mode 100644
index 0000000..4e6de21
--- /dev/null
+++ b/views/script/game_global.js
@@ -0,0 +1,45 @@
+$("#box").fadeOut(0);
+$("#bg").fadeOut(0);
+setTimeout(() => {
+ $("#box").fadeIn(500);
+ $("#bg").fadeIn(500);
+}, 200)
+
+global.startgame = () => {
+ keysEnabled = true;
+ $("#credits").fadeOut(200)
+ Sound.intro();
+
+ setTimeout(() => {
+ started = true;
+ }, 1700)
+
+ setTimeout(() => {
+ if (location.search === "?sp") {
+ enableAI();
+ }
+ }, 1200)
+}
+
+startHooks.push(() => {
+ global.hitshow = false;
+ global.started = false;
+ keysEnabled = false;
+
+ $("body").focus();
+
+ if (!online) {
+ setTimeout(startgame, 7000)
+ }
+
+ if (online && role === "host") {
+ setTimeout(() => {
+ clientWriter(JSON.stringify({
+ _type: "ipc",
+ action: "gameIsReady",
+ message: null
+ }) + "|")
+ startgame();
+ }, 7000)
+ }
+}) \ No newline at end of file
diff --git a/views/script/game_music.js b/views/script/game_music.js
new file mode 100644
index 0000000..29b00da
--- /dev/null
+++ b/views/script/game_music.js
@@ -0,0 +1,10 @@
+startHooks.push(() => {
+ if (require('@electron/remote').getCurrentWindow().music) {
+ info("MusicMgr", "Playing game" + i + ".mp3");
+ require('electron').ipcRenderer.send('newmusic', kresources.music['game' + i].file);
+ }
+})
+
+if (location.search === "?online") {
+ require('electron').ipcRenderer.send('newmusic', kresources.music['prepare'].file);
+} \ No newline at end of file
diff --git a/views/script/game_online.js b/views/script/game_online.js
new file mode 100644
index 0000000..e379708
--- /dev/null
+++ b/views/script/game_online.js
@@ -0,0 +1,9 @@
+if (location.search === "?online") {
+ document.getElementById('online-login').style.display = "";
+ document.write(`<` + `script src="../online/global.js"></` + `script>`);
+} else {
+ startHooks.forEach((hook) => {
+ hook(this);
+ })
+ document.getElementById('ping').style.display = "none";
+} \ No newline at end of file
diff --git a/views/script/game_select.js b/views/script/game_select.js
new file mode 100644
index 0000000..7857101
--- /dev/null
+++ b/views/script/game_select.js
@@ -0,0 +1,131 @@
+if (native) {global.$ = require('jquery');} else {var script = document.createElement('script');script.src = '../webinit/jquery.js';script.type = 'text/javascript';document.getElementsByTagName('head')[0].appendChild(script);}
+
+startHooks.push(() => {
+ function ranint(min, max) { // min and max included
+ return Math.floor(Math.random() * (max - min + 1) + min);
+ }
+
+ circuits = Object.keys(kresources.races);
+ rand = circuits[Math.floor(Math.random()*circuits.length)];
+
+ if (online && role === "host") {
+ setInterval(() => {
+ clientWriter(JSON.stringify({
+ _type: "ipc",
+ action: "RaceData:circuit",
+ message: rand
+ }) + "|");
+ }, 100)
+ }
+
+ if (online && role === "guest") {
+ rand = guestInfo.circuit;
+ }
+
+ info("GameWindow", "Selected circuit " + rand);
+ document.getElementById('circuit').style.backgroundImage = "url('." + kresources.races[rand].substr(0, kresources.races[rand].length - 5).split("'").join("\\'") + ".png')";
+ document.getElementById('circuit').innerHTML = require('fs').readFileSync(kresources.races[rand]).toString();
+
+ inf = JSON.parse(document.getElementsByTagName("circuit")[0].innerText);
+ if (typeof inf.name[lp] === "undefined") {
+ document.getElementById('race-title').innerText = inf.name.en;
+ } else {
+ document.getElementById('race-title').innerText = inf.name[lp];
+ }
+ document.getElementById('race-author').innerText = inf.author;
+
+ i = ranint(1, 9);
+
+ if (online && role === "host") {
+ setInterval(() => {
+ clientWriter(JSON.stringify({
+ _type: "ipc",
+ action: "RaceData:music",
+ message: i
+ }) + "|");
+ }, 200)
+ }
+
+ if (online && role === "guest") {
+ i = guestInfo.music;
+ }
+
+ global.spreadOil = (oil) => {
+ rx = ranint(0, 680);
+ ry = ranint(0, 490);
+ rd = ranint(0, 360);
+ rh = ranint(0, 360);
+
+ oil.style.top = ry + "px";
+ oil.style.left = rx + "px";
+ oil.style.transform = "rotate(" + rd + "deg)";
+ oil.style.filter = "hue-rotate(" + rd + "deg)";
+ }
+
+ Array.from(document.getElementById('oil').children).forEach((item) => {
+ spreadOil(item);
+ })
+
+ modelsAvailable = Object.keys(kresources.cars);
+
+ selectedModel0I = Math.floor(Math.random() * modelsAvailable.length);
+ selectedModel0 = modelsAvailable[selectedModel0I];
+ modelsAvailable.splice(selectedModel0I, 1);
+
+ selectedModel1I = Math.floor(Math.random() * modelsAvailable.length);
+ selectedModel1 = modelsAvailable[selectedModel1I];
+
+ if (online && role === "host") {
+ setInterval(() => {
+ clientWriter(JSON.stringify({
+ _type: "ipc",
+ action: "RaceData:hostCar",
+ message: selectedModel0
+ }) + "|");
+ }, 300)
+ setInterval(() => {
+ clientWriter(JSON.stringify({
+ _type: "ipc",
+ action: "RaceData:guestCar",
+ message: selectedModel1
+ }) + "|");
+ }, 400)
+ }
+
+ if (online && role === "guest") {
+ selectedModel0 = guestInfo.guestCar;
+ selectedModel1 = guestInfo.hostCar;
+ }
+
+ document.getElementById("car0-img").src = kresources.cars[selectedModel0];
+ document.getElementById("cars-p1-inner").src = kresources.cars[selectedModel0];
+ document.getElementById("car1-img").src = kresources.cars[selectedModel1];
+ document.getElementById("cars-p2-inner").src = kresources.cars[selectedModel1];
+})
+
+startHooks.push(() => {
+ setInterval(() => {
+ if (online) {
+ clientWriter(JSON.stringify({
+ _type: "ipc",
+ action: "posTop",
+ message: document.getElementById("car0").style.top
+ }) + "|")
+ clientWriter(JSON.stringify({
+ _type: "ipc",
+ action: "posLeft",
+ message: document.getElementById("car0").style.left
+ }) + "|")
+ clientWriter(JSON.stringify({
+ _type: "ipc",
+ action: "posRot",
+ message: document.getElementById("car0").style.transform
+ }) + "|")
+ clientWriter(JSON.stringify({
+ _type: "ipc",
+ action: "progressLaps",
+ message: document.getElementById("laps-car0").innerText
+ }) + "|")
+ }
+ }, 50)
+})
diff --git a/views/script/intro_global.js b/views/script/intro_global.js
new file mode 100644
index 0000000..b6bf033
--- /dev/null
+++ b/views/script/intro_global.js
@@ -0,0 +1,21 @@
+if (native) {global.$ = require('jquery');} else {var script = document.createElement('script');script.src = '../webinit/jquery.js';script.type = 'text/javascript';document.getElementsByTagName('head')[0].appendChild(script);}
+$("#box").fadeOut(0);
+window.addEventListener('load', () => {
+ setTimeout(() => {
+ $("#box").fadeIn(500);
+ }, 1000)
+})
+
+keysEnabled = true;
+$(document).keydown(function(e) {
+ if (keysEnabled) {
+ if (e.keyCode === 13 || e.keyCode === 88 || e.keyCode === 32 || e.keyCode === 27 || e.keyCode === 8 || e.keyCode === 16) { // enter/esc
+ kesyEnabled = false;
+ $("#box").fadeOut(500);
+ setTimeout(() => {
+ info("GWinWindow", "Switching control to MenuWindow");
+ location.href = "menu.html?noreset";
+ }, 1000)
+ }
+ }
+}) \ No newline at end of file
diff --git a/views/script/intro_media.js b/views/script/intro_media.js
new file mode 100644
index 0000000..87600b9
--- /dev/null
+++ b/views/script/intro_media.js
@@ -0,0 +1,4 @@
+if (require('@electron/remote').getCurrentWindow().music) {
+ info("MusicMgr", "Playing title.mp3");
+ require('electron').ipcRenderer.send('newmusic', kresources.music['title'].file);
+} \ No newline at end of file
diff --git a/views/script/intro_message.js b/views/script/intro_message.js
new file mode 100644
index 0000000..6ab8d95
--- /dev/null
+++ b/views/script/intro_message.js
@@ -0,0 +1,7 @@
+setInterval(() => {
+ if (require('@electron/remote').getCurrentWindow().controllerAttached) {
+ document.getElementById('progress').innerText = lang.intro[1];
+ } else {
+ document.getElementById('progress').innerText = lang.intro[0];
+ }
+}, 100) \ No newline at end of file
diff --git a/views/script/loader_global.js b/views/script/loader_global.js
new file mode 100644
index 0000000..67016d9
--- /dev/null
+++ b/views/script/loader_global.js
@@ -0,0 +1,85 @@
+window.addEventListener('load', () => {
+ setTimeout(() => {
+ if (native) {
+ setTimeout(() => {
+ document.getElementById('vendor').style.transform = "scale(3)";
+ new Audio("../sfx/intro.mp3").play();
+ setTimeout(() => {
+ if (native) {global.$ = require('jquery');} else {var script = document.createElement('script');script.src = '../webinit/jquery.js';script.type = 'text/javascript';document.getElementsByTagName('head')[0].appendChild(script);}
+ $("#progress").fadeOut(500);
+ setTimeout(() => {
+ window.fetch("https://kartik.hopto.org/latest.php?v=" + require('@electron/remote').getCurrentWindow().update).then((data) => {
+ data.blob().then((a) => {
+ a.text().then((b) => {
+ if (require('@electron/remote').getCurrentWindow().update == "git") {
+ document.getElementById('updates').style.backgroundColor = "lightsalmon";
+ document.getElementById('updates').innerText = lang.updates.git;
+ } else {
+ console.log(b);
+ console.log(require('../package.json').version);
+ if (b == require('../package.json').version) {
+ document.getElementById('updates').style.backgroundColor = "lightgreen";
+ document.getElementById('updates').innerText = lang.updates.ok;
+ } else {
+ document.getElementById('warning').style.opacity = "1";
+ document.getElementById('updates').style.backgroundColor = "lightyellow";
+ document.getElementById('updates').innerText = lang.updates.available;
+ }
+ }
+ setTimeout(() => {
+ $("body").fadeOut(500);
+ setTimeout(() => {
+ info("LoadWindow", "Switching control to MenuWindow");
+ location.href = "intro.html";
+ }, 1000)
+ }, 3000);
+ }).catch((e) => {
+ console.warn(e);
+ document.getElementById('updates').style.backgroundColor = "lightcoral";
+ document.getElementById('updates').innerText = lang.updates.error;
+ setTimeout(() => {
+ $("body").fadeOut(500);
+ setTimeout(() => {
+ info("LoadWindow", "Switching control to MenuWindow");
+ location.href = "intro.html";
+ }, 1000)
+ }, 3000);
+ });
+ }).catch((e) => {
+ console.warn(e);
+ document.getElementById('updates').style.backgroundColor = "lightcoral";
+ document.getElementById('updates').innerText = lang.updates.error;
+ setTimeout(() => {
+ $("body").fadeOut(500);
+ setTimeout(() => {
+ info("LoadWindow", "Switching control to MenuWindow");
+ location.href = "intro.html";
+ }, 1000)
+ }, 3000);
+ });
+ }).catch((e) => {
+ console.warn(e);
+ document.getElementById('updates').style.backgroundColor = "lightcoral";
+ document.getElementById('updates').innerText = lang.updates.error;
+ setTimeout(() => {
+ setTimeout(() => {
+ info("LoadWindow", "Switching control to MenuWindow");
+ location.href = "intro.html";
+ }, 1000)
+ }, 3000);
+ });
+ }, 2000)
+ }, 3000)
+ }, 1000)
+ } else {
+ if (native) {global.$ = require('jquery');} else {var script = document.createElement('script');script.src = '../webinit/jquery.js';script.type = 'text/javascript';document.getElementsByTagName('head')[0].appendChild(script);}
+ setTimeout(() => {
+ $("body").fadeOut(500);
+ setTimeout(() => {
+ info("LoadWindow", "Switching control to MenuWindow");
+ location.href = "intro.html";
+ }, 1000)
+ }, 8000);
+ }
+ }, 2000)
+})
diff --git a/views/script/menu_copyright.js b/views/script/menu_copyright.js
new file mode 100644
index 0000000..35b322a
--- /dev/null
+++ b/views/script/menu_copyright.js
@@ -0,0 +1,5 @@
+if (new Date().getFullYear() === 2021) {
+ document.write(new Date().getFullYear() + " Minteck Projects");
+} else {
+ document.write("2021-" + new Date().getFullYear() + " Minteck Projects");
+} \ No newline at end of file
diff --git a/views/script/menu_global.js b/views/script/menu_global.js
new file mode 100644
index 0000000..43937f4
--- /dev/null
+++ b/views/script/menu_global.js
@@ -0,0 +1,113 @@
+let menuOpen = true;
+
+if (native) {global.$ = require('jquery');} else {var script = document.createElement('script');script.src = '../webinit/jquery.js';script.type = 'text/javascript';document.getElementsByTagName('head')[0].appendChild(script);}
+$("#box").fadeOut(0);
+window.addEventListener('load', () => {
+ setTimeout(() => {
+ $("#box").fadeIn(500);
+ }, 1000)
+})
+
+$("body").focus();
+keysEnabled = true;
+$(document).keydown(function(e) {
+ if (keysEnabled) {
+ if (e.keyCode === 13 || e.keyCode === 88 || e.keyCode === 32) { // enter
+ if ($(".services").is(":visible")) {
+ selectOption();
+ } else {
+ $(".services").show();
+ }
+ menuOpen = !menuOpen;
+ }
+ if (e.keyCode === 38 || e.keyCode === 90) { // up
+ Sound.menu();
+ var selected = $(".selected");
+ $(".services li").removeClass("selected");
+ if (selected.prev().length === 0) {
+ selected.siblings().last().addClass("selected");
+ } else {
+ selected.prev().addClass("selected");
+ }
+ }
+ if (e.keyCode === 40 || e.keyCode === 83) { // down
+ Sound.menu();
+ var selected = $(".selected");
+ $(".services li").removeClass("selected");
+ if (selected.next().length === 0) {
+ selected.siblings().first().addClass("selected");
+ } else {
+ selected.next().addClass("selected");
+ }
+ }
+ if (e.keyCode === 27 || e.keyCode === 8) { // esc
+ keysEnabled = false;
+ Sound.click();
+ setTimeout(() => {
+ require('@electron/remote').getCurrentWindow().close();
+ }, 250)
+ }
+ }
+});
+
+function selectOption() {
+ item = document.querySelector(".selected a").id;
+ Sound.click();
+
+ switch (item) {
+ case 'single':
+ scenar("start", "happy");
+ keysEnabled = false;
+ require('electron').ipcRenderer.send('prefademusic', "");
+ $("#box").fadeOut(500);
+ setTimeout(() => {
+ info("MenuWindow", "Switching control to GameWindow");
+ location.href = "game.html?sp";
+ }, 1000)
+ break;
+ case 'online':
+ keysEnabled = false;
+ require('electron').ipcRenderer.send('prefademusic', "");
+ $("#box").fadeOut(500);
+ setTimeout(() => {
+ info("MenuWindow", "Switching control to GameWindow");
+ location.href = "game.html?online";
+ }, 1000)
+ break;
+ case 'play':
+ keysEnabled = false;
+ require('electron').ipcRenderer.send('prefademusic', "");
+ $("#box").fadeOut(500);
+ setTimeout(() => {
+ info("MenuWindow", "Switching control to GameWindow");
+ location.href = "game.html";
+ }, 1000)
+ break;
+ case 'settings':
+ keysEnabled = false;
+ $("#box").fadeOut(500);
+ setTimeout(() => {
+ info("MenuWindow", "Switching control to OptnWindow");
+ location.href = "settings.html";
+ }, 1000)
+ break;
+ case 'credits':
+ keysEnabled = false;
+ require('electron').ipcRenderer.send('prefademusic', "");
+ $("#box").fadeOut(500);
+ setTimeout(() => {
+ info("MenuWindow", "Switching control to OptnWindow");
+ location.href = "credits.html";
+ }, 1000)
+ break;
+ case 'quit':
+ keysEnabled = false;
+ require('electron').ipcRenderer.send('prefademusic', "");
+ info("MenuWindow", "Quitting game");
+ Sound.click();
+ setTimeout(() => {
+ require('@electron/remote').getCurrentWindow().close();
+ }, 250)
+ break;
+ }
+} \ No newline at end of file
diff --git a/views/script/menu_gpuinfo.js b/views/script/menu_gpuinfo.js
new file mode 100644
index 0000000..4177cfc
--- /dev/null
+++ b/views/script/menu_gpuinfo.js
@@ -0,0 +1,69 @@
+if (require('os').platform !== "darwin") {
+ gpuinfo = require('@electron/remote').app.getGPUFeatureStatus();
+ document.write("kartik<br>");
+ document.write("├ kartik.accel<br>");
+ if (gpuinfo['2d_canvas'].startsWith("enabled")) {
+ document.write("│ ├ <span style='color:lightgreen;'>kartik.accel.Canvas</span><br>");
+ } else {
+ document.write("│ ├ <span style='color:lightcoral;'>kartik.accel.Canvas</span><br>");
+ }
+ if (gpuinfo['gpu_compositing'].startsWith("enabled")) {
+ document.write("│ ├ <span style='color:lightgreen;'>kartik.accel.Compositing</span><br>");
+ } else {
+ document.write("│ ├ <span style='color:lightcoral;'>kartik.accel.Compositing</span><br>");
+ }
+ if (gpuinfo['video_decode'].startsWith("enabled")) {
+ document.write("│ └ <span style='color:lightgreen;'>kartik.accel.VideoDecode</span><br>");
+ } else {
+ document.write("│ └ <span style='color:lightcoral;'>kartik.accel.VideoDecode</span><br>");
+ }
+ document.write("├ kartik.raster<br>");
+ if (gpuinfo['multiple_raster_threads'].startsWith("enabled")) {
+ document.write("│ ├ <span style='color:lightgreen;'>kartik.raster.Threaded</span><br>");
+ } else {
+ document.write("│ ├ <span style='color:lightcoral;'>kartik.raster.Threaded</span><br>");
+ }
+ if (gpuinfo['oop_rasterization'].startsWith("enabled")) {
+ document.write("│ ├ <span style='color:lightgreen;'>kartik.raster.ObjectOP</span><br>");
+ } else {
+ document.write("│ ├ <span style='color:lightcoral;'>kartik.raster.ObjectOP</span><br>");
+ }
+ if (gpuinfo['rasterization'].startsWith("enabled")) {
+ document.write("│ └ <span style='color:lightgreen;'>kartik.raster.Common</span><br>");
+ } else {
+ document.write("│ └ <span style='color:lightcoral;'>kartik.raster.Common</span><br>");
+ }
+ document.write("└ kartik.renderer<br>");
+ if (gpuinfo['opengl'].startsWith("enabled")) {
+ document.write(" &nbsp;├ <span style='color:lightgreen;'>kartik.renderer.OpenGL</span><br>");
+ } else {
+ document.write(" &nbsp;├ <span style='color:lightcoral;'>kartik.renderer.OpenGL</span><br>");
+ }
+ if (gpuinfo['skia_renderer'].startsWith("enabled")) {
+ document.write(" &nbsp;├ <span style='color:lightgreen;'>kartik.renderer.Skia</span><br>");
+ } else {
+ document.write(" &nbsp;├ <span style='color:lightcoral;'>kartik.renderer.Skia</span><br>");
+ }
+ if (gpuinfo['vulkan'].startsWith("enabled")) {
+ document.write(" &nbsp;└ <span style='color:lightgreen;'>kartik.renderer.Vulkan</span><br>");
+ } else {
+ document.write(" &nbsp;└ <span style='color:lightcoral;'>kartik.renderer.Vulkan</span></span><br>");
+ }
+} else {
+ document.write("You are using macOS<br><br>Kartik can't detect GPU info<br>for Apple macOS.");
+}
+
+document.onkeydown = (e) => {
+ if (e.shiftKey) {
+ document.getElementById('gpuinfo-inner').style.opacity = "1";
+ document.getElementById('gpuinfo-outer').style.display = "none";
+ } else {
+ document.getElementById('gpuinfo-inner').style.opacity = "0";
+ document.getElementById('gpuinfo-outer').style.display = "";
+ }
+}
+
+document.onkeyup = (e) => {
+ document.getElementById('gpuinfo-inner').style.opacity = "0";
+ document.getElementById('gpuinfo-outer').style.display = "";
+} \ No newline at end of file
diff --git a/views/script/menu_music.js b/views/script/menu_music.js
new file mode 100644
index 0000000..f1d23f9
--- /dev/null
+++ b/views/script/menu_music.js
@@ -0,0 +1,5 @@
+if (location.search !== "?noreset") {
+ console.log("back");
+ require('electron').ipcRenderer.send('newmusic', kresources.music['title'].file);
+}
+info("MenuWindow", "Menu opened");
diff --git a/views/script/menu_system.js b/views/script/menu_system.js
new file mode 100644
index 0000000..947699f
--- /dev/null
+++ b/views/script/menu_system.js
@@ -0,0 +1,33 @@
+
+switch (require('os').platform()) {
+ case "win32":
+ document.write("Windows");
+ break
+ case "aix":
+ document.write("AIX");
+ break
+ case "android":
+ document.write("Android");
+ break
+ case "cygwin":
+ document.write("Cygwin");
+ break
+ case "darwin":
+ document.write("macOS");
+ break
+ case "freebsd":
+ document.write("FreeBSD");
+ break
+ case "linux":
+ document.write("GNU/Linux");
+ break
+ case "netbsd":
+ document.write("NetBSD");
+ break
+ case "openbsd":
+ document.write("OpenBSD");
+ break
+ case "sunos":
+ document.write("Solaris");
+ break
+}
diff --git a/views/script/online_play.js b/views/script/online_play.js
new file mode 100644
index 0000000..0c1eb91
--- /dev/null
+++ b/views/script/online_play.js
@@ -0,0 +1,2 @@
+require('@electron/remote').getCurrentWindow().dstate = lang.online.discord2;
+require('@electron/remote').getCurrentWindow().ddetails = lang.online.discord; \ No newline at end of file
diff --git a/views/script/settings_global.js b/views/script/settings_global.js
new file mode 100644
index 0000000..41332c5
--- /dev/null
+++ b/views/script/settings_global.js
@@ -0,0 +1,226 @@
+let menuOpen = true;
+
+if (native) {global.$ = require('jquery');} else {var script = document.createElement('script');script.src = '../webinit/jquery.js';script.type = 'text/javascript';document.getElementsByTagName('head')[0].appendChild(script);}
+$("#box").fadeOut(0);
+setTimeout(() => {
+ $("#box").fadeIn(500);
+}, 200)
+
+$("body").focus();
+keysEnabled = true;
+$(document).keydown(function(e) {
+ if (keysEnabled) {
+ if (e.keyCode === 13 || e.keyCode === 88 || e.keyCode === 32) { // enter
+ if ($(".services").is(":visible")) {
+ selectOption();
+ } else {
+ $(".services").show();
+ }
+ }
+ if (e.keyCode === 38 || e.keyCode === 90) { // up
+ Sound.menu();
+ var selected = $(".selected");
+ $(".services li").removeClass("selected");
+ if (selected.prev().length === 0) {
+ selected.siblings().last().addClass("selected");
+ } else {
+ selected.prev().addClass("selected");
+ }
+ }
+ if (e.keyCode === 40 || e.keyCode === 83) { // down
+ Sound.menu();
+ var selected = $(".selected");
+ $(".services li").removeClass("selected");
+ if (selected.next().length === 0) {
+ selected.siblings().first().addClass("selected");
+ } else {
+ selected.next().addClass("selected");
+ }
+ }
+ if (e.keyCode === 68 || e.keyCode === 39 || e.keyCode === 81 || e.keyCode === 37) { // right/left
+ Sound.menu();
+ var selected = $(".selected");
+ var id = $(".selected")[0].children[0].children[0].id;
+
+ if (id === "musicb") {
+ if (document.getElementById("setting-music").innerText === lang.settings.yes) {
+ document.getElementById("setting-music").innerText = lang.settings.no;
+ require('fs').writeFileSync(homedir + "/.kartik/config/music.txt", "0");
+ } else {
+ document.getElementById("setting-music").innerText = lang.settings.yes;
+ require('fs').writeFileSync(homedir + "/.kartik/config/music.txt", "1");
+ }
+ }
+ if (id === "voice") {
+ if (document.getElementById("setting-voice").innerText === lang.settings.yes) {
+ document.getElementById("setting-voice").innerText = lang.settings.no;
+ require('fs').writeFileSync(homedir + "/.kartik/config/voice.txt", "0");
+ } else {
+ document.getElementById("setting-voice").innerText = lang.settings.yes;
+ require('fs').writeFileSync(homedir + "/.kartik/config/voice.txt", "2");
+ }
+ }
+ if (id === "zoom") {
+ zoom = document.getElementById("setting-zoom").innerText;
+
+ switch (zoom) {
+ case "0.9":
+ document.getElementById("setting-zoom").innerText = "1";
+ require('fs').writeFileSync(homedir + "/.kartik/config/scale.txt", "1");
+ break;
+ case "1":
+ document.getElementById("setting-zoom").innerText = "1.1";
+ require('fs').writeFileSync(homedir + "/.kartik/config/scale.txt", "1.1");
+ break;
+ case "1.1":
+ document.getElementById("setting-zoom").innerText = "1.2";
+ require('fs').writeFileSync(homedir + "/.kartik/config/scale.txt", "1.2");
+ break;
+ case "1.2":
+ document.getElementById("setting-zoom").innerText = "1.3";
+ require('fs').writeFileSync(homedir + "/.kartik/config/scale.txt", "1.3");
+ break;
+ case "1.3":
+ document.getElementById("setting-zoom").innerText = "1.4";
+ require('fs').writeFileSync(homedir + "/.kartik/config/scale.txt", "1.4");
+ break;
+ case "1.4":
+ document.getElementById("setting-zoom").innerText = "1.5";
+ require('fs').writeFileSync(homedir + "/.kartik/config/scale.txt", "1.5");
+ break;
+ case "1.5":
+ document.getElementById("setting-zoom").innerText = "1.6";
+ require('fs').writeFileSync(homedir + "/.kartik/config/scale.txt", "1.6");
+ break;
+ case "1.6":
+ document.getElementById("setting-zoom").innerText = "1.7";
+ require('fs').writeFileSync(homedir + "/.kartik/config/scale.txt", "1.7");
+ break;
+ case "1.7":
+ document.getElementById("setting-zoom").innerText = "1.8";
+ require('fs').writeFileSync(homedir + "/.kartik/config/scale.txt", "1.8");
+ break;
+ case "1.8":
+ document.getElementById("setting-zoom").innerText = "1.9";
+ require('fs').writeFileSync(homedir + "/.kartik/config/scale.txt", "1.9");
+ break;
+ case "1.9":
+ document.getElementById("setting-zoom").innerText = "2";
+ require('fs').writeFileSync(homedir + "/.kartik/config/scale.txt", "2");
+ break;
+ case "2":
+ document.getElementById("setting-zoom").innerText = "0.9";
+ require('fs').writeFileSync(homedir + "/.kartik/config/scale.txt", "0.9");
+ break;
+ }
+ }
+ if (id === "lang") {
+ lang = document.getElementById("setting-lang").innerText;
+ slng = require('../lang/languages.json');
+ slst = Object.keys(slng);
+ maxl = slst.length - 1;
+
+ ci = -1;
+ ni = -1;
+ slst.forEach((key, index) => {
+ if (slng[key] === lang) {
+ ci = index;
+ if (index + 1 > maxl) {
+ ni = 0;
+ } else {
+ ni = index + 1;
+ }
+ }
+ })
+
+ if (ci !== -1 && ni !== -1) {
+ document.getElementById("setting-lang").innerText = slng[slst[ni]];
+ require('fs').writeFileSync(homedir + "/.kartik/config/lang.txt", slst[ni]);
+ require('@electron/remote').getCurrentWindow().lp = slst[ni];
+ }
+
+ /*switch (lang) {
+ case "Français":
+ document.getElementById("setting-lang").innerText = "English";
+ require('fs').writeFileSync(homedir + "/.kartik/config/lang.txt", "en");
+ require('@electron/remote').getCurrentWindow().lp = "en";
+ break;
+
+ case "English":
+ document.getElementById("setting-lang").innerText = "Español";
+ require('fs').writeFileSync(homedir + "/.kartik/config/lang.txt", "es");
+ require('@electron/remote').getCurrentWindow().lp = "es";
+ break;
+
+ case "Español":
+ document.getElementById("setting-lang").innerText = "中国人";
+ require('fs').writeFileSync(homedir + "/.kartik/config/lang.txt", "zh");
+ require('@electron/remote').getCurrentWindow().lp = "zh";
+ break;
+
+ case "中国人":
+ document.getElementById("setting-lang").innerText = "日本語";
+ require('fs').writeFileSync(homedir + "/.kartik/config/lang.txt", "jp");
+ require('@electron/remote').getCurrentWindow().lp = "jp";
+ break;
+
+ case "日本語":
+ document.getElementById("setting-lang").innerText = "русский";
+ require('fs').writeFileSync(homedir + "/.kartik/config/lang.txt", "ru");
+ require('@electron/remote').getCurrentWindow().lp = "ru";
+ break;
+
+ case "русский":
+ document.getElementById("setting-lang").innerText = "Deutsche";
+ require('fs').writeFileSync(homedir + "/.kartik/config/lang.txt", "de");
+ require('@electron/remote').getCurrentWindow().lp = "de";
+ break;
+
+ case "Deutsche":
+ document.getElementById("setting-lang").innerText = "Nederlands";
+ require('fs').writeFileSync(homedir + "/.kartik/config/lang.txt", "nl");
+ require('@electron/remote').getCurrentWindow().lp = "nl";
+ break;
+
+ case "Nederlands":
+ document.getElementById("setting-lang").innerText = "Français";
+ require('fs').writeFileSync(homedir + "/.kartik/config/lang.txt", "fr");
+ require('@electron/remote').getCurrentWindow().lp = "fr";
+ break;
+ }*/
+ }
+ }
+ if (e.keyCode === 27 || e.keyCode === 8) { // esc
+ keysEnabled = false;
+ Sound.click();
+ $("#box").fadeOut(500);
+ setTimeout(() => {
+ info("OptnWindow", "Switching control to MenuWindow");
+ location.href = "menu.html";
+ }, 1000)
+ }
+ }
+});
+
+function selectOption() {
+ item = document.querySelector(".selected a").id;
+ Sound.click();
+
+ switch (item) {
+ case 'back':
+ $("#box").fadeOut(500);
+ setTimeout(() => {
+ info("OptnWindow", "Switching control to MenuWindow");
+ location.href = "menu.html?noreset";
+ }, 1000)
+ break;
+ case 'credits':
+ require('electron').ipcRenderer.send('prefademusic', "");
+ $("#box").fadeOut(500);
+ setTimeout(() => {
+ info("OptnWindow", "Switching control to MenuWindow");
+ location.href = "credits.html";
+ }, 1000)
+ break;
+ }
+}
diff --git a/views/script/settings_load.js b/views/script/settings_load.js
new file mode 100644
index 0000000..358f9b1
--- /dev/null
+++ b/views/script/settings_load.js
@@ -0,0 +1,25 @@
+info("OptnWindow", "Restoring settings...");
+
+if (require('@electron/remote').getCurrentWindow().music) {
+ if (location.search === "?credits") {
+ require('electron').ipcRenderer.send('newmusic', kresources.music['title'].file);
+ }
+ document.getElementById("setting-music").innerText = lang.settings.yes;
+} else {
+ document.getElementById("setting-music").innerText = lang.settings.no;
+}
+
+if (require('@electron/remote').getCurrentWindow().voice) {
+ document.getElementById("setting-voice").innerText = lang.settings.yes;
+} else {
+ document.getElementById("setting-voice").innerText = lang.settings.no;
+}
+
+slang = require('@electron/remote').getCurrentWindow().lp;
+langs = require('../lang/languages.json');
+
+if (Object.keys(langs).includes(slang)) {
+ document.getElementById("setting-lang").innerText = langs[slang];
+} else {
+ document.getElementById("setting-lang").innerText = slang;
+} \ No newline at end of file
diff --git a/views/script/win_global.js b/views/script/win_global.js
new file mode 100644
index 0000000..3609af7
--- /dev/null
+++ b/views/script/win_global.js
@@ -0,0 +1,22 @@
+if (native) {global.$ = require('jquery');} else {var script = document.createElement('script');script.src = '../webinit/jquery.js';script.type = 'text/javascript';document.getElementsByTagName('head')[0].appendChild(script);}
+$("#box").fadeOut(0);
+setTimeout(() => {
+ $("#box").fadeIn(500);
+}, 200)
+
+keysEnabled = true;
+$(document).keydown(function(e) {
+ if (keysEnabled) {
+ if (e.keyCode === 13 || e.keyCode === 88 || e.keyCode === 32 || e.keyCode === 27 || e.keyCode === 8 || e.keyCode === 16) { // enter/esc
+ Sound.click();
+ require('electron').ipcRenderer.send('prefademusic', "");
+ $("#box").fadeOut(500);
+ setTimeout(() => {
+ info("GWinWindow", "Switching control to MenuWindow");
+ location.href = "menu.html";
+ }, 3000)
+ }
+ }
+})
+
+info("GWinWindow", "Rendered!"); \ No newline at end of file
diff --git a/views/script/win_message.js b/views/script/win_message.js
new file mode 100644
index 0000000..fd01c22
--- /dev/null
+++ b/views/script/win_message.js
@@ -0,0 +1,9 @@
+if (location.search === "?sp") {
+ if ((location.hash.substr(4) - 1 + 2) == 1) {
+ document.write(lang.win.solo.win);
+ } else {
+ document.write(lang.win.solo.lose);
+ }
+} else {
+ document.write(lang.win.versus.replace("0", (location.hash.substr(4) - 1 + 2)));
+} \ No newline at end of file
diff --git a/views/script/win_music.js b/views/script/win_music.js
new file mode 100644
index 0000000..b6169f6
--- /dev/null
+++ b/views/script/win_music.js
@@ -0,0 +1,4 @@
+if (require('@electron/remote').getCurrentWindow().music) {
+ info("MusicMgr", "Playing win.mp3");
+ require('electron').ipcRenderer.send('newmusic', kresources.music['win'].file);
+} \ No newline at end of file
diff --git a/views/script/win_play.js b/views/script/win_play.js
new file mode 100644
index 0000000..848b625
--- /dev/null
+++ b/views/script/win_play.js
@@ -0,0 +1,12 @@
+if (location.search === "?sp") {
+ if ((location.hash.substr(4) - 1 + 2) == 1) {
+ require('@electron/remote').getCurrentWindow().dstate = lang.discord.win[0];
+ require('@electron/remote').getCurrentWindow().ddetails = lang.discord.game[1];
+ } else {
+ require('@electron/remote').getCurrentWindow().dstate = lang.discord.win[1];
+ require('@electron/remote').getCurrentWindow().ddetails = lang.discord.game[1];
+ }
+} else {
+ require('@electron/remote').getCurrentWindow().dstate = lang.discord.win[0];
+ require('@electron/remote').getCurrentWindow().ddetails = lang.discord.game[2];
+} \ No newline at end of file
diff --git a/views/script/win_quit.js b/views/script/win_quit.js
new file mode 100644
index 0000000..c8d1af1
--- /dev/null
+++ b/views/script/win_quit.js
@@ -0,0 +1,7 @@
+setInterval(() => {
+ if (require('@electron/remote').getCurrentWindow().controllerAttached) {
+ document.getElementById('progress').innerText = lang.win.quit[1];
+ } else {
+ document.getElementById('progress').innerText = lang.win.quit[0];
+ }
+}, 100) \ No newline at end of file
diff --git a/views/settings.html b/views/settings.html
new file mode 100644
index 0000000..4409ed9
--- /dev/null
+++ b/views/settings.html
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <script>if (typeof require !== "undefined") {native = true;try{global.native = true;}catch(e){}} else {native = false;try{global.native = false;}catch(e){}}if (!native){global = window;}if (native){kresources=require('@electron/remote').getCurrentWindow().resources;trackEvent=require('@electron/remote').getCurrentWindow().trackEvent;}info=(_a,b)=>{console.info(b);};warn=(_a,b)=>{console.warn(b);};error=(_a,b)=>{console.error(b);};</script>
+ <script src="../lang/loader.js"></script>
+ <script src="../scenario/client.js"></script>
+ <meta charset="UTF-8">
+ <link rel="stylesheet" href="common/fonts.css">
+ <link rel="stylesheet" href="menu.css">
+ <title>Kartik</title>
+ <script src="../crash/client.js"></script>
+ <script src="../sfx/sfx.js"></script>
+ <script>
+ if (!require('@electron/remote').getCurrentWindow().debug) {
+ document.write('<link rel="stylesheet" href="common/mouse.css">');
+ }
+ </script>
+ <script>
+ require('@electron/remote').getCurrentWindow().dstate = lang.discord.settings[0];
+ require('@electron/remote').getCurrentWindow().ddetails = lang.discord.settings[1];
+ homedir = require('@electron/remote').getCurrentWindow().homedir;
+ </script>
+</head>
+<body>
+ <script>info("MainWindow", "Rendering initial frame...");
+
+ if (native) {
+ scale=require('@electron/remote').getCurrentWindow().scale;document.body.style.zoom=scale;
+ }
+
+ </script>
+ <div id="box" style="display: none;background:#222;position:fixed;top:0;left:0;right:0;bottom:0;">
+ <div style="width: 100%;height: 192px;background: #00538e;background-image: url('./background.jpg');background-size: cover;position: fixed;z-index: -1;"><h2 style="margin: 0;padding: 50px;font-size: 48px;color: white;"><script>document.write(lang.settings.title)</script></h2></div>
+
+ <div class="services services-settings">
+ <div class="items">
+ <ul>
+ <li class="selected"><span class="item" style="width: calc(100% - 150px);"><a href="#" id="back"><img class="item-icon" src="../icons/back.svg"> <script>document.write(lang.settings.back)</script></a></span></li>
+ <li><span class="item" style="width: calc(100% - 150px);"><a href="#" id="lang"><img class="item-icon" src="../icons/language.svg"> <script>document.write(lang.settings.lang)</script> [Language]<span class="setting-status"><span id="setting-lang">Français</span></span></a></span></li>
+ <li><span class="item" style="width: calc(100% - 150px);"><a href="#" id="musicb"><img class="item-icon" src="../icons/music.svg"> <script>document.write(lang.settings.music)</script><span class="setting-status"><span id="setting-music"><script>document.write(lang.settings.yes)</script></span></span></a></span></li>
+ <li><span class="item" style="width: calc(100% - 150px);"><a href="#" id="voice"><img class="item-icon" src="../icons/scenario.svg"> <script>document.write(lang.settings.voice)</script><span class="setting-status"><span id="setting-voice"><script>document.write(lang.settings.yes)</script></span></span></a></span></li>
+ <li><span class="item" style="width: calc(100% - 150px);"><a href="#" id="credits"><img class="item-icon" src="../icons/credits.svg"> <script>document.write(lang.menu.titles[3])</script></a></span></li>
+ </ul>
+ </div>
+ </div>
+
+ <span id="notice">
+ <script>
+ document.write(lang.settings.notice);
+
+ if (require('@electron/remote').getCurrentWindow().mods.length > 0) {
+ document.write("<br><br>");
+ if (require('@electron/remote').getCurrentWindow().mods.length > 1) {
+ document.write(require('@electron/remote').getCurrentWindow().mods.length + " mods loaded");
+ } else {
+ document.write("1 mod loaded");
+ }
+ }
+ </script>
+ </span>
+ </div>
+
+ <script src="./script/settings_load.js"></script>
+<script>info("OptnWindow", "Menu opened");</script>
+</body>
+<script src="./script/settings_global.js"></script>
+<script src="./script/client_fullscreen.js"></script>
+</html>
diff --git a/views/splash.png b/views/splash.png
new file mode 100644
index 0000000..39a90ab
--- /dev/null
+++ b/views/splash.png
Binary files differ
diff --git a/views/win.html b/views/win.html
new file mode 100644
index 0000000..1739098
--- /dev/null
+++ b/views/win.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html lang="en" style="background:#000000;margin:0;height:100%;width:100%;">
+<head>
+ <script>if (typeof require !== "undefined") {native = true;try{global.native = true;}catch(e){}} else {native = false;try{global.native = false;}catch(e){}}if (!native){global = window;}if (native){kresources=require('@electron/remote').getCurrentWindow().resources;trackEvent=require('@electron/remote').getCurrentWindow().trackEvent;}info=(_a,b)=>{console.info(b);};warn=(_a,b)=>{console.warn(b);};error=(_a,b)=>{console.error(b);};</script>
+ <script src="../lang/loader.js"></script>
+ <script src="../scenario/client.js"></script>
+ <meta charset="UTF-8">
+ <title>Kartik</title>
+ <link rel="stylesheet" href="common/fonts.css">
+ <script src="../crash/client.js"></script>
+ <script src="../sfx/sfx.js"></script>
+ <script>
+ if (!require('@electron/remote').getCurrentWindow().debug) {
+ document.write('<link rel="stylesheet" href="common/mouse.css">');
+ }
+ </script>
+ <script src="./script/win_play.js"></script>
+</head>
+<body style="background:#000000;margin:0;height:100%;width:100%;color:white;">
+ <script>info("MainWindow", "Rendering initial frame...");
+
+ if (native) {
+ scale=require('@electron/remote').getCurrentWindow().scale;document.body.style.zoom=scale;
+ }
+
+ </script>
+ <div id="box" style="display: none;background:#222;position:fixed;top:0;left:0;right:0;bottom:0;">
+ <div style="position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;">
+ <div style="text-align: center;">
+ <p style="font-size:36px;"><script src="./script/win_message.js"></script></p>
+ <p style="font-size:16px;" id="progress"><script>document.write(lang.win.quit[0])</script></p>
+ <script src="./script/win_quit.js"></script>
+ </div>
+ </div>
+ </div>
+
+ <script src="./script/win_music.js"></script>
+
+ <script src="./script/win_global.js"></script>
+ <script src="./script/client_fullscreen.js"></script>
+</body>
+</html>