Skip to content

Instantly share code, notes, and snippets.

View zombiepigdragon's full-sized avatar

Alex Rawson zombiepigdragon

View GitHub Profile
@zombiepigdragon
zombiepigdragon / voice.rpy
Last active December 28, 2021 04:33
A simple TTS script for Monika After Story
# INSTALLATION:
# Installing this submod is fairly straightforward, but also highly involved.
# Essentially, it goes as follows:
# 1) Download this file (voice.rpy) into the game directory.
# 2) Save https://raw.githubusercontent.com/python/cpython/2.7/Lib/Queue.py to the game/python-packages/ directory.
# 3) Download the wheel (whl) file for pyttsx3 2.7 (Newer versions don't seem to work) from [https://pypi.org/project/pyttsx3/2.7/#files] and save it somewhere accessible.
# 4) Open this file in an archive editor (whl files are .zips internally, so chainging the file extention to .zip is a
# way to do it without addidional software on Windows).
# 5) Within this archive, there should be a directory called pyttsx3. Extract this directory to game/python-packages/pyttsx3.
# 6) This is the fun part: you have to find the valid voices for your system. If you find valid options for Windows or Mac,
This file has been truncated, but you can view the full file.
Compiling scopeguard v1.1.0
Compiling conquer-util v0.2.0
Compiling bit_field v0.9.0
Compiling bitflags v1.2.1
Compiling font8x8 v0.2.7
Compiling num-traits v0.2.14
Compiling bootloader v0.9.11
error: duplicate lang item in crate `core` (which `rustc_std_workspace_core` depends on): `bool`.
|
= note: the lang item is first defined in crate `core` (which `scopeguard` depends on)
@zombiepigdragon
zombiepigdragon / 2020vision.html
Created January 1, 2020 00:13
Countdown to 2020!
<!DOCTYPE html>
<html>
<head>
<title>Countdown to 2020</title>
<script>
setInterval(function() {
var destTime = new Date(2020, 0, 0, 24, 0, 0, 0);
var currentTime = new Date();
var nextTime = new Date(destTime - currentTime);
console.log(currentTime);