I'm writing some scripts to ease up on creating ISO's for homebrew and GDI's for katana stuff from existing cdi/iso images, for use with DreamShell/RetroDream specifically for running from IDE.
One thing I'd like to know is wether I can identify which kind of binary I'm dealing with.
For example I can figure out the boot binary (usually 1ST_READ.BIN) by dumping 060-06F from the boot sector and removing the whitespace.
But what I'm looking for is two things:
- Identify if it's a katana, wince or Kos binary?
E.g. is there some unique fixed pattern/string that's only available in either of them?
- In case it's an Kos binary, is it scrambled or not?
Any pattern for identifying this?
I found some checker application for Windows but it uses a closed source DLL library and afaik I cannot use it in scripts using Wine.
So any help with the above would be appreciated and a nice learning experience for me

I'll share everything once I'm happy with the results.