Difference between revisions of "Everybody Votes Channel"

From WiiBrew
Jump to navigation Jump to search
m
 
(23 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{Languages}}
+
{{stub}}
<br>
+
{{Infobox channel
{{Infobox channel/es
 
 
| title      = Everybody Votes Channel
 
| title      = Everybody Votes Channel
| image      = [[Image:Everybody Votes.JPG|200px]]
+
| image      = [[File:Everybodyvotes.png|200px]]
| desc        = This channel allows people to vote some questions and see its results
+
| desc        = This channel allows users to submit votes towards pre-selected polls and view results.
 +
| id          = HAJx
 
| type        = Downloaded channel
 
| type        = Downloaded channel
| version    = 1.0
+
| version    = 0.4 (4)
 +
| blocks      = 54 / 2
 
| peripherals = {{Wiimote1}} {{Internet}}
 
| peripherals = {{Wiimote1}} {{Internet}}
 
| wc24        = 1
 
| wc24        = 1
 
| wsc        = 1
 
| wsc        = 1
 
}}
 
}}
The '''Everybody Votes Channel''' allows people to vote from one of two options on an all manner of questions, and then compare it with what the rest of the Wii-userbase think, over the Internet. Each Mii has its own vote. After voting, you can make a guess on which answer will be the most common one, and when the question expires, you can compare with other people.
+
The '''Everybody Votes Channel''' allows users to vote from one of two options on an all manner of questions, and then compare it with what the rest of the users around the world think, over the Internet. Each Mii has its own vote. Since the official servers for this were discontinued on June 28, 2013, [[RiiConnect24]] has since bought this back.
It downloads small .bin files for the content you see and for other purposes, they are all between 1 KB or 5 KB in size so nothing too large is dragged down.
 
  
Some of the files that the channel retrieves, are below:
+
After voting, you can make a guess on which answer will be the most common one, and when the poll closes, you can compare your prediction with other users. You can also submit a question for usage in the voting process.
 +
 
 +
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: [https://github.com/RiiConnect24/Kaitai-Files/blob/master/Kaitais/votes.ksy voting.bin] and [https://github.com/RiiConnect24/Kaitai-Files/blob/master/Kaitais/voting_first_data.ksy first_data.bin], and code used by RiiConnect24 to download forecast data and generate files is available [https://github.com/RiiConnect24/File-Maker/tree/master/Channels/Everybody_Votes_Channel here] and [https://github.com/RiiConnect24/VTP here].
 +
 
 +
It downloads small .bin files for the poll content and for other purposes. They are all between 1 KB or 5 KB in size, so nothing very large is downloaded.
 +
 
 +
Some of the files that the channel retrieves are below:
 
:*[http://vt.wapp.wii.com/110/voting.bin http://vt.wapp.wii.com/110/voting.bin] 5KB
 
:*[http://vt.wapp.wii.com/110/voting.bin http://vt.wapp.wii.com/110/voting.bin] 5KB
 
:*[http://vt.wapp.wii.com/110/2007/0911_r.bin http://vt.wapp.wii.com/110/2007/0911_r.bin] 1KB
 
:*[http://vt.wapp.wii.com/110/2007/0911_r.bin http://vt.wapp.wii.com/110/2007/0911_r.bin] 1KB
Line 21: Line 27:
 
:*[http://vt.wapp.wii.com/world/2007/0901_r.bin http://vt.wapp.wii.com/world/2007/0901_r.bin] 1KB
 
:*[http://vt.wapp.wii.com/world/2007/0901_r.bin http://vt.wapp.wii.com/world/2007/0901_r.bin] 1KB
  
When you post a response the software auto fills in a cgi-script on Nintendos server @
+
When you vote, the software sends a request to a cgi-script getting the time via the Last-Modified header, presumably for when the last poll was published:
[http://rcw.wc24.wii.com/cgi-bin/check.cgi http://rcw.wc24.wii.com/cgi-bin/check.cgi]
+
 
 +
[https://vtp.wapp.wii.com/index.html https://vtp.wapp.wii.com/index.html]
 +
 
 +
Once that happens, it loads the voting bins from above. Upon voting, another cgi script is called, vote.cgi, is called in the following format:
 +
 
 +
[https://vtp.wapp.wii.com/cgi-bin/vote.cgi?typeCD=%d&questionID=%d&wiiNo=%016lld&countryID=%d&regionID=%d&ansCNT=%04d https://vtp.wapp.wii.com/cgi-bin/vote.cgi?typeCD=%d&questionID=%d&wiiNo=%016lld&countryID=%d&regionID=%d&ansCNT=%04d]
 +
 
 +
Submitting a question is similar, with a suggest.cgi.
  
It sends data such as:
+
[https://vtp.wapp.wii.com/cgi-bin/suggest.cgi https://vtp.wapp.wii.com/cgi-bin/suggest.cgi]
  mlchkid=e706ff05cbcb792e44f468c72be058f0&chlng=3f9f0f500659ed3c1bbaf429ab570ce7
 
  
and receives:
+
The Channel wants a response simply saying `100`.
  cd=100<br>
 
  msg=Success.<br>
 
  res=430994fdf7545123e762b4e5a52a6bd4f1f84c56<br>
 
  mail.flag=799197837977475F84ZX53ZZ5F9998W43<br>
 
  interval=10<br>
 
  
It also stored your answers and questions in the Wii internal filesystem, in the WiiConnect24-folder. I think we have permission to open it up, but I don't think there's anything of interest in there.
+
EVC also stores your answers and questions in the Wii's internal filesystem in the WiiConnect24-folder.
  
[[Category:Software]][[Category:Wii channel]]
+
[[RiiConnect24]] has brought back the Everybody Votes Channel.

Latest revision as of 19:13, 9 April 2021

Everybody Votes Channel
Everybodyvotes.png
Version 0.4 (4)
Description This channel allows users to submit votes towards pre-selected polls and view results.
Title ID HAJx
Type Downloaded channel
Installed from {{{source}}}Wii Shop Channel
Peripherals Wiimote1.svg Internet
Blocks (channel/save) 54 / 2
Requires WiiConnect24

The Everybody Votes Channel allows users to vote from one of two options on an all manner of questions, and then compare it with what the rest of the users around the world think, over the Internet. Each Mii has its own vote. Since the official servers for this were discontinued on June 28, 2013, RiiConnect24 has since bought this back.

After voting, you can make a guess on which answer will be the most common one, and when the poll closes, you can compare your prediction with other users. You can also submit a question for usage in the voting process.

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: voting.bin and first_data.bin, and code used by RiiConnect24 to download forecast data and generate files is available here and here.

It downloads small .bin files for the poll content and for other purposes. They are all between 1 KB or 5 KB in size, so nothing very large is downloaded.

Some of the files that the channel retrieves are below:

When you vote, the software sends a request to a cgi-script getting the time via the Last-Modified header, presumably for when the last poll was published:

https://vtp.wapp.wii.com/index.html

Once that happens, it loads the voting bins from above. Upon voting, another cgi script is called, vote.cgi, is called in the following format:

https://vtp.wapp.wii.com/cgi-bin/vote.cgi?typeCD=%d&questionID=%d&wiiNo=%016lld&countryID=%d&regionID=%d&ansCNT=%04d

Submitting a question is similar, with a suggest.cgi.

https://vtp.wapp.wii.com/cgi-bin/suggest.cgi

The Channel wants a response simply saying `100`.

EVC also stores your answers and questions in the Wii's internal filesystem in the WiiConnect24-folder.

RiiConnect24 has brought back the Everybody Votes Channel.