RupertAvery / PSXPackager

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

Don't remove file extension when input path is directory #30

Closed takano32 closed 1 year ago

takano32 commented 1 year ago

Here is Foo Ver.Bar (USA) directory.

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

Running

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

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

This fix makes it so.

takano32 commented 1 year ago

closes #19

takano32 commented 1 year ago

Thanks for merging!