├── log └── .gitignore ├── api ├── resolvers │ ├── auth.ts │ ├── Mutation │ │ ├── user.ts │ │ └── auth.ts │ ├── index.ts │ ├── profile.ts │ ├── episodes.ts │ ├── anime.ts │ └── dialogue.ts ├── database │ ├── user.graphql │ ├── prisma.yml │ └── datamodel.graphql ├── modules │ ├── cache.ts │ ├── session.ts │ ├── ratelimit.ts │ ├── middlewares.ts │ └── auth.ts ├── tsconfig.json ├── interfaces │ └── query.d.ts ├── utils.ts ├── schema.graphql └── index.ts ├── typescript-worker ├── queries │ ├── find_archive.graphql │ ├── find_anime.graphql │ ├── find_character.graphql │ ├── find_file.graphql │ ├── create_archive.graphql │ ├── create_file.graphql │ ├── upsert_character.graphql │ ├── createAnime.graphql │ ├── fetchCharactersByMalId.graphql │ └── index.ts ├── typings │ ├── util.d.ts │ ├── spidey.d.ts │ ├── http.d.ts │ ├── db.d.ts │ └── ass-parser.d.ts ├── jest.worker.js ├── tsconfig.json ├── crawler │ ├── settings.ts │ └── crawl.ts ├── __tests__ │ ├── anime_resolver.spec.ts │ ├── file.spec.ts │ ├── sub_group.spec.ts │ └── subs.spec.ts ├── index.ts ├── tools │ ├── startup.ts │ ├── utils.ts │ ├── process.sh │ └── logging.ts ├── resolvers │ ├── anime_resolver.ts │ └── character_resolver.ts ├── __mocks__ │ └── axios.ts └── ingest │ ├── cache.ts │ ├── downloader.ts │ ├── file.ts │ ├── db.ts │ ├── sub_groups.ts │ ├── subs.ts │ └── file_processor.ts ├── jest.config.js ├── .travis.yml ├── .editorconfig ├── nodemon.json ├── gulpfile.js ├── tsconfig.json ├── .env.example ├── .graphqlconfig.yml ├── tslint.json ├── docker-compose.yml ├── .gitignore ├── package.json ├── README.md ├── LICENSE └── resources ├── newgame.ass └── test_valid_subs.ass /log/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | -------------------------------------------------------------------------------- /api/resolvers/auth.ts: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /api/database/user.graphql: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /typescript-worker/queries/find_archive.graphql: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/modules/cache.ts: -------------------------------------------------------------------------------- 1 | import * as redis from "redis"; 2 | 3 | export const cache = redis.createClient(); 4 | -------------------------------------------------------------------------------- /typescript-worker/typings/util.d.ts: -------------------------------------------------------------------------------- 1 | export interface Tallied { 2 | readonly [key: string]: number; 3 | } 4 | -------------------------------------------------------------------------------- /api/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig", 3 | "compilerOptions": { 4 | "outDir": "./dist" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /typescript-worker/queries/find_anime.graphql: -------------------------------------------------------------------------------- 1 | query($rawName: String!) { 2 | anime(where: { 3 | rawName: $rawName 4 | }) { id } 5 | } 6 | -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | projects: [ 3 | "typescript-worker/jest.worker.js", 4 | "api/jest.api.js" 5 | ], 6 | 7 | }; 8 | 9 | -------------------------------------------------------------------------------- /typescript-worker/queries/find_character.graphql: -------------------------------------------------------------------------------- 1 | query($anilistId) { 2 | character(where: { 3 | anilistId: $anilistId 4 | }) { 5 | id 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node.js 2 | # command to install dependencies 3 | install: 4 | - npm install 5 | - npm run build:worker 6 | script: 7 | - npm run lint 8 | -------------------------------------------------------------------------------- /typescript-worker/jest.worker.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | displayName: "worker", 3 | rootDir: "typescript-worker/dist/__tests__", 4 | testEnvironment: "node" 5 | }; 6 | -------------------------------------------------------------------------------- /typescript-worker/queries/find_file.graphql: -------------------------------------------------------------------------------- 1 | query($fileName: String!) { 2 | file(where: { 3 | fileName: $fileName 4 | }) { 5 | id 6 | updatedAt 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /typescript-worker/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig", 3 | "compilerOptions": { 4 | "outDir": "./dist" 5 | }, 6 | "typeRoots": [ 7 | "./typings/**/*.d.ts" 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /typescript-worker/queries/create_archive.graphql: -------------------------------------------------------------------------------- 1 | mutation($linkUrl: String $fileName: String!) { 2 | createArchive(data: { 3 | linkUrl: $linkUrl 4 | fileName: $fileName 5 | }) { 6 | id 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /typescript-worker/queries/create_file.graphql: -------------------------------------------------------------------------------- 1 | mutation( 2 | $file: FileCreateInput! 3 | ) { 4 | createFile( 5 | data: $file 6 | ) { 7 | id 8 | episode { 9 | id 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*.{ts, graphql, yml, json}] 4 | indent_size = 2 5 | indent_style = space 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | -------------------------------------------------------------------------------- /api/resolvers/Mutation/user.ts: -------------------------------------------------------------------------------- 1 | import { Context } from "../../utils"; 2 | 3 | export const userMutation = { 4 | async createUser(_, args, ctx: Context, info) { 5 | return ctx.db.mutation.createUser({ data: args }); 6 | } 7 | }; 8 | -------------------------------------------------------------------------------- /typescript-worker/crawler/settings.ts: -------------------------------------------------------------------------------- 1 | export const RESPECT_ROBOTS_TXT = true; 2 | 3 | export const USER_AGENT = "WeebSearch Crawler (https://github.com/Xetera/WeebSearch)"; 4 | 5 | export const settings = { RESPECT_ROBOTS_TXT, USER_AGENT }; 6 | -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- 1 | { 2 | "restartable": "rs", 3 | "colours": true, 4 | "ext": "ts,graphql,json,.env", 5 | "exec": "tsc -p api & node ./api/dist/index.js", 6 | "events": { 7 | "restart": "echo \"Restarted due to $FILENAME\"" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /api/database/prisma.yml: -------------------------------------------------------------------------------- 1 | datamodel: 2 | - datamodel.graphql 3 | - user.graphql 4 | endpoint: "http://localhost:4466" 5 | hooks: 6 | post-deploy: 7 | - "graphql get-schema --project database" 8 | - "graphql codegen" 9 | 10 | secret: ${env:PRISMA_SECRET} 11 | -------------------------------------------------------------------------------- /typescript-worker/queries/upsert_character.graphql: -------------------------------------------------------------------------------- 1 | mutation($where: CharacterWhereUniqueInput! $create: CharacterCreateInput! $update: CharacterUpdateInput!) { 2 | upsertCharacter( 3 | where: $where 4 | update: $update 5 | create: $create 6 | ) { 7 | id 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /typescript-worker/queries/createAnime.graphql: -------------------------------------------------------------------------------- 1 | mutation($rawName: String! $anilistId: Int! $malId: Int! $thumbnailUrl: String) { 2 | createAnime(data: { 3 | rawName: $rawName 4 | anilistId: $anilistId 5 | malId: $malId 6 | thumbnailUrl: $thumbnailUrl 7 | }) { 8 | id 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | const gulp = require("gulp"); 3 | const cp = require("child_process"); 4 | const typedoc = require("gulp-typedoc"); 5 | 6 | gulp.task("typedoc", () => gulp 7 | .src(["typescript-worker/*.ts"]) 8 | .pipe(typedoc({ 9 | tsconfig: "tsconfig.json", 10 | out: "./docs", 11 | name: "Worker Documentation" 12 | })) 13 | ); 14 | -------------------------------------------------------------------------------- /typescript-worker/__tests__/anime_resolver.spec.ts: -------------------------------------------------------------------------------- 1 | import { searchMALIdByRawName } from "../resolvers/anime_resolver"; 2 | 3 | jest.mock('graphql-request'); 4 | 5 | // request = () => '' 6 | test('search correctly attempts to search', async () => { 7 | // expect(); 8 | expect( 9 | await searchMALIdByRawName('New Game!') 10 | ).toBe(31953); 11 | 12 | }); 13 | -------------------------------------------------------------------------------- /typescript-worker/__tests__/file.spec.ts: -------------------------------------------------------------------------------- 1 | import { parseFileName } from "../ingest/file"; 2 | 3 | test('parsing names properly', () => { 4 | const testName = '[HorribleSubs] New Game! - 01 [720p].ass'; 5 | const [group, name, ep] = parseFileName(testName); 6 | expect(group).toEqual('HorribleSubs'); 7 | expect(name).toEqual('New Game!'); 8 | expect(ep).toEqual('01'); 9 | }); 10 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es6", 4 | "moduleResolution": "node", 5 | "module": "commonjs", 6 | "sourceMap": true, 7 | "rootDirs": [ 8 | "api", 9 | "typescript-worker" 10 | ], 11 | "outDir": "dist", 12 | "lib": [ 13 | "esnext", "dom" 14 | ] 15 | }, 16 | "exclude": [ 17 | "node_modules" 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /typescript-worker/queries/fetchCharactersByMalId.graphql: -------------------------------------------------------------------------------- 1 | query ($id: Int){ 2 | Media(idMal: $id, type: ANIME) { 3 | id 4 | coverImage { 5 | large 6 | } 7 | characters { 8 | nodes { 9 | image { 10 | medium 11 | } 12 | id 13 | name { 14 | first 15 | last 16 | native 17 | } 18 | } 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | # uncomment these lines to set env variables 2 | 3 | 4 | # your db connection url 5 | # DB_URL=postgres:///anime_index #[required] 6 | 7 | # api 8 | 9 | # PRISMA_ENDPOINT= "http://localhost:4466" #[required] 10 | # PRISMA_SECRET= "mysecret123" 11 | # APP_SECRET= "jwtsecret123" 12 | # JWT_SECRET= 13 | # SUPER_SECRET= 14 | 15 | # DATABASE_NAME=anime_index #[required] 16 | # DATABASE_USER=prisma-client #[required] 17 | -------------------------------------------------------------------------------- /.graphqlconfig.yml: -------------------------------------------------------------------------------- 1 | projects: 2 | app: 3 | schemaPath: api/schema.graphql 4 | extensions: 5 | endpoints: 6 | default: http://localhost:4466 7 | database: 8 | schemaPath: api/generated/prisma.graphql 9 | extensions: 10 | prisma: api/database/prisma.yml 11 | codegen: 12 | - generator: prisma-binding 13 | language: typescript 14 | output: 15 | binding: api/generated/prisma.ts 16 | -------------------------------------------------------------------------------- /typescript-worker/index.ts: -------------------------------------------------------------------------------- 1 | import { load } from "dotenv"; 2 | 3 | load(); 4 | import "./tools/startup"; 5 | // noinspection TsLint 6 | import "./ingest/subs"; 7 | 8 | 9 | // import './resolvers/anime_resolver'; 10 | 11 | // import './tools/startup'; 12 | // unrar("downloads/we.zip").then(console.log); 13 | import { crawlSubsComRu } from "./crawler/crawl"; 14 | crawlSubsComRu(); 15 | // extract('downloads/Angels_of_Death_TV_2018_Eng.rar').then(console.log) 16 | -------------------------------------------------------------------------------- /api/resolvers/index.ts: -------------------------------------------------------------------------------- 1 | import { animeQuery } from "./anime"; 2 | import { dialogueQuery } from "./dialogue"; 3 | import { episodesQuery } from "./episodes"; 4 | import { authMutation } from "./Mutation/auth"; 5 | import { profileQueries } from "./profile"; 6 | 7 | export const resolvers = { 8 | Query: { 9 | ...animeQuery, 10 | ...episodesQuery, 11 | ...dialogueQuery, 12 | ...profileQueries 13 | }, 14 | Mutation: { 15 | ...authMutation 16 | } 17 | }; 18 | -------------------------------------------------------------------------------- /api/resolvers/profile.ts: -------------------------------------------------------------------------------- 1 | import { Context } from "../utils"; 2 | 3 | export const profileQueries = { 4 | async profile( 5 | _, 6 | {}, 7 | ctx: Context, 8 | info 9 | ) { 10 | const user = await ctx.db.query.user({ 11 | where: { id: ctx.request.id } 12 | }); 13 | 14 | const { name, anilistName, email, malName, profilePicture } = user; 15 | console.log(user); 16 | return { 17 | name, 18 | anilistName, 19 | email, 20 | malName, 21 | profilePicture 22 | } 23 | } 24 | }; 25 | -------------------------------------------------------------------------------- /api/modules/session.ts: -------------------------------------------------------------------------------- 1 | import * as redisSession from "connect-redis"; 2 | import * as jwt from "express-jwt"; 3 | import * as session from "express-session"; 4 | import { cache as client } from "./cache"; 5 | 6 | const RedisStore = redisSession(session); 7 | 8 | export const tokens = jwt({ 9 | secret: process.env.SESSION_SECRET 10 | }); 11 | 12 | export const sess = session({ 13 | store: new RedisStore({ client }), 14 | name: "wsid", 15 | secret: process.env.SESSION_SECRET, 16 | resave: false, 17 | saveUninitialized: false, 18 | cookie: { 19 | httpOnly: true, 20 | secure: process.env.NODE_ENV === "production", 21 | maxAge: 1000 * 60 * 60 * 24 * 7 22 | } 23 | }); 24 | -------------------------------------------------------------------------------- /typescript-worker/tools/startup.ts: -------------------------------------------------------------------------------- 1 | import { spawnSync } from "child_process"; 2 | 3 | const NO_PRISMA_SECRET = `Missing PRISMA_SECRET environment variable: 4 | Set a PRISMA_SECRET in the .env file to make sure 5 | the worker script can properly interface with the database`; 6 | 7 | if (!process.env.PRISMA_SECRET) { 8 | console.error(NO_PRISMA_SECRET); 9 | process.exit(0); 10 | } 11 | 12 | if (process.platform !== "win32") { 13 | // We specifically need blocking behavior here 14 | const child = spawnSync("bash", ["typescript-worker/tools/process.sh"]); 15 | const [, stdout] = child.output; 16 | if (child.status !== 0) { 17 | console.error(stdout.toString()); 18 | process.exit(1); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /typescript-worker/tools/utils.ts: -------------------------------------------------------------------------------- 1 | import * as R from "ramda"; 2 | import { Tallied } from "../typings/util"; 3 | 4 | export const containsSublist = (blacklist: string[], checking: string[]) => 5 | R.intersection(blacklist.map(R.toLower), checking.map(R.toLower)).length !== 0; 6 | 7 | export const tally = (items: string[]): Tallied => items.reduce((coll, item) => ({ 8 | ...coll, 9 | [item]: coll[item] === undefined ? 0 : coll[item] + 1 10 | }), {}); 11 | 12 | export const mapLower = R.map(R.toLower); 13 | 14 | export const forEachAsync = async (callback: (item:T) => Promise, iterable: T[]) => { 15 | // noinspection TsLint (ok there is literally no other way to do this) 16 | for (const item of iterable) { 17 | await callback(item); 18 | } 19 | }; 20 | -------------------------------------------------------------------------------- /api/interfaces/query.d.ts: -------------------------------------------------------------------------------- 1 | import { DateTime } from "../generated/prisma"; 2 | 3 | export interface JwtResponse { 4 | readonly token: string; 5 | readonly exp: number; 6 | } 7 | 8 | export interface LoginCredentials { 9 | readonly email: string; 10 | readonly password: string; 11 | } 12 | 13 | export interface SignupCredentials extends LoginCredentials { 14 | readonly name: string; 15 | } 16 | 17 | export interface AuthResponse { 18 | readonly profile?: { 19 | readonly name: string; 20 | readonly createdAt: DateTime; 21 | readonly anilistName?: string; 22 | readonly email: string; 23 | readonly malName?: string; 24 | readonly profilePicture?: string; 25 | }; 26 | readonly successful: boolean; 27 | readonly token?: string; 28 | } 29 | 30 | -------------------------------------------------------------------------------- /typescript-worker/tools/process.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | exists() { 4 | command -v "$1" >/dev/null 2>&1 5 | } 6 | 7 | error_redis="Could not find the command 'redis-cli' in path, the worker script requires caching of \ 8 | requests to function efficiently. Make sure you have redis set up properly (or you can just use docker)." 9 | 10 | error_unar="Could not find the command 'unar' in path, for now the worker relies on being able \ 11 | to unpack rar files properly to be able to function. 'sudo apt install unar' will work for ubuntu \ 12 | machines (or you can just use docker)." 13 | 14 | if ! exists "redis-cli"; then 15 | echo "$error_redis" 16 | exit 1 17 | fi 18 | 19 | if ! exists "unar"; then 20 | echo "$error_unar" 21 | exit 1 22 | fi 23 | 24 | -------------------------------------------------------------------------------- /api/resolvers/episodes.ts: -------------------------------------------------------------------------------- 1 | import { Context } from "../utils"; 2 | 3 | export const episodesQuery = { 4 | async episodes( 5 | _, 6 | { animeId }: { animeId: string }, 7 | ctx: Context, 8 | info 9 | ) { 10 | // this 11 | const dialogue = await ctx.db.query.episodes( 12 | { 13 | where: { 14 | anime: { id: animeId } 15 | }, 16 | orderBy: "episodeNumber_ASC", 17 | first: 100 18 | }, 19 | info 20 | ); 21 | return dialogue; 22 | }, 23 | async episode( 24 | _, 25 | { episodeId: id }: { episodeId: string }, 26 | ctx: Context, 27 | info 28 | ) { 29 | return ctx.db.query.episode( 30 | { 31 | where: { 32 | id 33 | }, 34 | }, 35 | info 36 | ); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /typescript-worker/typings/spidey.d.ts: -------------------------------------------------------------------------------- 1 | export declare type QuerySelector = string; 2 | 3 | export interface SpiderOptions { 4 | readonly targets: string[]; 5 | readonly selector: QuerySelector; 6 | readonly limit?: number; 7 | readonly callback: (info: SpiderCallback) => Promise; 8 | readonly paginate?: QuerySelector; 9 | readonly respectRobotsTxt?: boolean; 10 | // userAgent: string; 11 | } 12 | 13 | // export interface SpiderResponse { 14 | // targets: string[]; 15 | // targetPerPage: number; 16 | // } 17 | 18 | export interface SpiderCallback { 19 | readonly cookie: string; 20 | readonly selections: CheerioElement[]; 21 | readonly processFiles: boolean; 22 | } 23 | 24 | export interface SpiderDownloader { 25 | readonly baseUrl: string; 26 | readonly processor: (args: SpiderCallback) => Promise; 27 | } 28 | -------------------------------------------------------------------------------- /api/utils.ts: -------------------------------------------------------------------------------- 1 | import * as jwt from "jsonwebtoken"; 2 | import { Prisma } from "./generated/prisma"; 3 | import { JwtResponse } from "./interfaces/query"; 4 | 5 | export interface UserSession { 6 | userId?: string; 7 | } 8 | 9 | export interface Session extends Express.Session { 10 | session: UserSession 11 | } 12 | 13 | export interface Context { 14 | db: Prisma; 15 | request: Express.Request & Session; 16 | } 17 | 18 | export class AuthError extends Error { 19 | constructor() { 20 | super("Not authorized"); 21 | } 22 | } 23 | 24 | export const signJwt = async (payload: object): Promise => { 25 | const expiry = process.env.TOKEN_EXPIRE || "10d"; 26 | const token = await jwt.sign(payload, process.env.JWT_SECRET, { 27 | expiresIn: expiry 28 | }); 29 | const { exp } = await jwt.decode(token) as { exp: number }; 30 | return { token, exp }; 31 | }; 32 | -------------------------------------------------------------------------------- /typescript-worker/__tests__/sub_group.spec.ts: -------------------------------------------------------------------------------- 1 | import { hasSubtitleFormat, hasValidSubtitleEnding, isValidSubFile, isValidSubGroup } from "../ingest/sub_groups"; 2 | 3 | const VALID_SUB = '[SubGroup] Title - Ep5 [720x].ass'; 4 | test('sanity', () => { 5 | expect(1 + 1).toBe(2); 6 | }); 7 | 8 | test('subtitle format', () => { 9 | expect(hasSubtitleFormat(VALID_SUB)).toBe(true); 10 | expect(hasSubtitleFormat('[123] Something Wrong [720].ass')).toBe(false); 11 | }); 12 | 13 | test('sub group matching', () => { 14 | expect(isValidSubGroup(VALID_SUB)).toBe(true); 15 | expect(isValidSubGroup('[__PLACEHOLDER__] Something Wrong [720].ass')).toBe(false); 16 | }); 17 | 18 | test('subtitle ending checks', () => { 19 | expect(hasValidSubtitleEnding(VALID_SUB)).toBe(true); 20 | expect(hasValidSubtitleEnding('[Group] Title - Episode [720].srt')).toBe(false); 21 | }); 22 | 23 | test('valid sub file pipe check', () => { 24 | expect(isValidSubFile(VALID_SUB)).toBe(true); 25 | expect(isValidSubFile('[Group] Title - Episode [720].srt')).toBe(false); 26 | }); 27 | -------------------------------------------------------------------------------- /api/schema.graphql: -------------------------------------------------------------------------------- 1 | # import User from "generated/prisma.graphql" 2 | # import Anime from "generated/prisma.graphql" 3 | # import Episode from "generated/prisma.graphql" 4 | # import Dialogue from "generated/prisma.graphql" 5 | 6 | type LoginCredentials { 7 | email: String! 8 | password: String! 9 | } 10 | 11 | type Profile { 12 | name: String! 13 | email: String! 14 | anilistName: String 15 | malName: String 16 | profilePicture: String 17 | } 18 | 19 | type AuthResponse { 20 | successful: Boolean! 21 | token: String 22 | } 23 | 24 | type Query { 25 | dialogues(search: String episodeId: ID episodeName: String): [Dialogue!]! 26 | anime(name: String!): Anime 27 | animes(search: String id: ID): [Anime!]! 28 | episodes(animeId: ID!): [Episode!]! 29 | episode(episodeId: ID!): Episode 30 | profile: Profile! 31 | } 32 | 33 | type Mutation { 34 | auth(token: String!): AuthResponse 35 | signIn(email: String!, password: String!): AuthResponse 36 | signUp(email: String!, password: String!, name: String!): AuthResponse 37 | logout: AuthResponse 38 | } 39 | -------------------------------------------------------------------------------- /api/resolvers/anime.ts: -------------------------------------------------------------------------------- 1 | import * as bcrypt from "bcryptjs"; 2 | import { AuthResponse, LoginCredentials } from "../interfaces/query"; 3 | import { Context, signJwt } from "../utils"; 4 | 5 | export const animeQuery = { 6 | async animes( 7 | _, 8 | { search, anime }: { search: string; anime: string }, 9 | ctx: Context, 10 | info 11 | ) { 12 | // this 13 | return ctx.db.query.animes( 14 | { 15 | where: { 16 | OR: [ 17 | { 18 | rawName_contains: search 19 | }, 20 | { 21 | name_contains: search 22 | } 23 | ], 24 | }, 25 | orderBy: "name_ASC", 26 | first: 100 27 | }, 28 | info 29 | ); 30 | }, 31 | async anime( 32 | _, 33 | { name }: { name: string }, 34 | ctx: Context, 35 | info 36 | ) { 37 | // this 38 | console.log('=============================') 39 | console.log(name) 40 | const dialogue = await ctx.db.query.anime( 41 | { 42 | where: { 43 | rawName: name 44 | }, 45 | }, 46 | info 47 | ); 48 | return dialogue; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /api/index.ts: -------------------------------------------------------------------------------- 1 | import * as dotenv from "dotenv"; 2 | dotenv.config(); 3 | 4 | import { GraphQLServer } from "graphql-yoga"; 5 | import * as helmet from "helmet"; 6 | import { Prisma } from "./generated/prisma"; 7 | import { auth, limitRedis } from "./modules/middlewares"; 8 | import { sess } from "./modules/session"; 9 | import { resolvers } from "./resolvers"; 10 | 11 | const server = new GraphQLServer({ 12 | context: req => ({ 13 | ...req, 14 | db: new Prisma({ 15 | debug: true, // log all GraphQL queries & mutations sent to the Prisma API 16 | endpoint: process.env.PRISMA_ENDPOINT, // the endpoint of the Prisma API (value set in `.env`) 17 | secret: process.env.PRISMA_SECRET, // only needed if specified in `database/prisma.yml` (value set in `.env`) 18 | }) 19 | }), 20 | resolvers, 21 | middlewares: [auth], 22 | typeDefs: "./api/schema.graphql" 23 | }); 24 | 25 | server.express.use(sess); 26 | server.express.use(limitRedis); 27 | server.express.use(helmet()); 28 | 29 | const cors = { 30 | credentials: true, 31 | origin: "http://localhost:4200" 32 | }; 33 | console.log(process.env.SESSION_SECRET) 34 | server.start({ cors }, () => console.log(`Server is running on http://localhost:4000`)); 35 | -------------------------------------------------------------------------------- /api/resolvers/dialogue.ts: -------------------------------------------------------------------------------- 1 | import { Context } from "../utils"; 2 | 3 | interface DialoguesQueryInput { 4 | search: string; 5 | episodeId: string; 6 | episodeName: string; 7 | } 8 | 9 | export const dialogueQuery = { 10 | async dialogues( 11 | _, 12 | { search, episodeId, episodeName }: DialoguesQueryInput, 13 | ctx: Context, 14 | info 15 | ) { 16 | // this 17 | let query; 18 | 19 | if (episodeId) { 20 | query = { episode: { id: episodeId } } 21 | } else if (episodeName) { 22 | query = { anime: { rawName: episodeName } } 23 | } else if (search) { 24 | // TODO: change this to solr searching 25 | query = { character: { 26 | OR: [ 27 | { 28 | rawName_contains: search 29 | }, 30 | { 31 | name_contains: search 32 | } 33 | ] 34 | }} 35 | } 36 | else { 37 | throw new Error('No valid input given') 38 | } 39 | const dialogue = await ctx.db.query.dialogues( 40 | { 41 | where: { 42 | ...query 43 | }, 44 | orderBy: "order_ASC", 45 | // first: 100 46 | }, 47 | info 48 | ); 49 | return dialogue; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /typescript-worker/typings/http.d.ts: -------------------------------------------------------------------------------- 1 | export interface MalHintItems { 2 | readonly id: number; 3 | readonly type: string; 4 | readonly name: string; 5 | readonly url: string; 6 | readonly image_url: string; 7 | readonly thumbnail_url: string; 8 | readonly payload: { 9 | readonly media_type: string; 10 | readonly start_year: number; 11 | readonly aired: string; 12 | readonly score: string; 13 | readonly status: string; 14 | }; 15 | readonly es_score: number; 16 | } 17 | 18 | export interface MalHintSearchResponse { 19 | readonly categories: Array<{ 20 | readonly type: string; 21 | readonly items: MalHintItems[]; 22 | }>; 23 | } 24 | 25 | interface AnilistCharacter { 26 | readonly id: string; 27 | readonly name: { 28 | readonly first?: string; 29 | readonly last?: string; 30 | readonly native?: string; 31 | }; 32 | } 33 | 34 | export interface AnilistCharacterResponse { 35 | readonly Media: { 36 | readonly id: number; 37 | readonly coverImage: { 38 | readonly large: string; 39 | } 40 | readonly characters: { 41 | readonly id: number; 42 | readonly image: { 43 | readonly medium?: string; 44 | } 45 | readonly nodes: AnilistCharacter[]; 46 | } 47 | }; 48 | } 49 | -------------------------------------------------------------------------------- /api/modules/ratelimit.ts: -------------------------------------------------------------------------------- 1 | import * as RateLimiter from "express-rate-limit"; 2 | import * as RedisStore from "rate-limit-redis"; 3 | import { cache } from "./cache"; 4 | 5 | export const limitRedis = new RateLimiter({ 6 | store: new RedisStore({ client: cache }), 7 | max: 100, 8 | windowMs: 1000 * 60 * 15, 9 | handler: (req, res, next) => { 10 | const payload = { 11 | message: "You're sending requests too quickly." 12 | }; 13 | res.status(429).send(JSON.stringify(payload)); 14 | } 15 | }); 16 | 17 | export const checkLimited = (key: string): Promise => 18 | new Promise((resolve, reject) => { 19 | cache.exists(key, (err, cb) => { 20 | if (err) { 21 | return reject(err); 22 | } 23 | return resolve(Boolean(cb)); 24 | }); 25 | }); 26 | 27 | export const rateLimit = (key: string, seconds: number = 1): Promise => 28 | new Promise((resolve, reject) => { 29 | cache.set(key, "1", (err, _) => { 30 | if (err) { 31 | return reject(err); 32 | } 33 | // tslint:disable-next-line:no-shadowed-variable 34 | cache.expire(key, seconds, (err, _) => { 35 | if (err) { 36 | return reject(err); 37 | } 38 | return resolve(); 39 | }); 40 | }); 41 | }); 42 | -------------------------------------------------------------------------------- /api/modules/middlewares.ts: -------------------------------------------------------------------------------- 1 | import { Context } from "../utils"; 2 | import { isOwner, isUserAuthorized, isUserLoggedIn } from "./auth"; 3 | import { checkLimited, rateLimit } from "./ratelimit"; 4 | export { limitRedis } from "./ratelimit"; 5 | 6 | /** 7 | * Checks authorization for 8 | * @param resolve 9 | * @param root 10 | * @param name 11 | * @param ctx 12 | * @param info 13 | */ 14 | export const authorization = async (resolve, root, name, ctx: Context, info) => { 15 | if(!isUserLoggedIn(ctx)) { 16 | return; 17 | } 18 | return resolve(); 19 | }; 20 | 21 | /** 22 | * Rate limiting spammy requests 23 | * @param resolve 24 | * @param root 25 | * @param args 26 | * @param ctx 27 | * @param info 28 | */ 29 | export const rateLimiting = async (resolve, root, args, ctx: Context, info) => { 30 | const ip: string = ctx.request.ip; 31 | const rateLimited: boolean = await checkLimited(ip); 32 | 33 | // TODO: this doesn't play too nicely with graphql introspection 34 | // if (rateLimited) { 35 | // throw new Error("You are sending requests too quickly"); 36 | // } 37 | 38 | await rateLimit(ip, 1); 39 | return resolve(); 40 | }; 41 | 42 | export const auth = { 43 | Query: { 44 | // dialogues: isUserAuthorized, 45 | profile: isUserAuthorized 46 | } 47 | }; 48 | 49 | -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "defaultSeverity": "error", 3 | "extends": [ 4 | "tslint:latest", 5 | "tslint-config-prettier", 6 | "tslint-eslint-rules", 7 | "tslint-immutable" 8 | ], 9 | "linterOptions": { 10 | "exclude": [ 11 | "api/generated/prisma.ts", 12 | "node_modules" 13 | ] 14 | }, 15 | "rules": { 16 | "indent": [ 17 | true, 18 | "spaces", 19 | 4 20 | ], 21 | "no-constant-condition": true, 22 | "no-console": false, 23 | "interface-name": [ 24 | true, 25 | "never-prefix" 26 | ], 27 | "object-curly-spacing": true, 28 | "object-literal-sort-keys": false, 29 | "semicolon": [ 30 | true, 31 | "always" 32 | ], 33 | "only-arrow-functions": true, 34 | 35 | "no-var-keyword": true, 36 | "typedef": [ 37 | true, 38 | "call-signature" 39 | ], 40 | "readonly-keyword": true, 41 | "no-eval": true, 42 | // this is way too much 43 | // "readonly-array": true, 44 | "no-parameter-reassignment": true, 45 | "no-let": true, 46 | "no-loop-statement": true, 47 | "no-object-mutation": true, 48 | "no-delete": true, 49 | "no-method-signature": true 50 | }, 51 | "rulesDirectory": [ 52 | "node_modules/tslint-eslint-rules/dist/rules" 53 | ] 54 | } 55 | -------------------------------------------------------------------------------- /typescript-worker/tools/logging.ts: -------------------------------------------------------------------------------- 1 | import { createLogger, format, transports } from "winston"; 2 | import "winston-daily-rotate-file"; 3 | 4 | // @ts-ignore 5 | const fileTransport = new (transports.DailyRotateFile)({ 6 | format: format.combine( 7 | format.label({ label: "worker" }), 8 | format.timestamp({ 9 | format: "HH-MM:ss YYYY-MM-DD" 10 | }), 11 | ), 12 | json: true, 13 | filename: "log/%DATE%.log", 14 | datePattern: "YYYY--MM-DD", 15 | zippedArchive: true, 16 | maxSize: "10m", 17 | maxFiles: "14d" 18 | }); 19 | 20 | const logFormat = format.combine( 21 | format.label({ label: "worker" }), 22 | format.timestamp({ 23 | format: 'HH-MM:ss YYYY-MM-DD' 24 | }), 25 | format.prettyPrint(), 26 | format.colorize(), 27 | format.align(), 28 | format.printf(info => { 29 | return `[${info.timestamp}] [${info.label}]@[${info.level}]: ${info.message}`; 30 | }) 31 | ); 32 | 33 | const consoleTransport = new transports.Console({ 34 | format: logFormat, 35 | // level: process.env.LOG_LEVEL || "info" 36 | level: "info" 37 | }); 38 | 39 | export const logger = createLogger({ 40 | // format: logFormat, 41 | transports: [ 42 | consoleTransport, 43 | fileTransport 44 | ], 45 | 46 | }); 47 | 48 | fileTransport.on("rotate", (past, present) => 49 | logger.info(`File rotated from "${past}" to "${present}"`) 50 | ); 51 | -------------------------------------------------------------------------------- /api/modules/auth.ts: -------------------------------------------------------------------------------- 1 | import * as jwt from "jsonwebtoken"; 2 | import { promisify } from "util"; 3 | import { AuthError, Context } from "../utils"; 4 | 5 | const jwtVerifyAsync = promisify(jwt.verify).bind(jwt); 6 | 7 | export const isUserLoggedIn = (ctx: Context) => ctx.request.session && Boolean(ctx.request.session.userId); 8 | 9 | export const isUserAuthorized = async (resolve, parent, args, ctx: Context): Promise => { 10 | const authHeader: string | undefined = ctx.request.get("Authorization"); 11 | 12 | if (!authHeader) { 13 | throw new AuthError(); 14 | } 15 | 16 | const [header, token] = authHeader.split(" "); 17 | if (header !== "Bearer") { 18 | throw new AuthError(); 19 | } 20 | 21 | try { 22 | const verified = await jwtVerifyAsync(token, process.env.JWT_SECRET); 23 | // TODO: Handle sessions manually here 24 | // ctx.session.touch(); 25 | const { userId } = verified; 26 | // noinspection TsLint 27 | ctx.request.id = userId; 28 | return resolve(); 29 | } catch (e) { 30 | throw new AuthError(); 31 | } 32 | }; 33 | 34 | export const isOwner = async (resolve, parent, args, ctx) => { 35 | return false; 36 | // const permit = ctx.request.get("Authorization") === process.env.SUPER_SECRET; 37 | // 38 | // if (!permit) { 39 | // throw new Error("Unauthorized"); 40 | // } 41 | // 42 | // return resolve(); 43 | }; 44 | -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: "3.5" 2 | services: 3 | prisma: 4 | image: prismagraphql/prisma:1.17 5 | container_name: "prisma" 6 | restart: always 7 | depends_on: 8 | - postgres 9 | - redis 10 | ports: 11 | - "4466:4466" 12 | environment: 13 | PRISMA_CONFIG: | 14 | port: 4466 15 | # uncomment the next line and provide the env var PRISMA_MANAGEMENT_API_SECRET=my-secret to activate cluster security 16 | # managementApiSecret: my-secret 17 | databases: 18 | default: 19 | connector: postgres 20 | host: postgres 21 | port: '5432' 22 | database: anime_index 23 | user: "prisma-client" 24 | password: "kawaii" 25 | migrations: true 26 | postgres: 27 | image: postgres 28 | container_name: "postgres" 29 | restart: always 30 | environment: 31 | POSTGRES_USER: "prisma-client" 32 | POSTGRES_PASSWORD: "kawaii" 33 | volumes: 34 | - postgres:/var/lib/postgresql/data 35 | redis: 36 | image: redis:alpine 37 | container_name: "redis" 38 | solr: 39 | container_name: "solr" 40 | image: solr 41 | ports: 42 | - "8983:8983" 43 | volumes: 44 | - core2:/opt/solr/server/solr/core2 45 | 46 | networks: 47 | postgres: 48 | driver: bridge 49 | 50 | volumes: 51 | postgres: 52 | core2: 53 | -------------------------------------------------------------------------------- /typescript-worker/resolvers/anime_resolver.ts: -------------------------------------------------------------------------------- 1 | import axios, { AxiosResponse } from "axios"; 2 | import * as R from "ramda"; 3 | import { MalHintSearchResponse } from "../typings/http"; 4 | 5 | export const MAL_HINT_ENDPOINT = "https://myanimelist.net/search/prefix.json?type=anime&keyword="; 6 | export const malSearchUrl = search => MAL_HINT_ENDPOINT + search; 7 | 8 | export const extractAnimesFromResponse = (resp: AxiosResponse) => { 9 | const { data } = resp; 10 | if (!data) { 11 | return; 12 | } 13 | const { categories } = data; 14 | if (!categories) { 15 | return; 16 | } 17 | const category = categories.find(cat => cat.type === "anime"); 18 | if (!category) { 19 | return; 20 | } 21 | return category.items; 22 | }; 23 | 24 | export const extractValidAnime = (animes, rawName) => { 25 | const fullMatch = animes.find( 26 | anime => anime.name.toLowerCase() === rawName.toLowerCase() 27 | ); 28 | return fullMatch || animes.shift(); 29 | }; 30 | 31 | export const searchMALIdByRawName = async (rawName: string): Promise => { 32 | const response = await axios.get(malSearchUrl(rawName)); 33 | const animes = extractAnimesFromResponse(response); 34 | // MAL Elasticsearch doesn't check full matches, so we check instead 35 | const target = extractValidAnime(animes, rawName); 36 | return target.id; 37 | }; 38 | 39 | // searchMALIdByRawName('New Game!').then(fetchCharactersByMalId).then(R.pipe(JSON.stringify, console.log)); 40 | -------------------------------------------------------------------------------- /typescript-worker/__mocks__/axios.ts: -------------------------------------------------------------------------------- 1 | import { MalHintSearchResponse } from "../typings/http"; 2 | 3 | const data: MalHintSearchResponse = { 4 | categories: [ 5 | { 6 | type: 'anime', 7 | items: [{ 8 | id: 34914, 9 | type: "anime", 10 | name: "New Game!!", 11 | url: "https://myanimelist.net/anime/34914/New_Game", 12 | image_url: "https://myanimelist.cdn-dena.com/r/116x180/images/anime/4/86790.jpg?s=62a3724f6171c87e4c2350ea483aefff", 13 | thumbnail_url: "https://myanimelist.cdn-dena.com/r/116x76/images/anime/4/86790.jpg?s=9fff26d9c4d18ade398692c54bf34cb5", 14 | payload: { 15 | media_type: "TV", 16 | start_year: 2017, 17 | aired: "Jul 11, 2017 to Sep 26, 2017", 18 | score: "7.90", 19 | status: "Finished Airing" 20 | }, 21 | es_score: 16.381521 22 | }, 23 | { 24 | id: 31953, 25 | type: "anime", 26 | name: "New Game!", 27 | url: "https://myanimelist.net/anime/31953/New_Game", 28 | image_url: "https://myanimelist.cdn-dena.com/r/116x180/images/anime/9/80417.jpg?s=0d7c4d09afa391f80cd2a662250da600", 29 | thumbnail_url: "https://myanimelist.cdn-dena.com/r/116x76/images/anime/9/80417.jpg?s=0b5d39d955aca98df64aa41613562a9d", 30 | payload: { 31 | media_type: "TV", 32 | start_year: 2016, 33 | aired: "Jul 4, 2016 to Sep 19, 2016", 34 | score: "7.73", 35 | status: "Finished Airing" 36 | }, 37 | es_score: 16.381521 38 | }] 39 | } 40 | ] 41 | }; 42 | 43 | export default { 44 | get: jest.fn(async () => ({ data })) 45 | }; 46 | -------------------------------------------------------------------------------- /typescript-worker/crawler/crawl.ts: -------------------------------------------------------------------------------- 1 | import axios, { AxiosResponse } from "axios"; 2 | import * as cheerio from "cheerio"; 3 | import * as R from "ramda"; 4 | import { processSubsComRu } from "../ingest/downloader"; 5 | import { logger } from "../tools/logging"; 6 | import { QuerySelector, SpiderOptions } from "../typings/spidey"; 7 | import { RESPECT_ROBOTS_TXT, USER_AGENT } from "./settings"; 8 | 9 | /** 10 | * Allows us to persist cookies 11 | */ 12 | export const request = axios.create({ 13 | // withCredentials: true, 14 | // maxRedirects: 0, 15 | headers: { 16 | "User-Agent": USER_AGENT 17 | } 18 | }); 19 | 20 | const TO_CRAWL = [ 21 | "http://subs.com.ru/list.php?c=enganime" 22 | ]; 23 | 24 | const getHtml = (response: AxiosResponse) => response.data; 25 | 26 | const filterDownloads = (target: QuerySelector, $: CheerioStatic) => $(target).toArray(); 27 | 28 | const crawl = async (options: SpiderOptions): Promise => { 29 | const { targets, selector, callback } = options; 30 | 31 | if (R.isEmpty(targets)) { 32 | return; 33 | } 34 | 35 | const [head, ...tail] = targets; 36 | 37 | logger.info(`Crawling URL: ${head}`); 38 | const axiosResponse = await request.get(head); 39 | const extractLinks = R.curry(filterDownloads)(selector); 40 | 41 | const getLinks = R.pipe( 42 | getHtml, 43 | cheerio.load, 44 | extractLinks 45 | ); 46 | 47 | const selections = getLinks(axiosResponse); 48 | 49 | // TODO: this maybe could cause problems with later crawlers? 50 | const cookie = axiosResponse.headers["set-cookie"]; 51 | await callback({ selections, cookie, processFiles: true }); 52 | 53 | return crawl({ ...options, targets: tail }); 54 | }; 55 | 56 | export const crawlSubsComRu = () => { 57 | logger.info("Crawing https://subs.com.ru"); 58 | return crawl({ targets: TO_CRAWL, selector: "a[href$=\"dl\"]", callback: processSubsComRu }); 59 | }; 60 | -------------------------------------------------------------------------------- /typescript-worker/typings/db.d.ts: -------------------------------------------------------------------------------- 1 | // interface AnimeCommit { 2 | // readonly anilistId: number | string; 3 | // readonly malId: number | string; 4 | // readonly rawName: string; 5 | // } 6 | 7 | import { 8 | CharacterCreateInput, 9 | CharacterUpdateInput, 10 | CharacterUpdateWithWhereUniqueWithoutAnimesInput, 11 | CharacterWhereUniqueInput 12 | } from "../../api/generated/prisma"; 13 | import { AssDialogue, FuseMatch, NameSortedDialogues, ParsedDialogue } from "./ass-parser"; 14 | import { AnilistCharacter } from "./http"; 15 | 16 | export interface CharacterCommit { 17 | readonly certainty?: number; 18 | readonly rawName: string; 19 | readonly name: string; 20 | readonly thumbnailUrl?: string; 21 | readonly anilistId?: number; 22 | readonly dialogues: DialogueCommit[]; 23 | readonly episodes: { readonly connect: { readonly id: string } }; 24 | } 25 | 26 | 27 | export interface DialogueCommit extends ParsedDialogue { 28 | readonly anime: { readonly connect: { readonly id: string } }; 29 | readonly episode: { readonly connect: { readonly id: string } }; 30 | } 31 | 32 | export interface CommitPayload { 33 | readonly subGroup: string; 34 | readonly episode: string; 35 | readonly animeName: string; 36 | readonly downloadUrl: string; 37 | readonly path: string; 38 | readonly fileName: string; 39 | readonly malId: number; 40 | readonly anilistId: number; 41 | readonly episodeLength: number; 42 | readonly archivePath?: string; 43 | readonly thumbnailUrl?: string; 44 | readonly file: { 45 | readonly characters: Array>; 46 | readonly dialogues: NameSortedDialogues; 47 | }; 48 | } 49 | 50 | export type PartialPayload = Partial; 51 | 52 | export interface UpsertCharacterInput { 53 | readonly where: CharacterWhereUniqueInput; 54 | readonly create: CharacterCreateInput; 55 | readonly update: CharacterUpdateInput; 56 | } 57 | -------------------------------------------------------------------------------- /typescript-worker/queries/index.ts: -------------------------------------------------------------------------------- 1 | import * as fs from "fs"; 2 | import { GraphQLError } from "graphql"; 3 | import { GraphQLClient } from "graphql-request"; 4 | import * as path from "path"; 5 | import * as R from "ramda"; 6 | import { promisify } from "util"; 7 | import { query } from "winston"; 8 | import { logger } from "../tools/logging"; 9 | import { AnilistCharacterResponse } from "../typings/http"; 10 | 11 | export const client = new GraphQLClient("http://localhost:4466", { 12 | headers: { 13 | Authorization: `Bearer ${process.env.PRISMA_SECRET}` 14 | } 15 | }); 16 | 17 | const QUERY_LOCATION = path.join("typescript-worker", "queries"); 18 | 19 | const readFileAsync = promisify(fs.readFile); 20 | 21 | const joinQueryLocation = (location: string) => 22 | path.join(QUERY_LOCATION, location + ".graphql"); 23 | 24 | export const getQuery = (location: string) => 25 | readFileAsync(joinQueryLocation(location)).then(R.toString); 26 | 27 | export const logDbError = (message, options?) => error => { 28 | const [err] = error.response.errors; 29 | if (error.message && isDuplicateError(error.message)) { 30 | logger.warn(`Attempted to save duplicate copy of item from ${err.path}`); 31 | logger.debug(JSON.stringify(error.request.variables, null, 2)); 32 | } else { 33 | console.log(error.response.errors.slice(0, 5)); 34 | logger.error(message); 35 | logger.debug(error); 36 | } 37 | if (options && options.passError) { 38 | return error; 39 | } 40 | }; 41 | 42 | export const isDuplicateError = (error: string) => 43 | error.includes("A unique constraint"); 44 | 45 | // export const handleError = (error: GraphQLError) => { 46 | // }; 47 | 48 | 49 | // export const query = (q: string, variables: object) => client.request; 50 | 51 | // const malClient = new GraphQLClient(); 52 | 53 | // export const fetchResponse = (traverse: (_:T) => K, res: T) => { 54 | // if 55 | // } 56 | 57 | -------------------------------------------------------------------------------- /typescript-worker/resolvers/character_resolver.ts: -------------------------------------------------------------------------------- 1 | import * as Fuse from "fuse.js"; 2 | import { GraphQLClient } from "graphql-request"; 3 | import * as R from "ramda"; 4 | import { redisMemoize } from "../ingest/cache"; 5 | import { DEFAULT_SPEAKER } from "../ingest/subs"; 6 | import { getQuery, logDbError } from "../queries"; 7 | import { FuseMatch, FuseResult } from "../typings/ass-parser"; 8 | import { AnilistCharacter, AnilistCharacterResponse } from "../typings/http"; 9 | 10 | const ANILIST_ENDPOINT = "https://graphql.anilist.co"; 11 | 12 | const CHARACTER_SIMILARITY_THRESHOLD = 60; 13 | 14 | const anilist = new GraphQLClient(ANILIST_ENDPOINT); 15 | 16 | export const fetchCharacters: (_: number | string) => Promise = 17 | redisMemoize("fetchCharacters", async (id: string | number) => { 18 | const q = await getQuery("fetchCharactersByMalId"); 19 | return anilist.request(q, { id }) 20 | .catch(logDbError(`Error fetching character ${id} from anilist`)); 21 | }); 22 | 23 | export const matchCharacters = 24 | (pool: AnilistCharacter[], characterNames: string[]): Array> => { 25 | const keys = ["name.first", "name.last", "name.native"]; 26 | const fuzzyNames = new Fuse(pool, { 27 | // @ts-ignore 28 | keys, 29 | includeScore: true, 30 | shouldSort: true, 31 | threshold: 0.45 // for some reason lower is better 32 | }); 33 | const matchFuzz = R.curry(matchCharacter)(fuzzyNames); 34 | return characterNames.map(matchFuzz); 35 | }; 36 | 37 | export const matchCharacter = (pool: Fuse, characterName: string): FuseMatch => { 38 | // @ts-ignore 39 | const hit: FuseResult = pool.search(characterName).shift(); 40 | return [characterName, hit && { 41 | ...hit, 42 | score: 1 - hit.score 43 | }]; 44 | }; 45 | 46 | export const safeJoinName = (first: string, last: string) => 47 | [first, last].join(" ").trim(); 48 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # api 2 | dist 3 | package-lock.json 4 | node_modules 5 | .idea 6 | .vscode 7 | *.log 8 | .env* 9 | 10 | # Byte-compiled / optimized / DLL files 11 | __pycache__/ 12 | downloads/ 13 | *.rar 14 | 15 | *.py[cod] 16 | *$py.class 17 | 18 | # C extensions 19 | *.so 20 | 21 | # Distribution / packaging 22 | .Python 23 | build/ 24 | develop-eggs/ 25 | dist/ 26 | downloads/ 27 | eggs/ 28 | .eggs/ 29 | lib/ 30 | lib64/ 31 | parts/ 32 | sdist/ 33 | var/ 34 | wheels/ 35 | *.egg-info/ 36 | .installed.cfg 37 | *.egg 38 | MANIFEST 39 | 40 | # PyInstaller 41 | # Usually these files are written by a python script from a template 42 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 43 | *.manifest 44 | *.spec 45 | 46 | # Installer logs 47 | pip-log.txt 48 | pip-delete-this-directory.txt 49 | 50 | # Unit test / coverage reports 51 | htmlcov/ 52 | .tox/ 53 | .coverage 54 | .coverage.* 55 | .cache 56 | nosetests.xml 57 | coverage.xml 58 | *.cover 59 | .hypothesis/ 60 | .pytest_cache/ 61 | 62 | # Translations 63 | *.mo 64 | *.pot 65 | 66 | # Django stuff: 67 | *.log 68 | local_settings.py 69 | db.sqlite3 70 | 71 | # Flask stuff: 72 | instance/ 73 | .webassets-cache 74 | 75 | # Scrapy stuff: 76 | .scrapy 77 | 78 | # Sphinx documentation 79 | docs/_build/ 80 | 81 | # PyBuilder 82 | target/ 83 | 84 | # Jupyter Notebook 85 | .ipynb_checkpoints 86 | 87 | # pyenv 88 | .python-version 89 | 90 | # celery beat schedule file 91 | celerybeat-schedule 92 | 93 | # SageMath parsed files 94 | *.sage.py 95 | 96 | # Environments 97 | .env 98 | .venv 99 | env/ 100 | venv/ 101 | ENV/ 102 | env.bak/ 103 | venv.bak/ 104 | 105 | # Spyder project settings 106 | .spyderproject 107 | .spyproject 108 | 109 | # Rope project settings 110 | .ropeproject 111 | 112 | # mkdocs documentation 113 | /site 114 | 115 | # mypy 116 | .mypy_cache/ 117 | 118 | \.vscode/ 119 | .idea/ 120 | 121 | Foundation\.1\.0\.dll 122 | 123 | lsar\.exe 124 | 125 | unar\.exe 126 | /docs 127 | api/generated/* 128 | -------------------------------------------------------------------------------- /typescript-worker/typings/ass-parser.d.ts: -------------------------------------------------------------------------------- 1 | export interface AssInfo { 2 | readonly Title: string; 3 | readonly ScriptType: string; 4 | readonly WrapStyle: string; 5 | readonly PlayResX: string; 6 | readonly PlayResY: string; 7 | readonly ScaledBorderAndShadow: "yes" | "no"; 8 | } 9 | 10 | export interface AssStyle { 11 | readonly format: string[]; 12 | readonly style: any[][]; // TODO: find out 13 | } 14 | 15 | type URL = string; 16 | type PATH = string; 17 | export type SavedFile = [URL, PATH]; 18 | 19 | export interface AssText { 20 | readonly raw: string; 21 | readonly combined: string; 22 | readonly parsed: { 23 | readonly tags: string[]; 24 | readonly text: string; 25 | readonly drawing: any[]; 26 | }; 27 | } 28 | 29 | export interface AssDialogue { 30 | readonly Layer: number; 31 | readonly Start: number; 32 | readonly End: number; 33 | readonly Style: string; 34 | readonly Name: string; 35 | readonly MarginL: number; 36 | readonly MarginR: number; 37 | readonly MarginV: number; 38 | readonly Effect: any; // don't know 39 | readonly Text: AssText; 40 | } 41 | 42 | export interface AssEvents { 43 | readonly format: string[]; 44 | readonly comment: string[]; 45 | readonly dialogue: AssDialogue[]; 46 | } 47 | 48 | 49 | export interface AssFile { 50 | readonly info: AssInfo; 51 | readonly styles: AssStyle; 52 | readonly events: AssEvents; 53 | } 54 | 55 | interface ParsedDialogue { 56 | readonly start: number; 57 | readonly end: number; 58 | readonly text: string; 59 | readonly name?: string; 60 | readonly order: number; 61 | } 62 | 63 | interface NameSortedDialogues { 64 | readonly [name: string]: ParsedDialogue[]; 65 | } 66 | 67 | export interface Grouped { 68 | readonly [name: string]: T; 69 | } 70 | 71 | type FileMatches = Array<[string, string]>; 72 | 73 | type MatchedFile = [string, string, string]; 74 | 75 | export declare const parse: (content: string) => AssFile; 76 | 77 | 78 | interface FuseResult { 79 | readonly item: (T | undefined); 80 | readonly score: number; 81 | } 82 | type FuseMatch = [string, FuseResult?]; 83 | 84 | -------------------------------------------------------------------------------- /typescript-worker/ingest/cache.ts: -------------------------------------------------------------------------------- 1 | import { Map } from "immutable"; 2 | import * as _redis from "redis"; 3 | import { promisify } from "util"; 4 | import { logger } from "../tools/logging"; 5 | 6 | const redis: _redis.RedisClient = 7 | process.env.TEST ? null : _redis.createClient(); 8 | 9 | const REDIS_CACHE_PREFIX = "cache"; 10 | /** 11 | * Redis cache expiration time in seconds 12 | * 2 weeks 13 | */ 14 | const REDIS_KEY_LIFETIME = 60 * 60 * 24 * 14; 15 | const getAsync = process.env.TEST ? null : promisify(redis.get).bind(redis); 16 | const setAsync = process.env.TEST ? null : promisify(redis.set).bind(redis); 17 | const expireAsync = process.env.TEST ? null : promisify(redis.expire).bind(redis); 18 | 19 | /** 20 | * Wrapper function for memoizing other functions through redis 21 | * saving the stringified version of the first argument as the key. 22 | * Should generally not be used with functions that take objects as params 23 | * as the memoization will be slower due to the key size 24 | * 25 | * 1st wrapper - wrapper name 26 | * 2nd wrapper - function to memoize 27 | * 3rd wrapper - wrapped function 28 | * 29 | * @param name - name of the wrapper function, used to reduce the cache 30 | * collisions between different functions, should they be called with 31 | * the same args 32 | * @param f - function to wrap 33 | */ 34 | export const redisMemoize = (name: string, f: (..._: any[]) => any) => async (...args) => { 35 | // Don't want to throw errors in test mode 36 | if (process.env.TEST) { 37 | return f(...args); 38 | } 39 | const [arg] = args; 40 | const argTarget = [REDIS_CACHE_PREFIX, name, JSON.stringify(arg)].join(":"); 41 | const cached = await getAsync(argTarget); 42 | if (cached) { 43 | // cached here is the right value here 44 | try { 45 | return JSON.parse(cached); 46 | } catch (e) { 47 | logger.error("Attempted to parse malformed JSON from redis"); 48 | logger.debug(cached); 49 | // return cached; 50 | } 51 | } 52 | const result = await f(...args); 53 | await setAsync(argTarget, JSON.stringify(result)); 54 | await expireAsync(argTarget, REDIS_KEY_LIFETIME); 55 | return result; 56 | }; 57 | -------------------------------------------------------------------------------- /typescript-worker/ingest/downloader.ts: -------------------------------------------------------------------------------- 1 | import * as fs from "fs"; 2 | import * as path from "path"; 3 | import * as R from "ramda"; 4 | import { Readable } from "stream"; 5 | import { request } from "../crawler/crawl"; 6 | import { SavedFile } from "../typings/ass-parser"; 7 | import { SpiderCallback } from "../typings/spidey"; 8 | import { processSavedFiles } from "./file_processor"; 9 | import { CommitPayload, PartialPayload } from "../typings/db"; 10 | 11 | const getWriteFile = (name: string) => fs.createWriteStream( 12 | path.join("downloads", name) 13 | ); 14 | 15 | const processSingleFile = 16 | (url: string, inStream: Readable, outStream: fs.WriteStream) => 17 | new Promise((res, rej) => { 18 | inStream.pipe(outStream); 19 | outStream.on("finish", () => res([url, outStream.path as string])); 20 | outStream.on("error", rej); 21 | }); 22 | 23 | const extractFileName = (url: string) => url.split("/").pop(); 24 | 25 | const downloadUrl = (url: string, cookie) => request.get(url, { 26 | responseType: "stream", 27 | // server doesn't reply without a session 28 | headers: { 29 | Cookie: cookie 30 | } 31 | }); 32 | 33 | export const processSubsComRu = async ({ selections, cookie, processFiles }: SpiderCallback) => { 34 | const LINK_PREPEND = "http://subs.com.ru/"; 35 | const extractUrl = response => response.request.res.responseUrl; 36 | 37 | const links = selections.map(link => LINK_PREPEND + link.attribs.href); 38 | const test = links.slice(0, 30); 39 | 40 | const promises = test.map(url => downloadUrl(url, cookie)); 41 | const downloads = await Promise.all(promises); 42 | 43 | const requestToStream = R.pipe( 44 | extractUrl, 45 | extractFileName, 46 | getWriteFile 47 | ); 48 | 49 | const writeFiles = downloads.map(requestToStream); 50 | const streams = R.zipWith( 51 | async (download, file): Promise => { 52 | const [downloadURL, savePath] = await processSingleFile(download.config.url, download.data, file); 53 | return { 54 | downloadUrl: downloadURL, 55 | path: savePath 56 | }; 57 | }, 58 | downloads, 59 | writeFiles 60 | ); 61 | 62 | const files = await Promise.all(streams); 63 | 64 | if (processFiles) { 65 | await processSavedFiles(files); 66 | // TODO: send data to file handler 67 | } 68 | return files; 69 | }; 70 | -------------------------------------------------------------------------------- /typescript-worker/__tests__/subs.spec.ts: -------------------------------------------------------------------------------- 1 | import * as R from 'ramda'; 2 | import { 3 | filterText, 4 | isTextUsable, 5 | isValidSpeaker, 6 | isValidStyle, parseDialogues, 7 | processFileContent, 8 | processFilePathAsync 9 | } from "../ingest/subs"; 10 | import { AssDialogue } from "../typings/ass-parser"; 11 | 12 | const EXAMPLE_FILE_LOCATION = 'resources/newgame.ass'; 13 | 14 | const dialogue: Partial = { 15 | Style: 'Main', 16 | Name: 'aoba', 17 | Text: { 18 | raw: "D-D-Don't tell me... you're thir—", 19 | combined: "D-D-Don't tell me... you're thir—", 20 | parsed: { 21 | drawing: [], 22 | tags: [], 23 | text: '' 24 | } 25 | } 26 | }; 27 | 28 | test('processing file from path', async () => { 29 | const dialogues = await processFilePathAsync(EXAMPLE_FILE_LOCATION); 30 | expect(dialogues.length > 300).toBe(true); 31 | }); 32 | 33 | test('filtering individual dialogues', async () => { 34 | const usable = isTextUsable(dialogue as AssDialogue); 35 | expect(usable).toBe(true); 36 | }); 37 | 38 | test('selecting valid speaker', async () => { 39 | const usable = isValidSpeaker(dialogue as AssDialogue); 40 | expect(usable).toBe(true); 41 | 42 | const unusableInput = { 43 | ...dialogue, 44 | Name: 'on-screen' 45 | }; 46 | const unusable = isValidSpeaker(unusableInput as AssDialogue); 47 | expect(unusable).toBe(false); 48 | }); 49 | 50 | test('selecting valid speaker', async () => { 51 | const usable = isValidStyle(dialogue as AssDialogue); 52 | expect(usable).toBe(true); 53 | 54 | const unusableInput = { 55 | ...dialogue, 56 | Style: 'Sign' 57 | }; 58 | const unusable = isValidStyle(unusableInput as AssDialogue); 59 | expect(unusable).toBe(false); 60 | }); 61 | 62 | test('removing hard newlines from dialogues', async () => { 63 | const correct = filterText(dialogue as AssDialogue); 64 | expect(correct).toEqual(dialogue); 65 | 66 | const newDialogue = { 67 | ...dialogue, 68 | Text: { 69 | combined: '{\\i0}Hifumi\\Nis\nbae{\\i1}' 70 | } 71 | }; 72 | const expected = { 73 | ...newDialogue, 74 | Text: { 75 | combined: 'Hifumiis\nbae' 76 | } 77 | }; 78 | const incorrect = filterText(newDialogue as AssDialogue); 79 | expect(incorrect).toEqual(expected); 80 | }); 81 | 82 | test('ordering subtitles', async () => { 83 | const dialogues = await processFilePathAsync(EXAMPLE_FILE_LOCATION); 84 | const ordered = parseDialogues(dialogues); 85 | 86 | const orderedTotal = R.compose(R.unnest, Object.values)(ordered); 87 | const speakers = Object.keys(ordered); 88 | 89 | expect(orderedTotal.length).toEqual(dialogues.length); 90 | expect(speakers.length).toBe(12); 91 | }); 92 | 93 | -------------------------------------------------------------------------------- /typescript-worker/ingest/file.ts: -------------------------------------------------------------------------------- 1 | import * as fs from "fs"; 2 | import * as glob from "glob"; 3 | import * as path from "path"; 4 | import * as R from "ramda"; 5 | import * as unpacker from "unpack-all"; 6 | import { promisify } from "util"; 7 | import { logger } from "../tools/logging"; 8 | import { GENERIC_SUB_REGEX } from "./sub_groups"; 9 | 10 | const BASE_DOWNLOAD_LOCATION = "downloads"; 11 | const { freeze } = Object; 12 | 13 | const ARCHIVE_GROUPS = freeze([ 14 | ".rar", 15 | ".zip" 16 | ]); 17 | 18 | const readDirAsnyc = promisify(fs.readdir); 19 | const unlinkAsync = promisify(fs.unlink); 20 | const globAsync = promisify(glob); 21 | 22 | interface UnrarOptions { 23 | readonly deleteAfter: boolean; 24 | } 25 | 26 | export const extractFileName = (pathName: string) => pathName.split(path.sep).pop(); 27 | 28 | 29 | /** 30 | * Unrars a file, optionally deleting it afterwards 31 | * 32 | * @param location - filesystem location 33 | * @param options - deleteAfter? 34 | * 35 | * @returns Promise - path of all the extracted files 36 | */ 37 | export const extract = async ( 38 | location: string, options?: UnrarOptions 39 | ) => new Promise(async (res, rej) => { 40 | const { deleteAfter } = options || { deleteAfter: false }; 41 | 42 | const fileName = extractFileName(location); 43 | const cleanName = fileName.split(".").shift(); 44 | unpacker.unpack(location, { 45 | targetDir: BASE_DOWNLOAD_LOCATION, 46 | forceDirectory: true, 47 | forceOverwrite: true, 48 | quiet: true 49 | }, async (err) => { 50 | if (err) { 51 | logger.error(err); 52 | return rej(err); 53 | } 54 | try { 55 | const baseExtractLocation = ['downloads', cleanName].join('/'); 56 | const files = await globAsync(baseExtractLocation + "/**/*.ass"); 57 | 58 | if (deleteAfter) { 59 | await unlinkAsync(location); 60 | } 61 | 62 | return res(files); 63 | } catch (e) { 64 | logger.error(e); 65 | return rej(e); 66 | } 67 | }); 68 | }); 69 | 70 | export const readSub = (file: string) => new Promise((resolve, reject) => { 71 | fs.readFile(file, (err, data) => { 72 | if (err) { 73 | return reject(err); 74 | } 75 | return resolve(data.toString()); 76 | }); 77 | }); 78 | 79 | type AnimeMetadata = [...Array<(string | undefined)>]; 80 | 81 | export const parseFileName = (name: string): AnimeMetadata => { 82 | const parsed = extractFileName(name); 83 | return R.match(GENERIC_SUB_REGEX, parsed).slice(1, 4); 84 | }; 85 | 86 | export const isArchive = (fileName: string) => 87 | ARCHIVE_GROUPS.some(group => fileName.includes(extractFileName(group))); 88 | // R.pipe( 89 | // extractFileName, 90 | // R.match(GENERIC_SUB_REGEX), 91 | // R.slice(1, 4) 92 | // ); 93 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "weebsearch", 3 | "scripts": { 4 | "start": "nodemon ./api/dist/index.js", 5 | "subs": "ts-node typescript-worker/index.ts", 6 | "dev": "npm-run-all --parallel start playground", 7 | "test": "tsc && jest --config=jest.config.js --env node", 8 | "test:worker": "TEST=true && tsc -p typescript-worker && jest --projects typescript-worker --config=jest.config.js --env node", 9 | "test:api": "TEST=true && tsc -p api && jest --projects typescript-worker --config=jest.config.js --env node", 10 | "debug": "dotenv -- nodemon -e ts,graphql -x ts-node --inspect api/index.ts", 11 | "playground": "graphql playground", 12 | "build": "rimraf dist && tsc", 13 | "build:worker": "tsc -p typescript-worker", 14 | "build:api": "tsc -p api", 15 | "lint:worker": "tslint --project typescript-worker" 16 | }, 17 | "dependencies": { 18 | "apollo-server": "^2.2.0", 19 | "ass-compiler": "0.0.9", 20 | "axios": "^0.18.0", 21 | "bcryptjs": "^2.4.3", 22 | "cheerio": "^1.0.0-rc.2", 23 | "connect-redis": "^3.4.0", 24 | "dotenv": "^6.0.0", 25 | "express-jwt": "^5.3.1", 26 | "express-rate-limit": "^3.3.1", 27 | "express-session": "^1.15.6", 28 | "fuse.js": "^3.3.0", 29 | "glob": "^7.1.3", 30 | "glob-fs": "^0.1.7", 31 | "graphql-request": "^1.8.2", 32 | "graphql-yoga": "^1.16.7", 33 | "helmet": "^3.15.0", 34 | "immutable": "^4.0.0-rc.12", 35 | "jsonwebtoken": "8.3.0", 36 | "prisma": "^1.20.1", 37 | "prisma-binding": "^2.1.6", 38 | "ramda": "^0.25.0", 39 | "rate-limit-redis": "^1.5.0", 40 | "redis": "^2.8.0", 41 | "robots-txt-parse": "^1.0.1", 42 | "unpack-all": "0.0.4", 43 | "winston": "^3.1.0", 44 | "winston-daily-rotate-file": "^3.5.1" 45 | }, 46 | "devDependencies": { 47 | "@types/axios": "^0.14.0", 48 | "@types/bcryptjs": "^2.4.2", 49 | "@types/cheerio": "^0.22.9", 50 | "@types/connect-redis": "0.0.7", 51 | "@types/dotenv": "^4.0.3", 52 | "@types/express-jwt": "0.0.40", 53 | "@types/express-rate-limit": "^2.9.3", 54 | "@types/express-session": "^1.15.11", 55 | "@types/fuzzyset.js": "0.0.1", 56 | "@types/jest": "^23.3.9", 57 | "@types/jsonwebtoken": "^7.2.8", 58 | "@types/node": "^10.12.4", 59 | "@types/ramda": "^0.25.41", 60 | "@types/redis": "^2.8.6", 61 | "dotenv-cli": "1.4.0", 62 | "graphql-cli": "^2.17.0", 63 | "gulp": "^3.9.1", 64 | "gulp-typedoc": "^2.2.0", 65 | "jest": "^23.6.0", 66 | "nodemon": "1.18.4", 67 | "npm-run-all": "4.1.3", 68 | "prettier": "^1.15.1", 69 | "prettier-tslint": "^0.4.0", 70 | "rimraf": "2.6.2", 71 | "ts-node": "6.2.0", 72 | "tslint": "^5.11.0", 73 | "tslint-config-prettier": "^1.15.0", 74 | "tslint-eslint-rules": "^5.4.0", 75 | "tslint-immutable": "^4.9.1", 76 | "typedoc": "^0.13.0", 77 | "typescript": "^3.1.6" 78 | }, 79 | "resolutions": { 80 | "graphql": "^14.0.2", 81 | "**/graphql": "^14.0.2" 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /api/database/datamodel.graphql: -------------------------------------------------------------------------------- 1 | type User { 2 | ## Input 3 | name: String! 4 | email: String! @unique 5 | anilistName: String 6 | malName: String 7 | profilePicture: String 8 | description: String 9 | ## Generated 10 | id: ID! @unique 11 | hash: String! 12 | salt: String! 13 | createdAt: DateTime! 14 | updatedAt: DateTime! 15 | } 16 | 17 | type APIKey { 18 | user: User! 19 | token: String! 20 | createdAt: DateTime! 21 | updatedAt: DateTime! 22 | } 23 | 24 | type Anime { 25 | id: ID! @unique 26 | anilistId: Int # it's possible that we will get multiple entries of the same 27 | malId: Int # character in one anime because of the different rawNames so these aren't unique 28 | rawName: String! @unique 29 | name: String 30 | thumbnailUrl: String 31 | bannerUrl: String 32 | characters: [Character!]! 33 | episodes: [Episode!]! 34 | dialogues: [Dialogue!]! 35 | seasons: [Season!]! 36 | files: [File!]! 37 | createdAt: DateTime! 38 | updatedAt: DateTime! 39 | } 40 | 41 | type Archive { 42 | id: ID! @unique 43 | linkUrl: String 44 | fileName: String! 45 | files: [File!]! 46 | createdAt: DateTime! 47 | updatedAt: DateTime! 48 | } 49 | 50 | type Character { 51 | id: ID! @unique 52 | anilistId: Int @unique 53 | rawName: String! 54 | name: String 55 | certainty: Int 56 | thumbnailUrl: String 57 | animes: [Anime!]! 58 | episodes: [Episode!]! 59 | seasons: [Season!]! 60 | dialogues: [Dialogue!]! 61 | createdAt: DateTime! 62 | updatedAt: DateTime! 63 | } 64 | 65 | type Dialogue { 66 | id: ID! @unique 67 | order: Int! 68 | # must have a character, __UNKNOWN__ if not defined 69 | character: Character! 70 | episode: Episode! 71 | season: Season 72 | anime: Anime! 73 | start: Int! 74 | end: Int! 75 | text: String! 76 | createdAt: DateTime! 77 | updatedAt: DateTime! 78 | } 79 | 80 | type Episode { 81 | id: ID! @unique 82 | anime: Anime! 83 | season: Season 84 | file: File! @unique 85 | displayName: String 86 | # not always parsed as numbers 87 | episodeNumber: String 88 | length: Int! 89 | subGroup: String! @default(value: "__UNKNOWN__") 90 | language: String! @default(value: "EN") 91 | characters: [Character!]! 92 | dialogues: [Dialogue!]! 93 | createdAt: DateTime! 94 | updatedAt: DateTime! 95 | } 96 | 97 | type File { 98 | id: ID! @unique 99 | anime: Anime! 100 | archive: Archive 101 | linkUrl: String 102 | fileName: String! @unique 103 | episode: Episode! 104 | createdAt: DateTime! 105 | updatedAt: DateTime! 106 | } 107 | 108 | type Season { 109 | id: ID! @unique 110 | anime: Anime! 111 | archive: Archive 112 | dialogues: [Dialogue!]! 113 | # I don't know how I feel about this one yet 114 | createdAt: DateTime! 115 | updatedAt: DateTime! 116 | } 117 | -------------------------------------------------------------------------------- /typescript-worker/ingest/db.ts: -------------------------------------------------------------------------------- 1 | import { GraphQLClient } from "graphql-request"; 2 | import * as R from "ramda"; 3 | import { 4 | AnimeCreateInput, 5 | ArchiveCreateInput, CharacterCreateInput, CharacterUpdateInput, 6 | CharacterWhereUniqueInput, 7 | FileCreateInput 8 | } from "../../api/generated/prisma"; 9 | import { getQuery, logDbError } from "../queries"; 10 | import { logger } from "../tools/logging"; 11 | import { UpsertCharacterInput } from "../typings/db"; 12 | 13 | const DATABASE_ENDPOINT = process.env.PRISMA_ENDPOINT; 14 | const client = new GraphQLClient(DATABASE_ENDPOINT, { 15 | headers: { 16 | Authorization: `Bearer ${process.env.DATABASE_TOKEN}` 17 | } 18 | }); 19 | 20 | /** 21 | * Creates an anime 22 | * @param params 23 | */ 24 | export const createAnime = (params: AnimeCreateInput): Promise => 25 | getQuery("createAnime") 26 | .then(q => client.request(q, params)) 27 | .then(res => { 28 | logger.info(`Created anime: ${params.rawName}`); 29 | return res; 30 | }) 31 | .catch(logDbError(`Could not commit anime ${params.rawName} to db`)); 32 | 33 | export const createArchive = (params: ArchiveCreateInput): Promise<|undefined> => 34 | getQuery("create_archive") 35 | .then(q => client.request(q, params)) 36 | .then(res => { 37 | logger.info(`Created archive: ${params.fileName}`); 38 | return res; 39 | }) 40 | .catch(logDbError(`Could not commit archive ${params.fileName} to db`)); 41 | 42 | export const createFile = (params: FileCreateInput) => 43 | getQuery("create_file") 44 | .then(q => client.request(q, { file: params })) 45 | .then(res => { 46 | logger.info(`Created file: ${params.fileName}`); 47 | return res; 48 | }) 49 | .catch(logDbError(`Could not commit file ${params.fileName} to db`)); 50 | 51 | export const upsertCharacter = (input: UpsertCharacterInput) => getQuery("upsert_character") 52 | .then(q => client.request(q, input)) 53 | .then(res => { 54 | // @ts-ignore 55 | logger.info(`Upserted character: ${input.create.rawName}`); 56 | return res; 57 | }) 58 | .catch(logDbError(`Could not commit character ${input.create.rawName} to db`)); 59 | 60 | export const getAnime = (rawName: string) => getQuery("find_anime") 61 | .then(q => client.request(q, { rawName })) 62 | .catch(logDbError(`Could not get Anime ${rawName}`)); 63 | 64 | export const getArchive = (rawName: string) => getQuery("find_archive") 65 | .then(q => client.request(q, { rawName })) 66 | .catch(logDbError(`Could not get Archive ${rawName}`)); 67 | 68 | export const getCharacter = (anilistId: number) => getQuery("find_character") 69 | .then(q => client.request(q, { anilistId })) 70 | .catch(logDbError(`Could not get Character ${anilistId}`)); 71 | 72 | export const getFile = (fileName: string) => getQuery("find_file") 73 | .then(q => client.request(q, { fileName })) 74 | .catch(logDbError(`Could not get File ${fileName}`)); 75 | -------------------------------------------------------------------------------- /api/resolvers/Mutation/auth.ts: -------------------------------------------------------------------------------- 1 | import * as bcrypt from "bcryptjs"; 2 | import * as jwt from "jsonwebtoken"; 3 | import { promisify } from "util"; 4 | import { User } from "../../generated/prisma"; 5 | import { AuthResponse, LoginCredentials } from "../../interfaces/query"; 6 | import { Context, signJwt } from "../../utils"; 7 | 8 | const extractProfile = (userProfile: User) => { 9 | const { id, hash, updatedAt, salt, ...rest } = userProfile; 10 | return rest; 11 | }; 12 | 13 | 14 | export const authMutation = { 15 | async signUp( 16 | parent, 17 | { email, password, name }, 18 | ctx: Context 19 | ): Promise { 20 | 21 | const saltRounds = Number(process.env.SALT_ROUNDS || 8); 22 | const salt = await bcrypt.genSalt(saltRounds); 23 | const hash = await bcrypt.hash(password, salt); 24 | 25 | const user = await ctx.db.mutation.createUser({ 26 | data: { 27 | email, 28 | name, 29 | hash, 30 | salt 31 | } 32 | }); 33 | 34 | const { token } = await signJwt({ id: user.id }); 35 | const profile = extractProfile(user); 36 | return { 37 | profile, 38 | token, 39 | successful: true 40 | }; 41 | }, 42 | async signIn( 43 | parent, 44 | { email, password }: LoginCredentials, 45 | ctx: Context 46 | ): Promise { 47 | const client = await ctx.db.query.user({ 48 | where: { email } 49 | }); 50 | 51 | if (!client) { 52 | // We don't want to give tips on wrong username/password 53 | return { successful: false }; 54 | } 55 | 56 | const hash = await bcrypt.hash(password, client.salt); 57 | const authorized = hash === client.hash; 58 | 59 | if (!authorized) { 60 | return { successful: false }; 61 | } 62 | 63 | const { token } = await signJwt({ userId: client.id }); 64 | const profile = extractProfile(client); 65 | 66 | return { 67 | profile, 68 | token, 69 | successful: true 70 | }; 71 | }, 72 | // API authentication 73 | async auth( 74 | parent, 75 | { token }: { readonly token: string }, 76 | ctx: Context 77 | ): Promise { 78 | try { 79 | const payload = await jwt.verify(token, process.env.JWT_SECRET); 80 | 81 | const { userId: id } = payload as { readonly userId: string }; 82 | 83 | // noinspection TsLint 84 | ctx.request.session.userId = id; 85 | 86 | const client = await ctx.db.query.user({ 87 | where: { id } 88 | }); 89 | 90 | if (!client) { 91 | return { successful: false }; 92 | } 93 | 94 | return { 95 | successful: true 96 | }; 97 | } catch (e) { 98 | console.error(e); 99 | return { successful: false }; 100 | } 101 | }, 102 | async logout( 103 | parent, 104 | {}, 105 | ctx: Context 106 | ): Promise { 107 | // @ts-ignore 108 | return new Promise((resolve, reject) => { 109 | if (!ctx.request.session.userId) { 110 | return resolve({ successful: false }); 111 | } 112 | // const destroySessionAsync = promisify(ctx.request.destroy) 113 | // const result = await destroySessionAsync(); 114 | ctx.request.session.destroy((err) => { 115 | // if (err) { 116 | // return resolve({ successful: false }); 117 | // } 118 | return resolve({ successful: true }); 119 | }); 120 | }); 121 | } 122 | }; 123 | -------------------------------------------------------------------------------- /typescript-worker/ingest/sub_groups.ts: -------------------------------------------------------------------------------- 1 | import * as R from "ramda"; 2 | import { tally } from "../tools/utils"; 3 | import { FileMatches, Grouped, MatchedFile } from "../typings/ass-parser"; 4 | import { PartialPayload } from "../typings/db"; 5 | import { Tallied } from "../typings/util"; 6 | import { parseFileName } from "./file"; 7 | 8 | const { freeze } = Object; 9 | 10 | /** 11 | * Subtitles come in the following form, we have to stick to this 12 | * standard because otherwise it becomes impossible to parse any sort 13 | * of file name. Everything is an exception to the rule in a way... 14 | * 15 | * @example [subGroup] name - episode - [720p] [something hud dur].ass 16 | */ 17 | export const GENERIC_SUB_REGEX = /\[(.+)\] (.+) - (.+?) [\[(]/; 18 | 19 | /** 20 | * Sub groups we don't want to use 21 | */ 22 | export const BLACKLISTED_GROUPS = freeze([ 23 | "__PLACEHOLDER__" 24 | ]); 25 | 26 | /** 27 | * Subtitle files that we accept, these could include 28 | * 29 | * - ass 30 | * - srt 31 | * - sub 32 | */ 33 | export const VALID_FILE_TYPES = freeze([ 34 | ".ass" 35 | ]); 36 | 37 | /** 38 | * Certain sub groups are better than others 39 | * but sometimes the top sub group does not 40 | * have enough files, so we need weights to be 41 | * able to accurately compare them 42 | */ 43 | export const SUB_GROUP_WEIGHTS = freeze({ 44 | HorribleSubs: 10, 45 | EraiRaws: 8.4 46 | }); 47 | 48 | export const DEFAULT_SUB_GROUP_WEIGHT = 5; 49 | 50 | export const hasSubtitleFormat = R.pipe( 51 | R.match(GENERIC_SUB_REGEX), 52 | R.isEmpty, 53 | R.not 54 | ); 55 | 56 | export const isValidSubGroup = (file: string) => { 57 | const match = file.match(GENERIC_SUB_REGEX); 58 | if (!match) { 59 | return false; 60 | } 61 | const [, group] = match; 62 | return !R.contains(group, BLACKLISTED_GROUPS); 63 | }; 64 | 65 | export const hasValidSubtitleEnding = (file: string) => 66 | R.any(type => R.endsWith(type, file), VALID_FILE_TYPES); 67 | 68 | 69 | export const isValidSubFile = (file: string) => [ 70 | isValidSubGroup, hasValidSubtitleEnding, hasSubtitleFormat 71 | ].every(fn => fn(file)); 72 | 73 | export const groupBySubGroup = (files: FileMatches): Grouped => R.reduce((collector, [subGroup, filePath]) => { 74 | const obj = collector[subGroup] ? collector : { 75 | ...collector, 76 | [subGroup]: [] 77 | }; 78 | obj[subGroup].push(filePath); 79 | return obj; 80 | }, {})(files); 81 | 82 | export const extractSubGroup = (filePath: string) => parseFileName(filePath).shift(); 83 | 84 | export const filterDuplicateFiles = (matches: MatchedFile[]) => 85 | matches.reduce((coll: MatchedFile[], item: MatchedFile) => { 86 | const [subGroup, _, ep] = item; 87 | if (!coll.find((match: MatchedFile) => match[0] === subGroup && match[2] === ep)) { 88 | coll.push(item); 89 | } 90 | return coll; 91 | }, []); 92 | 93 | type Group = [string, number]; 94 | /** 95 | * Finds the most suitable sub group in a folder, taking into account 96 | * preference of one group over the other and how many files are 97 | * available from each group 98 | * @param tallied 99 | */ 100 | export const findBestSubGroup = (tallied: Tallied): string => 101 | Object.entries(tallied).reduce((coll: Group, [key, value]: Group) => { 102 | const [previousGroup, previousAmount] = coll; 103 | // The amount each sub group is worth 104 | const multiplier = SUB_GROUP_WEIGHTS[key] || DEFAULT_SUB_GROUP_WEIGHT; 105 | const currentAmount = value * multiplier; 106 | const isBestSubGroup = currentAmount > previousAmount; 107 | return isBestSubGroup ? [ 108 | key, 109 | currentAmount 110 | ] : [ 111 | previousGroup, 112 | previousAmount 113 | ]; 114 | }, ["UNKNOWN", -1])[0]; 115 | 116 | /** 117 | * Filtering a list of paths or file names to only use the best 118 | * suitable sub groups 119 | * @param matchingFiles 120 | */ 121 | export const filterUsableSubs = (matchingFiles: PartialPayload[]): PartialPayload[] => { 122 | const isNotNil = item => !R.isNil(item); 123 | // 124 | const matchedFiles = matchingFiles.map(file => { 125 | const [subGroup, animeName, episode] = parseFileName(file.path); 126 | return { 127 | ...file, 128 | subGroup, 129 | animeName, 130 | episode 131 | }; 132 | }); 133 | // 134 | // const existingSubGroups = subGroups.filter(isNotNil); 135 | // const singular = filterDuplicateEpisodes(existingSubGroups as MatchedFile[]); 136 | // 137 | const tallied = tally(matchedFiles.map(a => a.subGroup)); 138 | const bestSubGroup = findBestSubGroup(tallied); 139 | // 140 | return matchedFiles.filter(matching => matching.subGroup === bestSubGroup); 141 | }; 142 | 143 | 144 | // export const isSubUsable = (matchingFile: string): boolean => { 145 | // 146 | // } 147 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
2 |

An open source database of anime episode and character transcripts.

3 |
4 | 5 | 6 |
7 | 8 |
9 | 10 |
11 | 12 | #### Why? 13 | 14 | Anime is great, and while there's a lot of information out there on anime metadata 15 | on great sites like [Anilist](http://anilist.co/), there's no 16 | way to know what your favorite characters have said without going through 17 | all the episodes yourself. What exactly did Aoba say in S1 E1 18 | of [New Game!](https://anilist.co/anime/21455)? How often did Louise speak 19 | in the first season of [Familiar of Zero](https://anilist.co/anime/1195/The-Familiar-of-Zero/) 20 | compared to the last? ¯\\\_(ツ)\_/¯ 21 | 22 | These are interesting things to be able to answer. Why do I want to answer 23 | them? Stop asking so many questions. 24 | 25 | #### How does (will) it work? 26 | 27 | - Crawlers fetch subtitles from websites 28 | 29 | - Subs that don't match one of the handful of known and consistent formats are filtered out 30 | 31 | - **Some** subtitles have information on speakers, those are parsed as well 32 | 33 | - Anime, episode and character information is looked up on `MAL` and `Anilist` 34 | 35 | - Data is given structure and saved on Postgres 36 | 37 | - Solr is updated with new information as they get added to Postgres 38 | 39 | - GraphQL is used as an API to interface with Elasticsearch 40 | 41 | - Requests are checked and cached on Redis for each query 42 | 43 | ## Todo and Planned Features 44 | 45 | ### Workers (Typescript) 46 | 47 | - [x] Support multiple sub groups 48 | 49 | - [ ] Support multiple file types **(rar, zip, 7z, tar.gz)** 50 | 51 | - [ ] Support Japanese subtitles 52 | 53 | - [ ] Add more sub websites to crawl 54 | 55 | 56 | ### Backend (Typescript) 57 | 58 | - [x] ~~Integrate Hifumi's API~~ or start the API from scratch with Prisma 59 | 60 | - [x] User authentication, ~~JWT?~~ Sessions. 61 | 62 | - [x] Internal Graphql to expose ORM features to the workers 63 | 64 | - [ ] Solr integration for indexing dialogues 65 | 66 | - [ ] Redis integration for caching user queries 67 | 68 | ### Frontend (Angular) [Frontend Repo](https://github.com/Xetera/WeebSearch.com) 69 | 70 | - [x] Start a website with Angular 71 | 72 | - [ ] Create a web-based transcript editor to fix parsing mistakes or add new information 73 | 74 | - Available to users designated as data mods 75 | 76 | - Supports: 77 | 78 | - Marking lines with the correct speakers [color coded] 79 | 80 | - Editing existing character information 81 | 82 | - Editing episode and character metadata 83 | 84 | - Deleting unnecessary dialogues and characters (which there are a lot of) 85 | 86 | - Merging animes, dialogues, characters and more 87 | 88 | 89 | 90 |
91 | 92 | 93 | 94 | 95 | 96 |
97 | 98 | 99 | ## Getting Started 100 | 101 | ##### Manual 102 | 1. Copy .env.example to .env 103 | 2. Run `npm install` 104 | 3. Install [Postgres](https://www.postgresql.org/download/) 105 | 4. Install [Redis](https://redis.io/download) 106 | 5. Run `prisma deploy` 107 | 108 | ##### Docker 109 | 1. Copy .env.example to .env 110 | 2. Download [Docker](https://www.docker.com/get-started) 111 | 3. Run `docker-compose up -d` 112 | 4. Run `prisma deploy` 113 | 114 | #### Tools 115 | 116 | - `npm run subs` starting the sub crawler 117 | 118 | - `npm start` start the API to serve data 119 | 120 | - `npm run lint` checks the code for tslint violations 121 | 122 | - `npm test` runs jest tests against the __spec.ts__ files 123 | - Remember to include tests for new changes 124 | 125 | ##### Contributing 126 | Yes, I know the TSLint rules are very restrictive if you're not used to 127 | functional style. But you can do it, I believe in you, you don't need 128 | to use silly for loops when you have map, reduce and recursion. 129 | 130 | I do expect the linter to pass for commits to get merged so you might 131 | want to keep an eye out for that. 132 |
133 | 134 | **Note:** 135 | 136 | This service is still a work in progress, meaning any documentation 137 | or service component may change or get added _literally_ overnight 138 | -------------------------------------------------------------------------------- /typescript-worker/ingest/subs.ts: -------------------------------------------------------------------------------- 1 | import { compile, parse } from "ass-compiler"; 2 | import * as R from "ramda"; 3 | import { searchMALIdByRawName } from "../resolvers/anime_resolver"; 4 | import { fetchCharacters, matchCharacters } from "../resolvers/character_resolver"; 5 | import { AssDialogue, AssFile, NameSortedDialogues, ParsedDialogue } from "../typings/ass-parser"; 6 | import { createAnime, createArchive } from "./db"; 7 | import { extract, parseFileName, readSub } from "./file"; 8 | import { filterUsableSubs } from "./sub_groups"; 9 | 10 | // declare const parse = (content: string): AssFile => parse(content); 11 | 12 | /** 13 | * Control characters that appear for formatting 14 | * 15 | * Effect modifiers: {\i0}Hello{\i1} 16 | * Hard newline: \N 17 | */ 18 | export const CONTROL_CHARACTER_REGEX = /({\\.+?}|\\N)/g; 19 | export const DEFAULT_SPEAKER = "__UNKNOWN__"; 20 | 21 | export const INVALID_SPEAKERS = Object.freeze([ 22 | "on-screen" 23 | ]); 24 | 25 | export const INVALID_STYLES = Object.freeze([ 26 | "Sign", 27 | "OP", 28 | "ED" 29 | ]); 30 | 31 | export const parseSub: (content: string) => AssFile = parse; 32 | 33 | export const getSubDialogues = (file: AssFile): ReadonlyArray => file.events.dialogue; 34 | 35 | 36 | export const isValidStyle = (dialogue: AssDialogue) => 37 | INVALID_STYLES.every(speaker => R.toLower(speaker) !== R.toLower(dialogue.Style)); 38 | 39 | export const isValidSpeaker = (dialogue: AssDialogue) => 40 | INVALID_SPEAKERS.every(speaker => R.toLower(speaker) !== R.toLower(dialogue.Name)); 41 | 42 | export const filterText = (text: AssDialogue) => ({ 43 | ...text, 44 | Text: { 45 | combined: text.Text.combined.replace(CONTROL_CHARACTER_REGEX, ""), 46 | ...(text.Text) 47 | } 48 | }); 49 | 50 | const lineConditions = (dialogue: AssDialogue) => { 51 | const unfiltered = dialogue.Text.combined; 52 | // lazy evaluation 53 | return [ 54 | () => unfiltered.length < 200, 55 | () => !R.isEmpty(unfiltered), 56 | () => !unfiltered.startsWith("{+"), 57 | () => isValidSpeaker(dialogue), 58 | () => isValidStyle(dialogue) 59 | // () => unfiltered.length < Math.floor(filterText(unfiltered).length * 1.6) 60 | ]; 61 | }; 62 | 63 | export const isTextUsable = (dialogue: AssDialogue): boolean => 64 | lineConditions(dialogue).every(func => func()); 65 | 66 | export const filterUsableTexts: (arr: AssDialogue[]) => AssDialogue[] = R.filter(isTextUsable); 67 | 68 | type FileToDialogues = (content: string) => AssDialogue[]; 69 | 70 | export const processFileContent: FileToDialogues = R.pipe( 71 | parseSub, 72 | getSubDialogues, 73 | filterUsableTexts, 74 | R.map(filterText) 75 | ); 76 | 77 | type PathToDialoguesAsync = (path: string) => Promise; 78 | 79 | export const processFilePathAsync: PathToDialoguesAsync = R.pipeP( 80 | readSub, 81 | async sub => processFileContent(sub) 82 | ); 83 | 84 | export const createDialogue = (dialogue: AssDialogue, order): ParsedDialogue => ({ 85 | name: dialogue.Name, 86 | start: Math.round(dialogue.Start), 87 | text: dialogue.Text.combined, 88 | end: Math.round(dialogue.End), 89 | order 90 | }); 91 | 92 | export const parseDialogues = (dialogues: AssDialogue[]): NameSortedDialogues => 93 | dialogues.reduce( 94 | (acc: [NameSortedDialogues, number], dialogue: AssDialogue) => { 95 | const [collector, order] = acc; 96 | const { Name } = dialogue; 97 | const target = Name || DEFAULT_SPEAKER; 98 | 99 | const obj = collector[target] ? collector : { 100 | ...collector, 101 | [target]: [] 102 | }; 103 | // MUTATION? DISGUSTING 104 | const parsed = createDialogue(dialogue, order); 105 | obj[target].push(parsed); 106 | return [obj, order + 1]; 107 | }, [{}, 0])[0]; 108 | 109 | export const getEpisodeLength = (dialogues: AssDialogue[]) => 110 | Math.max(...dialogues.map(dialogue => dialogue.End)); 111 | 112 | 113 | 114 | // (async () => { 115 | // // console.log(Rar) 116 | // // const target = 'downloads/New_Game_TV_2016_Eng/[HorribleSubs] New Game! - 01 [720p].ass'; 117 | // const archive = "downloads/New_Game_TV_2016_Eng.rar"; 118 | // try { 119 | // const filePaths = await extract(archive); 120 | // 121 | // // console.log(characters); 122 | // // console.log(search); 123 | // // const groupedDialogues = filteredDialogues.map(parseDialogues); 124 | // // console.log(Object.keys(groupedDialogues[1])); 125 | // 126 | // 127 | // // parseDialogues(filteredDialogues[0]); 128 | // 129 | // // console.log(filteredDialogues.pop()); 130 | // // console.log(filteredDialogues) 131 | // // console.log("time", Date.now() - now); 132 | // 133 | // // console.log(await processFilePathAsync(bb[0])); 134 | // 135 | // 136 | // } catch (err) { 137 | // console.log("something wrong"); 138 | // console.log(err); 139 | // } 140 | // // const dialogues = bb.map(parseAndExtract) 141 | // 142 | // // console.log(dialogues[0]) 143 | // // const fileStr: string = (await readFileAsync()).toString() 144 | // // const file: AssFile = parse(fileStr) 145 | // // console.log(JSON.stringify(file.events.dialogue.slice(100, 120), null, 4)) 146 | // // console.log(file) 147 | // // console.log(parse(file)) 148 | // })(); 149 | 150 | -------------------------------------------------------------------------------- /typescript-worker/ingest/file_processor.ts: -------------------------------------------------------------------------------- 1 | import * as R from "ramda"; 2 | import { searchMALIdByRawName } from "../resolvers/anime_resolver"; 3 | import { fetchCharacters, matchCharacters, safeJoinName } from "../resolvers/character_resolver"; 4 | import { logger } from "../tools/logging"; 5 | import { forEachAsync } from "../tools/utils"; 6 | import { FuseMatch, NameSortedDialogues } from "../typings/ass-parser"; 7 | import { CharacterCommit, CommitPayload, DialogueCommit, PartialPayload } from "../typings/db"; 8 | import { AnilistCharacter } from "../typings/http"; 9 | import { createAnime, createArchive, createFile, getAnime, getFile, upsertCharacter } from "./db"; 10 | import { extract, extractFileName, isArchive } from "./file"; 11 | import { filterUsableSubs } from "./sub_groups"; 12 | import { DEFAULT_SPEAKER, getEpisodeLength, parseDialogues, processFilePathAsync } from "./subs"; 13 | 14 | /** 15 | * Processing of the files after they are downloaded and sorted by the 16 | * downloader 17 | * @param files 18 | */ 19 | export const processSavedFiles = async (files: PartialPayload[]): Promise => { 20 | const extractionsPromise = files.map(async file => { 21 | const { path } = file; 22 | const filePath = path; 23 | if (isArchive(filePath)) { 24 | const extractedPaths = await extract(filePath); 25 | logger.error(path); 26 | return extractedPaths.map(extracted => ({ 27 | ...file, 28 | path: extracted, 29 | archivePath: filePath 30 | })); 31 | } 32 | return [file]; 33 | }); 34 | 35 | // @ts-ignore 36 | const extractedFiles: { readonly [k: string]: PartialPayload[] } = await Promise.all(extractionsPromise) 37 | .then(nesteds => nesteds.reduce(R.concat, [])) 38 | .then(filterUsableSubs) 39 | .then(e => e.reduce((coll, item) => ({ 40 | ...coll, 41 | [item.animeName]: coll[item.animeName] ? [...coll[item.animeName], item] : [item] 42 | }), {})); 43 | logger.info("Extracted all files"); 44 | 45 | const promises = Object.entries(extractedFiles).map(async ([anime, payloads]) => { 46 | const malId = await searchMALIdByRawName(anime); 47 | const characters = await fetchCharacters(malId); 48 | 49 | return Promise.all(payloads.map(async payload => { 50 | const { path } = payload; 51 | const anilistId = characters && characters.Media.id; 52 | const thumbnailUrl = characters && characters.Media.coverImage.large; 53 | const chars = characters && characters.Media.characters.nodes; 54 | 55 | const fileName = extractFileName(path); 56 | const dialogues = await processFilePathAsync(path); 57 | const episodeLength = getEpisodeLength(dialogues); 58 | 59 | const matchAnimeCharacters = R.curry(matchCharacters)(chars); 60 | const parsedDialogue = parseDialogues(dialogues); 61 | const characterMatchPipe = R.pipe(Object.keys, matchAnimeCharacters); 62 | const matches = characterMatchPipe(parsedDialogue); 63 | 64 | return { 65 | ...payload, 66 | anilistId, 67 | malId, 68 | thumbnailUrl, 69 | fileName, 70 | episodeLength, 71 | file: { 72 | dialogues: parsedDialogue, 73 | characters: matches 74 | } 75 | }; 76 | })); 77 | }); 78 | const finalPayloads = await Promise.all(promises); 79 | await forEachAsync(async finalPayload => { 80 | const [item] = finalPayload; 81 | const resp = await getAnime(item.animeName); 82 | // TODO: at some point our sources will not come from archives 83 | const archive = item.archivePath && await createArchive({ 84 | linkUrl: item.downloadUrl, 85 | fileName: extractFileName(item.archivePath) 86 | }); 87 | 88 | const animeId = resp.anime && resp.anime.id; 89 | // @ts-ignore (idk why it thinks archive is still undefined after checking) 90 | const archiveId = archive && archive.createArchive.id; 91 | // const archiveId = archive && archive. 92 | 93 | // @ts-ignore 94 | return commitFileEntity(finalPayload, animeId, archiveId); 95 | }, finalPayloads); 96 | }; 97 | 98 | const stitchCharacterDialogues = ( 99 | matches: Array>, 100 | animeId: string, 101 | episodeId: string, 102 | parsedPayload: NameSortedDialogues 103 | ): CharacterCommit[] => Object.entries(parsedPayload).map(([name, dialogues]) => { 104 | const matchingPayload = matches.find(match => match[0] === name); 105 | const [, character] = matchingPayload; 106 | 107 | const fullName = character 108 | && safeJoinName(character.item.name.first, character.item.name.last); 109 | 110 | const newDialogues: DialogueCommit[] = dialogues.map(dialogue => { 111 | const { name: _, ...anonymousDialogue } = dialogue; 112 | return { 113 | ...anonymousDialogue, 114 | anime: { 115 | connect: { 116 | id: animeId 117 | } 118 | }, 119 | episode: { 120 | connect: { 121 | id: episodeId 122 | } 123 | } 124 | }; 125 | }); 126 | 127 | return { 128 | dialogues: newDialogues, 129 | rawName: name, 130 | name: fullName, 131 | episodes: { 132 | connect: { 133 | id: episodeId 134 | } 135 | } 136 | }; 137 | }); 138 | 139 | const commitFileEntity = async ( 140 | files: CommitPayload[], 141 | existingAnimeId?: string, 142 | existingArchiveId?: string 143 | ) => { 144 | const [head, ...tail] = files; 145 | if (!head) { 146 | return; 147 | } 148 | const { 149 | subGroup, episode, downloadUrl, fileName, 150 | anilistId, malId, animeName, episodeLength, thumbnailUrl, 151 | file: currentFile 152 | } = head; 153 | 154 | const fileRequest = await getFile(fileName); 155 | const fileAlreadySaved = fileRequest && fileRequest.file && fileRequest.file.id; 156 | if (fileAlreadySaved) { 157 | logger.info(`File ${fileName} was already processed at ${fileRequest.file.updatedAt}, skipping...`); 158 | // What if we have the wrong anime id here? 159 | return commitFileEntity(tail, existingAnimeId, existingArchiveId); 160 | } 161 | const animeId = existingAnimeId || 162 | await createAnime({ anilistId, malId, rawName: animeName, thumbnailUrl }) 163 | .then(e => e && e.createAnime && e.createAnime.id); 164 | 165 | const archive = existingArchiveId && { 166 | archive: { 167 | connect: { 168 | id: existingArchiveId 169 | } 170 | } 171 | } || {}; 172 | 173 | const params = { 174 | linkUrl: downloadUrl, 175 | fileName, 176 | anime: { connect: { id: animeId } }, 177 | ...archive, 178 | episode: { 179 | create: { 180 | episodeNumber: episode, 181 | displayName: animeName, 182 | subGroup, 183 | // TODO: don't hardcode this, we want japanese subtitles later 184 | language: "EN", 185 | length: Math.floor(episodeLength), 186 | anime: { 187 | connect: { id: animeId } 188 | } 189 | } 190 | } 191 | }; 192 | 193 | const episodeId = await createFile(params).then(res => 194 | res && res.createFile && res.createFile.episode.id 195 | ); 196 | 197 | const finalCharacters = await Promise.all(stitchCharacterDialogues( 198 | currentFile.characters, 199 | animeId, 200 | episodeId, 201 | currentFile.dialogues 202 | )); 203 | 204 | await forEachAsync(async character => upsertCharacter({ 205 | where: { 206 | anilistId: character.anilistId || 0 // create, not upsert 207 | }, 208 | update: { 209 | dialogues: { 210 | create: character.dialogues 211 | } 212 | }, 213 | create: { 214 | ...character, 215 | dialogues: { 216 | create: character.dialogues 217 | } 218 | } 219 | }), finalCharacters); 220 | return commitFileEntity(tail, animeId, existingArchiveId); 221 | }; 222 | 223 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 2018 Xetera 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | WeebSearch Copyright (C) 2018 Xetera 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /resources/newgame.ass: -------------------------------------------------------------------------------- 1 | [Script Info] 2 | ; Script generated by Aegisub 3.0.4 3 | ; http://www.aegisub.org/ 4 | Title: HorribleSubs 5 | ScriptType: v4.00+ 6 | WrapStyle: 0 7 | PlayResX: 848 8 | PlayResY: 480 9 | Video Zoom Percent: 1 10 | Scroll Position: 0 11 | Active Line: 0 12 | ScaledBorderAndShadow: yes 13 | 14 | [V4+ Styles] 15 | Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding 16 | Style: Default,Open Sans Semibold,36,&H00FFFFFF,&H000000FF,&H00020713,&H00000000,-1,0,0,0,100,100,0,0,1,1.7,0,2,0,0,28,1 17 | Style: Main,Open Sans Semibold,36,&H00FFFFFF,&H000000FF,&H00020713,&H00000000,-1,0,0,0,100,100,0,0,1,1.7,0,2,0,0,28,1 18 | Style: Italics,Open Sans Semibold,36,&H00FFFFFF,&H000000FF,&H00020713,&H00000000,-1,-1,0,0,100,100,0,0,1,1.7,0,2,0,0,28,1 19 | Style: Flashback,Open Sans Semibold,36,&H00FFFFFF,&H000000FF,&H00400000,&H00400000,0,0,0,0,100,100,0,0,1,2,1,2,13,13,24,1 20 | Style: Flashback_Italics,Open Sans Semibold,36,&H00FFFFFF,&H000000FF,&H00020713,&H00000000,-1,-1,0,0,100,100,0,0,1,1.7,0,2,0,0,28,1 21 | Style: sign_11330_125_Please_present_c,Open Sans Semibold,18,&H00B09293,&H000000FF,&H00321311,&H00000000,-1,0,0,0,100,100,0,345,1,3,0,9,312,376,64,1 22 | Style: sign_11345_126_Needs_Fill,Open Sans Semibold,18,&H00B09293,&H000000FF,&H00321311,&H00000000,-1,0,0,0,100,100,0,345,1,3,0,8,379,395,37,1 23 | Style: sign_15617_187_From_Hifumi,Open Sans Semibold,36,&H005E526D,&H000000FF,&H00F6F6F6,&H00000000,0,0,0,0,100,100,0,0,1,4,0,7,189,471,36,1 24 | Style: sign_15617_188_I_m_sorry_about_,Open Sans Semibold,36,&H005E526D,&H000000FF,&H00F6F6F6,&H00000000,0,0,0,0,100,100,0,0,1,4,0,7,119,248,112,1 25 | Style: sign_16060_194_From_Ko_IWannaLe,Open Sans Semibold,24,&H005E526D,&H000000FF,&H00F6F6F6,&H00000000,0,0,0,0,100,100,0,0,1,4,0,7,460,75,89,1 26 | Style: sign_16060_195_Behind_you__Behi,Open Sans Semibold,36,&H005E526D,&H000000FF,&H00F6F6F6,&H00000000,0,0,0,0,100,100,0,0,1,4,0,7,420,47,135,1 27 | Style: sign_18722_239_Uh______________,Open Sans Semibold,39,&H008D546D,&H000000FF,&H00894F6B,&H00000000,-1,0,0,0,100,100,0,0,1,1,0,3,255,39,300,1 28 | Style: sign_28753_372_Artist_,Open Sans Semibold,18,&H005E526F,&H000000FF,&H00FFFFFF,&H00000000,0,0,0,0,100,100,0,0,1,2,0,1,421,383,267,1 29 | Style: sign_29836_383_Artist,Open Sans Semibold,30,&H005E526F,&H000000FF,&H00FFFFFF,&H00000000,0,0,0,0,100,100,0,0,1,2,0,1,388,393,323,1 30 | Style: sign_32003_403_Nenecchi,Open Sans Semibold,27,&H00B7B4B6,&H000000FF,&H00151515,&H00000000,-1,0,0,0,100,100,0,0,1,3,0,9,453,287,205,1 31 | Style: Next_Time,Open Sans Semibold,36,&H005E526D,&H000000FF,&H00FFFFFF,&H00000000,0,0,0,0,100,100,0,0,1,4,0,1,180,501,328,1 32 | Style: Next_Ep_Title,Open Sans Semibold,36,&H004F485C,&H000000FF,&H00FFFFFF,&H00000000,0,0,0,0,100,100,0,0,1,4,0,7,180,73,280,1 33 | 34 | [Events] 35 | Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text 36 | 37 | Dialogue: 0,0:00:01.85,0:00:05.85,Italics,,0,0,0,, 38 | Dialogue: 0,0:00:05.85,0:00:07.02,Italics,aoba,0,0,0,,It's spring. 39 | Dialogue: 0,0:00:07.50,0:00:09.03,Italics,aoba,0,0,0,,I've graduated high school, 40 | Dialogue: 0,0:00:09.34,0:00:10.88,Italics,aoba,0,0,0,,and I start my job today. 41 | Dialogue: 0,0:00:29.35,0:00:31.06,Italics,aoba,0,0,0,,I'm going to be working... 42 | Dialogue: 0,0:00:31.06,0:00:32.98,Italics,aoba,0,0,0,,...at a game company! 43 | Dialogue: 0,0:00:36.04,0:00:37.48,Main,aoba,0,0,0,,I'm Suzukaze Aoba. 44 | Dialogue: 0,0:00:37.48,0:00:39.11,Main,aoba,0,0,0,,Nice to meet you. 45 | Dialogue: 0,0:00:39.11,0:00:40.55,Main,aoba,0,0,0,,I'm Suzukaze Aoba. 46 | Dialogue: 0,0:00:40.55,0:00:42.31,Main,aoba,0,0,0,,Nice to meet you. 47 | Dialogue: 0,0:00:42.31,0:00:46.31,Italics,aoba,0,0,0,,Today's the day I become an adult. 48 | Dialogue: 0,0:00:46.31,0:00:47.52,Main,aoba,0,0,0,,All right! 49 | Dialogue: 0,0:00:50.72,0:00:53.44,Italics,aoba,0,0,0,,Wait, can I really go in? 50 | Dialogue: 0,0:00:54.74,0:00:55.52,Main,rin,0,0,0,,Hey! 51 | Dialogue: 0,0:00:56.34,0:00:57.54,Main,rin,0,0,0,,Just kidding. 52 | Dialogue: 0,0:00:58.77,0:01:01.49,Main,rin,0,0,0,,This is a company, so no kids allowed. 53 | Dialogue: 0,0:01:01.94,0:01:04.29,Main,aoba,0,0,0,,I-I'm sorry. 54 | Dialogue: 0,0:01:04.89,0:01:07.46,Main,aoba,0,0,0,,Wait, I'm not a kid! 55 | Dialogue: 0,0:01:08.00,0:01:10.98,Main,aoba,0,0,0,,I'll be working at Eagle Jump starting today. 56 | Dialogue: 0,0:01:10.98,0:01:12.62,Main,aoba,0,0,0,,I am Suzukaze Aoba. 57 | Dialogue: 0,0:01:12.62,0:01:14.53,Main,aoba,0,0,0,,It's nice to meet you. 58 | Dialogue: 0,0:01:14.53,0:01:17.70,Main,rin,0,0,0,,Oh, you were a new employee? 59 | Dialogue: 0,0:01:17.70,0:01:19.47,Main,rin,0,0,0,,I'm sorry about that. 60 | Dialogue: 0,0:01:19.69,0:01:22.00,Main,aoba,0,0,0,,I'm sorry as well. 61 | Dialogue: 0,0:01:22.00,0:01:23.58,Main,aoba,0,0,0,,My name is Suzukaze Aoba. 62 | Dialogue: 0,0:01:23.58,0:01:25.52,Main,aoba,0,0,0,,Have you heard about me? 63 | Dialogue: 0,0:01:26.09,0:01:27.76,Main,rin,0,0,0,,Suzukaze... 64 | Dialogue: 0,0:01:27.76,0:01:29.48,Main,rin,0,0,0,,Oh, I have. 65 | Dialogue: 0,0:01:29.48,0:01:31.12,Main,rin,0,0,0,,We're on the same team. 66 | Dialogue: 0,0:01:32.11,0:01:34.67,Main,rin,0,0,0,,I'm Toyama Rin. I'm an AD. 67 | Dialogue: 0,0:01:34.67,0:01:35.61,Main,rin,0,0,0,,It's nice to meet you. 68 | Dialogue: 0,0:01:35.84,0:01:37.94,Italics,aoba,0,0,0,,I'm speaking with a real professional! 69 | Dialogue: 0,0:01:44.59,0:01:48.00,Main,aoba,0,0,0,,So... You must be busy being an AD. 70 | Dialogue: 0,0:01:48.00,0:01:49.71,Main,aoba,0,0,0,,I see it quite often on the TV, 71 | Dialogue: 0,0:01:49.71,0:01:51.64,Main,aoba,0,0,0,,but there are so many intricate tasks, 72 | Dialogue: 0,0:01:51.64,0:01:53.45,Main,aoba,0,0,0,,and they look so busy. 73 | Dialogue: 0,0:01:54.02,0:01:58.41,Main,rin,0,0,0,,Oh, my AD doesn't stand \Nfor "assistant director." 74 | Dialogue: 0,0:01:58.41,0:01:59.94,Main,rin,0,0,0,,I'm an art director. 75 | Dialogue: 0,0:02:01.54,0:02:05.35,Main,rin,0,0,0,,So my job is to manage all the artwork. 76 | Dialogue: 0,0:02:09.48,0:02:11.36,Main,aoba,0,0,0,,I'm terribly sorry! 77 | Dialogue: 0,0:02:11.36,0:02:12.06,Main,rin,0,0,0,,What? 78 | Dialogue: 0,0:02:12.29,0:02:14.19,Main,rin,0,0,0,,Don't worry about it. 79 | Dialogue: 0,0:03:52.98,0:03:54.81,Main,rin,0,0,0,,This is your desk. 80 | Dialogue: 0,0:03:56.73,0:03:58.69,Main,rin,0,0,0,,Oh, would you like something to drink? 81 | Dialogue: 0,0:03:58.69,0:04:00.80,Main,aoba,0,0,0,,Oh, may I have orange— 82 | Dialogue: 0,0:04:00.80,0:04:03.59,Italics,aoba,0,0,0,,No, I'm an adult now. 83 | Dialogue: 0,0:04:04.09,0:04:05.92,Main,aoba,0,0,0,,Coffee. Black please. 84 | Dialogue: 0,0:04:08.77,0:04:11.01,Main,aoba,0,0,0,,I'm so glad she seems nice. 85 | Dialogue: 0,0:04:11.77,0:04:14.40,Main,aoba,0,0,0,,I'm going to be a professional \Nstarting today. 86 | Dialogue: 0,0:04:15.99,0:04:17.61,Main,ko,0,0,0,,I'm tired. 87 | Dialogue: 0,0:04:19.60,0:04:21.28,Main,ko,0,0,0,,No more... 88 | Dialogue: 0,0:04:26.18,0:04:28.03,Main,aoba,0,0,0,,Is it a ghost? 89 | Dialogue: 0,0:04:30.09,0:04:32.33,Main,aoba,0,0,0,,Panties? 90 | Dialogue: 0,0:04:40.75,0:04:43.87,Main,aoba,0,0,0,,P-P-P-P-P-P-Panties... 91 | Dialogue: 0,0:04:55.53,0:04:56.85,Main,ko,0,0,0,,A middle schooler? 92 | Dialogue: 0,0:04:56.85,0:04:58.24,Main,ko,0,0,0,,Why is a kid here? 93 | Dialogue: 0,0:04:58.24,0:04:59.79,Main,aoba,0,0,0,,I'm not a child. 94 | Dialogue: 0,0:04:59.79,0:05:01.22,Main,rin,0,0,0,,Oh, you're up. 95 | Dialogue: 0,0:05:01.22,0:05:03.09,Main,ko,0,0,0,,Rin, who is this? 96 | Dialogue: 0,0:05:03.09,0:05:04.42,Main,rin,0,0,0,,She's our new employee. 97 | Dialogue: 0,0:05:04.42,0:05:06.00,Main,rin,0,0,0,,Suzukaze Aoba-san. 98 | Dialogue: 0,0:05:06.00,0:05:07.99,Main,rin,0,0,0,,Oh, this is mine, but do you want it? 99 | Dialogue: 0,0:05:07.99,0:05:09.65,Main,ko,0,0,0,,Thanks. 100 | Dialogue: 0,0:05:09.65,0:05:10.49,Main,ko,0,0,0,,Cool. 101 | Dialogue: 0,0:05:10.49,0:05:12.45,Main,ko,0,0,0,,So where is she... 102 | Dialogue: 0,0:05:13.75,0:05:15.87,Main,ko,0,0,0,,This isn't sweet at all. 103 | Dialogue: 0,0:05:15.87,0:05:18.62,Main,rin,0,0,0,,Oops, then that's hers. Sorry. 104 | Dialogue: 0,0:05:18.62,0:05:19.54,Main,ko,0,0,0,,Switch. 105 | Dialogue: 0,0:05:19.79,0:05:21.15,Main,ko,0,0,0,,You have a mature taste. 106 | Dialogue: 0,0:05:21.15,0:05:22.42,Main,ko,0,0,0,,You drink coffee black? 107 | Dialogue: 0,0:05:22.42,0:05:23.90,Main,aoba,0,0,0,,I'm an adult. 108 | Dialogue: 0,0:05:23.90,0:05:25.72,Main,aoba,0,0,0,,This is no big deal. 109 | Dialogue: 0,0:05:29.84,0:05:31.06,Main,ko,0,0,0,,You can't drink it? 110 | Dialogue: 0,0:05:31.89,0:05:34.27,Main,ko,0,0,0,,So how old are you? 111 | Dialogue: 0,0:05:34.27,0:05:35.37,Main,aoba,0,0,0,,I'm eighteen! 112 | Dialogue: 0,0:05:35.37,0:05:37.52,Main,ko,0,0,0,,Wow, you're a high school grad? 113 | Dialogue: 0,0:05:37.52,0:05:38.79,Main,ko,0,0,0,,That's rare. 114 | Dialogue: 0,0:05:38.79,0:05:41.07,Main,ko,0,0,0,,But you don't even look like a high schooler. 115 | Dialogue: 0,0:05:42.13,0:05:43.42,Main,aoba,0,0,0,,What about you? 116 | Dialogue: 0,0:05:43.42,0:05:44.61,Main,aoba,0,0,0,,How old are you? 117 | Dialogue: 0,0:05:45.81,0:05:47.11,Main,ko,0,0,0,,How old do you think? 118 | Dialogue: 0,0:05:48.89,0:05:49.86,Italics,aoba,0,0,0,,What do I do? 119 | Dialogue: 0,0:05:49.86,0:05:52.07,Italics,aoba,0,0,0,,I can't just say whatever. 120 | Dialogue: 0,0:05:52.07,0:05:53.86,Main,aoba,0,0,0,,Th-That's... 121 | Dialogue: 0,0:05:53.86,0:05:56.21,Main,aoba,0,0,0,,A poster of {\i1}Fairies Story{\i0}! 122 | Dialogue: 0,0:05:56.43,0:05:58.19,Main,ko,0,0,0,,Oh, you know it? 123 | Dialogue: 0,0:05:58.19,0:06:00.69,Main,ko,0,0,0,,That's the first game I was involved in. 124 | Dialogue: 0,0:06:00.69,0:06:01.29,Main,aoba,0,0,0,,What? 125 | Dialogue: 0,0:06:01.29,0:06:04.00,Main,aoba,0,0,0,,I was totally into it in elementary school. 126 | Dialogue: 0,0:06:04.00,0:06:06.76,Main,aoba,0,0,0,,That's how I found out about this company... 127 | Dialogue: 0,0:06:07.36,0:06:11.31,Main,aoba,0,0,0,,D-D-Don't tell me... you're thir— 128 | Dialogue: 0,0:06:11.31,0:06:12.94,Main,ko,0,0,0,,I'm not that old! 129 | Dialogue: 0,0:06:12.94,0:06:14.21,Main,ko,0,0,0,,I'm twenty-five. 130 | Dialogue: 0,0:06:14.21,0:06:16.49,Main,ko,0,0,0,,I joined after high school, too. 131 | Dialogue: 0,0:06:18.02,0:06:19.95,Main,aoba,0,0,0,,Oh, I'm sorry. 132 | Dialogue: 0,0:06:20.41,0:06:21.90,Main,rin,0,0,0,,Don't worry about it. 133 | Dialogue: 0,0:06:22.19,0:06:23.40,Main,rin,0,0,0,,By the way. 134 | Dialogue: 0,0:06:24.17,0:06:26.52,Main,rin,0,0,0,,How old do I look? 135 | Dialogue: 0,0:06:26.52,0:06:27.84,Main,aoba,0,0,0,,Twenty-three? 136 | Dialogue: 0,0:06:27.84,0:06:29.61,Main,ko,0,0,0,,We're the same age! 137 | Dialogue: 0,0:06:29.61,0:06:30.41,Main,rin,0,0,0,,Good girl. 138 | Dialogue: 0,0:06:30.89,0:06:32.97,Main,aoba,0,0,0,,I-It's such an honor. 139 | Dialogue: 0,0:06:32.97,0:06:37.83,Main,aoba,0,0,0,,I'm meeting with the people who \Nmade the game I loved as a child. 140 | Dialogue: 0,0:06:37.83,0:06:40.96,Main,aoba,0,0,0,,I especially loved the character design. 141 | Dialogue: 0,0:06:41.66,0:06:42.60,Main,rin,0,0,0,,My. 142 | Dialogue: 0,0:06:42.60,0:06:46.92,Main,rin,0,0,0,,She's Yagami Ko who did the \Ncharacter designs for {\i1}Fairies Story{\i0}. 143 | Dialogue: 0,0:06:48.58,0:06:50.46,Main,aoba,0,0,0,,You're {\i1}the{\i0} Yagami-sensei? 144 | Dialogue: 0,0:06:50.46,0:06:52.05,Main,ko,0,0,0,,Well that earned me respect easy. 145 | Dialogue: 0,0:06:52.47,0:06:55.93,Main,rin,0,0,0,,She will be your manager starting today, 146 | Dialogue: 0,0:06:55.93,0:06:57.75,Main,rin,0,0,0,,so I hope you two get along. 147 | Dialogue: 0,0:07:00.64,0:07:02.58,Main,aoba,0,0,0,,I-I'll do my betht! 148 | Dialogue: 0,0:07:02.58,0:07:03.75,Main,ko,0,0,0,,Hey, you bit your tongue. 149 | Dialogue: 0,0:07:03.75,0:07:05.72,Main,aoba,0,0,0,,P-Please forget that happened! 150 | Dialogue: 0,0:07:07.17,0:07:10.14,Italics,aoba,0,0,0,,I quickly finished my introduction \Nto my team members 151 | Dialogue: 0,0:07:10.14,0:07:11.20,Italics,aoba,0,0,0,,and then got to work. 152 | Dialogue: 0,0:07:11.93,0:07:14.97,Italics,aoba,0,0,0,,It looks like I'm the only \Nnew recruit this year. 153 | Dialogue: 0,0:07:14.97,0:07:17.34,Italics,aoba,0,0,0,,That's kinda lonely. 154 | Dialogue: 0,0:07:19.47,0:07:20.45,Italics,aoba,0,0,0,,No, no. 155 | Dialogue: 0,0:07:20.45,0:07:22.35,Italics,aoba,0,0,0,,Don't be negative, Aoba! 156 | Dialogue: 0,0:07:22.35,0:07:25.05,Italics,aoba,0,0,0,,Get friendly with the girl next to you. 157 | Dialogue: 0,0:07:26.24,0:07:26.96,Main,aoba,0,0,0,,Hello. 158 | Dialogue: 0,0:07:31.57,0:07:33.09,Main,aoba,0,0,0,,It didn't work. 159 | Dialogue: 0,0:07:45.79,0:07:47.44,Main,hajime,0,0,0,,I think this is a good pose. 160 | Dialogue: 0,0:07:49.74,0:07:52.53,Italics,aoba,0,0,0,,What kind of company is this?! 161 | Dialogue: 0,0:07:52.53,0:07:53.16,sign_11330_125_Please_present_c,,0,0,0,,Please Hold Your Card \NUp To The Circle 162 | Dialogue: 0,0:07:53.16,0:07:53.49,sign_11345_126_Needs_Fill,,0,0,0,,Open 163 | Dialogue: 0,0:07:57.61,0:08:00.66,Italics,aoba,0,0,0,,I wonder if the girl at \Nthat desk is absent today. 164 | Dialogue: 0,0:08:00.66,0:08:02.16,Main,hifumi,0,0,0,,Good morning. 165 | Dialogue: 0,0:08:03.26,0:08:04.46,Main,aoba,0,0,0,,Good morning! 166 | Dialogue: 0,0:08:10.32,0:08:11.66,Main,aoba,0,0,0,,H-Hello! 167 | Dialogue: 0,0:08:11.66,0:08:14.41,Main,aoba,0,0,0,,I'm Suzukaze Aoba. I'm starting today. 168 | Dialogue: 0,0:08:14.90,0:08:16.51,Main,hifumi,0,0,0,,Takimoto Hifumi. 169 | Dialogue: 0,0:08:16.51,0:08:17.80,Main,hifumi,0,0,0,,Nice to meet you. 170 | Dialogue: 0,0:08:17.80,0:08:20.27,Main,aoba,0,0,0,,Are you also on the character team? 171 | Dialogue: 0,0:08:22.66,0:08:24.52,Main,aoba,0,0,0,,I-I'm sorry. 172 | Dialogue: 0,0:08:25.77,0:08:26.86,Italics,aoba,0,0,0,,What do I do? 173 | Dialogue: 0,0:08:26.86,0:08:29.25,Italics,aoba,0,0,0,,I don't think I can make any friends. 174 | Dialogue: 0,0:08:35.61,0:08:36.34,Main,aoba,0,0,0,,What? 175 | Dialogue: 0,0:08:36.34,0:08:38.16,Main,aoba,0,0,0,,Why is there a cat here? 176 | Dialogue: 0,0:08:41.94,0:08:42.88,Main,aoba,0,0,0,,You're so cute. 177 | Dialogue: 0,0:08:42.88,0:08:44.37,Main,shizu,0,0,0,,Hey, there you are. 178 | Dialogue: 0,0:08:44.37,0:08:46.54,Main,shizu,0,0,0,,You came all the way here? 179 | Dialogue: 0,0:08:47.27,0:08:50.05,Main,shizu,0,0,0,,Are you the new employee, Suzukaze Aoba-kun? 180 | Dialogue: 0,0:08:50.59,0:08:52.49,Main,shizu,0,0,0,,Pardon me for my cat. 181 | Dialogue: 0,0:08:53.41,0:08:54.88,Main,aoba,0,0,0,,Oh, no problem at all. 182 | Dialogue: 0,0:09:03.66,0:09:05.06,Main,shizu,0,0,0,,You're cute. 183 | Dialogue: 0,0:09:06.29,0:09:10.77,Main,shizu,0,0,0,,I'm Hazuki Shizuku, the director \Nof the game this team is making. 184 | Dialogue: 0,0:09:10.77,0:09:12.11,Main,aoba,0,0,0,,Okay. 185 | Dialogue: 0,0:09:12.11,0:09:13.69,Main,aoba,0,0,0,,It's nice to meet you. 186 | Dialogue: 0,0:09:14.23,0:09:16.09,Main,aoba,0,0,0,,So who's the cat? 187 | Dialogue: 0,0:09:16.09,0:09:17.66,Main,shizu,0,0,0,,He's Mozuku. 188 | Dialogue: 0,0:09:17.66,0:09:19.07,Main,shizu,0,0,0,,I bring him in sometime. 189 | Dialogue: 0,0:09:19.53,0:09:21.33,Main,shizu,0,0,0,,If I leave him at home all the time, 190 | Dialogue: 0,0:09:21.33,0:09:23.20,Main,shizu,0,0,0,,he gets bored and messes up the house. 191 | Dialogue: 0,0:09:23.20,0:09:26.08,Main,umiko,0,0,0,,Hazuki-san, I've been looking for you. 192 | Dialogue: 0,0:09:26.96,0:09:28.64,Main,shizu,0,0,0,,Oh, Umiko-kun. 193 | Dialogue: 0,0:09:28.64,0:09:29.92,Main,shizu,0,0,0,,What do you need? 194 | Dialogue: 0,0:09:29.92,0:09:32.89,Main,umiko,0,0,0,,You're very late for the meeting. 195 | Dialogue: 0,0:09:32.89,0:09:35.23,Main,shizu,0,0,0,,Oh, oopsy. 196 | Dialogue: 0,0:09:35.23,0:09:37.13,Main,shizu,0,0,0,,Let's not look so upset. 197 | Dialogue: 0,0:09:37.40,0:09:39.55,Main,shizu,0,0,0,,That's how you get wrinkles. 198 | Dialogue: 0,0:09:42.51,0:09:44.10,Main,shizu,0,0,0,,I'm sorry! 199 | Dialogue: 0,0:09:44.10,0:09:45.86,Main,umiko,0,0,0,,Let's go now. 200 | Dialogue: 0,0:09:45.86,0:09:47.28,Main,umiko,0,0,0,,Everyone's waiting. 201 | Dialogue: 0,0:09:48.39,0:09:51.81,Main,shizu,0,0,0,,Suzukaze-kun, good luck with work. 202 | Dialogue: 0,0:09:51.81,0:09:53.11,Main,aoba,0,0,0,,Th-Thanks. 203 | Dialogue: 0,0:09:54.45,0:09:57.82,Italics,aoba,0,0,0,,Maybe the director's not very important... 204 | Dialogue: 0,0:10:01.84,0:10:03.29,Italics,aoba,0,0,0,,A private message? 205 | Dialogue: 0,0:10:04.43,0:10:05.89,Italics,hifumi,0,0,0,,I'm sorry about earlier! 206 | Dialogue: 0,0:10:05.89,0:10:07.83,Italics,hifumi,0,0,0,,I'm not very good at speaking. 207 | Dialogue: 0,0:10:07.83,0:10:11.84,Italics,hifumi,0,0,0,,I'm also on the character team, so ask \Nme anything if you have any questions! 208 | Dialogue: 0,0:10:12.26,0:10:14.37,Italics,hifumi,0,0,0,,Also, just call me Hifumi. 209 | Dialogue: 0,0:10:14.37,0:10:15.88,Italics,aoba,0,0,0,,Hifumi-senpai! 210 | Dialogue: 0,0:10:17.89,0:10:19.65,Main,ko,0,0,0,,Hey, newbie! 211 | Dialogue: 0,0:10:20.25,0:10:21.55,Main,aoba,0,0,0,,C-Coming! 212 | Dialogue: 0,0:10:22.27,0:10:24.07,Main,ko,0,0,0,,Have you done any 3D? 213 | Dialogue: 0,0:10:24.07,0:10:28.15,Main,aoba,0,0,0,,I don't know anything besides drawing. 214 | Dialogue: 0,0:10:28.15,0:10:30.19,Main,ko,0,0,0,,Okay, that's not a problem. 215 | Dialogue: 0,0:10:30.19,0:10:34.70,Main,ko,0,0,0,,Then do chapter one of this book. 216 | Dialogue: 0,0:10:34.70,0:10:35.94,Main,aoba,0,0,0,,Okay! 217 | Dialogue: 0,0:10:36.30,0:10:37.77,Main,ko,0,0,0,,Okay, then. 218 | Dialogue: 0,0:10:39.29,0:10:40.52,Main,aoba,0,0,0,,Wait. 219 | Dialogue: 0,0:10:41.04,0:10:42.21,Main,aoba,0,0,0,,Is that it? 220 | Dialogue: 0,0:10:44.71,0:10:45.67,Italics,aoba,0,0,0,,Oh, no. 221 | Dialogue: 0,0:10:45.67,0:10:47.63,Italics,aoba,0,0,0,,I don't understand this. 222 | Dialogue: 0,0:10:47.63,0:10:49.99,Italics,aoba,0,0,0,,But who do I ask? 223 | Dialogue: 0,0:10:51.33,0:10:52.71,sign_15617_187_From_Hifumi,on-screen,0,0,0,,From Hifumi 224 | Dialogue: 0,0:10:51.33,0:10:52.71,sign_15617_188_I_m_sorry_about_,on-screen,0,0,0,,I'm sorry about earlier!\NI'm not very good at speaking.\NI'm also on the character team,\Nso ask me anything\Nif you have any questions! 225 | Dialogue: 0,0:10:55.06,0:10:57.23,Main,aoba,0,0,0,,Excuse me, Hifumi-senpai. 226 | Dialogue: 0,0:10:57.23,0:10:59.80,Main,aoba,0,0,0,,Could I ask you a question? 227 | Dialogue: 0,0:11:02.23,0:11:03.31,Main,aoba,0,0,0,,Um... 228 | Dialogue: 0,0:11:03.31,0:11:05.05,Main,aoba,0,0,0,,Hifumi-senpai? 229 | Dialogue: 0,0:11:06.01,0:11:07.12,Main,aoba,0,0,0,,Huh? 230 | Dialogue: 0,0:11:09.81,0:11:11.35,sign_16060_194_From_Ko_IWannaLe,on-screen,0,0,0,,From Ko@IWannaLeaveOnTime 231 | Dialogue: 0,0:11:09.81,0:11:11.35,sign_16060_195_Behind_you__Behi,on-screen,0,0,0,,Behind you! Behind you! 232 | Dialogue: 0,0:11:11.65,0:11:13.02,Main,aoba,0,0,0,,Excuse me. 233 | Dialogue: 0,0:11:13.02,0:11:14.39,Main,aoba,0,0,0,,Um! 234 | Dialogue: 0,0:11:14.39,0:11:15.65,Main,aoba,0,0,0,,Um... 235 | Dialogue: 0,0:11:19.49,0:11:21.53,Main,ko,0,0,0,,What are they doing? 236 | Dialogue: 0,0:11:22.35,0:11:25.70,Main,hifumi,0,0,0,,Do you have a question? 237 | Dialogue: 0,0:11:25.70,0:11:26.57,Main,aoba,0,0,0,,What? 238 | Dialogue: 0,0:11:26.57,0:11:28.00,Main,aoba,0,0,0,,Y-Yes... 239 | Dialogue: 0,0:11:28.00,0:11:30.53,Main,aoba,0,0,0,,But I think I've already figured it out. 240 | Dialogue: 0,0:11:37.48,0:11:39.21,Main,aoba,0,0,0,,I got another private message. 241 | Dialogue: 0,0:11:39.62,0:11:43.43,Italics,ko,0,0,0,,If you have questions for \NHifumin, send her a message. 242 | Dialogue: 0,0:11:43.97,0:11:45.21,Main,aoba,0,0,0,,Yagami-san. 243 | Dialogue: 0,0:11:46.04,0:11:47.18,Main,aoba,0,0,0,,Okay. 244 | Dialogue: 0,0:11:48.25,0:11:49.25,Italics,aoba,0,0,0,,Sent. 245 | Dialogue: 0,0:11:50.85,0:11:52.83,Italics,aoba,0,0,0,,My apologies for distracting you earlier. 246 | Dialogue: 0,0:11:52.83,0:11:54.67,Italics,aoba,0,0,0,,I had a question. 247 | Dialogue: 0,0:11:54.67,0:12:00.04,Italics,aoba,0,0,0,,It says you can hide all but the \Nselected object, in the book, 248 | Dialogue: 0,0:12:00.04,0:12:02.28,Italics,aoba,0,0,0,,but I can't find the toolbox for it. 249 | Dialogue: 0,0:12:02.28,0:12:03.79,Italics,aoba,0,0,0,,Where could I find it? 250 | Dialogue: 0,0:12:03.79,0:12:05.35,Italics,hifumi,0,0,0,,You don't need to use that. 251 | Dialogue: 0,0:12:05.35,0:12:08.78,Italics,hifumi,0,0,0,,Just use the Ctrl+H keyboard shortcut. 252 | Dialogue: 0,0:12:08.78,0:12:10.64,Italics,aoba,0,0,0,,That solved the problem. 253 | Dialogue: 0,0:12:10.64,0:12:11.57,Italics,aoba,0,0,0,,Thank you. 254 | Dialogue: 0,0:12:11.57,0:12:13.16,Italics,aoba,0,0,0,,I'm very grateful for your help. 255 | Dialogue: 0,0:12:13.16,0:12:14.52,Italics,hifumi,0,0,0,,No problem. 256 | Dialogue: 0,0:12:14.52,0:12:17.33,Italics,hifumi,0,0,0,,But no need to be so formal. 257 | Dialogue: 0,0:12:17.33,0:12:18.86,Italics,hifumi,0,0,0,,Smile! Smile! 258 | Dialogue: 0,0:12:18.86,0:12:21.94,Italics,aoba,0,0,0,,What? But I'm new here. 259 | Dialogue: 0,0:12:21.94,0:12:23.31,Italics,hifumi,0,0,0,,Don't worry! 260 | Dialogue: 0,0:12:23.31,0:12:26.71,Italics,hifumi,0,0,0,,Everyone here's pretty friendly, \Nso don't be so tense. 261 | Dialogue: 0,0:12:26.71,0:12:28.60,Italics,aoba,0,0,0,,Then... 262 | Dialogue: 0,0:12:28.60,0:12:30.33,Italics,aoba,0,0,0,,Thank you! 263 | Dialogue: 0,0:12:30.33,0:12:31.65,Italics,aoba,0,0,0,,I guess? 264 | Dialogue: 0,0:12:31.65,0:12:32.53,Italics,hifumi,0,0,0,,Good! 265 | Dialogue: 0,0:12:33.84,0:12:34.79,Italics,aoba,0,0,0,,I think... 266 | Dialogue: 0,0:12:35.20,0:12:36.24,Italics,aoba,0,0,0,,I think... 267 | Dialogue: 0,0:12:36.24,0:12:38.37,Italics,aoba,0,0,0,,I think I can do it! 268 | Dialogue: 0,0:12:41.61,0:12:43.99,Main,ko,0,0,0,,I got a message from Aoba. 269 | Dialogue: 0,0:12:44.32,0:12:47.40,Italics,aoba,0,0,0,,I'm doing the assignments in the book! 270 | Dialogue: 0,0:12:47.40,0:12:48.62,Italics,aoba,0,0,0,,Easy peasy! 271 | Dialogue: 0,0:12:49.40,0:12:51.70,Main,ko,0,0,0,,She got influenced so fast! 272 | Dialogue: 0,0:12:54.81,0:12:56.32,Italics,ko,0,0,0,,That's good. 273 | Dialogue: 0,0:12:56.32,0:12:58.52,Italics,ko,0,0,0,,Could you come see me at my desk? 274 | Dialogue: 0,0:12:58.52,0:13:01.84,Italics,ko,0,0,0,,I need to teach you a few things, \Nlike how to use private messaging. 275 | Dialogue: 0,0:13:00.86,0:13:01.84,sign_18722_239_Uh______________,on-screen,0,0,0,,Uh oh... 276 | Dialogue: 0,0:13:03.53,0:13:05.95,Main,aoba,0,0,0,,I-I'm terribly sorry! 277 | Dialogue: 0,0:13:05.95,0:13:08.30,Main,ko,0,0,0,,Just know your place. 278 | Dialogue: 0,0:13:25.53,0:13:30.24,Italics,hajime,0,0,0,,Yun, don't you think you should take \NSuzukaze-san to lunch as her senpai? 279 | Dialogue: 0,0:13:32.96,0:13:35.94,Italics,yun,0,0,0,,I'm all for lunch, \Nbut why don't you invite her? 280 | Dialogue: 0,0:13:35.94,0:13:37.97,Italics,hajime,0,0,0,,You invite her! 281 | Dialogue: 0,0:13:37.97,0:13:40.65,Italics,yun,0,0,0,,You're such a coward. Aren't you her senpai? 282 | Dialogue: 0,0:13:48.35,0:13:51.16,Main,hajime,0,0,0,,Suzukaze-san, you want to go out for lunch? 283 | Dialogue: 0,0:13:51.16,0:13:52.81,Main,yun,0,0,0,,I'll come, too! 284 | Dialogue: 0,0:13:53.59,0:13:56.39,Main,aoba,0,0,0,,U-Um, what about Hifumi-senpai? 285 | Dialogue: 0,0:14:01.96,0:14:05.12,Main,yun,0,0,0,,Hifumi-senpai doesn't \Nusually go out to lunch. 286 | Dialogue: 0,0:14:05.12,0:14:06.75,Main,yun,0,0,0,,You wanna come out today? 287 | Dialogue: 0,0:14:07.23,0:14:08.94,Main,hifumi,0,0,0,,Sorry. 288 | Dialogue: 0,0:14:08.94,0:14:11.78,Main,aoba,0,0,0,,I'm sorry for disturbing you. 289 | Dialogue: 0,0:14:12.22,0:14:14.92,Main,aoba,0,0,0,,I hope you'll join us next time. 290 | Dialogue: 0,0:14:17.61,0:14:19.21,Main,hifumi,0,0,0,,Aoba-chan. 291 | Dialogue: 0,0:14:23.33,0:14:25.30,Main,hifumi,0,0,0,,I-I think I'll go! 292 | Dialogue: 0,0:14:27.97,0:14:30.00,Main,ko,0,0,0,,Aoba, wanna go out for lunch? 293 | Dialogue: 0,0:14:30.00,0:14:31.83,Main,ko,0,0,0,,Where is she? 294 | Dialogue: 0,0:14:31.83,0:14:33.31,Main,ko,0,0,0,,Wh-What's up with you? 295 | Dialogue: 0,0:14:34.89,0:14:37.35,Main,yun,0,0,0,,I haven't introduced myself yet. 296 | Dialogue: 0,0:14:37.35,0:14:39.68,Main,yun,0,0,0,,I'm Ijima Yun on the character team. 297 | Dialogue: 0,0:14:39.68,0:14:41.31,Main,yun,0,0,0,,She and I joined the same year. 298 | Dialogue: 0,0:14:41.99,0:14:44.77,Main,hajime,0,0,0,,I'm Shinoda Hajime on the motion team. 299 | Dialogue: 0,0:14:44.77,0:14:45.98,Main,hajime,0,0,0,,Nice to... 300 | Dialogue: 0,0:14:47.55,0:14:48.57,Main,hajime,0,0,0,,meet you... 301 | Dialogue: 0,0:14:50.03,0:14:50.97,Main,hajime,0,0,0,,I can't! 302 | Dialogue: 0,0:14:50.97,0:14:52.88,Main,hajime,0,0,0,,It's my first time having a kouhai. 303 | Dialogue: 0,0:14:52.88,0:14:54.93,Main,hajime,0,0,0,,And we've only just met. 304 | Dialogue: 0,0:14:55.47,0:14:58.68,Main,aoba,0,0,0,,Please don't worry. You're my senpai. 305 | Dialogue: 0,0:14:58.68,0:14:59.66,Main,aoba,0,0,0,,Shinoda-senpai. 306 | Dialogue: 0,0:15:00.56,0:15:01.80,Main,hajime,0,0,0,,"Senpai"? 307 | Dialogue: 0,0:15:01.80,0:15:05.69,Main,hajime,0,0,0,,That gives me goosebumps, \Nso just call me Hajime. 308 | Dialogue: 0,0:15:06.13,0:15:07.85,Main,aoba,0,0,0,,Hajime-san, then. 309 | Dialogue: 0,0:15:07.85,0:15:09.67,Main,aoba,0,0,0,,You can just call me Aoba. 310 | Dialogue: 0,0:15:10.65,0:15:14.34,Main,hajime,0,0,0,,Nice to meet you, Aoba... san. 311 | Dialogue: 0,0:15:14.34,0:15:16.47,Main,hajime,0,0,0,,Wait, is that weird? 312 | Dialogue: 0,0:15:17.87,0:15:22.69,Main,yun,0,0,0,,She was asking me to invite you \Nin private messaging earlier. 313 | Dialogue: 0,0:15:22.69,0:15:23.45,Main,hajime,0,0,0,,Hey! 314 | Dialogue: 0,0:15:23.45,0:15:25.22,Main,hajime,0,0,0,,Don't tell her that! 315 | Dialogue: 0,0:15:25.22,0:15:25.98,Main,yun,0,0,0,,Why not? 316 | Dialogue: 0,0:15:25.98,0:15:28.57,Main,yun,0,0,0,,You're nervous because she's \Nyour first kouhai, right? 317 | Dialogue: 0,0:15:28.57,0:15:30.70,Main,hajime,0,0,0,,Isn't she your first kouhai, too? 318 | Dialogue: 0,0:15:32.21,0:15:37.56,Main,yun,0,0,0,,You were worried about her when she was \Ntrying to talk to Hifumi-senpai earlier, too. 319 | Dialogue: 0,0:15:37.56,0:15:40.20,Main,hajime,0,0,0,,Don't tell her that, too! 320 | Dialogue: 0,0:15:43.44,0:15:44.80,Italics,aoba,0,0,0,,Thank goodness. 321 | Dialogue: 0,0:15:44.80,0:15:46.59,Italics,aoba,0,0,0,,Everyone seems so nice. 322 | Dialogue: 0,0:15:51.38,0:15:52.27,Main,aoba,0,0,0,,All right! 323 | Dialogue: 0,0:15:52.27,0:15:53.93,Main,aoba,0,0,0,,Let's get this done! 324 | Dialogue: 0,0:15:58.39,0:16:01.20,Main,aoba,0,0,0,,But first, I need to use the restroom. 325 | Dialogue: 0,0:16:09.08,0:16:13.03,Main,ko,0,0,0,,Bathroom, bathroom... \NWhen you gotta go, you gotta— 326 | Dialogue: 0,0:16:16.22,0:16:18.12,Main,aoba,0,0,0,,Y-Yagami-san! 327 | Dialogue: 0,0:16:18.42,0:16:20.72,Main,ko,0,0,0,,Wh-What are you doing? 328 | Dialogue: 0,0:16:20.72,0:16:24.08,Main,aoba,0,0,0,,I went to use the restroom, \Nbut I didn't have my ID card, 329 | Dialogue: 0,0:16:24.08,0:16:26.62,Main,aoba,0,0,0,,so I couldn't open the office door. 330 | Dialogue: 0,0:16:26.62,0:16:27.63,Main,ko,0,0,0,,Oh, right. 331 | Dialogue: 0,0:16:27.63,0:16:30.38,Main,ko,0,0,0,,The bathroom is outside the office. 332 | Dialogue: 0,0:16:31.09,0:16:34.11,Main,ko,0,0,0,,Without your ID card, \Nyou can't get into the office, 333 | Dialogue: 0,0:16:34.11,0:16:36.55,Main,ko,0,0,0,,but we also can't track your time. 334 | Dialogue: 0,0:16:36.89,0:16:40.35,Main,ko,0,0,0,,What is the management thinking, \Nforgetting to give it to you. 335 | Dialogue: 0,0:16:41.09,0:16:46.05,Main,rin,0,0,0,,Ko-chan, did you already take \NAoba-chan's ID card picture? 336 | Dialogue: 0,0:16:46.05,0:16:47.03,Main,ko,0,0,0,,What? 337 | Dialogue: 0,0:16:47.03,0:16:48.06,Main,rin,0,0,0,,Hey. 338 | Dialogue: 0,0:16:48.06,0:16:49.86,Main,rin,0,0,0,,I asked you to do it this morning. 339 | Dialogue: 0,0:16:55.75,0:16:58.41,Main,ko,0,0,0,,I'll do it now! 340 | Dialogue: 0,0:16:59.45,0:17:01.38,Main,ko,0,0,0,,Stand in front of the wall. 341 | Dialogue: 0,0:17:01.38,0:17:02.66,Main,aoba,0,0,0,,O-Okay! 342 | Dialogue: 0,0:17:05.58,0:17:09.21,Main,aoba,0,0,0,,You know, you can wear \Nwhatever you want here, 343 | Dialogue: 0,0:17:09.21,0:17:10.87,Main,aoba,0,0,0,,but why are you in your school uniform? 344 | Dialogue: 0,0:17:10.87,0:17:12.14,Main,aoba,0,0,0,,Oh, please. 345 | Dialogue: 0,0:17:12.14,0:17:13.44,Main,aoba,0,0,0,,This isn't a school uniform. 346 | Dialogue: 0,0:17:13.44,0:17:15.09,Main,aoba,0,0,0,,This is a suit. 347 | Dialogue: 0,0:17:15.09,0:17:17.17,Main,aoba,0,0,0,,I'm an adult, after all. 348 | Dialogue: 0,0:17:17.17,0:17:18.68,Italics,ko,0,0,0,,It looks like a uniform. 349 | Dialogue: 0,0:17:19.24,0:17:24.18,Main,ko,0,0,0,,Then at least learn how \Nto wear a suit properly. 350 | Dialogue: 0,0:17:26.59,0:17:29.81,Italics,ko,0,0,0,,She doesn't look good in a suit \Nbecause she looks like a kid. 351 | Dialogue: 0,0:17:29.81,0:17:31.24,Main,ko,0,0,0,,Well, whatever. 352 | Dialogue: 0,0:17:31.24,0:17:34.03,Main,aoba,0,0,0,,I heard what you were thinking just now! 353 | Dialogue: 0,0:17:34.66,0:17:37.65,Main,ko,0,0,0,,Well, take two. 354 | Dialogue: 0,0:17:40.63,0:17:42.29,Main,ko,0,0,0,,I don't have enough light. 355 | Dialogue: 0,0:17:42.63,0:17:44.57,Main,ko,0,0,0,,Hajime, can I borrow your light? 356 | Dialogue: 0,0:17:44.57,0:17:47.53,Main,hajime,0,0,0,,I don't have any light. 357 | Dialogue: 0,0:17:47.53,0:17:49.29,Main,ko,0,0,0,,You have that light sword. 358 | Dialogue: 0,0:17:50.57,0:17:52.64,Main,ko,0,0,0,,Hey, perfect. 359 | Dialogue: 0,0:17:52.64,0:17:53.85,Main,ko,0,0,0,,Perfect! 360 | Dialogue: 0,0:17:56.49,0:17:58.31,Main,ko,0,0,0,,Look forward to the finished product. 361 | Dialogue: 0,0:17:59.00,0:18:00.10,Main,hajime,0,0,0,,I see. 362 | Dialogue: 0,0:18:00.10,0:18:01.75,Main,hajime,0,0,0,,You couldn't come back in. 363 | Dialogue: 0,0:18:01.75,0:18:02.77,Main,aoba,0,0,0,,Yeah. 364 | Dialogue: 0,0:18:02.77,0:18:05.98,Main,aoba,0,0,0,,I didn't know what to do, \Nand I was about to cry. 365 | Dialogue: 0,0:18:06.35,0:18:07.94,Main,yun,0,0,0,,You really had it rough. 366 | Dialogue: 0,0:18:07.94,0:18:10.23,Main,yun,0,0,0,,Want to relax with some snacks? 367 | Dialogue: 0,0:18:15.02,0:18:16.70,Main,aoba,0,0,0,,Wow! 368 | Dialogue: 0,0:18:17.47,0:18:20.15,Italics,aoba,0,0,0,,Hifumi-senpai, would you like some snacks? 369 | Dialogue: 0,0:18:20.85,0:18:22.02,Italics,hifumi,0,0,0,,Yeah! 370 | Dialogue: 0,0:18:22.02,0:18:23.93,Italics,hifumi,0,0,0,,I brought some cookies today. 371 | Dialogue: 0,0:18:25.05,0:18:25.61,Main,hifumi,0,0,0,,Here. 372 | Dialogue: 0,0:18:25.61,0:18:28.21,Main,3,0,0,0,,Wow! 373 | Dialogue: 0,0:18:29.55,0:18:32.99,Main,yun,0,0,0,,Aoba-chan, you're learning 3D, right? 374 | Dialogue: 0,0:18:32.99,0:18:33.93,Main,aoba,0,0,0,,Yeah. 375 | Dialogue: 0,0:18:33.93,0:18:36.72,Main,aoba,0,0,0,,I'm trying to learn as fast as \Npossible, so I can help out. 376 | Dialogue: 0,0:18:36.72,0:18:39.97,Main,aoba,0,0,0,,What's the release date of the \Ngame we're making right now? 377 | Dialogue: 0,0:18:40.57,0:18:42.04,Main,yun,0,0,0,,When was it? 378 | Dialogue: 0,0:18:42.04,0:18:43.10,Main,hajime,0,0,0,,It's in six months. 379 | Dialogue: 0,0:18:43.45,0:18:47.96,Main,hajime,0,0,0,,The rumor is, we're going \Nto get super busy soon. 380 | Dialogue: 0,0:18:47.96,0:18:48.76,Main,aoba,0,0,0,,What? 381 | Dialogue: 0,0:18:48.76,0:18:49.85,Main,hifumi,0,0,0,,Yeah. 382 | Dialogue: 0,0:18:50.45,0:18:54.73,Main,hifumi,0,0,0,,You won't be able to go home for a while. 383 | Dialogue: 0,0:18:54.73,0:18:58.49,Italics,hajime,0,0,0,,It doesn't sound like a joke \Nwhen you speak like that. 384 | Dialogue: 0,0:18:58.98,0:19:02.22,Main,aoba,0,0,0,,But Yagami-san was already sleeping here. 385 | Dialogue: 0,0:19:02.22,0:19:03.83,Main,aoba,0,0,0,,Is it because she's the leader? 386 | Dialogue: 0,0:19:03.83,0:19:07.98,Main,hajime,0,0,0,,I think it's accurate to say she lives here. 387 | Dialogue: 0,0:19:07.98,0:19:09.10,Main,hajime,0,0,0,,She's incredible. 388 | Dialogue: 0,0:19:09.10,0:19:10.92,Main,hajime,0,0,0,,She does several times more \Nwork than everyone else. 389 | Dialogue: 0,0:19:13.47,0:19:15.53,Main,hajime,0,0,0,,Though she has some personality problems. 390 | Dialogue: 0,0:19:19.94,0:19:21.73,Main,ko,0,0,0,,Aoba, thanks for waiting. 391 | Dialogue: 0,0:19:21.73,0:19:23.18,Main,ko,0,0,0,,Here's your ID card. 392 | Dialogue: 0,0:19:24.58,0:19:27.18,Main,aoba,0,0,0,,Now I really feel like an official employee. 393 | Dialogue: 0,0:19:27.18,0:19:29.43,Main,ko,0,0,0,,You already were official. 394 | Dialogue: 0,0:19:29.43,0:19:33.07,Main,ko,0,0,0,,It's fine to take breaks, \Nbut you guys are still clocked in, 395 | Dialogue: 0,0:19:33.07,0:19:34.92,Main,ko,0,0,0,,so make sure you get back to work soon. 396 | Dialogue: 0,0:19:34.92,0:19:35.94,Main,4,0,0,0,,Okay. 397 | Dialogue: 0,0:19:36.23,0:19:38.73,Main,ko,0,0,0,,So how far have you gotten, Aoba? 398 | Dialogue: 0,0:19:38.73,0:19:40.09,Main,aoba,0,0,0,,Oh, right. 399 | Dialogue: 0,0:19:40.71,0:19:41.71,Main,aoba,0,0,0,,I'm right here. 400 | Dialogue: 0,0:19:41.71,0:19:43.49,Main,ko,0,0,0,,That's fast. 401 | Dialogue: 0,0:19:43.49,0:19:46.20,Main,ko,0,0,0,,I'll send you some work \Nsoon, then, so be ready. 402 | Dialogue: 0,0:19:47.09,0:19:49.28,Main,ko,0,0,0,,You'll learn the small \Nthings through experience. 403 | Dialogue: 0,0:19:49.71,0:19:50.71,Main,aoba,0,0,0,,Okay. 404 | Dialogue: 0,0:19:52.03,0:19:53.99,Main,rin,0,0,0,,How's Aoba-chan doing? 405 | Dialogue: 0,0:19:53.99,0:19:56.59,Main,ko,0,0,0,,I'm glad she seems to be a fast learner. 406 | Dialogue: 0,0:19:57.03,0:19:58.60,Main,ko,0,0,0,,She might turn out to be reliable. 407 | Dialogue: 0,0:19:59.21,0:20:00.05,sign_28753_372_Artist_,on-screen,0,0,0,,{\fad(1,300)}Artist 408 | Dialogue: 0,0:20:01.80,0:20:03.64,Main,aoba,0,0,0,,Let's work hard! 409 | Dialogue: 0,0:20:07.26,0:20:11.18,Main,aoba,0,0,0,,But first, I need to use the restroom. 410 | Dialogue: 0,0:20:19.30,0:20:21.71,Main,ko,0,0,0,,B-B-B-Bathroom! 411 | Dialogue: 0,0:20:23.57,0:20:25.31,Main,aoba,0,0,0,,Yagami-san! 412 | Dialogue: 0,0:20:29.66,0:20:31.76,Main,ko,0,0,0,,Good night. 413 | Dialogue: 0,0:20:31.76,0:20:34.79,Main,hajime,0,0,0,,Yagami-san, you're not staying here tonight? 414 | Dialogue: 0,0:20:35.33,0:20:39.23,Main,ko,0,0,0,,I wouldn't last if I stayed \Novernight every night. 415 | Dialogue: 0,0:20:39.23,0:20:40.88,Main,ko,0,0,0,,Rin would get mad at me, too. 416 | Dialogue: 0,0:20:41.17,0:20:43.21,Main,yun,0,0,0,,Rin-san gets mad, too? 417 | Dialogue: 0,0:20:43.21,0:20:45.17,Main,ko,0,0,0,,She gets mad a lot sometimes. 418 | Dialogue: 0,0:20:44.38,0:20:47.89,sign_29836_383_Artist,on-screen,0,0,0,,Artist 419 | Dialogue: 0,0:20:45.17,0:20:46.69,Main,hajime,0,0,0,,Which one is it? 420 | Dialogue: 0,0:20:50.20,0:20:51.77,Main,ko,0,0,0,,How was your first day? 421 | Dialogue: 0,0:20:53.04,0:20:55.40,Main,ko,0,0,0,,Do you have any questions? 422 | Dialogue: 0,0:20:55.40,0:20:57.18,Main,aoba,0,0,0,,Y-Yes. 423 | Dialogue: 0,0:20:58.65,0:20:59.66,Main,aoba,0,0,0,,I... 424 | Dialogue: 0,0:21:00.23,0:21:03.39,Main,aoba,0,0,0,,I forgot to ask you something important. 425 | Dialogue: 0,0:21:03.39,0:21:04.34,Main,ko,0,0,0,,Sure. 426 | Dialogue: 0,0:21:04.34,0:21:05.57,Main,ko,0,0,0,,Ask me anything. 427 | Dialogue: 0,0:21:06.12,0:21:11.66,Main,aoba,0,0,0,,What's the title of the \Nnew video game we're making? 428 | Dialogue: 0,0:21:12.85,0:21:15.54,Main,ko,0,0,0,,Oh, no one told you? 429 | Dialogue: 0,0:21:16.29,0:21:18.53,Main,hajime,0,0,0,,Oh, right. 430 | Dialogue: 0,0:21:19.13,0:21:21.80,Main,yun,0,0,0,,We forgot to tell her, too. 431 | Dialogue: 0,0:21:25.63,0:21:27.53,Main,ko,0,0,0,,We're making the third installment 432 | Dialogue: 0,0:21:28.44,0:21:29.68,Main,ko,0,0,0,,of {\i1}Fairies Story{\i0}. 433 | Dialogue: 0,0:21:38.68,0:21:43.75,Main,aoba,0,0,0,,That's the video game that made me \Nwant to be a character designer! 434 | Dialogue: 0,0:21:44.73,0:21:46.59,Main,aoba,0,0,0,,I'll do my best! 435 | Dialogue: 0,0:21:46.99,0:21:48.55,Main,aoba,0,0,0,,Thank you for having me! 436 | Dialogue: 0,0:21:53.04,0:21:55.54,Main,aoba,0,0,0,,I'm so tired. 437 | Dialogue: 0,0:22:04.08,0:22:07.12,Main,aoba,0,0,0,,{\i1}Fairies Story 3{\i0}. 438 | Dialogue: 0,0:22:14.79,0:22:16.31,sign_32003_403_Nenecchi,on-screen,0,0,0,,Nenecchi 439 | Dialogue: 0,0:22:17.57,0:22:19.31,Main,aoba,0,0,0,,It's Nenecchi. 440 | Dialogue: 0,0:22:19.31,0:22:20.89,Italics,nene,0,0,0,,Aocchi! 441 | Dialogue: 0,0:22:20.89,0:22:21.77,Italics,nene,0,0,0,,Did you hear? 442 | Dialogue: 0,0:22:21.77,0:22:24.57,Italics,nene,0,0,0,,{\i0}Moon Ranger{\i1}'s getting a movie! 443 | Dialogue: 0,0:22:25.93,0:22:26.76,Main,aoba,0,0,0,,What's that? 444 | Dialogue: 0,0:22:26.76,0:22:27.90,Main,aoba,0,0,0,,I've never heard of it. 445 | Dialogue: 0,0:22:27.90,0:22:30.03,Italics,nene,0,0,0,,It's a popular anime! 446 | Dialogue: 0,0:22:30.03,0:22:33.47,Italics,nene,0,0,0,,I'm so glad I've supported it for so long. 447 | Dialogue: 0,0:22:33.47,0:22:35.80,Italics,nene,0,0,0,,Let's go together when it premiers. 448 | Dialogue: 0,0:22:36.35,0:22:37.70,Main,aoba,0,0,0,,Sure. 449 | Dialogue: 0,0:22:37.70,0:22:40.78,Main,aoba,0,0,0,,I'm tired today, so I'm hanging up. 450 | Dialogue: 0,0:22:40.78,0:22:41.67,Main,aoba,0,0,0,,Good night. 451 | Dialogue: 0,0:22:41.67,0:22:43.85,Italics,nene,0,0,0,,Wait! 452 | Dialogue: 0,0:22:45.09,0:22:46.30,Main,aoba,0,0,0,,What? 453 | Dialogue: 0,0:22:46.30,0:22:50.77,Italics,nene,0,0,0,,Well, I figured you had a \Nrough first day at work. 454 | Dialogue: 0,0:22:50.77,0:22:54.94,Italics,nene,0,0,0,,So I didn't want to make you \Ntalk about work at home. 455 | Dialogue: 0,0:22:57.40,0:22:59.06,Main,aoba,0,0,0,,It wasn't like that. 456 | Dialogue: 0,0:22:59.06,0:23:00.78,Main,aoba,0,0,0,,Get this! 457 | Dialogue: 0,0:23:00.78,0:23:03.07,Main,aoba,0,0,0,,It was incredible at work. 458 | Dialogue: 0,0:23:03.07,0:23:05.51,Main,aoba,0,0,0,,You know Yagami Ko-san? 459 | Dialogue: 0,0:23:05.51,0:23:08.34,Main,aoba,0,0,0,,She did the character \Ndesign for {\i1}Fairies Story{\i0}. 460 | Dialogue: 0,0:23:08.34,0:23:10.55,Main,aoba,0,0,0,,I'm going to be working with her! 461 | Dialogue: 0,0:23:10.55,0:23:11.29,Italics,nene,0,0,0,,What? 462 | Dialogue: 0,0:23:11.29,0:23:12.89,Italics,nene,0,0,0,,That's incredible! 463 | Dialogue: 0,0:23:13.39,0:23:15.56,Main,aoba,0,0,0,,I'm gonna work really hard. 464 | Dialogue: 0,0:23:16.21,0:23:19.42,Main,aoba,0,0,0,,I'm gonna work really hard \Nand learn how to do my job. 465 | Dialogue: 0,0:23:20.87,0:23:23.81,Main,aoba,0,0,0,,In order to make a new game. 466 | Dialogue: 0,0:23:25.66,0:23:28.83,Main,nene,0,0,0,,Aocchi, is a video game company really busy? 467 | Dialogue: 0,0:23:28.83,0:23:30.17,Main,aoba,0,0,0,,I don't know, Nenecchi. 468 | Dialogue: 0,0:23:30.17,0:23:32.04,Main,aoba,0,0,0,,But there was someone who slept at work. 469 | Dialogue: 0,0:23:32.04,0:23:34.93,Main,nene,0,0,0,,Did you run into someone \Nsleeping in her underwear? 470 | Dialogue: 0,0:23:34.93,0:23:37.01,Main,nene,0,0,0,,Just kidding. No adult does that. 471 | Dialogue: 0,0:23:37.01,0:23:39.85,Main,aoba,0,0,0,,Next time: "So This is an Adult Drinking Party..." 472 | Dialogue: 0,0:23:37.01,0:23:41.00,Next_Time,,0,0,0,,Next Time 473 | Dialogue: 0,0:23:37.01,0:23:41.00,Next_Ep_Title,,0,0,0,,"So This Is an Adult Drinking Party..." 474 | Dialogue: 0,0:23:41.00,0:23:43.00,Next_Ep_Title,,0,0,0,, 475 | -------------------------------------------------------------------------------- /resources/test_valid_subs.ass: -------------------------------------------------------------------------------- 1 | [Script Info] 2 | ; Script generated by Aegisub 3.0.4 3 | ; http://www.aegisub.org/ 4 | Title: HorribleSubs 5 | ScriptType: v4.00+ 6 | WrapStyle: 0 7 | PlayResX: 848 8 | PlayResY: 480 9 | Video Zoom Percent: 1 10 | Scroll Position: 0 11 | Active Line: 0 12 | ScaledBorderAndShadow: yes 13 | 14 | [V4+ Styles] 15 | Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding 16 | Style: Default,Open Sans Semibold,36,&H00FFFFFF,&H000000FF,&H00020713,&H00000000,-1,0,0,0,100,100,0,0,1,1.7,0,2,0,0,28,1 17 | Style: Main,Open Sans Semibold,36,&H00FFFFFF,&H000000FF,&H00020713,&H00000000,-1,0,0,0,100,100,0,0,1,1.7,0,2,0,0,28,1 18 | Style: Italics,Open Sans Semibold,36,&H00FFFFFF,&H000000FF,&H00020713,&H00000000,-1,-1,0,0,100,100,0,0,1,1.7,0,2,0,0,28,1 19 | Style: Flashback,Open Sans Semibold,36,&H00FFFFFF,&H000000FF,&H00400000,&H00400000,0,0,0,0,100,100,0,0,1,2,1,2,13,13,24,1 20 | Style: Flashback_Italics,Open Sans Semibold,36,&H00FFFFFF,&H000000FF,&H00020713,&H00000000,-1,-1,0,0,100,100,0,0,1,1.7,0,2,0,0,28,1 21 | Style: sign_11330_125_Please_present_c,Open Sans Semibold,18,&H00B09293,&H000000FF,&H00321311,&H00000000,-1,0,0,0,100,100,0,345,1,3,0,9,312,376,64,1 22 | Style: sign_11345_126_Needs_Fill,Open Sans Semibold,18,&H00B09293,&H000000FF,&H00321311,&H00000000,-1,0,0,0,100,100,0,345,1,3,0,8,379,395,37,1 23 | Style: sign_15617_187_From_Hifumi,Open Sans Semibold,36,&H005E526D,&H000000FF,&H00F6F6F6,&H00000000,0,0,0,0,100,100,0,0,1,4,0,7,189,471,36,1 24 | Style: sign_15617_188_I_m_sorry_about_,Open Sans Semibold,36,&H005E526D,&H000000FF,&H00F6F6F6,&H00000000,0,0,0,0,100,100,0,0,1,4,0,7,119,248,112,1 25 | Style: sign_16060_194_From_Ko_IWannaLe,Open Sans Semibold,24,&H005E526D,&H000000FF,&H00F6F6F6,&H00000000,0,0,0,0,100,100,0,0,1,4,0,7,460,75,89,1 26 | Style: sign_16060_195_Behind_you__Behi,Open Sans Semibold,36,&H005E526D,&H000000FF,&H00F6F6F6,&H00000000,0,0,0,0,100,100,0,0,1,4,0,7,420,47,135,1 27 | Style: sign_18722_239_Uh______________,Open Sans Semibold,39,&H008D546D,&H000000FF,&H00894F6B,&H00000000,-1,0,0,0,100,100,0,0,1,1,0,3,255,39,300,1 28 | Style: sign_28753_372_Artist_,Open Sans Semibold,18,&H005E526F,&H000000FF,&H00FFFFFF,&H00000000,0,0,0,0,100,100,0,0,1,2,0,1,421,383,267,1 29 | Style: sign_29836_383_Artist,Open Sans Semibold,30,&H005E526F,&H000000FF,&H00FFFFFF,&H00000000,0,0,0,0,100,100,0,0,1,2,0,1,388,393,323,1 30 | Style: sign_32003_403_Nenecchi,Open Sans Semibold,27,&H00B7B4B6,&H000000FF,&H00151515,&H00000000,-1,0,0,0,100,100,0,0,1,3,0,9,453,287,205,1 31 | Style: Next_Time,Open Sans Semibold,36,&H005E526D,&H000000FF,&H00FFFFFF,&H00000000,0,0,0,0,100,100,0,0,1,4,0,1,180,501,328,1 32 | Style: Next_Ep_Title,Open Sans Semibold,36,&H004F485C,&H000000FF,&H00FFFFFF,&H00000000,0,0,0,0,100,100,0,0,1,4,0,7,180,73,280,1 33 | 34 | [Events] 35 | Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text 36 | 37 | Dialogue: 0,0:00:01.85,0:00:05.85,Italics,,0,0,0,, 38 | Dialogue: 0,0:00:05.85,0:00:07.02,Italics,aoba,0,0,0,,It's spring. 39 | Dialogue: 0,0:00:07.50,0:00:09.03,Italics,aoba,0,0,0,,I've graduated high school, 40 | Dialogue: 0,0:00:09.34,0:00:10.88,Italics,aoba,0,0,0,,and I start my job today. 41 | Dialogue: 0,0:00:29.35,0:00:31.06,Italics,aoba,0,0,0,,I'm going to be working... 42 | Dialogue: 0,0:00:31.06,0:00:32.98,Italics,aoba,0,0,0,,...at a game company! 43 | Dialogue: 0,0:00:36.04,0:00:37.48,Main,aoba,0,0,0,,I'm Suzukaze Aoba. 44 | Dialogue: 0,0:00:37.48,0:00:39.11,Main,aoba,0,0,0,,Nice to meet you. 45 | Dialogue: 0,0:00:39.11,0:00:40.55,Main,aoba,0,0,0,,I'm Suzukaze Aoba. 46 | Dialogue: 0,0:00:40.55,0:00:42.31,Main,aoba,0,0,0,,Nice to meet you. 47 | Dialogue: 0,0:00:42.31,0:00:46.31,Italics,aoba,0,0,0,,Today's the day I become an adult. 48 | Dialogue: 0,0:00:46.31,0:00:47.52,Main,aoba,0,0,0,,All right! 49 | Dialogue: 0,0:00:50.72,0:00:53.44,Italics,aoba,0,0,0,,Wait, can I really go in? 50 | Dialogue: 0,0:00:54.74,0:00:55.52,Main,rin,0,0,0,,Hey! 51 | Dialogue: 0,0:00:56.34,0:00:57.54,Main,rin,0,0,0,,Just kidding. 52 | Dialogue: 0,0:00:58.77,0:01:01.49,Main,rin,0,0,0,,This is a company, so no kids allowed. 53 | Dialogue: 0,0:01:01.94,0:01:04.29,Main,aoba,0,0,0,,I-I'm sorry. 54 | Dialogue: 0,0:01:04.89,0:01:07.46,Main,aoba,0,0,0,,Wait, I'm not a kid! 55 | Dialogue: 0,0:01:08.00,0:01:10.98,Main,aoba,0,0,0,,I'll be working at Eagle Jump starting today. 56 | Dialogue: 0,0:01:10.98,0:01:12.62,Main,aoba,0,0,0,,I am Suzukaze Aoba. 57 | Dialogue: 0,0:01:12.62,0:01:14.53,Main,aoba,0,0,0,,It's nice to meet you. 58 | Dialogue: 0,0:01:14.53,0:01:17.70,Main,rin,0,0,0,,Oh, you were a new employee? 59 | Dialogue: 0,0:01:17.70,0:01:19.47,Main,rin,0,0,0,,I'm sorry about that. 60 | Dialogue: 0,0:01:19.69,0:01:22.00,Main,aoba,0,0,0,,I'm sorry as well. 61 | Dialogue: 0,0:01:22.00,0:01:23.58,Main,aoba,0,0,0,,My name is Suzukaze Aoba. 62 | Dialogue: 0,0:01:23.58,0:01:25.52,Main,aoba,0,0,0,,Have you heard about me? 63 | Dialogue: 0,0:01:26.09,0:01:27.76,Main,rin,0,0,0,,Suzukaze... 64 | Dialogue: 0,0:01:27.76,0:01:29.48,Main,rin,0,0,0,,Oh, I have. 65 | Dialogue: 0,0:01:29.48,0:01:31.12,Main,rin,0,0,0,,We're on the same team. 66 | Dialogue: 0,0:01:32.11,0:01:34.67,Main,rin,0,0,0,,I'm Toyama Rin. I'm an AD. 67 | Dialogue: 0,0:01:34.67,0:01:35.61,Main,rin,0,0,0,,It's nice to meet you. 68 | Dialogue: 0,0:01:35.84,0:01:37.94,Italics,aoba,0,0,0,,I'm speaking with a real professional! 69 | Dialogue: 0,0:01:44.59,0:01:48.00,Main,aoba,0,0,0,,So... You must be busy being an AD. 70 | Dialogue: 0,0:01:48.00,0:01:49.71,Main,aoba,0,0,0,,I see it quite often on the TV, 71 | Dialogue: 0,0:01:49.71,0:01:51.64,Main,aoba,0,0,0,,but there are so many intricate tasks, 72 | Dialogue: 0,0:01:51.64,0:01:53.45,Main,aoba,0,0,0,,and they look so busy. 73 | Dialogue: 0,0:01:54.02,0:01:58.41,Main,rin,0,0,0,,Oh, my AD doesn't stand \Nfor "assistant director." 74 | Dialogue: 0,0:01:58.41,0:01:59.94,Main,rin,0,0,0,,I'm an art director. 75 | Dialogue: 0,0:02:01.54,0:02:05.35,Main,rin,0,0,0,,So my job is to manage all the artwork. 76 | Dialogue: 0,0:02:09.48,0:02:11.36,Main,aoba,0,0,0,,I'm terribly sorry! 77 | Dialogue: 0,0:02:11.36,0:02:12.06,Main,rin,0,0,0,,What? 78 | Dialogue: 0,0:02:12.29,0:02:14.19,Main,rin,0,0,0,,Don't worry about it. 79 | Dialogue: 0,0:03:52.98,0:03:54.81,Main,rin,0,0,0,,This is your desk. 80 | Dialogue: 0,0:03:56.73,0:03:58.69,Main,rin,0,0,0,,Oh, would you like something to drink? 81 | Dialogue: 0,0:03:58.69,0:04:00.80,Main,aoba,0,0,0,,Oh, may I have orange— 82 | Dialogue: 0,0:04:00.80,0:04:03.59,Italics,aoba,0,0,0,,No, I'm an adult now. 83 | Dialogue: 0,0:04:04.09,0:04:05.92,Main,aoba,0,0,0,,Coffee. Black please. 84 | Dialogue: 0,0:04:08.77,0:04:11.01,Main,aoba,0,0,0,,I'm so glad she seems nice. 85 | Dialogue: 0,0:04:11.77,0:04:14.40,Main,aoba,0,0,0,,I'm going to be a professional \Nstarting today. 86 | Dialogue: 0,0:04:15.99,0:04:17.61,Main,ko,0,0,0,,I'm tired. 87 | Dialogue: 0,0:04:19.60,0:04:21.28,Main,ko,0,0,0,,No more... 88 | Dialogue: 0,0:04:26.18,0:04:28.03,Main,aoba,0,0,0,,Is it a ghost? 89 | Dialogue: 0,0:04:30.09,0:04:32.33,Main,aoba,0,0,0,,Panties? 90 | Dialogue: 0,0:04:40.75,0:04:43.87,Main,aoba,0,0,0,,P-P-P-P-P-P-Panties... 91 | Dialogue: 0,0:04:55.53,0:04:56.85,Main,ko,0,0,0,,A middle schooler? 92 | Dialogue: 0,0:04:56.85,0:04:58.24,Main,ko,0,0,0,,Why is a kid here? 93 | Dialogue: 0,0:04:58.24,0:04:59.79,Main,aoba,0,0,0,,I'm not a child. 94 | Dialogue: 0,0:04:59.79,0:05:01.22,Main,rin,0,0,0,,Oh, you're up. 95 | Dialogue: 0,0:05:01.22,0:05:03.09,Main,ko,0,0,0,,Rin, who is this? 96 | Dialogue: 0,0:05:03.09,0:05:04.42,Main,rin,0,0,0,,She's our new employee. 97 | Dialogue: 0,0:05:04.42,0:05:06.00,Main,rin,0,0,0,,Suzukaze Aoba-san. 98 | Dialogue: 0,0:05:06.00,0:05:07.99,Main,rin,0,0,0,,Oh, this is mine, but do you want it? 99 | Dialogue: 0,0:05:07.99,0:05:09.65,Main,ko,0,0,0,,Thanks. 100 | Dialogue: 0,0:05:09.65,0:05:10.49,Main,ko,0,0,0,,Cool. 101 | Dialogue: 0,0:05:10.49,0:05:12.45,Main,ko,0,0,0,,So where is she... 102 | Dialogue: 0,0:05:13.75,0:05:15.87,Main,ko,0,0,0,,This isn't sweet at all. 103 | Dialogue: 0,0:05:15.87,0:05:18.62,Main,rin,0,0,0,,Oops, then that's hers. Sorry. 104 | Dialogue: 0,0:05:18.62,0:05:19.54,Main,ko,0,0,0,,Switch. 105 | Dialogue: 0,0:05:19.79,0:05:21.15,Main,ko,0,0,0,,You have a mature taste. 106 | Dialogue: 0,0:05:21.15,0:05:22.42,Main,ko,0,0,0,,You drink coffee black? 107 | Dialogue: 0,0:05:22.42,0:05:23.90,Main,aoba,0,0,0,,I'm an adult. 108 | Dialogue: 0,0:05:23.90,0:05:25.72,Main,aoba,0,0,0,,This is no big deal. 109 | Dialogue: 0,0:05:29.84,0:05:31.06,Main,ko,0,0,0,,You can't drink it? 110 | Dialogue: 0,0:05:31.89,0:05:34.27,Main,ko,0,0,0,,So how old are you? 111 | Dialogue: 0,0:05:34.27,0:05:35.37,Main,aoba,0,0,0,,I'm eighteen! 112 | Dialogue: 0,0:05:35.37,0:05:37.52,Main,ko,0,0,0,,Wow, you're a high school grad? 113 | Dialogue: 0,0:05:37.52,0:05:38.79,Main,ko,0,0,0,,That's rare. 114 | Dialogue: 0,0:05:38.79,0:05:41.07,Main,ko,0,0,0,,But you don't even look like a high schooler. 115 | Dialogue: 0,0:05:42.13,0:05:43.42,Main,aoba,0,0,0,,What about you? 116 | Dialogue: 0,0:05:43.42,0:05:44.61,Main,aoba,0,0,0,,How old are you? 117 | Dialogue: 0,0:05:45.81,0:05:47.11,Main,ko,0,0,0,,How old do you think? 118 | Dialogue: 0,0:05:48.89,0:05:49.86,Italics,aoba,0,0,0,,What do I do? 119 | Dialogue: 0,0:05:49.86,0:05:52.07,Italics,aoba,0,0,0,,I can't just say whatever. 120 | Dialogue: 0,0:05:52.07,0:05:53.86,Main,aoba,0,0,0,,Th-That's... 121 | Dialogue: 0,0:05:53.86,0:05:56.21,Main,aoba,0,0,0,,A poster of {\i1}Fairies Story{\i0}! 122 | Dialogue: 0,0:05:56.43,0:05:58.19,Main,ko,0,0,0,,Oh, you know it? 123 | Dialogue: 0,0:05:58.19,0:06:00.69,Main,ko,0,0,0,,That's the first game I was involved in. 124 | Dialogue: 0,0:06:00.69,0:06:01.29,Main,aoba,0,0,0,,What? 125 | Dialogue: 0,0:06:01.29,0:06:04.00,Main,aoba,0,0,0,,I was totally into it in elementary school. 126 | Dialogue: 0,0:06:04.00,0:06:06.76,Main,aoba,0,0,0,,That's how I found out about this company... 127 | Dialogue: 0,0:06:07.36,0:06:11.31,Main,aoba,0,0,0,,D-D-Don't tell me... you're thir— 128 | Dialogue: 0,0:06:11.31,0:06:12.94,Main,ko,0,0,0,,I'm not that old! 129 | Dialogue: 0,0:06:12.94,0:06:14.21,Main,ko,0,0,0,,I'm twenty-five. 130 | Dialogue: 0,0:06:14.21,0:06:16.49,Main,ko,0,0,0,,I joined after high school, too. 131 | Dialogue: 0,0:06:18.02,0:06:19.95,Main,aoba,0,0,0,,Oh, I'm sorry. 132 | Dialogue: 0,0:06:20.41,0:06:21.90,Main,rin,0,0,0,,Don't worry about it. 133 | Dialogue: 0,0:06:22.19,0:06:23.40,Main,rin,0,0,0,,By the way. 134 | Dialogue: 0,0:06:24.17,0:06:26.52,Main,rin,0,0,0,,How old do I look? 135 | Dialogue: 0,0:06:26.52,0:06:27.84,Main,aoba,0,0,0,,Twenty-three? 136 | Dialogue: 0,0:06:27.84,0:06:29.61,Main,ko,0,0,0,,We're the same age! 137 | Dialogue: 0,0:06:29.61,0:06:30.41,Main,rin,0,0,0,,Good girl. 138 | Dialogue: 0,0:06:30.89,0:06:32.97,Main,aoba,0,0,0,,I-It's such an honor. 139 | Dialogue: 0,0:06:32.97,0:06:37.83,Main,aoba,0,0,0,,I'm meeting with the people who \Nmade the game I loved as a child. 140 | Dialogue: 0,0:06:37.83,0:06:40.96,Main,aoba,0,0,0,,I especially loved the character design. 141 | Dialogue: 0,0:06:41.66,0:06:42.60,Main,rin,0,0,0,,My. 142 | Dialogue: 0,0:06:42.60,0:06:46.92,Main,rin,0,0,0,,She's Yagami Ko who did the \Ncharacter designs for {\i1}Fairies Story{\i0}. 143 | Dialogue: 0,0:06:48.58,0:06:50.46,Main,aoba,0,0,0,,You're {\i1}the{\i0} Yagami-sensei? 144 | Dialogue: 0,0:06:50.46,0:06:52.05,Main,ko,0,0,0,,Well that earned me respect easy. 145 | Dialogue: 0,0:06:52.47,0:06:55.93,Main,rin,0,0,0,,She will be your manager starting today, 146 | Dialogue: 0,0:06:55.93,0:06:57.75,Main,rin,0,0,0,,so I hope you two get along. 147 | Dialogue: 0,0:07:00.64,0:07:02.58,Main,aoba,0,0,0,,I-I'll do my betht! 148 | Dialogue: 0,0:07:02.58,0:07:03.75,Main,ko,0,0,0,,Hey, you bit your tongue. 149 | Dialogue: 0,0:07:03.75,0:07:05.72,Main,aoba,0,0,0,,P-Please forget that happened! 150 | Dialogue: 0,0:07:07.17,0:07:10.14,Italics,aoba,0,0,0,,I quickly finished my introduction \Nto my team members 151 | Dialogue: 0,0:07:10.14,0:07:11.20,Italics,aoba,0,0,0,,and then got to work. 152 | Dialogue: 0,0:07:11.93,0:07:14.97,Italics,aoba,0,0,0,,It looks like I'm the only \Nnew recruit this year. 153 | Dialogue: 0,0:07:14.97,0:07:17.34,Italics,aoba,0,0,0,,That's kinda lonely. 154 | Dialogue: 0,0:07:19.47,0:07:20.45,Italics,aoba,0,0,0,,No, no. 155 | Dialogue: 0,0:07:20.45,0:07:22.35,Italics,aoba,0,0,0,,Don't be negative, Aoba! 156 | Dialogue: 0,0:07:22.35,0:07:25.05,Italics,aoba,0,0,0,,Get friendly with the girl next to you. 157 | Dialogue: 0,0:07:26.24,0:07:26.96,Main,aoba,0,0,0,,Hello. 158 | Dialogue: 0,0:07:31.57,0:07:33.09,Main,aoba,0,0,0,,It didn't work. 159 | Dialogue: 0,0:07:45.79,0:07:47.44,Main,hajime,0,0,0,,I think this is a good pose. 160 | Dialogue: 0,0:07:49.74,0:07:52.53,Italics,aoba,0,0,0,,What kind of company is this?! 161 | Dialogue: 0,0:07:52.53,0:07:53.16,sign_11330_125_Please_present_c,,0,0,0,,Please Hold Your Card \NUp To The Circle 162 | Dialogue: 0,0:07:53.16,0:07:53.49,sign_11345_126_Needs_Fill,,0,0,0,,Open 163 | Dialogue: 0,0:07:57.61,0:08:00.66,Italics,aoba,0,0,0,,I wonder if the girl at \Nthat desk is absent today. 164 | Dialogue: 0,0:08:00.66,0:08:02.16,Main,hifumi,0,0,0,,Good morning. 165 | Dialogue: 0,0:08:03.26,0:08:04.46,Main,aoba,0,0,0,,Good morning! 166 | Dialogue: 0,0:08:10.32,0:08:11.66,Main,aoba,0,0,0,,H-Hello! 167 | Dialogue: 0,0:08:11.66,0:08:14.41,Main,aoba,0,0,0,,I'm Suzukaze Aoba. I'm starting today. 168 | Dialogue: 0,0:08:14.90,0:08:16.51,Main,hifumi,0,0,0,,Takimoto Hifumi. 169 | Dialogue: 0,0:08:16.51,0:08:17.80,Main,hifumi,0,0,0,,Nice to meet you. 170 | Dialogue: 0,0:08:17.80,0:08:20.27,Main,aoba,0,0,0,,Are you also on the character team? 171 | Dialogue: 0,0:08:22.66,0:08:24.52,Main,aoba,0,0,0,,I-I'm sorry. 172 | Dialogue: 0,0:08:25.77,0:08:26.86,Italics,aoba,0,0,0,,What do I do? 173 | Dialogue: 0,0:08:26.86,0:08:29.25,Italics,aoba,0,0,0,,I don't think I can make any friends. 174 | Dialogue: 0,0:08:35.61,0:08:36.34,Main,aoba,0,0,0,,What? 175 | Dialogue: 0,0:08:36.34,0:08:38.16,Main,aoba,0,0,0,,Why is there a cat here? 176 | Dialogue: 0,0:08:41.94,0:08:42.88,Main,aoba,0,0,0,,You're so cute. 177 | Dialogue: 0,0:08:42.88,0:08:44.37,Main,shizu,0,0,0,,Hey, there you are. 178 | Dialogue: 0,0:08:44.37,0:08:46.54,Main,shizu,0,0,0,,You came all the way here? 179 | Dialogue: 0,0:08:47.27,0:08:50.05,Main,shizu,0,0,0,,Are you the new employee, Suzukaze Aoba-kun? 180 | Dialogue: 0,0:08:50.59,0:08:52.49,Main,shizu,0,0,0,,Pardon me for my cat. 181 | Dialogue: 0,0:08:53.41,0:08:54.88,Main,aoba,0,0,0,,Oh, no problem at all. 182 | Dialogue: 0,0:09:03.66,0:09:05.06,Main,shizu,0,0,0,,You're cute. 183 | Dialogue: 0,0:09:06.29,0:09:10.77,Main,shizu,0,0,0,,I'm Hazuki Shizuku, the director \Nof the game this team is making. 184 | Dialogue: 0,0:09:10.77,0:09:12.11,Main,aoba,0,0,0,,Okay. 185 | Dialogue: 0,0:09:12.11,0:09:13.69,Main,aoba,0,0,0,,It's nice to meet you. 186 | Dialogue: 0,0:09:14.23,0:09:16.09,Main,aoba,0,0,0,,So who's the cat? 187 | Dialogue: 0,0:09:16.09,0:09:17.66,Main,shizu,0,0,0,,He's Mozuku. 188 | Dialogue: 0,0:09:17.66,0:09:19.07,Main,shizu,0,0,0,,I bring him in sometime. 189 | Dialogue: 0,0:09:19.53,0:09:21.33,Main,shizu,0,0,0,,If I leave him at home all the time, 190 | Dialogue: 0,0:09:21.33,0:09:23.20,Main,shizu,0,0,0,,he gets bored and messes up the house. 191 | Dialogue: 0,0:09:23.20,0:09:26.08,Main,umiko,0,0,0,,Hazuki-san, I've been looking for you. 192 | Dialogue: 0,0:09:26.96,0:09:28.64,Main,shizu,0,0,0,,Oh, Umiko-kun. 193 | Dialogue: 0,0:09:28.64,0:09:29.92,Main,shizu,0,0,0,,What do you need? 194 | Dialogue: 0,0:09:29.92,0:09:32.89,Main,umiko,0,0,0,,You're very late for the meeting. 195 | Dialogue: 0,0:09:32.89,0:09:35.23,Main,shizu,0,0,0,,Oh, oopsy. 196 | Dialogue: 0,0:09:35.23,0:09:37.13,Main,shizu,0,0,0,,Let's not look so upset. 197 | Dialogue: 0,0:09:37.40,0:09:39.55,Main,shizu,0,0,0,,That's how you get wrinkles. 198 | Dialogue: 0,0:09:42.51,0:09:44.10,Main,shizu,0,0,0,,I'm sorry! 199 | Dialogue: 0,0:09:44.10,0:09:45.86,Main,umiko,0,0,0,,Let's go now. 200 | Dialogue: 0,0:09:45.86,0:09:47.28,Main,umiko,0,0,0,,Everyone's waiting. 201 | Dialogue: 0,0:09:48.39,0:09:51.81,Main,shizu,0,0,0,,Suzukaze-kun, good luck with work. 202 | Dialogue: 0,0:09:51.81,0:09:53.11,Main,aoba,0,0,0,,Th-Thanks. 203 | Dialogue: 0,0:09:54.45,0:09:57.82,Italics,aoba,0,0,0,,Maybe the director's not very important... 204 | Dialogue: 0,0:10:01.84,0:10:03.29,Italics,aoba,0,0,0,,A private message? 205 | Dialogue: 0,0:10:04.43,0:10:05.89,Italics,hifumi,0,0,0,,I'm sorry about earlier! 206 | Dialogue: 0,0:10:05.89,0:10:07.83,Italics,hifumi,0,0,0,,I'm not very good at speaking. 207 | Dialogue: 0,0:10:07.83,0:10:11.84,Italics,hifumi,0,0,0,,I'm also on the character team, so ask \Nme anything if you have any questions! 208 | Dialogue: 0,0:10:12.26,0:10:14.37,Italics,hifumi,0,0,0,,Also, just call me Hifumi. 209 | Dialogue: 0,0:10:14.37,0:10:15.88,Italics,aoba,0,0,0,,Hifumi-senpai! 210 | Dialogue: 0,0:10:17.89,0:10:19.65,Main,ko,0,0,0,,Hey, newbie! 211 | Dialogue: 0,0:10:20.25,0:10:21.55,Main,aoba,0,0,0,,C-Coming! 212 | Dialogue: 0,0:10:22.27,0:10:24.07,Main,ko,0,0,0,,Have you done any 3D? 213 | Dialogue: 0,0:10:24.07,0:10:28.15,Main,aoba,0,0,0,,I don't know anything besides drawing. 214 | Dialogue: 0,0:10:28.15,0:10:30.19,Main,ko,0,0,0,,Okay, that's not a problem. 215 | Dialogue: 0,0:10:30.19,0:10:34.70,Main,ko,0,0,0,,Then do chapter one of this book. 216 | Dialogue: 0,0:10:34.70,0:10:35.94,Main,aoba,0,0,0,,Okay! 217 | Dialogue: 0,0:10:36.30,0:10:37.77,Main,ko,0,0,0,,Okay, then. 218 | Dialogue: 0,0:10:39.29,0:10:40.52,Main,aoba,0,0,0,,Wait. 219 | Dialogue: 0,0:10:41.04,0:10:42.21,Main,aoba,0,0,0,,Is that it? 220 | Dialogue: 0,0:10:44.71,0:10:45.67,Italics,aoba,0,0,0,,Oh, no. 221 | Dialogue: 0,0:10:45.67,0:10:47.63,Italics,aoba,0,0,0,,I don't understand this. 222 | Dialogue: 0,0:10:47.63,0:10:49.99,Italics,aoba,0,0,0,,But who do I ask? 223 | Dialogue: 0,0:10:51.33,0:10:52.71,sign_15617_187_From_Hifumi,on-screen,0,0,0,,From Hifumi 224 | Dialogue: 0,0:10:51.33,0:10:52.71,sign_15617_188_I_m_sorry_about_,on-screen,0,0,0,,I'm sorry about earlier!\NI'm not very good at speaking.\NI'm also on the character team,\Nso ask me anything\Nif you have any questions! 225 | Dialogue: 0,0:10:55.06,0:10:57.23,Main,aoba,0,0,0,,Excuse me, Hifumi-senpai. 226 | Dialogue: 0,0:10:57.23,0:10:59.80,Main,aoba,0,0,0,,Could I ask you a question? 227 | Dialogue: 0,0:11:02.23,0:11:03.31,Main,aoba,0,0,0,,Um... 228 | Dialogue: 0,0:11:03.31,0:11:05.05,Main,aoba,0,0,0,,Hifumi-senpai? 229 | Dialogue: 0,0:11:06.01,0:11:07.12,Main,aoba,0,0,0,,Huh? 230 | Dialogue: 0,0:11:09.81,0:11:11.35,sign_16060_194_From_Ko_IWannaLe,on-screen,0,0,0,,From Ko@IWannaLeaveOnTime 231 | Dialogue: 0,0:11:09.81,0:11:11.35,sign_16060_195_Behind_you__Behi,on-screen,0,0,0,,Behind you! Behind you! 232 | Dialogue: 0,0:11:11.65,0:11:13.02,Main,aoba,0,0,0,,Excuse me. 233 | Dialogue: 0,0:11:13.02,0:11:14.39,Main,aoba,0,0,0,,Um! 234 | Dialogue: 0,0:11:14.39,0:11:15.65,Main,aoba,0,0,0,,Um... 235 | Dialogue: 0,0:11:19.49,0:11:21.53,Main,ko,0,0,0,,What are they doing? 236 | Dialogue: 0,0:11:22.35,0:11:25.70,Main,hifumi,0,0,0,,Do you have a question? 237 | Dialogue: 0,0:11:25.70,0:11:26.57,Main,aoba,0,0,0,,What? 238 | Dialogue: 0,0:11:26.57,0:11:28.00,Main,aoba,0,0,0,,Y-Yes... 239 | Dialogue: 0,0:11:28.00,0:11:30.53,Main,aoba,0,0,0,,But I think I've already figured it out. 240 | Dialogue: 0,0:11:37.48,0:11:39.21,Main,aoba,0,0,0,,I got another private message. 241 | Dialogue: 0,0:11:39.62,0:11:43.43,Italics,ko,0,0,0,,If you have questions for \NHifumin, send her a message. 242 | Dialogue: 0,0:11:43.97,0:11:45.21,Main,aoba,0,0,0,,Yagami-san. 243 | Dialogue: 0,0:11:46.04,0:11:47.18,Main,aoba,0,0,0,,Okay. 244 | Dialogue: 0,0:11:48.25,0:11:49.25,Italics,aoba,0,0,0,,Sent. 245 | Dialogue: 0,0:11:50.85,0:11:52.83,Italics,aoba,0,0,0,,My apologies for distracting you earlier. 246 | Dialogue: 0,0:11:52.83,0:11:54.67,Italics,aoba,0,0,0,,I had a question. 247 | Dialogue: 0,0:11:54.67,0:12:00.04,Italics,aoba,0,0,0,,It says you can hide all but the \Nselected object, in the book, 248 | Dialogue: 0,0:12:00.04,0:12:02.28,Italics,aoba,0,0,0,,but I can't find the toolbox for it. 249 | Dialogue: 0,0:12:02.28,0:12:03.79,Italics,aoba,0,0,0,,Where could I find it? 250 | Dialogue: 0,0:12:03.79,0:12:05.35,Italics,hifumi,0,0,0,,You don't need to use that. 251 | Dialogue: 0,0:12:05.35,0:12:08.78,Italics,hifumi,0,0,0,,Just use the Ctrl+H keyboard shortcut. 252 | Dialogue: 0,0:12:08.78,0:12:10.64,Italics,aoba,0,0,0,,That solved the problem. 253 | Dialogue: 0,0:12:10.64,0:12:11.57,Italics,aoba,0,0,0,,Thank you. 254 | Dialogue: 0,0:12:11.57,0:12:13.16,Italics,aoba,0,0,0,,I'm very grateful for your help. 255 | Dialogue: 0,0:12:13.16,0:12:14.52,Italics,hifumi,0,0,0,,No problem. 256 | Dialogue: 0,0:12:14.52,0:12:17.33,Italics,hifumi,0,0,0,,But no need to be so formal. 257 | Dialogue: 0,0:12:17.33,0:12:18.86,Italics,hifumi,0,0,0,,Smile! Smile! 258 | Dialogue: 0,0:12:18.86,0:12:21.94,Italics,aoba,0,0,0,,What? But I'm new here. 259 | Dialogue: 0,0:12:21.94,0:12:23.31,Italics,hifumi,0,0,0,,Don't worry! 260 | Dialogue: 0,0:12:23.31,0:12:26.71,Italics,hifumi,0,0,0,,Everyone here's pretty friendly, \Nso don't be so tense. 261 | Dialogue: 0,0:12:26.71,0:12:28.60,Italics,aoba,0,0,0,,Then... 262 | Dialogue: 0,0:12:28.60,0:12:30.33,Italics,aoba,0,0,0,,Thank you! 263 | Dialogue: 0,0:12:30.33,0:12:31.65,Italics,aoba,0,0,0,,I guess? 264 | Dialogue: 0,0:12:31.65,0:12:32.53,Italics,hifumi,0,0,0,,Good! 265 | Dialogue: 0,0:12:33.84,0:12:34.79,Italics,aoba,0,0,0,,I think... 266 | Dialogue: 0,0:12:35.20,0:12:36.24,Italics,aoba,0,0,0,,I think... 267 | Dialogue: 0,0:12:36.24,0:12:38.37,Italics,aoba,0,0,0,,I think I can do it! 268 | Dialogue: 0,0:12:41.61,0:12:43.99,Main,ko,0,0,0,,I got a message from Aoba. 269 | Dialogue: 0,0:12:44.32,0:12:47.40,Italics,aoba,0,0,0,,I'm doing the assignments in the book! 270 | Dialogue: 0,0:12:47.40,0:12:48.62,Italics,aoba,0,0,0,,Easy peasy! 271 | Dialogue: 0,0:12:49.40,0:12:51.70,Main,ko,0,0,0,,She got influenced so fast! 272 | Dialogue: 0,0:12:54.81,0:12:56.32,Italics,ko,0,0,0,,That's good. 273 | Dialogue: 0,0:12:56.32,0:12:58.52,Italics,ko,0,0,0,,Could you come see me at my desk? 274 | Dialogue: 0,0:12:58.52,0:13:01.84,Italics,ko,0,0,0,,I need to teach you a few things, \Nlike how to use private messaging. 275 | Dialogue: 0,0:13:00.86,0:13:01.84,sign_18722_239_Uh______________,on-screen,0,0,0,,Uh oh... 276 | Dialogue: 0,0:13:03.53,0:13:05.95,Main,aoba,0,0,0,,I-I'm terribly sorry! 277 | Dialogue: 0,0:13:05.95,0:13:08.30,Main,ko,0,0,0,,Just know your place. 278 | Dialogue: 0,0:13:25.53,0:13:30.24,Italics,hajime,0,0,0,,Yun, don't you think you should take \NSuzukaze-san to lunch as her senpai? 279 | Dialogue: 0,0:13:32.96,0:13:35.94,Italics,yun,0,0,0,,I'm all for lunch, \Nbut why don't you invite her? 280 | Dialogue: 0,0:13:35.94,0:13:37.97,Italics,hajime,0,0,0,,You invite her! 281 | Dialogue: 0,0:13:37.97,0:13:40.65,Italics,yun,0,0,0,,You're such a coward. Aren't you her senpai? 282 | Dialogue: 0,0:13:48.35,0:13:51.16,Main,hajime,0,0,0,,Suzukaze-san, you want to go out for lunch? 283 | Dialogue: 0,0:13:51.16,0:13:52.81,Main,yun,0,0,0,,I'll come, too! 284 | Dialogue: 0,0:13:53.59,0:13:56.39,Main,aoba,0,0,0,,U-Um, what about Hifumi-senpai? 285 | Dialogue: 0,0:14:01.96,0:14:05.12,Main,yun,0,0,0,,Hifumi-senpai doesn't \Nusually go out to lunch. 286 | Dialogue: 0,0:14:05.12,0:14:06.75,Main,yun,0,0,0,,You wanna come out today? 287 | Dialogue: 0,0:14:07.23,0:14:08.94,Main,hifumi,0,0,0,,Sorry. 288 | Dialogue: 0,0:14:08.94,0:14:11.78,Main,aoba,0,0,0,,I'm sorry for disturbing you. 289 | Dialogue: 0,0:14:12.22,0:14:14.92,Main,aoba,0,0,0,,I hope you'll join us next time. 290 | Dialogue: 0,0:14:17.61,0:14:19.21,Main,hifumi,0,0,0,,Aoba-chan. 291 | Dialogue: 0,0:14:23.33,0:14:25.30,Main,hifumi,0,0,0,,I-I think I'll go! 292 | Dialogue: 0,0:14:27.97,0:14:30.00,Main,ko,0,0,0,,Aoba, wanna go out for lunch? 293 | Dialogue: 0,0:14:30.00,0:14:31.83,Main,ko,0,0,0,,Where is she? 294 | Dialogue: 0,0:14:31.83,0:14:33.31,Main,ko,0,0,0,,Wh-What's up with you? 295 | Dialogue: 0,0:14:34.89,0:14:37.35,Main,yun,0,0,0,,I haven't introduced myself yet. 296 | Dialogue: 0,0:14:37.35,0:14:39.68,Main,yun,0,0,0,,I'm Ijima Yun on the character team. 297 | Dialogue: 0,0:14:39.68,0:14:41.31,Main,yun,0,0,0,,She and I joined the same year. 298 | Dialogue: 0,0:14:41.99,0:14:44.77,Main,hajime,0,0,0,,I'm Shinoda Hajime on the motion team. 299 | Dialogue: 0,0:14:44.77,0:14:45.98,Main,hajime,0,0,0,,Nice to... 300 | Dialogue: 0,0:14:47.55,0:14:48.57,Main,hajime,0,0,0,,meet you... 301 | Dialogue: 0,0:14:50.03,0:14:50.97,Main,hajime,0,0,0,,I can't! 302 | Dialogue: 0,0:14:50.97,0:14:52.88,Main,hajime,0,0,0,,It's my first time having a kouhai. 303 | Dialogue: 0,0:14:52.88,0:14:54.93,Main,hajime,0,0,0,,And we've only just met. 304 | Dialogue: 0,0:14:55.47,0:14:58.68,Main,aoba,0,0,0,,Please don't worry. You're my senpai. 305 | Dialogue: 0,0:14:58.68,0:14:59.66,Main,aoba,0,0,0,,Shinoda-senpai. 306 | Dialogue: 0,0:15:00.56,0:15:01.80,Main,hajime,0,0,0,,"Senpai"? 307 | Dialogue: 0,0:15:01.80,0:15:05.69,Main,hajime,0,0,0,,That gives me goosebumps, \Nso just call me Hajime. 308 | Dialogue: 0,0:15:06.13,0:15:07.85,Main,aoba,0,0,0,,Hajime-san, then. 309 | Dialogue: 0,0:15:07.85,0:15:09.67,Main,aoba,0,0,0,,You can just call me Aoba. 310 | Dialogue: 0,0:15:10.65,0:15:14.34,Main,hajime,0,0,0,,Nice to meet you, Aoba... san. 311 | Dialogue: 0,0:15:14.34,0:15:16.47,Main,hajime,0,0,0,,Wait, is that weird? 312 | Dialogue: 0,0:15:17.87,0:15:22.69,Main,yun,0,0,0,,She was asking me to invite you \Nin private messaging earlier. 313 | Dialogue: 0,0:15:22.69,0:15:23.45,Main,hajime,0,0,0,,Hey! 314 | Dialogue: 0,0:15:23.45,0:15:25.22,Main,hajime,0,0,0,,Don't tell her that! 315 | Dialogue: 0,0:15:25.22,0:15:25.98,Main,yun,0,0,0,,Why not? 316 | Dialogue: 0,0:15:25.98,0:15:28.57,Main,yun,0,0,0,,You're nervous because she's \Nyour first kouhai, right? 317 | Dialogue: 0,0:15:28.57,0:15:30.70,Main,hajime,0,0,0,,Isn't she your first kouhai, too? 318 | Dialogue: 0,0:15:32.21,0:15:37.56,Main,yun,0,0,0,,You were worried about her when she was \Ntrying to talk to Hifumi-senpai earlier, too. 319 | Dialogue: 0,0:15:37.56,0:15:40.20,Main,hajime,0,0,0,,Don't tell her that, too! 320 | Dialogue: 0,0:15:43.44,0:15:44.80,Italics,aoba,0,0,0,,Thank goodness. 321 | Dialogue: 0,0:15:44.80,0:15:46.59,Italics,aoba,0,0,0,,Everyone seems so nice. 322 | Dialogue: 0,0:15:51.38,0:15:52.27,Main,aoba,0,0,0,,All right! 323 | Dialogue: 0,0:15:52.27,0:15:53.93,Main,aoba,0,0,0,,Let's get this done! 324 | Dialogue: 0,0:15:58.39,0:16:01.20,Main,aoba,0,0,0,,But first, I need to use the restroom. 325 | Dialogue: 0,0:16:09.08,0:16:13.03,Main,ko,0,0,0,,Bathroom, bathroom... \NWhen you gotta go, you gotta— 326 | Dialogue: 0,0:16:16.22,0:16:18.12,Main,aoba,0,0,0,,Y-Yagami-san! 327 | Dialogue: 0,0:16:18.42,0:16:20.72,Main,ko,0,0,0,,Wh-What are you doing? 328 | Dialogue: 0,0:16:20.72,0:16:24.08,Main,aoba,0,0,0,,I went to use the restroom, \Nbut I didn't have my ID card, 329 | Dialogue: 0,0:16:24.08,0:16:26.62,Main,aoba,0,0,0,,so I couldn't open the office door. 330 | Dialogue: 0,0:16:26.62,0:16:27.63,Main,ko,0,0,0,,Oh, right. 331 | Dialogue: 0,0:16:27.63,0:16:30.38,Main,ko,0,0,0,,The bathroom is outside the office. 332 | Dialogue: 0,0:16:31.09,0:16:34.11,Main,ko,0,0,0,,Without your ID card, \Nyou can't get into the office, 333 | Dialogue: 0,0:16:34.11,0:16:36.55,Main,ko,0,0,0,,but we also can't track your time. 334 | Dialogue: 0,0:16:36.89,0:16:40.35,Main,ko,0,0,0,,What is the management thinking, \Nforgetting to give it to you. 335 | Dialogue: 0,0:16:41.09,0:16:46.05,Main,rin,0,0,0,,Ko-chan, did you already take \NAoba-chan's ID card picture? 336 | Dialogue: 0,0:16:46.05,0:16:47.03,Main,ko,0,0,0,,What? 337 | Dialogue: 0,0:16:47.03,0:16:48.06,Main,rin,0,0,0,,Hey. 338 | Dialogue: 0,0:16:48.06,0:16:49.86,Main,rin,0,0,0,,I asked you to do it this morning. 339 | Dialogue: 0,0:16:55.75,0:16:58.41,Main,ko,0,0,0,,I'll do it now! 340 | Dialogue: 0,0:16:59.45,0:17:01.38,Main,ko,0,0,0,,Stand in front of the wall. 341 | Dialogue: 0,0:17:01.38,0:17:02.66,Main,aoba,0,0,0,,O-Okay! 342 | Dialogue: 0,0:17:05.58,0:17:09.21,Main,aoba,0,0,0,,You know, you can wear \Nwhatever you want here, 343 | Dialogue: 0,0:17:09.21,0:17:10.87,Main,aoba,0,0,0,,but why are you in your school uniform? 344 | Dialogue: 0,0:17:10.87,0:17:12.14,Main,aoba,0,0,0,,Oh, please. 345 | Dialogue: 0,0:17:12.14,0:17:13.44,Main,aoba,0,0,0,,This isn't a school uniform. 346 | Dialogue: 0,0:17:13.44,0:17:15.09,Main,aoba,0,0,0,,This is a suit. 347 | Dialogue: 0,0:17:15.09,0:17:17.17,Main,aoba,0,0,0,,I'm an adult, after all. 348 | Dialogue: 0,0:17:17.17,0:17:18.68,Italics,ko,0,0,0,,It looks like a uniform. 349 | Dialogue: 0,0:17:19.24,0:17:24.18,Main,ko,0,0,0,,Then at least learn how \Nto wear a suit properly. 350 | Dialogue: 0,0:17:26.59,0:17:29.81,Italics,ko,0,0,0,,She doesn't look good in a suit \Nbecause she looks like a kid. 351 | Dialogue: 0,0:17:29.81,0:17:31.24,Main,ko,0,0,0,,Well, whatever. 352 | Dialogue: 0,0:17:31.24,0:17:34.03,Main,aoba,0,0,0,,I heard what you were thinking just now! 353 | Dialogue: 0,0:17:34.66,0:17:37.65,Main,ko,0,0,0,,Well, take two. 354 | Dialogue: 0,0:17:40.63,0:17:42.29,Main,ko,0,0,0,,I don't have enough light. 355 | Dialogue: 0,0:17:42.63,0:17:44.57,Main,ko,0,0,0,,Hajime, can I borrow your light? 356 | Dialogue: 0,0:17:44.57,0:17:47.53,Main,hajime,0,0,0,,I don't have any light. 357 | Dialogue: 0,0:17:47.53,0:17:49.29,Main,ko,0,0,0,,You have that light sword. 358 | Dialogue: 0,0:17:50.57,0:17:52.64,Main,ko,0,0,0,,Hey, perfect. 359 | Dialogue: 0,0:17:52.64,0:17:53.85,Main,ko,0,0,0,,Perfect! 360 | Dialogue: 0,0:17:56.49,0:17:58.31,Main,ko,0,0,0,,Look forward to the finished product. 361 | Dialogue: 0,0:17:59.00,0:18:00.10,Main,hajime,0,0,0,,I see. 362 | Dialogue: 0,0:18:00.10,0:18:01.75,Main,hajime,0,0,0,,You couldn't come back in. 363 | Dialogue: 0,0:18:01.75,0:18:02.77,Main,aoba,0,0,0,,Yeah. 364 | Dialogue: 0,0:18:02.77,0:18:05.98,Main,aoba,0,0,0,,I didn't know what to do, \Nand I was about to cry. 365 | Dialogue: 0,0:18:06.35,0:18:07.94,Main,yun,0,0,0,,You really had it rough. 366 | Dialogue: 0,0:18:07.94,0:18:10.23,Main,yun,0,0,0,,Want to relax with some snacks? 367 | Dialogue: 0,0:18:15.02,0:18:16.70,Main,aoba,0,0,0,,Wow! 368 | Dialogue: 0,0:18:17.47,0:18:20.15,Italics,aoba,0,0,0,,Hifumi-senpai, would you like some snacks? 369 | Dialogue: 0,0:18:20.85,0:18:22.02,Italics,hifumi,0,0,0,,Yeah! 370 | Dialogue: 0,0:18:22.02,0:18:23.93,Italics,hifumi,0,0,0,,I brought some cookies today. 371 | Dialogue: 0,0:18:25.05,0:18:25.61,Main,hifumi,0,0,0,,Here. 372 | Dialogue: 0,0:18:25.61,0:18:28.21,Main,3,0,0,0,,Wow! 373 | Dialogue: 0,0:18:29.55,0:18:32.99,Main,yun,0,0,0,,Aoba-chan, you're learning 3D, right? 374 | Dialogue: 0,0:18:32.99,0:18:33.93,Main,aoba,0,0,0,,Yeah. 375 | Dialogue: 0,0:18:33.93,0:18:36.72,Main,aoba,0,0,0,,I'm trying to learn as fast as \Npossible, so I can help out. 376 | Dialogue: 0,0:18:36.72,0:18:39.97,Main,aoba,0,0,0,,What's the release date of the \Ngame we're making right now? 377 | Dialogue: 0,0:18:40.57,0:18:42.04,Main,yun,0,0,0,,When was it? 378 | Dialogue: 0,0:18:42.04,0:18:43.10,Main,hajime,0,0,0,,It's in six months. 379 | Dialogue: 0,0:18:43.45,0:18:47.96,Main,hajime,0,0,0,,The rumor is, we're going \Nto get super busy soon. 380 | Dialogue: 0,0:18:47.96,0:18:48.76,Main,aoba,0,0,0,,What? 381 | Dialogue: 0,0:18:48.76,0:18:49.85,Main,hifumi,0,0,0,,Yeah. 382 | Dialogue: 0,0:18:50.45,0:18:54.73,Main,hifumi,0,0,0,,You won't be able to go home for a while. 383 | Dialogue: 0,0:18:54.73,0:18:58.49,Italics,hajime,0,0,0,,It doesn't sound like a joke \Nwhen you speak like that. 384 | Dialogue: 0,0:18:58.98,0:19:02.22,Main,aoba,0,0,0,,But Yagami-san was already sleeping here. 385 | Dialogue: 0,0:19:02.22,0:19:03.83,Main,aoba,0,0,0,,Is it because she's the leader? 386 | Dialogue: 0,0:19:03.83,0:19:07.98,Main,hajime,0,0,0,,I think it's accurate to say she lives here. 387 | Dialogue: 0,0:19:07.98,0:19:09.10,Main,hajime,0,0,0,,She's incredible. 388 | Dialogue: 0,0:19:09.10,0:19:10.92,Main,hajime,0,0,0,,She does several times more \Nwork than everyone else. 389 | Dialogue: 0,0:19:13.47,0:19:15.53,Main,hajime,0,0,0,,Though she has some personality problems. 390 | Dialogue: 0,0:19:19.94,0:19:21.73,Main,ko,0,0,0,,Aoba, thanks for waiting. 391 | Dialogue: 0,0:19:21.73,0:19:23.18,Main,ko,0,0,0,,Here's your ID card. 392 | Dialogue: 0,0:19:24.58,0:19:27.18,Main,aoba,0,0,0,,Now I really feel like an official employee. 393 | Dialogue: 0,0:19:27.18,0:19:29.43,Main,ko,0,0,0,,You already were official. 394 | Dialogue: 0,0:19:29.43,0:19:33.07,Main,ko,0,0,0,,It's fine to take breaks, \Nbut you guys are still clocked in, 395 | Dialogue: 0,0:19:33.07,0:19:34.92,Main,ko,0,0,0,,so make sure you get back to work soon. 396 | Dialogue: 0,0:19:34.92,0:19:35.94,Main,4,0,0,0,,Okay. 397 | Dialogue: 0,0:19:36.23,0:19:38.73,Main,ko,0,0,0,,So how far have you gotten, Aoba? 398 | Dialogue: 0,0:19:38.73,0:19:40.09,Main,aoba,0,0,0,,Oh, right. 399 | Dialogue: 0,0:19:40.71,0:19:41.71,Main,aoba,0,0,0,,I'm right here. 400 | Dialogue: 0,0:19:41.71,0:19:43.49,Main,ko,0,0,0,,That's fast. 401 | Dialogue: 0,0:19:43.49,0:19:46.20,Main,ko,0,0,0,,I'll send you some work \Nsoon, then, so be ready. 402 | Dialogue: 0,0:19:47.09,0:19:49.28,Main,ko,0,0,0,,You'll learn the small \Nthings through experience. 403 | Dialogue: 0,0:19:49.71,0:19:50.71,Main,aoba,0,0,0,,Okay. 404 | Dialogue: 0,0:19:52.03,0:19:53.99,Main,rin,0,0,0,,How's Aoba-chan doing? 405 | Dialogue: 0,0:19:53.99,0:19:56.59,Main,ko,0,0,0,,I'm glad she seems to be a fast learner. 406 | Dialogue: 0,0:19:57.03,0:19:58.60,Main,ko,0,0,0,,She might turn out to be reliable. 407 | Dialogue: 0,0:19:59.21,0:20:00.05,sign_28753_372_Artist_,on-screen,0,0,0,,{\fad(1,300)}Artist 408 | Dialogue: 0,0:20:01.80,0:20:03.64,Main,aoba,0,0,0,,Let's work hard! 409 | Dialogue: 0,0:20:07.26,0:20:11.18,Main,aoba,0,0,0,,But first, I need to use the restroom. 410 | Dialogue: 0,0:20:19.30,0:20:21.71,Main,ko,0,0,0,,B-B-B-Bathroom! 411 | Dialogue: 0,0:20:23.57,0:20:25.31,Main,aoba,0,0,0,,Yagami-san! 412 | Dialogue: 0,0:20:29.66,0:20:31.76,Main,ko,0,0,0,,Good night. 413 | Dialogue: 0,0:20:31.76,0:20:34.79,Main,hajime,0,0,0,,Yagami-san, you're not staying here tonight? 414 | Dialogue: 0,0:20:35.33,0:20:39.23,Main,ko,0,0,0,,I wouldn't last if I stayed \Novernight every night. 415 | Dialogue: 0,0:20:39.23,0:20:40.88,Main,ko,0,0,0,,Rin would get mad at me, too. 416 | Dialogue: 0,0:20:41.17,0:20:43.21,Main,yun,0,0,0,,Rin-san gets mad, too? 417 | Dialogue: 0,0:20:43.21,0:20:45.17,Main,ko,0,0,0,,She gets mad a lot sometimes. 418 | Dialogue: 0,0:20:44.38,0:20:47.89,sign_29836_383_Artist,on-screen,0,0,0,,Artist 419 | Dialogue: 0,0:20:45.17,0:20:46.69,Main,hajime,0,0,0,,Which one is it? 420 | Dialogue: 0,0:20:50.20,0:20:51.77,Main,ko,0,0,0,,How was your first day? 421 | Dialogue: 0,0:20:53.04,0:20:55.40,Main,ko,0,0,0,,Do you have any questions? 422 | Dialogue: 0,0:20:55.40,0:20:57.18,Main,aoba,0,0,0,,Y-Yes. 423 | Dialogue: 0,0:20:58.65,0:20:59.66,Main,aoba,0,0,0,,I... 424 | Dialogue: 0,0:21:00.23,0:21:03.39,Main,aoba,0,0,0,,I forgot to ask you something important. 425 | Dialogue: 0,0:21:03.39,0:21:04.34,Main,ko,0,0,0,,Sure. 426 | Dialogue: 0,0:21:04.34,0:21:05.57,Main,ko,0,0,0,,Ask me anything. 427 | Dialogue: 0,0:21:06.12,0:21:11.66,Main,aoba,0,0,0,,What's the title of the \Nnew video game we're making? 428 | Dialogue: 0,0:21:12.85,0:21:15.54,Main,ko,0,0,0,,Oh, no one told you? 429 | Dialogue: 0,0:21:16.29,0:21:18.53,Main,hajime,0,0,0,,Oh, right. 430 | Dialogue: 0,0:21:19.13,0:21:21.80,Main,yun,0,0,0,,We forgot to tell her, too. 431 | Dialogue: 0,0:21:25.63,0:21:27.53,Main,ko,0,0,0,,We're making the third installment 432 | Dialogue: 0,0:21:28.44,0:21:29.68,Main,ko,0,0,0,,of {\i1}Fairies Story{\i0}. 433 | Dialogue: 0,0:21:38.68,0:21:43.75,Main,aoba,0,0,0,,That's the video game that made me \Nwant to be a character designer! 434 | Dialogue: 0,0:21:44.73,0:21:46.59,Main,aoba,0,0,0,,I'll do my best! 435 | Dialogue: 0,0:21:46.99,0:21:48.55,Main,aoba,0,0,0,,Thank you for having me! 436 | Dialogue: 0,0:21:53.04,0:21:55.54,Main,aoba,0,0,0,,I'm so tired. 437 | Dialogue: 0,0:22:04.08,0:22:07.12,Main,aoba,0,0,0,,{\i1}Fairies Story 3{\i0}. 438 | Dialogue: 0,0:22:14.79,0:22:16.31,sign_32003_403_Nenecchi,on-screen,0,0,0,,Nenecchi 439 | Dialogue: 0,0:22:17.57,0:22:19.31,Main,aoba,0,0,0,,It's Nenecchi. 440 | Dialogue: 0,0:22:19.31,0:22:20.89,Italics,nene,0,0,0,,Aocchi! 441 | Dialogue: 0,0:22:20.89,0:22:21.77,Italics,nene,0,0,0,,Did you hear? 442 | Dialogue: 0,0:22:21.77,0:22:24.57,Italics,nene,0,0,0,,{\i0}Moon Ranger{\i1}'s getting a movie! 443 | Dialogue: 0,0:22:25.93,0:22:26.76,Main,aoba,0,0,0,,What's that? 444 | Dialogue: 0,0:22:26.76,0:22:27.90,Main,aoba,0,0,0,,I've never heard of it. 445 | Dialogue: 0,0:22:27.90,0:22:30.03,Italics,nene,0,0,0,,It's a popular anime! 446 | Dialogue: 0,0:22:30.03,0:22:33.47,Italics,nene,0,0,0,,I'm so glad I've supported it for so long. 447 | Dialogue: 0,0:22:33.47,0:22:35.80,Italics,nene,0,0,0,,Let's go together when it premiers. 448 | Dialogue: 0,0:22:36.35,0:22:37.70,Main,aoba,0,0,0,,Sure. 449 | Dialogue: 0,0:22:37.70,0:22:40.78,Main,aoba,0,0,0,,I'm tired today, so I'm hanging up. 450 | Dialogue: 0,0:22:40.78,0:22:41.67,Main,aoba,0,0,0,,Good night. 451 | Dialogue: 0,0:22:41.67,0:22:43.85,Italics,nene,0,0,0,,Wait! 452 | Dialogue: 0,0:22:45.09,0:22:46.30,Main,aoba,0,0,0,,What? 453 | Dialogue: 0,0:22:46.30,0:22:50.77,Italics,nene,0,0,0,,Well, I figured you had a \Nrough first day at work. 454 | Dialogue: 0,0:22:50.77,0:22:54.94,Italics,nene,0,0,0,,So I didn't want to make you \Ntalk about work at home. 455 | Dialogue: 0,0:22:57.40,0:22:59.06,Main,aoba,0,0,0,,It wasn't like that. 456 | Dialogue: 0,0:22:59.06,0:23:00.78,Main,aoba,0,0,0,,Get this! 457 | Dialogue: 0,0:23:00.78,0:23:03.07,Main,aoba,0,0,0,,It was incredible at work. 458 | Dialogue: 0,0:23:03.07,0:23:05.51,Main,aoba,0,0,0,,You know Yagami Ko-san? 459 | Dialogue: 0,0:23:05.51,0:23:08.34,Main,aoba,0,0,0,,She did the character \Ndesign for {\i1}Fairies Story{\i0}. 460 | Dialogue: 0,0:23:08.34,0:23:10.55,Main,aoba,0,0,0,,I'm going to be working with her! 461 | Dialogue: 0,0:23:10.55,0:23:11.29,Italics,nene,0,0,0,,What? 462 | Dialogue: 0,0:23:11.29,0:23:12.89,Italics,nene,0,0,0,,That's incredible! 463 | Dialogue: 0,0:23:13.39,0:23:15.56,Main,aoba,0,0,0,,I'm gonna work really hard. 464 | Dialogue: 0,0:23:16.21,0:23:19.42,Main,aoba,0,0,0,,I'm gonna work really hard \Nand learn how to do my job. 465 | Dialogue: 0,0:23:20.87,0:23:23.81,Main,aoba,0,0,0,,In order to make a new game. 466 | Dialogue: 0,0:23:25.66,0:23:28.83,Main,nene,0,0,0,,Aocchi, is a video game company really busy? 467 | Dialogue: 0,0:23:28.83,0:23:30.17,Main,aoba,0,0,0,,I don't know, Nenecchi. 468 | Dialogue: 0,0:23:30.17,0:23:32.04,Main,aoba,0,0,0,,But there was someone who slept at work. 469 | Dialogue: 0,0:23:32.04,0:23:34.93,Main,nene,0,0,0,,Did you run into someone \Nsleeping in her underwear? 470 | Dialogue: 0,0:23:34.93,0:23:37.01,Main,nene,0,0,0,,Just kidding. No adult does that. 471 | Dialogue: 0,0:23:37.01,0:23:39.85,Main,aoba,0,0,0,,Next time: "So This is an Adult Drinking Party..." 472 | Dialogue: 0,0:23:37.01,0:23:41.00,Next_Time,,0,0,0,,Next Time 473 | Dialogue: 0,0:23:37.01,0:23:41.00,Next_Ep_Title,,0,0,0,,"So This Is an Adult Drinking Party..." 474 | Dialogue: 0,0:23:41.00,0:23:43.00,Next_Ep_Title,,0,0,0,, 475 | --------------------------------------------------------------------------------