Page 1 of 1

Checking executables

Posted: Tue Jun 07, 2022 4:27 pm
by MastaG
Hi there,

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.

Re: Checking executables

Posted: Tue Jun 07, 2022 7:18 pm
by mrneo240
100% deterministic, no

Best guess/mostly right, sure

Identifying wince is simple, katana can be found by checking present strings, kos same idea-ish.

Scrambled, not really, at best you'll only ever be guessing.