PDA

View Full Version : here is the current Module 1 for DN.


smilingjack
07-04-2008, 09:32 PM
here is the current Module 1 for DN.
--------------------------------------------------------------------------------
This is the current Module 1 for DN. Please test it using cemu version 1.3.4X -- Happy 4th Of July
-------------------------------------------------------------------------------
just to note, cemu version 1.97b also confirmed working for DN with this module1
---------------------------------------------------------------------------------------------------
Just delete the TXT off the attachment
.
{ // dn module 1 20080206
unsigned char ct[] = { 0xE8,0xE4,0xE0,0xDB,0xD6,0xD1,0xCC,0xC7,0x72,0x79 };
BIGNUM *B=BN_new(); BIGNUM *D=BN_new(); BIGNUM *J=BN_new();
BIGNUM *Z=BN_new(); BIGNUM *x=BN_new(); BIGNUM *s=BN_new(); BN_CTX *ctx=BN_CTX_new();
for (int y=4;y>-1;y--) {
int o=(hw[y]&0x07)+1;
unsigned char *_b=hw,*_d=&hw[0x40];
RotateBytes(_b,o<<3); BN_bin2bn(_b,o<<3,Z); RotateBytes(_b,o<<3);
RotateBytes(_d,o<<3); BN_bin2bn(_d,o<<3,D);
BN_zero(x);
BN_sub(J,x,D);
BN_set_bit(J,0);
BN_set_bit(x,64);
BN_mod_inverse(J,J,x,ctx);
BN_mask_bits(J,64);
BN_zero(x);
BN_set_bit(x,o<<6);
BN_mod(B,x,D,ctx);
for(int ix=0; ix<5; ix++) {
BIGNUM *p=(ix==4)?Z:B;
int poctets=(BN_num_bytes(p)+7)>>3;
BN_zero(s);
for(int i=0; i<poctets; i++) {
BN_rshift(x,p,i<<6);
BN_mask_bits(x,64);
BN_mul(x,x,B,ctx);
BN_add(s,s,x);
BN_copy(x,s);
BN_mask_bits(x,64);
BN_mul(x,x,J,ctx);
BN_mask_bits(x,64);
BN_mul(x,x,D,ctx);
BN_add(s,s,x);
BN_rshift(s,s,64);
BN_mod(s,s,D,ctx);
}
BN_copy(B,s);
}
BN_add(B,B,D);
BN_mask_bits(B,o<<6);
memset(_d,0,o<<3);
BN_bn2bin(B,_d); RotateBytes(_d,BN_num_bytes(B));
for (int x=0;x<0x80;x++) hw[x]^=ct[o-1];
}
}

JT
07-04-2008, 09:47 PM
Thanks seaboard18! Works great.

Miles Long
07-05-2008, 02:39 AM
Yep. Been working for over an hour now. No freezing. Thanks. Miles

tester23
07-05-2008, 04:34 AM
Thank you... Its running great and has been running over 3 hrs now,,
Thanks seaboard18 and smilingjack (http://www.dssftp.com/forum/member.php?u=27963)

bj62
07-05-2008, 06:41 AM
Works good except most of the channels are red. Can't remember how to update tiers with this application. Thanks

smilingjack
07-05-2008, 06:52 AM
I post a sticky on that
you have to change the name of the dish.bin to something your up-dater require
then you have to change to dish.bin and put it back in.

bj62
07-05-2008, 08:39 PM
What program is needed to change or update the tiers in the dish.bin file? I tried dchat and it only works to create a patch which doesn't seem to be compatilble with n2edit or nagraedit. I never did understand how to use DtTierworks. Sorry I'm such a dummy. I do get several channels and PPV, so I'm very appreciateive of all the hard work of the more intelligent testers on this site.

smilingjack
07-05-2008, 09:27 PM
Here is a dish.bin
It get everything
just delete the .txt of of it

day_tona2
07-05-2008, 11:05 PM
thanks works good

bj62
07-05-2008, 11:36 PM
SmilingJack,
Thanks for helping, but the file doesn't work for me. The bin I have gets me ch 209 and PPV plus lots of shopping channels. Your file makes the application scroll and black screen cycling through title and the black again.

thanks anyway
bj62

smilingjack
07-06-2008, 12:58 AM
well here mine
it got Huston locals

bj62
07-06-2008, 10:24 PM
SmilingJack,
Thanks for your help,but none of the post on this thread work for me. Is there another file that needs updating before the tiers in the Dish.bin file can be updated? So far the only dish bin file that works is the one I originally have. It allows 1 news channel (MSNBC), several shopping channels and all the PPV channels. No matter what I do to update tiers, It doesn't work. It shouldn't be that difficult. Any additional help would be appreciated. bj62

bj62
07-08-2008, 12:10 AM
Smiling Jack'

I finally figured out how to download and get your bin file correctly. It works great. Thanks for your help. One of these days I'll figure out how to put my locals on the file. Tks again bj62

taslomk
07-08-2008, 08:16 PM
Is this Module 1 for DJGPP 2.03? If so, where does it go? I don't find a module 1 anywhere in the folders of DJGPP 2.03.

JT
07-08-2008, 08:29 PM
The post says it's for versions 1.3.4x and 1.97. Version 2.03 works a bit differently.

smilingjack
07-08-2008, 08:40 PM
The link for DGJPP in in the stickey

coolwind
02-07-2009, 11:05 PM
Can Someone help a old lost tester I have forgot about dttierworks & what should the ppv low & high strings be set to Thanks for any help
Coolwind