::don't echo\use any explanation points in this script (comments are okay), actually nevermind it's fine ::set "WADinfo=%WadInput%" if exist "temp\__channel" rd /s /q "temp\__channel"> nul Set WADtit= Set TitID= Set iosversion= Set iosversionfull= Set iosslot= Set iostype= Set WadStub= Set WadBaseIOS= Set cIOSinfo= Set channelpath= Set TitIDhex= Set WADregion= Set WadBlocks= set GetFileSize= Set GetFileSizeMB= Set WadContents= set cIOSChecks= Set SigningStatus= Set WadKorKey= Set AccessRightsHex= Set AccessRightsBin= Set ahbprot= Set DVDvid= Set WadNL= Set WadBannerless= Set WADdeflicker= Set N64ExpPatch= set ESmodule= set ESpatches= set FSpatch= set ESpatch= set NPpatch= set VPpatch= Support\wiipy\wiipy.exe info "%WadInput%">temp\WADinfo.txt ::check if file is empty, if empty it means WiiPy errored; likely with "This is not a valid WAD file!" >nul findstr "^" "temp\WADinfo.txt" || set wadtype=Invalid If /i "%wadtype%" EQU "Invalid" goto:fin2 ::below fixes output that has 00 bytes (or 10 bytes) for IOSs - should no longer be necessary ::support\sfk replace "temp\WADinfo.txt" -binary /00/20/ -binary /10/20/ -yes>nul ::get Title: WADtit support\sfk filter -quiet temp\WADinfo.txt -ls+" Channel Name: " -rep _" Channel Name: "__ >temp\WADinfo2.txt set /p WADtit= temp\WADinfo2.txt set /p TitIDhex=