This file contains 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
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 |
This file contains 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
@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 |
This file contains 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
import csv | |
import random | |
random.seed() | |
def add_to_list(targetlist, value): | |
if value is not None and value != '': | |
targetlist.append(value) | |
def main(): |