Running your own Wii Forecast Channel: Difference between revisions

Jump to navigation Jump to search
and then copying your <code><country></code> tag from the backed up file, as well as the <code><international></code> and <code><conditions></code> tag. This will GREATLY speed up the process and will reduce the amount of API calls you use.
 
To add a location its pretty easy. Just copy and paste the <code><city></code> tag and fill out the information. If you put it in the international category, you won't be able to get the UV index or a 5-day forecast for the location due to a limitation in the Wiisoftware. Forecast Channel.
 
Example of adding the The South Pole in Antarctica:
<syntaxhighlight lang="xml">
<international>
<city>
<province jpn="" eng="" de="" fr="" es="" it="" nl="" />
<name jpn="東京" eng="Tokyo" de="Tokio" fr="Tokyo" es="Tokio" it="Tokyo" nl="Tokio" />
</city>
</international>
</syntaxhighlight>
 
 
Honestly, I have no idea. It seems to be always set at "3" though so I just leave it.
 
When you've added the locations you want you can then generate the files like this:
 
<pre>go run .</pre>
 
and it will generate the files. It'll make a folder called files which will contain everything we need for the Forecast Channel to work. Put the contents of this folder wherever you pointed the Forecast Channel to be on your web server. Start Dolphin and if everything worked you should be given an option to choose your location.
 
If you get a <code>FORE00006</code>, something is wrong with the generated files (debugging this can be very tricky unfortunately; I had to remove a few custom locations I added that weren't working for some reason) or your Wii clock is set wrong. If you get an error like "WiiConnect24 cannot be used" then either your file permissions are 403ing or 404ing (make sure they can be accessed through the web) or your Dolphin version is too old - make sure to use the latest dev build.
 
[[Category:Tutorials]]

Navigation menu