- Get version 0.1.0b of the game
- Install Fiddler Classic
- Get a blank exe from here
- Replace
\YouTubeRetro\ytretro_Data\StreamingAssets\bin\youtube-dl.exewith it. Make sure it's also calledyoutube-dl.exe - Download the attached html file. It will be used to create a fake search results page for the game to read.
- Each
<li>block is one "video".href=""contains the YouTube URL, but Retro YT Sim only cares if it has an=and then letters, numbers, underscores, or hyphens after it. It's supposed to be the Youtube video ID, but it can just be anything since we're hijacking it. Take note of these IDs. - Go to
YouTubeRetro\ytretro_Data\StreamingAssets\.videosin Explorer. Here is where we can paste our own custom videos. If your ID from earlier was "apple", then name the video "apple.mp4". I
Just put this python file in a dedicated folder and just run it. It'll save the file location off DDM to a file called ddm.txt so you won't have to specify it the next time.
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
| from pathlib import Path | |
| import re | |
| import subprocess | |
| cmd = Path(input("Paste the full path to your steamcmd.exe here: ").strip(f"'\"")) | |
| steamapps = Path(input("Paste the full path of a steamapps library (has .acf files in it): ").strip(f"'\"")) | |
| ids: list[str] = [] | |
| for file in steamapps.glob("*.acf"): | |
| match = re.search(r'\d+', file.name) |
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
Show hidden characters
| { | |
| "layer": "top", | |
| "output": [ | |
| "HDMI-A-1" | |
| ], | |
| "height": 10, | |
| "exclusive": true, | |
| "passthrough": false, | |
| "reload_style_on_change": true, | |
| "include": [ |
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
| # flake8: noqa: E501 | |
| import concurrent.futures | |
| import os | |
| import re | |
| import shutil | |
| import subprocess | |
| import sys | |
| import tempfile | |
| MAX_LOSSY = 500 # Don't use lossy values higher than this |
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
| caption always "%?%F%{= Kk}%:%{=u kR}%? %n %t" |
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
| """ | |
| Full disclosure. Generatedd this with Gemini 2.5 Pro | |
| """ | |
| import requests | |
| import sys | |
| import concurrent.futures | |
| import time | |
| # --- Configuration --- |
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
| {"core":{"version":"1.41.0"},"addons":{"2d-color-picker":{"enabled":false,"settings":{}},"60fps":{"enabled":true,"settings":{"framerate":60}},"account-settings-capitalize":{"enabled":false,"settings":{}},"animated-thumb":{"enabled":true,"settings":{}},"asset-conflict-dialog":{"enabled":false,"settings":{}},"auto-follow-topics":{"enabled":false,"settings":{}},"better-emojis":{"enabled":false,"settings":{}},"better-featured-project":{"enabled":false,"settings":{"blur":0}},"better-img-uploads":{"enabled":false,"settings":{"fitting":"fit"}},"better-quoter":{"enabled":false,"settings":{}},"big-save-button":{"enabled":true,"settings":{}},"bitmap-copy":{"enabled":true,"settings":{}},"block-cherry-picking":{"enabled":true,"settings":{"invertDrag":false}},"block-count":{"enabled":false,"settings":{}},"block-duplicate":{"enabled":true,"settings":{}},"block-palette-icons":{"enabled":false,"settings":{}},"block-switching":{"enabled":true,"settings":{"control":true,"customargs":true,"customargsmode":"defOnly","data":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
| from pathlib import Path | |
| import os, json | |
| curr_folder = Path.cwd() | |
| with open("mod_dates.json", encoding="utf-8") as f: | |
| data = json.load(f) | |
| for old, mtime in data.items(): | |
| new = curr_folder / old |
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
| from pathlib import Path | |
| found_folders = set() | |
| def check_flac_files(folder: Path): | |
| # Iterate through all files in the folder | |
| for flac_file in folder.rglob("*.*"): | |
| if flac_file.is_file(): | |
| try: | |
| # Open the file and check the beginning of the content |
NewerOlder