morkt / GARbro

Visual Novels resource browser
MIT License
2.32k stars 244 forks source link

Extract Request: files format filter? (leave as is or convert) #365

Open Khazran opened 5 years ago

Khazran commented 5 years ago

Hello,

I have been using your program for quite a while and love it! But I found a simple (or not) issue while extracting/converting file formats.

Would it be possible for when we choose to extract pictures (now we have to choose in which format we want the pictures files) to convert only the unreadable files (ex.: .tlg) and keep... Let's say .bmp .jpg and .png alone?

I usually extract in a batch, but it converts the original files which are already in the right format as well as the unreadable files to the specified file format.

Maybe like a filter (a config in the preferences?) that we could tell to extract .bmp .jpg .png and others (as is) and convert all the other formats to the specified format?

Thanks and great job!

uyjulian commented 5 years ago

You can use this to view TLG files as thumbnails in Windows Explorer https://github.com/krkrz/tlg-wic-codec

Also, you can work around this problem by extracting twice; one without convert and one with convert

Once that is done, you can use rename and regex to move specific files