-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor file handling and add FFmpeg existence check
Refactored file handling across multiple converters: - AudioConverter.cs: Construct WAV file path using `wavPath.Name + wavPath.Extension`. - ConvertUbiArtToUnity.cs: Added a check for `ffmpeg.exe` before downloading FFmpeg. - MenuArtConverter.cs: * Used `convert.FileSystem.GetAllFiles` to get menu art files. * Replaced file path arrays with `CookedFile` objects. * Updated sorting logic to prioritize cooked files and then by name. * Switched from `Parallel.ForEach` to `foreach` for file processing. - VideoConverter.cs: * Used `convert.FileSystem.GetAllFiles` to get video files. * Converted `CookedFile` objects to strings for processing. Added a new method in FileSystem.cs: - `GetAllFiles`: Retrieves all files matching a pattern from a folder and its subdirectories.
- Loading branch information
Showing
5 changed files
with
41 additions
and
11 deletions.
There are no files selected for viewing
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
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
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
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
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