View Single Post
Old 07 June 2020, 11:59   #7
BastyCDGS
Registered User
 
Join Date: Nov 2015
Location: Freiburg / Germany
Age: 44
Posts: 201
Send a message via ICQ to BastyCDGS
Hello DamienD!

Quote:
Originally Posted by DamienD View Post
Unfortunately it has to be checked manually as there are .ADF / .DMS / .IPF / LHAs / LZXs / CD ISO / ZIPs / RARs / other formats.
If you like, I can write a bash script for you which auto checks most of the above formats and creating a file list with all files which could not be processed automatically.

My idea to find KS files: Do binary search at each extracted file finding the string "exec.library" + NULL byte and ROM tag.

BTW: In order to get all used file extensions sorted alphabetically starting from current dir, you can do in bash:
Code:
find . -type f -name '*.*' | sed 's|.*\.||' | sort -iu
This might help!

Last edited by BastyCDGS; 07 June 2020 at 12:05. Reason: Added bash example for getting file extensions
BastyCDGS is offline  
 
Page generated in 0.05881 seconds with 11 queries