loveemu / gaxtapper

Automated GSF ripper for GAX Sound Engine (beta-testing)
GNU General Public License v3.0
8 stars 1 forks source link

Unable to extract songs with name that contain reserved characters (iostream error will happen) #10

Closed loveemu closed 3 years ago

loveemu commented 3 years ago

gaxtapper extract fails with the following error.

ios_base::failbit set: iostream stream error

The song name contains slash, that is considered as a directory separator, then, the file output fails because the directory specified does not exist.

https://en.wikipedia.org/wiki/Filename#Reserved_characters_and_words

Symbols like \\/:*?"<>| should be removed or replaced with dashes or wave-dashes.

I don't think it is necessary to deal with reserved words such as "NUL" in practical use.