RupertAvery / PSXPackager

A utility to convert Playstation disc images in various formats to PBP format and back
Other
240 stars 15 forks source link

Don't get rid of file extension process when input path is directory #25

Closed takano32 closed 1 year ago

takano32 commented 1 year ago

Here is Foo Ver.Bar (Japan) directory.

Foo Ver.Bar (Japan)
  - Foo Ver.Bar (Japan) (Track 01).bin
  - Foo Ver.Bar (Japan) (Track 02).bin
  - Foo Ver.Bar (Japan) (Track 03).bin
  - Foo Ver.Bar (Japan) (Track 04).bin
  - Foo Ver.Bar (Japan).cue

Running

PSXPackager -o /path/to/PBP  -i /path/to/Foo\ Ver\.Bar\ \(Japan\)

Rsult is stored to /path/to/PBP/Foo Ver.pbp. But it should be /path/to/PBP/Foo Ver.Bar (Japan).pbp

This fix makes it so.

takano32 commented 1 year ago

Re-fixed with the latest source code. #30