This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| This script generates HTML files from AST files | |
| of the game 終のステラ [Tsui no Sutera, Stella of The End]. | |
| Generated files are intended to be read in a browser along | |
| with the VN itself, useful with Yomitan extension. | |
| To extract script files, use https://github.com/nextgal/pfs_upk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| find $HOME/.local/share/Steam/steamapps/workshop/content/211820/ \ | |
| -mindepth 2 \ | |
| -name "*.pak" \ | |
| -exec bash -c 'cp -n "{}" ./$(grep -oP "211820/\K.*(?=/)" <<< "{}").pak || true' \; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| import spotipy | |
| import spotipy.util as util | |
| from ytmusicapi import YTMusic, setup as setup_ytm | |
| from datetime import datetime | |
| scope = "user-library-read" | |
| ### Setup |