In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

News Channel: Difference between revisions

From WiiBrew
Jump to navigation Jump to search
SpamBot (talk | contribs)
No edit summary
Larsenv (talk | contribs)
No edit summary
(28 intermediate revisions by 18 users not shown)
Line 1: Line 1:
News / Weather channel downloads data packages from Nintendo servers via plain http connection.
{{Infobox channel
| title      = News Channel
| image      = [[File:Newschannel.png|200px]]
| desc        = News information
| id          = HAGA, HAGx
| type        = General channel
| version    = 0.7 (7)
| peripherals = {{Wiimote1}} {{Internet}}
| wc24        = 1
}}


Some examples:
The '''News Channel''' downloads data packages from Nintendo servers via plain HTTP connection.  The official servers for the News Channel were discontinued on June 28, 2013; however, [[RiiConnect24]] has since restored its functionality.


http://weather.wapp.wii.com/1/076/short.bin
The data files are RSA-2048-SHA1 signed, and the LZ10 compressed content begins at 0x140. A Kaitai file documenting the file structure can be found [https://github.com/RiiConnect24/Kaitai-Files/blob/master/Kaitais/news_file.ksy here], and code used by RiiConnect24 to download news data and generate files is available [https://github.com/RiiConnect24/File-Maker/tree/master/Channels/News_Channel here].
http://weather.wapp.wii.com/1/076/forecast.bin
http://news.wapp.wii.com/1/076/news.bin.08
 
File structure:
 
<pre>
$0000 - $003F: padding (00)
$0040 - $013F: rsa encrypted sha-1 signature of rest of the file
$0140 - $....: compressed data
</pre>
 
Data compression method is still unknown. If you calculate entropy of the data, you will notice that it is definitely not encrypted. Probably it uses a modified version of propieritary Nintendo compression method described here: http://everything2.com/index.pl?node_id=1469892&lastnode_id=0
 
Here's a part of a news data file. You can almost see string "Regional News" there:
<pre>
000003D8  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.
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.l. .EN..w.s.JI..Vt.
</pre>

Revision as of 05:31, 9 April 2021

News Channel
Version0.7 (7)
Title IDHAGA, HAGx
TypeGeneral channel
Peripherals Internet

The News Channel downloads data packages from Nintendo servers via plain HTTP connection. The official servers for the News Channel were discontinued on June 28, 2013; however, RiiConnect24 has since restored its functionality.

The data files are RSA-2048-SHA1 signed, and the LZ10 compressed content begins at 0x140. A Kaitai file documenting the file structure can be found here, and code used by RiiConnect24 to download news data and generate files is available here.