Changes

Jump to navigation Jump to search
675 bytes added ,  01:48, 4 January 2016
no edit summary
{{Infobox channel| title = News Channel| image = [[File:Newschannel.png|200px]]| desc = News / Weather informations| type = General channel downloads | version = 0.7 (7)| peripherals = {{Wiimote1}} {{Internet}}| wc24 = 1}} The '''News Channel''' download data packages from Nintendo servers via plain http HTTP connection. Since the official servers for this were discontinued on June 28, 2013, [[RiiConnect24]] is in the works.
Some examples:
http://weathernews.wapp.wii.com/1/076/shortnews.bin.08<br /> Nowadays, it seems the news file has moved: http://weathernews.wapp.wii.com/v2/1/076/forecastnews.bin.00 ... http://news.wapp.wii.com/v2/1/076/news.bin.0823
http://news.wapp.wii.com/ displays a Red Hat Enterprise Linux Test Page.
File structure:
<pre>
$0000 - $003F: padding (00)
$0040 - $013F: rsa encrypted sha-1 signature of rest of the file
$0140 - $0143: header$0144 - .....: compressed data</pre>
Data The compression method is still unknown. If you calculate entropy very simple:# Read one byte# For each bit of the databyte, you will notice that it is definitely not encrypted. Probably it uses a modified version msb-to-lsb,#* if 0, copy one byte to the output#* if 1, read 16 bits msb first in v, copy n bytes at offset m from the end of propieritary Nintendo compression method described here: http://everything2.com/index.pl?node_idthe output, n=3+(v>>12), m=1469892v &lastnode_id=0fff
Here's a part of news data fileQuick and very dirty C code:000003D8 <source lang="c"> 24 0F F0 00 7F 23 D7 00 87 24 2F 14 00 52 00 00 65 00 67 00 69 00 6F 00 $....#...$/..R..e.g.i.o.= 0x144; j = 0;000003F0 00 6E 00 61 00 6C 00 20 00 45 4E 00 11 77 00 73 05 4A 49 00 13 56 74 00 .n.a.while(i < size) { int k; int v = data[i++]; for(k=0; k<8; k++) if(!(v & (1 << (7-k)))) { result_data[j++] = data[i++]; } else { int vv = (data[i] << 8) | data[i+1]; int nb = 3+(vv >> 12); int off = (vv & 0xfff); int l. .EN..w.s.JI..Vt.; i+=2; for(l=0; l<nb; l++) { result_data[j] = result_data[j-off-1]; j++; } } }</source>
You can almost see string "Regional News" there.[[Category:Software]]
236

edits

Navigation menu