diff --git a/README b/README index 8e58047..e183f34 100644 --- a/README +++ b/README @@ -37,6 +37,7 @@ License: GNU GPLv3 Extra Licenses: > wit GNU GPL v2 +> szs GNU GPL v2 > uips GNU GPL v2 > applyppf3 as-is > xml-patchfiles as-is diff --git a/README.CMD_OPTS b/README.CMD_OPTS index 68fa3fe..d4c647d 100644 --- a/README.CMD_OPTS +++ b/README.CMD_OPTS @@ -9,7 +9,7 @@ specify path to the original ISO/ROM specify path to Riivolution/Patch files --version=EURv1,EURv2,USAv1,USAv2,JPNv1 -specify your game version (for Wii games, if auto-detection fails) +specify your game version (for NSMB, if auto-detection fails) --customdid=SMNP02 specify a custom ID to use for the game @@ -21,13 +21,19 @@ let modified game share savegame with original game download riivolution/patchfiles --soundtrack -download soundtrack (if available) and exit +download soundtrack (if available) + +--only-soundtrack +only download soundtrack (if available) and exit + +--covers +download covers (if available) + +--only-covers=SMNP02 +only download covers (if available) and exit --banner= specify a custom banner to use --download-banner download a custom banner (if available) - ---clean -cleanup working directory from anything (also riivolution patches)s \ No newline at end of file diff --git a/script.d/common.sh b/script.d/common.sh index 52c9471..99958fe 100644 --- a/script.d/common.sh +++ b/script.d/common.sh @@ -34,6 +34,12 @@ setup_tools () { UNP=${PATCHIMAGE_TOOLS_DIR}/unp fi + if [[ $(which wszst) ]]; then + SZS=$(which wszst) + else + SZS=${PATCHIMAGE_TOOLS_DIR}/../override/linux${SUFFIX}/wszst + fi + } ask_game () { @@ -496,7 +502,7 @@ while [[ $xcount -lt $pcount ]]; do PATCHIMAGE_BANNER_DOWNLOAD=TRUE ;; - "" | --help ) + --help | -h ) echo -e "patchimage 4.96 (2014-05-16) (c) 2013-2014 Christopher Roy Bratusek