Emunation v1.0a by BveB

++++++++Conditions of Use.++++++++++++++++++++++++

This software is completely free. It cannot be sold.
It is developed for only educational purposes.If you
dont have valid subscription of TV providers,dont use
it.In some countries hacking pay tv is illegal.I am
not responsible for any legal issues which is the result
of illegal usage of this software and also not responsible
for any damage which is made by this software. 
Use at your own risk.

If you download this package you accept this conditions.
If you dont accept simply use "shift+delete"..

+What is Emunation?

Emunation is a CAM emulator.It supports recent encryption 
systems like Viacccess I-II, NagraVisison, Seca I-II,
Conax, Irdeto/BetaCrypt and Constant CW (It can be use as BISS)
Nagra AU is experimental, it maynot be work.

+Which files are needed?

You need a vdr-sc style key file and binaries like hash
tables, roms etc.All file structure as vdr-sc style also.

+File system

<Root>
.\Emunation.dll
.\Emunation.ini
.\Emulog.txt (Created after run.You can view messages after program termination.)
.\Emukeys.key (Softcam.Key file but must include additional keys.)
.\seca
  |__s2_hash_XXXX.bin
  |__s2_mt_XXXX.bin  (Which XXXX is hexadecimal form of provider ident.)
.\nagra
  |__RomX.bin
  |__RamX.bin
  |__eepX_AA.bin (Which X is Rom number and AA is the most significant byte of provider ident.)

+Emukeys.key

It is normal softcam.key file but it must include vdr-sc style keys like PKs, verify keys etc.
Emunation doesnt include any build-in keys. Key format of sc is 

;
; Irdeto/Betacrypt
;
; I XX YY <16 characters>
;
; XX               - provider
; YY               - key number
;

;
; Seca
;
; S XXXX YY <16 characters/32 characters>
; S XXXX [EMM] Mz <180 characters>
; S XXXX [EMM] Ez <12 characters/180 characters>
; S XXXX N51 M9 <258 characters>
; S XXXX N51 E9 <2 characters>
;
; XXXX             - provider ident
; YY               - key number
; Mz / Ez          - RSA key name (z = 1,3,5).
;                    Exponent keys may be padded up to 180 chars.
;                    Optional "EMM" for EMM RSA keys.
; N51              - RSA keys for Nano 5109 handling.
;

;
; Viaccess
;
; V XXXXXX YY <16 characters/32 characters>
; V XXXXXX TPS <32 characters>
;
; XXXXXX           - provider ident
; YY               - key number
;

;
; Nagra
;
; N XXXX YY <16 characters>
; N XXXX E1 [ROMq] [PKv] [TYPw] <128 characters>
; N XXXX N1 [ROMq] [PKv] [TYPw] <128 characters>
; N XXXX N2 [ROMq] [TYPw] <128 characters>
; N XXXX V  [ROMq] [TYPw] <16 characters>
;
; XXXX             - provider ident
; YY               - key number
; ROMq             - (optional) ROM specific keys (q = ROM number)
; PKv              - (optional) PK key number (v = 0,1,2)
; TYPw    

;
; Conax
;
; C XX M <128 characters>
; C XX E <128 characters>
;
; XX         - key number
;

;
; Constant CW
;
; X YYYY freq:pol:src:sid <32 characters>
;
; YYYY      - CA system id e.g. 0100
; freq      - transponder frequence
; pol       - polarization (v/h/r/l)
; src       - sat source (Not used because of limitation of MDAPI)
; sid       - service ID
;
; example:
X 0d02 12670:v:S19.2E:23457 00000000000000000000000000000000


+Console

EmuNation has an advanced log console.You can trace errors from it.

+Usage of Constant CW as BISS

You can use Constant CW feature as BISS system. Only add a line
to EmuKeys.key file X 2600 ..... <DCW>. Session key -> DCW  has an
simple algo in BISS.

+Thanks

Thanks to TurkeyForum family (http://www.turkeyforum.com/satforum)
Thanks DVBN family. There are much more thing we will learn to.(http://dvbn.happysat.org)
Many thanks to vdr-sc developers. Great code, great resource....

Feel free to ask questions except hacking systems which is not public yet. I am not a hacker
only a programmer...:)

+Author

BveB 2005. 