Skip to content

Instantly share code, notes, and snippets.

@psyouloveme
psyouloveme / shenmue2_autosplit.asl
Last active March 1, 2024 21:57
[WIP] Auto-splitter for Shenmue 2 PC
state("Shenmue2")
{
/***
AutoSplitter Script for Shenmue 2 v1.00 (Steam)
by psyouloveme, with some info from original by Odyssic.
This AutoSplitter uses 5 metrics to check for game progress:
1. Map ID (area)
2. Loading Screen Area Name Text
3. Dialog ID
@psyouloveme
psyouloveme / extract_audio.bat
Created July 31, 2022 03:51
Extract & convert Shenmue 1 (DC) audio to WAV
@REM Extract and Shenmue 1 Audio files in SCENE/##/STREAM/*.AFS and convert to WAV.
@REM Run from SCENE/##/STREAM/
@REM Windows batch script to extract .AFS files in the current directory
@REM and then convert any extracted .str files to .wav files.
@REM Requires in path:
@REM AFSPacker: https://github.com/MaikelChan/AFSPacker
@REM vgmstream: https://github.com/vgmstream/vgmstream
@REM Manually update SCENE on the CSV line as necessary.
@ECHO off
@psyouloveme
psyouloveme / combine.py
Last active June 27, 2021 23:13
quick and dirty name combiner
import csv
import random
random.seed()
def add_to_list(targetlist, value):
if value is not None and value != '':
targetlist.append(value)
def main():