Sei sulla pagina 1di 15

How to Enter BISS keys and constant DCW's

Open vPlug's editor window

-->SID's tab and then:

-You can add a new entry in SID's tab with BISS or constant DCW's.
To find SID, TID, ?, right click on the desired channel and select properties. Most of the dvb
applications will show these info for you.

-Tune to that specific channel, right click on the SID's tab entries and select "find current
channel" option. Now if the related record exists, it will be selected or else it will be created
based on the info of the current channel. Then you can edit its info and click at update button.

You can download a fresh .cache file and then import it. (import yankse-sid.cache section)
What is the purpose of this tab?

Some of the dvb applications do not send any information about the encryption systems of the
current channel to plugins via the known API's, such as watch-tv pro or dvb-viewer pro. These
cache entries will help the vPlug to find the correct/decryptable ecm-pid faster. Otherwise vPlug
have to start PMT filter to find the ecm-pid's + AutoECM thread to check all of the available
pid's on the current channel to find the decryptable one. Yes, this process is not as fast as reading
the good ecm-pid from the cache file (v_sids.db).


How to edit keys?

Open vPlug's editor window/Keys tab and then:

-Add a new data and click at "add new" button or select one of the available records and then
"update" it.

-Open an existing softcam.key file and then import it.

you can right click on the keys list and then delete all records and then import .key file, or close
your dvb application, delete v_keys.db file and then import data. (vPlug will create an empty .db
file for you)

How can I understand that the existing keys are incorrect?

Open vPlug's window. If you can see "incorrect hash" (any info except the "correct hash") in
analyzed ecm section of ecm tab, it means the related key is incorrect. Also vPlug's info. window
will show these quick info. for you.

I'll miss the softcam.key.....

No, if you like this error prone file, just import it...

I am using an external .db editor for updating keys, how can I force vPlug to read changes?

Select keys tab, right click on the keys list -> click at "reload whole .db"
Or right click on the vPlug's tray icon, click at reread keys option.

What is the difference between 8 bytes and 6 bytes BISS keys?!

8 bytes format: 11 22 33 XX 55 66 77 YY
6 bytes format: 11 22 33 55 66 77
XX and YY are check sums.
XX = (11+22+33) and FF
YY = (55+66+77) and FF

If you prefer 8 bytes format, just enter those biss keys in constant dcw section. both of them have
the same effect here. For example 1122330055667700 (vPlug will calculate check sum bytes)

What files are supposed to come with v_plug !!! I Downloaded it but there are more files listed
in the readme file than what I have !!!

According to readme.txt file:


Decompress the ZIP file in the root (or plugins) folder of your TV application, in example
The installed files should look like:

Latest vPlug package only has the updated files and not all of them. You can find other related
files in older releases.

I just want to see TPS channels and nothing else! What can I do?!

You need a fresh tps.bin file (Every day!). (search this forum, you will find more than what you
Just a little note about this method:
Open vPlug's info window. It will show the current GMT based on the settings of your operating
system. It MUST be equal to the result of this site:


Select your country and compare the GMT of vPlug's info window and the above site.

For example:

As you can see, both of the times are equal. Otherwise vPlug "can not" find the correct key based
on the time stamps of keys.

And plz do not forget you need the latest vPlug.dll + vHelper.mdl + daily tps.bin files.

Cryptoworks FAQ

ChannelXYZ with vPlug won't work, but with another emu's it is ok. Why!!!!????!!!!

vPlug needs the following keys to work with Cryptoworks.

SoftCam.key format: (similar to camd3.keys files)

;W -> Cryptoworks ; 0DnnYY -> 0Dnn=CAID, YY=Provider id
W 0DnnYY 00 xxxxx ; 32 characters = ECM Key index 00
W 0DnnYY 01 xxxxx ; 32 characters = ECM Key index 01
W 0DnnYY 06 xxxxx ; 12 characters = CardSystem Key
W 0DnnYY 80 xxxxx ; 32 characters = EMM-G Key index 00
W 0DnnYY 81 xxxxx ; 32 characters = EMM-G Key index 01
W 0DnnYY B0 xxxxx ; 128 characters = RSA Key

Other emu's have some built-in (hard coded) Cryptoworks keys which is not a good idea.
For example without key06 (CardSystem Key) you can not open any Cryptoworks channel with
vPlug, but other emu's have this key internally. Unfortunately most of the SoftCam.key makers
do not include these keys in normal .key files and you can only see key00, key01 in these files
and nothing else.
(search this forum to find the addresses of some good .key files)

For example this is the correct cardSystem key for (W 0D035C 06 xxxx) -> DExxxxxxxx55

If your DVB software does not send the correct CAID to vPlug, such as watch-tv-pro or dvb-
viewer-pro, you can make a .key file with this format : W 00000C 00 XX; enter 0 instead of
related CAID. Or turn on AutoPMT in vPlug.ini file. (by using preferences menu)

Nagra-2 FAQ

I keep getting "Your keys file has not Nagra2 Idea Keys ". Why?!

vPlug needs the following keys and files for Nagra-2

ECM-keys: (in v_keys.db for watching TV!)
N ProviderID 00 xxxxxxxxxx... ; IDEA key00
N ProviderID 01 xxxxxxxxxx... ; IDEA key01 here
N ProviderID M1 xxxxxxxxxxxxxxxxxxxx?; for RSA
N ProviderID V xxxxxxx ; enter 0101010101010101 to disable sig. checking; verify key

EMM-keys: (in v_keys.db for finding new keys)

N ProviderID 02 xxxxxxx ; for idea_decrypt
N ProviderID 03 xxxxxxx ; for idea_signing (verify key)
N ProviderID 12 xxxxxxx ; for RSA

If you have not these keys in v_keys.db, vPlug's info window will show some errors about them.

where can I find ECM-Keys?

Normal softcam.key files have these keys, or search for the good v_keys.db file, or turn on AU
(auto-update/ emm tab of vPlug), AU/AutoRoll feature of vPlug can update the above key0 and

where can I find EMM-Keys?
look for the last v_nagra2_key.ini file. (this file is not in use anymore, but contains those keys),
or search for the good v_keys.db file.

How can I enter these keys to v_keys.db?

read the 1st FAQ of this topic about entering new keys.

Required Files:

-AUBins folder should be beside the vHelper.mdl file.
-if vPlug couldn't find AUBins, look at the content of vHelper.log file (beside the vHelper.mdl)
to see what is the expected path for these files, Otherwise this log file will have the normal debug
info of emu6805.

If you want to have continuous key search, set auto start on channel change to 1 and auto
terminate on key find to 0 in v_emm.ini file.
If you want to save system resources, set auto start on channel change to 0 and auto terminate on
key find to 1.
If you want to check key updates on channel change + saving system resources, set auto start on
channel change to 1 and auto terminate on key find to 1.

"I have manually input all the keys and receive a correct IDEA hash message but then get the
message: There is no key in the decrypted EMM packet."
all of my emm keys are correct, but "sometimes" I give incorrect hash msg. why?!

It means everything is ok. You should wait max 7 minutes and let the vPlug to grab the correct
key(s) from the incoming emm stream. Also it should be mentioned vPlug can not decrypt all of
the emm-g packets. So if it can find the correct key in max 7 minutes, don't touch anything!

What is the meaning of this msg? "please remove old-nargra 1 key from the key file?"

N2 OP keys (operational keys) are 16 bytes not 8 bytes. So you should remove old nagra-1 keys
from the key file.
N 0901 01/00 0101010101010101 <- remove this one (8 byte key)
N 0901 01/00 01010101010101010101010101010101
vPlug and Proxy ....

a) proxy settings will be read from IE's preferences. (if UseProxy=0)
-> For retrieving content of HTML pages or dcw-sharing (HTTP protocol)


Edit these entries in vPlug.ini file (for example...)
-> For retrieving content of HTML pages or dcw-sharing (HTTP protocol) or card client (TCP
protocol + SOCKS connections are supported too)


- Plz use the preferences editor for applying new values, otherwise your changes won't be
applied until the next restart of the dvb-app.
- Radegast Card client uses a TCP connection for sending and receiving data. You can not use
any card client plugins with your proxy server that does not support SOCKS. SOCKS is a
generic IP-based proxy server that supports TCP and UDP applications + Some firewalls are
capable of accepting only certain protocols and cannot handle TCP connections. For example, if
your firewall is a Web proxy server with no generic connection handling mechanism, you will
not be able to use it for this purpose (Primary (initial) and secondary (subsequent) TCP and UDP
- Also in vPlug.ini file you should have InternetAccess=1
- Proxy settings will be applied to "all of the entries" of v_dcw_sharing.ini and v_get_key.ini and
v_Radegast.ini files.

How to find the new viaccess-1 keys by using vPlug

You need a good au.bin file for via-1 AU (auto update) which has the related MK+SA for your
desired provider.
Then tune to one of the channels of that provider.
Open vPlug's monitor.
Select EMM tab.
Click at find pids.
Select the related emm-pid from the drop down list and click at start and wait (max. 7 minutes).
Or create a v_emm.ini file with the suitable entries. The following example is the content of
v_emm.ini file for SRG Swiss :

vPlug will update the key file automatically.

v-dcw-sharing? What is this?!

Final results of the satellite encryption systems are DCW's (decrypted control words). It is not
important this encryption system is Nagra2 or Irdeto2. By feeding these DCW's to CSA module
(common scrambling algorithm), picture will be clear.
So DCW's are not normal keys and those are valid only for max. 10 seconds.
v-dcw-sharing is a method of sharing these final dcw's through simple web pages. vPlug will
read and parse your dcw pages.
Clients only need a good v_dcw_sharing.ini file + setting IntentAccess to 1 in vPlug.ini file.
You can track these communication by using its related tab in card client window of vPlug.

How can I create a server for this method?


WebSharing Method (DCW sharing from webpage)

People can get channel DCW?s with V-Plug 0.9.7 (dcw_cardsharing.ini). If you have a sharing
server you can make a webpage for this easy multiple sharing system. (If you?re member a
server u can find in Dream Box?s tmp folder file named you can share it too.) (You
Need Only Enough bandwidth)
By the way if you do not want freezing, you need high speed broadband connection.

How We Make It!

Hardware Needs:
1- DreamBox (it could be triple dragon or all mgcamd devices.)
2- A Linux server (it can possible same network with DreamBox or it can be on a dedicated
server or in a simple IRC server with Ssh account your only special need is enough bandwidth.
{especially you have users in same address})

After the hardware we need software:

DreamBox based Manual:
1- Use MGcamD, CamD emus. (U Can use G-Box too but G-Boxes specialties makes problems.)
I didn?t try other cams.
2- After activate mgcamd or g-box you will find in your Dream Box?s tmp folder creates a file
named This file gives you latest DCW dataset and this changes signals CW dataset to
DW dataset. With this dataset CamD emus can open cryptic channels. (If you?re member a
server u can find this file too and you can share it too.)

Now with a simple script we can send DW dataset in file to Linux server and publish it
on web.
Normally html in Linux could found /var/www/html We are going there and open a new file

while &ง 1 &ฉ; do
wget ftp&෦//root&෦dreambox@
sleep 1
mv ecm
chmod 777 ecm
rm -rf
sleep 1
cat ecm | grep -i "===== " | sed -e "s/^===== /""/Ig" > ecm.bilgi
cat ecm | grep -i "cw0&෦ " | sed -e "s/^cw0&෦ /""/Ig" > ecm1.test
cat ecm | grep -i "cw1&෦ " | sed -e "s/^cw1&෦ /""/Ig" > ecm2.test
cat ecm1.test | sed 's/&nbsp; *//g' > ecm1
cat ecm2.test | sed 's/&nbsp; *//g' > ecm2
cat ecm1 ecm2 | sed "s/&nbsp; *//g" | sed "s/&nbsp; *//g" > ecmler
sleep 1

Copy-paste this code and save named (it can be have other name too)
We?re writing in the telnet console /bin/sh /var/www/html/ and open the file. File written
with 3 second DW editing mode and this is enough in most cases. In the fastest irdeto systems
DW1 came in 3 sec and after that DW2 came other 3 sec and if we had only on DW we can
watch it. In the other cryptic systems this time could be 4 -5 sec and this can be advantage for us.
Sometimes some channels forget change dcw and of course this is better for us.
Now we own a Linux web DCW database. And we need publish it.
We need to write in /var/www/html an index.php.
Open an empty file and write file like this.

<title>CANAL+ On Hotbird in CYFRA</title>

$dosya1_adi = "/var/www/html/ecmler";
if &ුු$dosya1 = &ුුfopen &ුු$dosya1_adi , 'r'&෦ &෦ &෦
while &ුු ! feof &ුු$dosya1&෦ &෦ &褳
$satir1 = fgets&ුු$dosya1,1024&෦;
print &ුු"<br>$satir1"&෦;
&nbsp; &nbsp;&褵
fclose &ුු$dosya1&෦;



We must make chmod 755 values for this two file. You can write ?chmod 755 *? or you can give
this value with ftp.
If you have /var/www/html in httpd conf too in your page (page from your host) it started and
they are now publishing latest DCW?s in every 3 seconds. With a form can use with v_plug.
You can give this information formatted for v_dcw_sharing.ini just like it. (Channel Name must
same DVB_S channel name)

&ง CANAL+&ฉ

After that you must not change Channel. And Thousands can watch same channel with you.
(Only limit is for web server and bandwidth)

You can make this program better.

Meaning of different entries of vPlug.ini:


set active to 0 to make vPlug inactive.

These are the delays before sending final dcw's to the host program.
For example Irdeto system needs DCW's as soon as possible, otherwise you will see a lot of
micro freezes. So you can set these delays to 1 or 2 and so on.

If you are using watch-TV-pro, set use_TTTrick to 1. if you are using watch-tv-pro + KS-
drivers, set both of them to 1.
If you set this option to 0, vPlug never tries to connect to internet for v-dcw-sharing and similar

If this option is empty, vPlug will search the current directory to find the related files.
Or you can create a central folder for all of your favorites dvb-app's. Then set FilesPath to point
to this dir. For example FilesPath=c:\myCentralLocation . Now you should copy vPlug.dll and
vPlug.ini to plugin folders of different dvb-app's and not all of the related files.

Set it to zero to turnoff vPlug's tray icon.

These option's are related to Transponders window of vPlug.

vPlug's Card client will not start if emu is working fine.

If you think your dvb-app does not parse CA info correctly, set AutoPMT to 1.

If you want to force vPlug to test all of the available ecm-pids to find the working one
(decryptable one), set this option to 1.

Freezes, High CPU usage, Blue screens!

Q. What may cause freezes and high CPU usage when watching an encrypted channel?

Do not use multiple active EMU’s at once. This is very important.
This is what emulators are supposed to do:
- Receive ECM’s from the Host (DVB application)
- Process those packets
- send the result of this process (DW’s or decrypted words) back to the host.
Now suppose you have 2 EMU’s running at once. One of them sends a correct DW and the other
one sends an incorrect DW. The host program will process all of them. It is not able to identify
which one is correct and which one is incorrect. The result is a freeze.

Do not mess around with so called All-in-one codec packages.
If you want to screw up your Windows installation (especially if it’s Vista), go ahead! You will
get freezes, poor video quality. This is NOT a problem with vplug, so don't complain!
For example after installing the famous “vista codec package” on a Windows Vista machine you
have only one option : reinstalling your Windows! BTW: For various reasons Vista is NOT
recommended for dvb-s.

Poor signal level.

Blue screens!
Blue screens are generally an indication of hardware conflicts.
If you are using an AMD based computer and you have 2 or more blue screens per day, you
should immediatly update the BIOS and drivers of your system. (I had the same problem)
Try the latest driver of your dvb-s card instead of original driver which was shipped with your
Also try non BDA drivers for your DVB-S card.
Sometimes changing the PCI slot of your internal card will help.

Dual core CPU’s

Incorrect synchronization with multithreading may cause freezes and deadlocks.
Some dvb-s applications are NOT compatible with dual core CPU’s.
Try to change the CPU affinity of your dvb-s application (by using windows task manager.)
Some dvb-s applications provide this option in their properties menu or configuration

Running unnecessary features

Satellite time was introduced in vPlug to solve the problem where TPS channels would work for
approx. 5 minutes and then fail to decode.
TPS uses this cycle:
[Viaccess-1] - TPSCrypt4 - [Viaccess-1] - TPSCrypt4 and so on.
[Viaccess-1] does not synchronization, but TPSCrypt4 does! So if your system time is incorrect,
you will have picture - black - picture - black …
By enabling SatTime in vPlug.ini, you don’t need to be worry about these details.
Also, if your system time is correct, you can turn off SatTime which leads to faster switching
between TPS channels and lower use of resources.
Note: SatTime is on by default. This will not be changed in the future!! So if you can do without
SatTime, you will have to set it back off after every upgrade!!

EMM handling needs a lot of system resources [Memory, CPU]. If your keys are correct, turn off
EMM handling and AU in vPlug. (edit vPlug.ini or v_emm.ini)


CSA or common scrambling algorithm, is the final process of decrypting an encrypted signal and
normally it’s done by the host (your dvb-s application) .
It has been implemented in 2 ways: CSA.DLL and FFDeCSA.DLL. (most of the DVB
applications have included these algo’s internally, so you won’t notice the existence of them.)
CSA.DLL can only process one packet at a time, but FFDeCSA.DLL is designed to process
multiple packets at once. So by using FFDeCSA, the CPU load will sink dramatically. This is
even more important when decoding HD channels (where you need to reduce CPU load as much
as possible). You will have a lot of freezes with encrypted HD channels if you do not use
FFDeCSA. This is NOT a bug in the processing of ECM’s!
You have 2 choices for HD channels. Upgrade your computer so you can continue using your
current dvb application with CSA.DLL or switch to an application with FFDeCSA support.
Currently (september 2007) ALT-DVB is using FFDeCSA(.dll) (as one of the 1st in Windows)
but ProgDVB or MT are using CSA(.dll).

If you have a P-III, it’s better to buy a hardware based dvb-s card. For example the Nexus-s has
an onboard CSA chip and also MPEG2 decoder. This will result in max. 10% CPU usage on
encrypted channels. However, these cards, by design, cannot pass the full TS to dvb applications
which causes a lot of headaches for programmers. So most of the new dvb applications choose
not to support them.