Tekil Mesaj gösterimi
  #1 (permalink)  
Alt 24-06-2009, 23:16
kenjori - ait Kullanıcı Resmi (Avatar)
kenjori kenjori isimli Üye şimdilik offline konumundadır
PhotoshopMaster
 
Üyelik tarihi: Aug 2008
Yaş: 29
Mesajlar: 11,900
Tesekkür: 3,692
1,612 Mesajina 3,016 Tesekkür Aldi
Tecrübe Puanı: 10
kenjori is on a distinguished road
new_icon2 Hadu DvBs Plugin_(Güncel)

Kod:
Version Beta 0.1.0.0 : June 23, 2009 Initial Beta Test release

Hadu is a CardSharing Client plugin for DVB softwares on PC using DVB TV-Cards (Windows).

It works as a MD plugin, a DVBCore plugin or as a DVBViewer plugin.

Currently, it only supports the CCCam protocol (without the AU option).

Please note that this version is a beta test release, which is not intended to end-users. This version has not been thoroughly tested and so, one can expect any kind of bugs and troubles ...

Purpose of this version is to test this plugin by people who accept to do so. Please report bugs or successful tests with a maximum of pieces of information concerning your configuration and your troubles.


Installation:
-------------
Just put Hadu.dll and Hadu.ini into the directory affected to plugins, regarding your current DVB software. It can be the directory of the software (i.e. for old versions of ProgDVB), or a given subdirectory (i.e. ./Plugins for MyTheater and Alt-DVB, ...).

As it is compatible with the DVBCore API, use it as a DVBCore plugin (for DVBCore softwares) instead of using it with MDWrapper. With DVBViewer, use it as DVBViewer plugin instead of using it with SoftCSA.

Don't use two or more CardSharing Clients and/or SoftCam Emulators at the same time (like Yankse, S2Emu or VPlug), unless you know perfectly what you are doing.


Directories of installation for the main DVB softwares:
-------------------------------------------------------
Put all the files (i.e. only Hadu.dll + Hadu.ini currently) in the same directory , as indicated hereafter:

-ProgDVB : main directory of the DVB software (or /Plugins subdirectory for version 4.38 or later of ProgDVB)
-Alt-DVB : /Plugins (or /Plugins/av0) subdirectory, and/or /Plugins/pip subdirectory for the pip, and others (/Plugins/av1 to Plugins/av2
-MyTheater, RitzDVB: /Plugins subdirectory (to use Hadu as a DVBCore plugin). Try to avoid the solution MDWrapper.dll in /Plugins subdirectory and Hadu in /MDPlugins subdirectory (MDWrapper is a workaround to make old MD plugins working with MyTheater and other DVBCore softwares)
-DVBDream 0.xx: /Modules subdirectory since version 0.85 (to use Hadu as a DVBCore plugin). /Plugins subdirectory (to use Hadu as a MD plugin) for precedent versions
-DVBDream 1.xx and above : /Plugins/pip00 and others (/Plugins/pip01 up to /Plugins/pip19) subdirectories, to use Hadu as a MD plugin
-WatchTVPro: /Plugins subdirectory (Hadu is using the TT Trick automatically if it is possible)
-HispaDVB: main directory of the DVB software for old versions, and /Plugins subdirectory since version 2. Hadu is no more using the TT Trick automatically for this software, because it is no more needed for HispaDVB version 2 and above
-MultiDec: main directory of the DVB software (Hadu supports natively the different versions of the SS1 firmware)
-DVBViewer: /Plugins subdirectory. Avoid the solution SoftCSA.dll in /Plugins subdirectory and Hadu in /MDPlugins subdirectory. Please, note that the CSA.dll (coming with the SoftCSA package coded by Pikachu) is recommended for faster unscrambling, though not absolutely mandatory. The CSA.dll must be located into the /Plugins subdirectory (or KeyPath2) or into the main directory of the DVB software. Otherwise, Hadu will use its own internal CSA algorithm (code kindly provided by courtesy of Pikachu. Thanks!). With DVBViewer version 3.4 and above, you can also use the FFDeCSA.dll (both with the CSA.dll) : depending of your DVB card, the 'Open whole Transponder' Hardware option in DVBViewer will have to be checked or not, to optimize the video/audio CSA unscrambling treatment.
The 'Has CI module' entry option into the hardware options of DVBViewer must be checked.
It is also possible to use Hadu with the recording service of DVBViewer, if you install first the Wrapper for recording service of Pikachu. Caution : currently, this option might lead to unstable behaviors of DVBViewer (especially when closing this software).
-SkyView: /MDPlugins subdirectory
-DvbTn: /Plugins subdirectory (to use Hadu as a DVBCore plugin)
-WinSTB: /MDPlugins subdirectory
-DiavloB: /Plugins subdirectory (to use Hadu as a MD plugin, though the software is based upon the DVBCore SDK)
-MajorDVB: /Plugins subdirectory
-TSReader: /MDPlugins subdirectory
-WinClip: /Plugins subdirectory

Caution: For DVB softwares based on the DVBCore SDK, don't install Hadu as a MD plugin and as a DVBCore plugin (choose either the first or the second solution, but not both !). Same thing for DVBViewer.

Do not use the DLL TTTrick.dll: Hadu has its own TT Trick implemented.


Other Files used :
------------------
None currently.


Main Menu:
----------
-Active: If checked, the plugin will use the incoming ECMs to try to decode the current encrypted channel (i.e. by sending the ECMs and requesting the needed DCWs to the server(s)). Furthermore, connections with servers will only start if the plugin is active.

-Use PSI Tables: If checked, the plugin will analyze the PMT (for the list of ECMs) and the CAT (for the list of EMMs). If not checked, it will take data obtained from the DVB software. It "costs" a little more time to begin the decoding when you change of a channel, but it is strongly advised to use this option for better results. Data given by DVB softwares are often incomplete, erroneous and are not continuously updated.

-Monitor ...: Display the Monitor window to see the current analysis work and results.

-Log Messages: You can log the main actions and the incoming/outgoing messages with the servers.The log files are stored, either in the KeyPath2 directory if used, or in the directory of Hadu. Note that this option may have a negative impact on the response time.

-About...: Not much to say about it: version of the plugin and kind of DVB-API can be found here. You can also find some infos for special DVB softwares (i.e. "- TT xxxxxx" if the TT Trick is currently used, and "- MDROOT xxxxxx" for MultiDec).


Options:
--------
In the Hadu.ini file (same location as the plugin), you can find the following options (values in brace [] are default values) :

[General] Section

-PluginActive ([1] or 0) : Same as "Active" option in the main menu.
-KeyPath2: Files loaded and written by the plugin are stored in KeyPath2. If KeyPath2 is not used, only the directory of the plugin is used for loading and writing files.


[Options] Section

-UsePSITables ([1] or 0) : Same as "Use PSI Tables" option in the main menu. This flag is conditional for some other options.
-SurveyPMT ([1] or 0) : Flag to indicate the plugin to "survey" the changes in the PMT. Only active if UsePSITables option is active. Its main use is to detect when a given channel change : non encrypted (for advertisements) to encrypted (in many pay-session channels for instance).
-UsePATforPMT (1,2 or [0]) : Flag to indicate the plugin to obtain the PMT directly from the PAT and not from the DVB software. Only active if UsePSITables option is active. Necessary if PMT data given by the DVB software is erroneous or missing. 0=Auto, 1=Forced to Yes, 2=Forced to No. If Auto is selected, the PAT will be scanned only if the PMT data are unavailable (in case of a change for the PMT PID): but it takes several seconds more.
-DontUpdViewer (1,2,3 or [0]) : Flag to don't update DVB software when ECM PID changes and/or Don't Send DCWs (Decoded Control Words). 0=Do both, 1=Don't update DVB software, 2=Don't send DCWs, 3=Don't update DVB software and Don't send DCWs. Note that if the TT Trick is used, the DCWs are not "really" send to the DVB software anyway but directly to the device.
-UseDVBTime ([1] or 0) : Flag to use UTC time in DVB stream (currently unused). The time displayed in the Monitor window is the local time computed from the computer system time (if it's within parenthesis), or from the last UTC DVB time received (if authorized and available).
-MaxECMPIDs (1-10. Default is [4}): Maximum number of simultaneous ECM PIDs in use. Only one ECM PID can be active at the same time for one given server.
-MaxConnections (1-32. Default is [4]): Maximum number of simultaneous connections (i.e. sockets). Only one connection can be active at the same time for one given server.
-LogMessages (1 or[0]): Same as "Log Messages" option in the main menu.
-LogMessLevel (0-4. Default is 1): Level of informations to log into the text file called Hadu-Mes.log. The levels are cumulative: which means that level 0 stands for only level 0, level 1 stands for levels 0 and 1, and so on.


[Specific] Section

-DVBViewerAPI (1 or [0]) : Flag to force the plugin to the DVBViewer 3.2 API Type, if DVBViewer version is 3.4 and above. 0=Auto, 1=Forced to 3.2 API Type.
-DVBViewerAllAudio ([1] or 0) : Flag to decode all the Audio PIDs of the current channel, if more than one is present. 0=Only the current Audio PID, 1=All the Audio PIDs. Available only for DVBViewer version 3.4 and above, and if the "Use PSI Tables" option is active. This flag is also used to decode eventually the TeleText/VideoText PID : 0=No, 1=Yes (if scrambled).
-DVBViewerCSAStat (1 or [0]) : Flag to display some CSA statistics in the Monitor window. 0=No statistics, 1=Display some statistics. The statistics concern the number of calls to the different CSA types, and the number of video/audio encrypted TS received in the last packet.


[Device] Section

-MDRoot (1,2 or [0]) : Flag to analyze the root firmware in case of MultiDec, to determine automatically DescrCommand, XorEven and XordOdd (see hereafter). 0=Auto (for Multidec), 1=Forced to Yes, 2=Forced to No. This concerns only premium DVB Card "TT-compatible". Note the values for the following options prevails from the one determined by this option.
-DescrCommand : 2 Bytes (4 hex chars)
-XorEven : 8 Bytes (16 hex chars)
-XorOdd : 8 Bytes (16 hex chars)
Don't use them unless you know exactly what you are doing.
-UseTT (1,2 or [0]) : Flag to use the TT Trick. 0=Auto (for WatchTVPro), 1=Forced to Yes, 2=Forced to No. This is only needed for DVB softwares which don't accept to send Direct DVB Commands. You need to have a premium DVB Card "TT-compatible" (like Technotrend DVB-S, Hauppauge Nexus-S, TechniSat SkyStar1) and a patched root firmware.


Servers Sections:
-----------------

For each server declared, the convention for its declaration is to create a section with (note the "Serv_" string at the beginning) : [Serv_whateveryouwishforyourservername].

Then comes the different parameters for the server. Only the "Server" parameter is mandatory.

Syntaxe for the "Server" parameter :
Server=Protocol:Server:Portunused):Username:Pass word

Sample: Server=CCCam:MyServer.com:12000:0:MyUsername:MyPas sword, where
-CCCam: Declaration for a CCCam server (other protocols currently not available),
-MyServer.com: URL or IP address for the server,
-12000: Port for the CCCam server (decimal value),
-0: Caid/mask. Not used (may be empty), see "CAIDProv" and "NoCAIDProv" parameters instead,
-Myusername: Name of the user (limited to 20 characters for CCCam protocol),
-Mypassword: Password for the user.

Others parameters (each of them is optional):

-Active ([1] or 0): Server active or not active. A non active server cannot be started.
-TimeOut (0=None, or 3-7 seconds. Default is [5] seconds): Timeout value if the server is not answering,
-PadTime ([0=None], or (TimeOut+2)-N seconds): interval of time for which a "pad" command is sent to the server if no other commands has already been sent (usually must be kept to 0),
-WantEmus (0=No or [1=Yes]): similar to WantEmus option in CCCam.cfg. If set, friends emus are also used (if the server has authorized them for the user). Even if WantEmus is not set, the concerned nodes are displayed into the list of nodes, but are not available.
-MaxHop ([0=None], or 1-N): if WantEmus is set, nodes with a hop value superior to this limit are not used. A null value indicates no limits.
-CAIDProv ([None]): list of CAID/Providers ONLY used to make requests to the server(s). Each entry may concern a whole CAID, or just only one provider for this CAID. Entries are separated using a comma character. Samples:
CAIDProv=0100,1801 : only CAIDs 0100 and 1801 will be used.
CAIDProv=0604,0100:0084,0100:006A : only CAID 0604 and CAID/Providers 0100/84,0100/6A will be used.
-NoCAIDProv ([None]): list of CAID/Providers EXCLUDED. Syntax similar to the "CAIDPRov" option. Samples:
NoCAIDProv=0604,0500 : CAIDs 0604 and 0500 won't be used.
NoCAIDProv=0100:6A,1810,0500:032100 : CAID 1810 and CAID/providers 0100/6A,0500/32100 won't be used.


Display:
-------
There are two kinds of display.

The "Monitor" window (called from the main menu), used to display general and CAID informations for the channel, and general informations for the server(s).

Double-clicking on an CAID row (i.e. ECM PID) will force the plugin to try to use this ECM PID entry. If it's not compatible for a given server, the following next compatible ECM PID entry will be used instead.

Double-clicking on an server will display the "Server Infos" window (see hereafter).

Right-clicking on an server will display a menu to:
-Start/Stop a server (if the server is active). Same as the "Active" option in the configuration file,
-Activate/Deactivate a server,
-Ask to retry all the possible ECMs again (if the server is started).


The "Server Infos" window (called from the server list in the "Monitor" window) is used to display informations for all the nodes of the server. Columns inside the nodes list:
-S (for Status): indicates the status of the node. [Empty] = not available (because of the configuration restrictions -see "WantEmus" and "MaxHop" options-; or because it has been declared disconnected by the server). Furthermore, unavailable nodes are grayed. "....." = node available, but forced by the user to be ignored. " +" = node available. "**" = node available and currently in use.
-Req/Got : numbers of ECM requests sent to the node, and of DCWs received from it.
-Hop, CAID and Providers : common informations for a node.

Double-clicking on an node which is available, will toggle its state between "to use" and "to ignore".

Data in the "Server Infos" window are refreshed each 2 seconds. You can force an extra refresh with the ********* button.

The clipboard button serves to copy data of the window into the clipboard.

At the bottom of the window, the total numbers of nodes and CAID/providers are displayed: the first number of both of them indicates the whole total number, will the second number indicates the total number of available items.


Limits:
-------
Here are the main current limits applied into the plugin:
-Maximum number of CCCam servers (active or not active): 6
-Maximum number of nodes per server : 2048
-Maximum number of providers per nodes : 16
-Maximum number of hops per node : 16 (though more than 3 or 4 is probably useless)
-Maximum numbers of CAID/providers entries into to "CAIDProv" and "NoCAIDProv" options : 32
-Maximum length size for user and password: 20 for the user, 128 for the password.


(Many thanks to the person who has kindly provided me a CCCam server for my tests).
Eklenen Resim Ön İzlemesi
Dosya tipi: jpg 1.jpg (48.0 KB (Kilobyte), 43x kez indirilmiştir)
Eklenmiş Dosya
Dosya tipi: gz CCcaminfo1[1].3.tar.gz (208.5 KB (Kilobyte), 76x kez indirilmiştir)
__________________
[Linkleri Sadece Kayitli Uyelerimiz Gorebilir. Uye Olmak Icin Tiklayiniz...]
[Linkleri Sadece Kayitli Uyelerimiz Gorebilir. Uye Olmak Icin Tiklayiniz...]hotoshop [Linkleri Sadece Kayitli Uyelerimiz Gorebilir. Uye Olmak Icin Tiklayiniz...][Linkleri Sadece Kayitli Uyelerimiz Gorebilir. Uye Olmak Icin Tiklayiniz...][Linkleri Sadece Kayitli Uyelerimiz Gorebilir. Uye Olmak Icin Tiklayiniz...]
[Linkleri Sadece Kayitli Uyelerimiz Gorebilir. Uye Olmak Icin Tiklayiniz...]

██Lütfen [Linkleri Sadece Kayitli Uyelerimiz Gorebilir. Uye Olmak Icin Tiklayiniz...]Okuyunuz.
██ Lütfen Konu Açmadan Önce [Linkleri Sadece Kayitli Uyelerimiz Gorebilir. Uye Olmak Icin Tiklayiniz...] Yapınız.
Alıntı ile Cevapla
kenjoriKullanicisina Bu Mesaji Için Tesekkür Edenler:
sonmez113 (27-10-2009)
 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 32 33 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 120 121 122 123 124 125 126 127 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 473 495 496 522 523 524 525 526 527 528 529 530 531 532 533 534 535 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 578 579 580 581 582 583 584 585 586 587 588 595 596 597 598 600 601 602 604 605 606 607 609 610 611 613 614 615 616 617 618 621 622 623 624 625 626 627 628 629 630 632 633 635 636 637 646 647 649 650 651 652 653 654 655 658 659 660 661 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 689 690 691 692 693 694 695 696 697 698 699 700 701 702 704 705 706 707 708 710 713 714 715 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 768 769