diff options
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | api.txt | 32 | ||||
-rw-r--r-- | gentium.ttf | bin | 0 -> 362664 bytes | |||
-rw-r--r-- | index.html | 43 | ||||
-rw-r--r-- | lighttpd.conf | 23 | ||||
-rw-r--r-- | playtime-webfont.ttf | bin | 0 -> 50748 bytes | |||
-rw-r--r-- | playtime-webfont.woff | bin | 0 -> 33460 bytes | |||
-rw-r--r-- | playtime.ttf | bin | 0 -> 71220 bytes | |||
-rw-r--r-- | playtime_bold.ttf | bin | 0 -> 47916 bytes | |||
-rw-r--r-- | test.html | 2 | ||||
-rw-r--r-- | video.html | 6 |
11 files changed, 109 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..119b054 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +# ignore 'copyrighted' contents similar to emulators +/dump +/rpy @@ -0,0 +1,32 @@ +== imachine{,_replay} api == +label * -> function +jump_out -> save & register & call +call -> '' +seen_scene(scene) -> return label in seen_scenes +int attraction_* +path_end(chr, is_good) +iscene(name, is_h, is_end) +act_op(movie) +imenu(choice) + +== script api == +chars: in ui_settings.rpy + e.g. his(text) -> promise +with(transition, action) -> promise + +== prefs == +h-scenes (tied to shrinkwrap) +fullscreen? +webp (default on chrome/opera, off on others or webpjs) +text speed +auto delay +music/sfx vol +skip unread +skip after choice + +== context menu == +show image, scrollback, skip, auto, options + +== save/load == +passive: seen_scenes +active: track attraction diff --git a/gentium.ttf b/gentium.ttf Binary files differnew file mode 100644 index 0000000..a8c1756 --- /dev/null +++ b/gentium.ttf diff --git a/index.html b/index.html new file mode 100644 index 0000000..3bf5749 --- /dev/null +++ b/index.html @@ -0,0 +1,43 @@ +<!DOCTYPE html> +<html> + <head> + <title>Katawa Shoujo</title> + <link rel="shortcut icon" type="image/png" href="/dump/ui/icon.png"> + <link rel="apple-touch-icon" href="/dump/ui/icon.png"> + <style> + body { + margin: 0; + padding: 0; + overflow: hidden; + } + @font-face { + font-family: "Playtime"; + /* src: url("playtime.ttf"); */ + src: url("playtime-webfont.ttf"); + src: url("playtime-webfont.woff"); + } + #container { + width: 800px; + height: 600px; + position: relative; + overflow: hidden; + } + @keyframes toright { + from { + left: -100px; + } + to { + left: -190px; + } + } + </style> + </head> + <body> + <audio id="music" src="/dump/bgm/Ease.ogg" loop controls></audio> + <div id="container" style="position: relative;"> + <img src="/dump/bgs/school_girlsdormhall.jpg" style="position: relative; animation: 1.5s toright both ease-in;"> + <img src="/dump/ui/bg-say.png" style="position: absolute; top: 440px; left: 0;"> + <div style="font: 22px/27px Playtime; color: white; width: 750px; height: 90px; position: absolute; top: 493px; left: 28px;">It doesn't take long to identify the source as Lilly's room, though the deep timbre of the female voice unmistakably belongs not to her, but to her sister.</div> + </div> + </body> +</html> diff --git a/lighttpd.conf b/lighttpd.conf new file mode 100644 index 0000000..a062b6a --- /dev/null +++ b/lighttpd.conf @@ -0,0 +1,23 @@ +server.document-root = "/home/alex/html5ks" +server.port = 8080 +mimetype.assign = ( + ".html" => "text/html", + ".js" => "text/javascript", + ".css" => "text/css", + ".txt" => "text/plain", + ".jpg" => "image/jpeg", + ".png" => "image/png", + ".webp" => "image/webp", + ".webm" => "video/webm", + ".mkv" => "video/x-matroska", + ".ogg" => "audio/ogg", + ".woff" => "application/font-woff" +) +index-file.names = ("index.html") +server.modules = ( "mod_expire", "mod_compress" ) +dir-listing.activate = "enable" +compress.cache-dir = "/tmp/lighttpd-compress" +compress.filetype = ("text/html", "text/plain", "text/css", "text/javascript") +$HTTP["url"] =~ "^/dump/" { + expire.url = ("" => "access plus 1 years") +} diff --git a/playtime-webfont.ttf b/playtime-webfont.ttf Binary files differnew file mode 100644 index 0000000..51fcb97 --- /dev/null +++ b/playtime-webfont.ttf diff --git a/playtime-webfont.woff b/playtime-webfont.woff Binary files differnew file mode 100644 index 0000000..9608992 --- /dev/null +++ b/playtime-webfont.woff diff --git a/playtime.ttf b/playtime.ttf Binary files differnew file mode 100644 index 0000000..a36000a --- /dev/null +++ b/playtime.ttf diff --git a/playtime_bold.ttf b/playtime_bold.ttf Binary files differnew file mode 100644 index 0000000..e730c2b --- /dev/null +++ b/playtime_bold.ttf diff --git a/test.html b/test.html new file mode 100644 index 0000000..4b09fa1 --- /dev/null +++ b/test.html @@ -0,0 +1,2 @@ +<!DOCTYPE html> +<html><head><style>body{margin:0;padding:0;}</style></head><body><img src="screenshot.png"></body></html> diff --git a/video.html b/video.html new file mode 100644 index 0000000..f68852a --- /dev/null +++ b/video.html @@ -0,0 +1,6 @@ +<!DOCTYPE html> +<html> + <body> + <video src="dump/video/op_1.webm" controls autoplay> + </body> +</html> |