Wip of instructions page

This commit is contained in:
Greg Edwards 2016-04-22 20:57:28 -04:00
parent 6f2ae30e7e
commit 6814620312
10 changed files with 332 additions and 22 deletions

Binary file not shown.

View File

@ -58,15 +58,18 @@
<h1>How to connect</h1>
<ol>
<li>Obtain an Action Replay code for your game. (complete list coming
soon)<br />If you are using an emulator, you can patch your game with
<a href="https://github.com/AdmiralCurtiss/WfcPatcher/releases">WfcPatcher</a>.</li>
<li>If applicable, enable the code and launch your game.</li>
<li>On your DS, set the DNS to <strong>104.131.93.87</strong>.</li>
<li>Connect!</li>
<li>
Find and install your <asp:HyperLink ID="hlActionReplay" NavigateUrl="~/main/Instructions.aspx" runat="server">Action Replay code</asp:HyperLink>
</li>
<li>
Erase your Nintendo WFC configuration.
</li>
<li>
Set your primary DNS to <code><pf:DnsAddress runat="server" /></code>
</li>
</ol>
<p>Complete instructions can be found at
<p>Other connection methods can be found at the
<a href="https://github.com/polaris-/dwc_network_server_emulator/wiki#nintendo-dsdsi3ds2ds-configuration">the
AltWFC Wiki</a>.</p>

View File

@ -66,6 +66,15 @@ namespace PkmnFoundations.GTS {
/// </remarks>
protected global::System.Web.UI.WebControls.HyperLink hlRegister;
/// <summary>
/// hlActionReplay control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HyperLink hlActionReplay;
/// <summary>
/// hlBattleVideos control.
/// </summary>

View File

@ -537,30 +537,30 @@ li
border: 2px solid #eeeeee;
background-color: white;
cursor: pointer;
margin: 8px;
margin: 4px 8px 4px 0;
position: relative;
display: table;
border-spacing: 8px;
}
.pfChoice img
.pfChoiceGroupVersions .pfChoice
{
position: absolute;
left: 8px;
top: 8px;
width: 128px;
height: 48px;
}
.pfChoice .pfChoiceIcon
{
display: table-cell;
vertical-align: middle;
width: 0;
}
.pfChoice .pfChoiceLabel
{
display: table;
margin: 8px 8px 8px 80px;
width: 92px;
height: 64px;
}
.pfChoice .pfChoiceLabel .inner
{
display: table-cell;
vertical-align: middle;
text-align: center;
text-align: left;
}
.pfChoice:hover

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

161
web/main/Instructions.aspx Normal file
View File

@ -0,0 +1,161 @@
<%@ Page Title="Getting started - Pokémon Classic Network" Language="C#" MasterPageFile="~/masters/MasterPage.master" AutoEventWireup="true" CodeBehind="Instructions.aspx.cs" Inherits="PkmnFoundations.Main.Instructions" %>
<%@ Register TagPrefix="pf" Namespace="PkmnFoundations.Web" Assembly="PkmnFoundations.Web" %>
<%@ Register TagPrefix="pf" TagName="DnsAddress" Src="~/controls/DnsAddress.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cpHead" runat="server">
<pf:RequireScript Key="jquery" ScriptUrl="~/scripts/jquery-1.11.1.min.js" runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpMain" runat="server">
<h1>How to Connect</h1>
<p>Instructions provided are for Action Replay devices. If youre not using
an Action Replay, please visit the
<asp:HyperLink ID="hlAltWfc" NavigateUrl="https://github.com/polaris-/dwc_network_server_emulator/wiki#nintendo-dsdsi3ds2ds-configuration" runat="server">
AltWFC wiki
</asp:HyperLink>
for a list of other supported devices and connection methods.
</p>
<p>
<strong>You must use a special device to connect to the server.</strong> You will
receive a connection error if you try to connect with just a DS and game card.
</p>
<h2>Requirements</h2>
<ul>
<li>Nintendo DS system</li>
<li><a href="http://www.amazon.com/gp/product/B00A1AQJAO/">Action Replay</a> for DS or DSi</li>
<li>One of the <span class="pfToolTip" title="Diamond, Pearl, Platinum, Heart Gold, Soul Silver, Black, White, Black 2, White 2">supported
games</span></li>
<li>Wi-Fi acess point (unprotected or WEP only), or Nintendo Wi-Fi
USB Connector
</li>
</ul>
<h2 id="ar">Action Replay codes</h2>
<p>Please select your game and region to continue:</p>
<div class="phChoiceGroup pfChoiceGroupVersions">
<div class="pfChoice">
<div class="pfChoiceIcon">
<asp:Image ID="imgDiamond" ImageUrl="~/images/ver-icon/10.png" CssClass="sprite" AlternateText="" Width="32" Height="32" runat="server" />
</div>
<div class="pfChoiceLabel"><div class="inner">
Diamond
</div></div>
</div>
<div class="pfChoice">
<div class="pfChoiceIcon">
<asp:Image ID="imgPearl" ImageUrl="~/images/ver-icon/11.png" CssClass="sprite" AlternateText="" Width="32" Height="32" runat="server" />
</div>
<div class="pfChoiceLabel"><div class="inner">
Pearl
</div></div>
</div>
<div class="pfChoice">
<div class="pfChoiceIcon">
<asp:Image ID="imgPlatinum" ImageUrl="~/images/ver-icon/12.png" CssClass="sprite" AlternateText="" Width="32" Height="32" runat="server" />
</div>
<div class="pfChoiceLabel"><div class="inner">
Platinum
</div></div>
</div>
<div class="pfChoice">
<div class="pfChoiceIcon">
<asp:Image ID="imgHeartGold" ImageUrl="~/images/ver-icon/7.png" CssClass="sprite" AlternateText="" Width="32" Height="32" runat="server" />
</div>
<div class="pfChoiceLabel"><div class="inner">
Heart Gold
</div></div>
</div>
<div class="pfChoice">
<div class="pfChoiceIcon">
<asp:Image ID="imgSoulSilver" ImageUrl="~/images/ver-icon/8.png" CssClass="sprite" AlternateText="" Width="32" Height="32" runat="server" />
</div>
<div class="pfChoiceLabel"><div class="inner">
Soul Silver
</div></div>
</div>
<div class="clear"></div>
<div class="pfChoice">
<div class="pfChoiceIcon">
<asp:Image ID="imgBlack" ImageUrl="~/images/ver-icon/21.png" CssClass="sprite" AlternateText="" Width="32" Height="32" runat="server" />
</div>
<div class="pfChoiceLabel"><div class="inner">
Black
</div></div>
</div>
<div class="pfChoice">
<div class="pfChoiceIcon">
<asp:Image ID="imgWhite" ImageUrl="~/images/ver-icon/20.png" CssClass="sprite" AlternateText="" Width="32" Height="32" runat="server" />
</div>
<div class="pfChoiceLabel"><div class="inner">
White
</div></div>
</div>
<div class="pfChoice">
<div class="pfChoiceIcon">
<asp:Image ID="imgBlack2" ImageUrl="~/images/ver-icon/23.png" CssClass="sprite" AlternateText="" Width="32" Height="32" runat="server" />
</div>
<div class="pfChoiceLabel"><div class="inner">
Black 2
</div></div>
</div>
<div class="pfChoice">
<div class="pfChoiceIcon">
<asp:Image ID="imgWhite2" ImageUrl="~/images/ver-icon/22.png" CssClass="sprite" AlternateText="" Width="32" Height="32" runat="server" />
</div>
<div class="pfChoiceLabel"><div class="inner">
White 2
</div></div>
</div>
</div>
<div class="clear"></div>
<h2>Instructions</h2>
<div class="pfRight">
<asp:Image ImageUrl="~/images/help/shot-wifi-settings.png" Width="256" Height="384" CssClass="sprite" runat="server" />
</div>
<ul class="pfSplitList">
<li>
Install the appropriate <a href="#ar">Action Replay code</a> for
your game.
</li>
<li>
Launch the game with your AR and select the appropriate code.
</li>
<li>
Under the main menu, select <strong>Nintendo Wi-Fi Connection
Settings</strong>.
</li>
<li>Go to <strong>Options</strong> and select <strong>Erase
Nintendo WFC Configuration</strong>.</li>
<li>
Go back one level and into <strong>Nintendo Wi-Fi Connection
Settings</strong>.
</li>
<li>Pick a connection and select <strong>Search for an Access
Point</strong>.</li>
<li>Choose the correct access point and, if applicable, enter your WEP
password.</li>
<li>Select the newly created connection to access settings.</li>
<li>
Set <code>Auto-obtain DNS</code> to <code>No</code> and change the
primary DNS to
<code><pf:DnsAddress runat="server" /></code>.
Leave the secondary DNS blank.
</li>
<li>Exit the Wi-Fi settings and enjoy your game!</li>
</ul>
<p>If you see error 52200, turn your DS off and on and try again. Soft
resetting your game (L+R+Start+Select) will render the Wi-Fi enabler
code ineffective. Turn your DS off and on again to reset.
</p>
<div class="clear"></div>
</asp:Content>

View File

@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace PkmnFoundations.Main
{
public partial class Instructions : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}

105
web/main/Instructions.aspx.designer.cs generated Normal file
View File

@ -0,0 +1,105 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace PkmnFoundations.Main {
public partial class Instructions {
/// <summary>
/// hlAltWfc control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HyperLink hlAltWfc;
/// <summary>
/// imgDiamond control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Image imgDiamond;
/// <summary>
/// imgPearl control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Image imgPearl;
/// <summary>
/// imgPlatinum control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Image imgPlatinum;
/// <summary>
/// imgHeartGold control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Image imgHeartGold;
/// <summary>
/// imgSoulSilver control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Image imgSoulSilver;
/// <summary>
/// imgBlack control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Image imgBlack;
/// <summary>
/// imgWhite control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Image imgWhite;
/// <summary>
/// imgBlack2 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Image imgBlack2;
/// <summary>
/// imgWhite2 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Image imgWhite2;
}
}

View File

@ -83,13 +83,14 @@
<Content Include="favicon.ico" />
<Content Include="gts\Default.aspx" />
<Content Include="gts\Pokemon.aspx" />
<Content Include="main\Instructions.aspx" />
<Content Include="images\heading-backdrop%402x.png" />
<Content Include="images\heading-backdrop%403x.png" />
<Content Include="images\heading-backdrop.png" />
<Content Include="images\heading-icon%402x.png" />
<Content Include="images\heading-icon%403x.png" />
<Content Include="images\heading-icon.png" />
<Content Include="images\instructions.png" />
<Content Include="images\help\shot-wifi-settings.png" />
<Content Include="images\item-sm\0000.png" />
<Content Include="images\item-sm\3001.png" />
<Content Include="images\item-sm\3002.png" />
@ -3675,6 +3676,13 @@
<Compile Include="battlevideo\Default.aspx.designer.cs">
<DependentUpon>Default.aspx</DependentUpon>
</Compile>
<Compile Include="controls\DnsAddress.ascx.cs">
<DependentUpon>DnsAddress.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="controls\DnsAddress.ascx.designer.cs">
<DependentUpon>DnsAddress.ascx</DependentUpon>
</Compile>
<Compile Include="controls\ForeignLookup.ascx.cs">
<DependentUpon>ForeignLookup.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@ -3724,6 +3732,13 @@
<Compile Include="gts\Pokemon.aspx.designer.cs">
<DependentUpon>Pokemon.aspx</DependentUpon>
</Compile>
<Compile Include="main\Instructions.aspx.cs">
<DependentUpon>Instructions.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="main\Instructions.aspx.designer.cs">
<DependentUpon>Instructions.aspx</DependentUpon>
</Compile>
<Compile Include="masters\LeftColumn.master.cs">
<DependentUpon>LeftColumn.master</DependentUpon>
<SubType>ASPXCodeBehind</SubType>