update devGuide to be structured more like the standard Guide

this will allow for translations aswell
This commit is contained in:
Plailect 2017-08-14 16:51:27 -04:00 committed by Plailect
parent 811a26016f
commit 4b7aca6835
No known key found for this signature in database
GPG Key ID: F8A415C5EA602A41
42 changed files with 938 additions and 254 deletions

4
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,4 @@
// Place your settings in this file to overwrite default and user settings.
{
"files.associations": {"*.txt": "markdown"}
}

View File

@ -10,7 +10,7 @@ locale : "en-US"
title : "3DS devGuide"
title_separator : "-"
name : "Plailect"
description : "Full arm9loaderhax CFW devGuide"
description : "Full sighax CFW devGuide"
url : "https://dev.3ds.guide" # the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
enforce_ssl : "dev.3ds.guide"
baseurl : # the subpath of your site, e.g. "/blog"
@ -110,37 +110,75 @@ author:
# Reading Files
include:
- .htaccess
- _pages
exclude:
- "*.sublime-project"
- "*.sublime-workspace"
- vendor
- .asset-cache
- .bundle
- .jekyll-assets-cache
- .sass-cache
- assets/js/plugins
- assets/js/_main.js
- assets/js/vendor
- Capfile
- CHANGELOG
- config
- Gemfile
- Gruntfile.js
- gulpfile.js
- LICENSE
- log
- node_modules
- package.json
- Rakefile
- README
- tmp
- .htaccess
- _pages
- _pages/en_US
exclude: [
"*.sublime-project",
"*.sublime-workspace",
vendor,
.asset-cache,
.bundle,
.jekyll-assets-cache,
.sass-cache,
assets/js/plugins,
assets/js/_main.js,
assets/js/vendor,
Capfile,
CHANGELOG,
config,
Gemfile,
Gruntfile.js,
gulpfile.js,
LICENSE,
log,
node_modules,
package.json,
Rakefile,
README,
tmp,
_pages/af_ZA,
_pages/ar_SA,
_pages/ca_ES,
_pages/cs_CZ,
_pages/da_DK,
_pages/de_DE,
_pages/el_GR,
_pages/en_PT,
# _pages/en_US,
_pages/es_EM,
_pages/es_ES,
_pages/fi_FI,
_pages/fr_FR,
_pages/he_IL,
_pages/hu_HU,
_pages/id_ID,
_pages/it_IT,
_pages/ja_JP,
_pages/ko_KR,
_pages/ms_MY,
_pages/no_NO,
_pages/nl_NL,
_pages/pl_PL,
_pages/pt_BR,
_pages/pt_PT,
_pages/ro_RO,
_pages/ru_RU,
_pages/sr_SP,
_pages/sv_SE,
_pages/th_TH,
_pages/tr_TR,
_pages/uk_UA,
_pages/vi_VN,
_pages/zh_CN,
_pages/zh_TW,
]
keep_files:
- .git
- .svn
encoding: "utf-8"
markdown_ext: "markdown,mkdown,mkdn,mkd,md"
markdown_ext: "markdown,mkdown,mkdn,mkd,md,txt"
# Conversion
@ -168,16 +206,6 @@ sass:
sass_dir: _sass
style: compressed # http://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style
# Defaults
defaults:
# _pages
- scope:
path: ""
type: pages
values:
layout: single
author_profile: false
# Plugins
gems:
- jekyll-paginate
@ -230,3 +258,387 @@ compress_html:
clippings: all
ignore:
envs: development
# Defaults
defaults:
# _pages
- scope:
path: ""
type: pages
values:
layout: single
author_profile: false
- scope:
path: "_pages/af_ZA"
type: pages
values:
permalink: /af_ZA/:basename:output_ext
lang: af
- scope:
path: "_pages/ar_SA"
type: pages
values:
permalink: /ar_SA/:basename:output_ext
lang: ar
- scope:
path: "_pages/ca_ES"
type: pages
values:
permalink: /ca_ES/:basename:output_ext
lang: ca
- scope:
path: "_pages/cs_CZ"
type: pages
values:
permalink: /cs_CZ/:basename:output_ext
lang: cs
- scope:
path: "_pages/da_DK"
type: pages
values:
permalink: /da_DK/:basename:output_ext
lang: da
- scope:
path: "_pages/de_DE"
type: pages
values:
permalink: /de_DE/:basename:output_ext
lang: ds
- scope:
path: "_pages/el_GR"
type: pages
values:
permalink: /el_GR/:basename:output_ext
lang: el
- scope:
path: "_pages/en_PT"
type: pages
values:
permalink: /en_PT/:basename:output_ext
lang: en-PT
- scope:
path: "_pages/en_US"
type: pages
values:
permalink: /:basename:output_ext
lang: en
- scope:
path: "_pages/es_ES"
type: pages
values:
permalink: /es_ES/:basename:output_ext
lang: es
- scope:
path: "_pages/fi_FI"
type: pages
values:
permalink: /fi_FI/:basename:output_ext
lang: fi
- scope:
path: "_pages/fr_FR"
type: pages
values:
permalink: /fr_FR/:basename:output_ext
lang: fr
- scope:
path: "_pages/he_IL"
type: pages
values:
permalink: /he_IL/:basename:output_ext
lang: he
- scope:
path: "_pages/hu_HU"
type: pages
values:
permalink: /hu_HU/:basename:output_ext
lang: hu
- scope:
path: "_pages/id_ID"
type: pages
values:
permalink: /id_ID/:basename:output_ext
lang: id
- scope:
path: "_pages/it_IT"
type: pages
values:
permalink: /it_IT/:basename:output_ext
lang: it
- scope:
path: "_pages/ja_JP"
type: pages
values:
permalink: /ja_JP/:basename:output_ext
lang: ja
- scope:
path: "_pages/ko_KR"
type: pages
values:
permalink: /ko_KR/:basename:output_ext
lang: ko
- scope:
path: "_pages/ms_MY"
type: pages
values:
permalink: /ms_MY/:basename:output_ext
lang: ms
- scope:
path: "_pages/no_NO"
type: pages
values:
permalink: /no_NO/:basename:output_ext
lang: no-NO
- scope:
path: "_pages/nl_NL"
type: pages
values:
permalink: /nl_NL/:basename:output_ext
lang: nl
- scope:
path: "_pages/pl_PL"
type: pages
values:
permalink: /pl_PL/:basename:output_ext
lang: pl
- scope:
path: "_pages/pt_BR"
type: pages
values:
permalink: /pt_BR/:basename:output_ext
lang: pt-BR
- scope:
path: "_pages/pt_PT"
type: pages
values:
permalink: /pt_PT/:basename:output_ext
lang: pt-PT
- scope:
path: "_pages/ro_RO"
type: pages
values:
permalink: /ro_RO/:basename:output_ext
lang: ro
- scope:
path: "_pages/ru_RU"
type: pages
values:
permalink: /ru_RU/:basename:output_ext
lang: ru
- scope:
path: "_pages/sr_SP"
type: pages
values:
permalink: /sr_SP/:basename:output_ext
lang: sr
- scope:
path: "_pages/sv_SE"
type: pages
values:
permalink: /sv_SE/:basename:output_ext
lang: sv
- scope:
path: "_pages/th_TH"
type: pages
values:
permalink: /th_TH/:basename:output_ext
lang: th
- scope:
path: "_pages/tr_TR"
type: pages
values:
permalink: /tr_TR/:basename:output_ext
lang: tr
- scope:
path: "_pages/uk_UA"
type: pages
values:
permalink: /uk_UA/:basename:output_ext
lang: uk
- scope:
path: "_pages/vi_VN"
type: pages
values:
permalink: /vi_VN/:basename:output_ext
lang: vi
- scope:
path: "_pages/zh_CN"
type: pages
values:
permalink: /zh_CN/:basename:output_ext
lang: zh-Hans
- scope:
path: "_pages/zh_TW"
type: pages
values:
permalink: /zh_TW/:basename:output_ext
lang: zh-Hant
- scope:
path: "_pages/af_ZA/home.txt"
type: pages
values:
permalink: /af_ZA/index:output_ext
- scope:
path: "_pages/ar_SA/home.txt"
type: pages
values:
permalink: /ar_SA/index:output_ext
- scope:
path: "_pages/ca_ES/home.txt"
type: pages
values:
permalink: /ca_ES/index:output_ext
- scope:
path: "_pages/cs_CZ/home.txt"
type: pages
values:
permalink: /cs_CZ/index:output_ext
- scope:
path: "_pages/da_DK/home.txt"
type: pages
values:
permalink: /da_DK/index:output_ext
- scope:
path: "_pages/de_DE/home.txt"
type: pages
values:
permalink: /de_DE/index:output_ext
- scope:
path: "_pages/el_GR/home.txt"
type: pages
values:
permalink: /el_GR/index:output_ext
- scope:
path: "_pages/en_PT/home.txt"
type: pages
values:
permalink: /en_PT/index:output_ext
- scope:
path: "_pages/en_US/home.txt"
type: pages
values:
permalink: /index:output_ext
- scope:
path: "_pages/es_ES/home.txt"
type: pages
values:
permalink: /es_ES/index:output_ext
- scope:
path: "_pages/fi_FI/home.txt"
type: pages
values:
permalink: /fi_FI/index:output_ext
- scope:
path: "_pages/fr_FR/home.txt"
type: pages
values:
permalink: /fr_FR/index:output_ext
- scope:
path: "_pages/he_IL/home.txt"
type: pages
values:
permalink: /he_IL/index:output_ext
- scope:
path: "_pages/hu_HU/home.txt"
type: pages
values:
permalink: /hu_HU/index:output_ext
- scope:
path: "_pages/id_ID/home.txt"
type: pages
values:
permalink: /id_ID/index:output_ext
- scope:
path: "_pages/it_IT/home.txt"
type: pages
values:
permalink: /it_IT/index:output_ext
- scope:
path: "_pages/ja_JP/home.txt"
type: pages
values:
permalink: /ja_JP/index:output_ext
- scope:
path: "_pages/ko_KR/home.txt"
type: pages
values:
permalink: /ko_KR/index:output_ext
- scope:
path: "_pages/ms_MY/home.txt"
type: pages
values:
permalink: /ms_MY/index:output_ext
- scope:
path: "_pages/no_NO/home.txt"
type: pages
values:
permalink: /no_NO/index:output_ext
- scope:
path: "_pages/nl_NL/home.txt"
type: pages
values:
permalink: /nl_NL/index:output_ext
- scope:
path: "_pages/pl_PL/home.txt"
type: pages
values:
permalink: /pl_PL/index:output_ext
- scope:
path: "_pages/pt_BR/home.txt"
type: pages
values:
permalink: /pt_BR/index:output_ext
- scope:
path: "_pages/pt_PT/home.txt"
type: pages
values:
permalink: /pt_PT/index:output_ext
- scope:
path: "_pages/ro_RO/home.txt"
type: pages
values:
permalink: /ro_RO/index:output_ext
- scope:
path: "_pages/ru_RU/home.txt"
type: pages
values:
permalink: /ru_RU/index:output_ext
- scope:
path: "_pages/sr_SP/home.txt"
type: pages
values:
permalink: /sr_SP/index:output_ext
- scope:
path: "_pages/sv_SE/home.txt"
type: pages
values:
permalink: /sv_SE/index:output_ext
- scope:
path: "_pages/th_TH/home.txt"
type: pages
values:
permalink: /th_TH/index:output_ext
- scope:
path: "_pages/tr_TR/home.txt"
type: pages
values:
permalink: /tr_TR/index:output_ext
- scope:
path: "_pages/uk_UA/home.txt"
type: pages
values:
permalink: /uk_UA/index:output_ext
- scope:
path: "_pages/vi_VN/home.txt"
type: pages
values:
permalink: /vi_VN/index:output_ext
- scope:
path: "_pages/zh_CN/home.txt"
type: pages
values:
permalink: /zh_CN/index:output_ext
- scope:
path: "_pages/zh_TW/home.txt"
type: pages
values:
permalink: /zh_TW/index:output_ext

View File

@ -1,25 +0,0 @@
# main links links
main:
- title: "FAQ"
url: /faq
- title: "Donations"
url: /donations
- title: "Credits"
url: /credits
- title: "Updating B9S"
url: /updating-b9s
- title: "A9LH to B9S"
url: /a9lh-to-b9s
- title: "Troubleshooting"
url: /troubleshooting
- title: "GodMode9 Usage"
url: /godmode9-usage
- title: "Site Navigation"
url: /site-navigation

View File

@ -0,0 +1,34 @@
---
main:
-
title: devGuide
-
title: FAQ
-
title: Troubleshooting
-
title: Donations
-
title: Credits
-
title: A9LH to B9S
-
title: Region Changing
-
title: GodMode9 Usage
-
title: Site Navigation
-
title: Updating B9S
-
title: Uninstall CFW
bottom:
-
title: For support in English, ask for help at <a href="http://webchat.freenode.net/?channels=%23Cakey&uio=d4">#Cakey on Freenode IRC</a>.
-
title: If you appreciate this guide, I accept <a href="donations">Donations</a> through <a href="https://www.paypal.me/plailectguides/15">PayPal</a> or <a href="bitcoin:1Ad3PnU6TmJxvJ62LobgMw5uT8hR1LQety">Bitcoin</a>.
footer:
-
title: Source
-
title: Site Navigation

View File

@ -1,2 +1,5 @@
{% include base_path %}
<div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} {{ site.name | default: site.title }} - <a href="https://github.com/Plailect/devGuide">Source</a> - <a href="site-navigation">Site Navigation</a>
{% assign split_path = page.path | split: "/" %}
{% assign locale = split_path[1] %}
{% assign titles = site.data.navigation[locale].footer %}
<div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} {{ site.name | default: site.title }} - <a href="https://github.com/Plailect/devGuide">{{ titles[0].title }}</a> - <a href="site-navigation">{{ titles[1].title }}</a>

View File

@ -14,12 +14,12 @@
<link rel="icon" type="image/png" href="{{ base_path }}/images/android-chrome-192x192.png?v=PYEmwKvQAx" sizes="192x192">
<link rel="icon" type="image/png" href="{{ base_path }}/images/favicon-16x16.png?v=PYEmwKvQAx" sizes="16x16">
<link rel="manifest" href="{{ base_path }}/images/manifest.json?v=PYEmwKvQAx">
<link rel="mask-icon" href="{{ base_path }}/images/safari-pinned-tab.svg?v=PYEmwKvQAx" color="#5bbad5">
<link rel="mask-icon" href="{{ base_path }}/images/safari-pinned-tab.svg?v=PYEmwKvQAx" color="#2E3440">
<link rel="shortcut icon" href="{{ base_path }}/images/favicon.ico?v=PYEmwKvQAx">
<meta name="apple-mobile-web-app-title" content="Guide">
<meta name="application-name" content="Guide">
<meta name="msapplication-TileColor" content="#00a300">
<meta name="msapplication-TileColor" content="#2E3440">
<meta name="msapplication-TileImage" content="{{ base_path }}/images/mstile-144x144.png?v=PYEmwKvQAx">
<meta name="msapplication-config" content="{{ base_path }}/images/browserconfig.xml?v=PYEmwKvQAx">
<meta name="theme-color" content="#000000">
<meta name="theme-color" content="#2E3440">
<!-- end custom head snippets -->

View File

@ -2,19 +2,73 @@
<div class="masthead__inner-wrap">
<div class="masthead__menu">
<nav id="site-nav" class="greedy-nav">
<button><div class="navicon"></div></button>
<ul class="visible-links">
<li class="masthead__menu-item masthead__menu-item--lg"><a href="{{ '/' | absolute_url }}">{{ site.title }}</a></li>
{% for link in site.data.navigation.main %}
{% if link.url contains 'http' %}
{% assign domain = '' %}
{% else %}
{% assign domain = site.url | append: site.baseurl %}
{% endif %}
<li class="masthead__menu-item"><a href="{{ domain }}{{ link.url }}">{{ link.title }}</a></li>
{% endfor %}
{% assign split_path = page.path | split: "/" %}
{% assign locale = split_path[1] %}
{% assign titles = site.data.navigation[locale].main %}
{% if locale == 'en_US' %}
{% assign locale_var = '/' %}
{% else %}
{% assign locale_var = locale | prepend:'/' | append:'/' %}
{% endif %}
<li class="masthead__menu-item masthead__menu-item--lg"><a href="{{ domain }}{{ locale_var }}">{{ titles[0].title }}</a></li>
<li class="masthead__menu-item"><a href="{{ domain }}{{ locale_var }}faq">{{ titles[1].title }}</a></li>
<li class="masthead__menu-item"><a href="{{ domain }}{{ locale_var }}donations">{{ titles[3].title }}</a></li>
<li class="masthead__menu-item"><a href="{{ domain }}{{ locale_var }}credits">{{ titles[4].title }}</a></li>
<li class="masthead__menu-item"><a href="{{ domain }}{{ locale_var }}updating-b9s">{{ titles[9].title }}</a></li>
<li class="masthead__menu-item"><a href="{{ domain }}{{ locale_var }}a9lh-to-b9s">{{ titles[5].title }}</a></li>
<li class="masthead__menu-item"><a href="{{ domain }}{{ locale_var }}troubleshooting">{{ titles[2].title }}</a></li>
<li class="masthead__menu-item"><a href="{{ domain }}{{ locale_var }}region-changing">{{ titles[6].title }}</a></li>
<li class="masthead__menu-item"><a href="{{ domain }}{{ locale_var }}godmode9-usage">{{ titles[7].title }}</a></li>
<li class="masthead__menu-item"><a href="{{ domain }}{{ locale_var }}uninstall-cfw">{{ titles[10].title }}</a></li>
<li class="masthead__menu-item"><a href="{{ domain }}{{ locale_var }}site-navigation">{{ titles[8].title }}</a></li>
</ul>
<ul class="hidden-links hidden"></ul>
<ul class="hidden-links links-menu hidden"></ul>
<ul class="hidden-links lang-menu hidden">
{% assign split_url = page.url | split: "/" %}
{% if split_url.size == 3 %}
{% assign langless_url = split_url[2] %}
{% else %}
{% assign langless_url = split_url[1] %}
{% endif %}
{% if langless_url == "index.html" %}
{% assign langless_url = "" %}
{% endif %}
<li class="masthead__menu-item"><a href="{{ site.url }}/{{ langless_url }}">English</a></li>
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/es_ES/{{ langless_url }}">Español</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/de_DE/{{ langless_url }}">Deutsch</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/fr_FR/{{ langless_url }}">Français</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/it_IT/{{ langless_url }}">Italiano</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/nl_NL/{{ langless_url }}">Nederlands</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/pt_BR/{{ langless_url }}">Português do Brasil</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/pt_PT/{{ langless_url }}">Português (Portugal)</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/ru_RU/{{ langless_url }}">Русский</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/zh_CN/{{ langless_url }}">简体中文</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/zh_TW/{{ langless_url }}">繁體中文</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/pl_PL/{{ langless_url }}">Polski</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/tr_TR/{{ langless_url }}">Türkçe</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/vi_VN/{{ langless_url }}">Tiếng Việt</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/ca_ES/{{ langless_url }}">Català</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/el_GR/{{ langless_url }}">Ελληνικά</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/he_IL/{{ langless_url }}">עברית‎</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/sv_SE/{{ langless_url }}">Svenska</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/ko_KR/{{ langless_url }}">한국어</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/no_NO/{{ langless_url }}">Norsk</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/ja_JP/{{ langless_url }}">日本語</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/ar_SA/{{ langless_url }}">اللغة العربية</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/hu_HU/{{ langless_url }}">Magyar</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/ro_RO/{{ langless_url }}">Română</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/sr_SP/{{ langless_url }}">Српски</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/af_ZA/{{ langless_url }}">Afrikaans</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/ms_MY/{{ langless_url }}">Bahasa Melayu</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/fi_FI/{{ langless_url }}">Suomi</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/da_DK/{{ langless_url }}">Dansk</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/uk_UA/{{ langless_url }}">Українська</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/cs_CZ/{{ langless_url }}">Čeština</a></li> -->
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/en_PT/{{ langless_url }}">Pirate English</a></li> -->
</ul>
<button class="lang-selector"><div class="langicon"><i class="fa fa-language fa-lg" aria-hidden="true"></i></div></button>
<button class="nav-selector" id="toggle-nav"><div class="navicon"></div></button>
</nav>
</div>
</div>

View File

@ -1,11 +0,0 @@
---
layout: archive
---
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
{% for post in paginator.posts %}
{% include archive-single.html %}
{% endfor %}
{% include paginator.html %}

View File

@ -1,84 +1,95 @@
---
layout: default
---
{% include base_path %}
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
{% include page__hero.html %}
{% endif %}
{% if page.url != "/" and site.breadcrumbs %}
{% unless paginator %}
{% include breadcrumbs.html %}
{% endunless %}
{% endif %}
<div id="main" role="main">
{% include sidebar.html %}
<article class="page" itemscope itemtype="http://schema.org/CreativeWork">
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
{% if page.modified %}<meta itemprop="dateModified" content="{{ page.modified | date: "%B %d, %Y" }}">{% endif %}
<div class="page__inner-wrap">
{% unless page.header.overlay_color or page.header.overlay_image %}
<header>
{% if page.title %}<h1 class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
{% if page.read_time %}
<p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p>
{% endif %}
</header>
{% endunless %}
<section class="page__content" itemprop="text">
<hr>
<div class ="notice">For support, ask for help at <a href="http://webchat.freenode.net?channels=%23Cakey&uio=d4">#Cakey on Freenode IRC</a>.</div>
<div class ="notice">If you appreciate this guide, I accept <a href="donations">Donations</a> through <a href="https://www.paypal.me/plailectguides/15">PayPal</a> or <a href="bitcoin:1Ad3PnU6TmJxvJ62LobgMw5uT8hR1LQety">Bitcoin</a>.</div>
<hr>
{{ content | remove: '<p>' | remove: '</p>' }}
{% if page.link %}<div><a href="{{ page.link }}" class="btn">{{ site.data.ui-text[site.locale].ext_link_label | default: "Direct Link" }}</a></div>{% endif %}
</section>
<footer class="page__meta">
{% if site.data.ui-text[site.locale].meta_label %}
<h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4>
{% endif %}
{% include page__taxonomy.html %}
{% if page.modified %}
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.modified | date: "%Y-%m-%d" }}">{{ page.modified | date: "%B %d, %Y" }}</time></p>
{% elsif page.date %}
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time></p>
{% endif %}
</footer>
{% if page.share %}{% include social-share.html %}{% endif %}
{% include post_pagination.html %}
</div>
{% if site.comments.provider and page.comments %}
{% include comments.html %}
{% endif %}
</article>
{% comment %}<!-- only show related on a post page when not disabled -->{% endcomment %}
{% if page.id and page.related and site.related_posts.size > 0 %}
<div class="page__related">
{% if site.data.ui-text[site.locale].related_label %}
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
{% endif %}
<div class="grid__wrapper">
{% for post in site.related_posts limit:4 %}
{% include archive-single.html type="grid" %}
{% endfor %}
</div>
</div>
{% endif %}
</div>
---
layout: default
---
{% include base_path %}
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
{% include page__hero.html %}
{% endif %}
{% if page.url != "/" and site.breadcrumbs %}
{% unless paginator %}
{% include breadcrumbs.html %}
{% endunless %}
{% endif %}
<div id="main" role="main">
{% include sidebar.html %}
<article class="page" itemscope itemtype="http://schema.org/CreativeWork">
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
{% if page.modified %}<meta itemprop="dateModified" content="{{ page.modified | date: "%B %d, %Y" }}">{% endif %}
<div class="page__inner-wrap">
{% unless page.header.overlay_color or page.header.overlay_image %}
<header>
{% if page.title %}<h1 class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
{% if page.read_time %}
<p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p>
{% endif %}
</header>
{% endunless %}
<section class="page__content" itemprop="text">
<hr>
{% assign split_path = page.path | split: "/" %}
{% assign locale = split_path[1] %}
{% for link in site.data.navigation[locale].bottom %}
{% if link.url contains 'http' %}
{% assign domain = '' %}
{% else %}
{% assign domain = site.url | append: site.baseurl %}
{% endif %}
<div class ="notice"><b>{{ link.title }}</b></div>
{% endfor %}
<hr>
{{ content }}
{% if page.link %}<div><a href="{{ page.link }}" class="btn">{{ site.data.ui-text[site.locale].ext_link_label | default: "Direct Link" }}</a></div>{% endif %}
</section>
<footer class="page__meta">
{% if site.data.ui-text[site.locale].meta_label %}
<h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4>
{% endif %}
{% include page__taxonomy.html %}
{% if page.modified %}
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.modified | date: "%Y-%m-%d" }}">{{ page.modified | date: "%B %d, %Y" }}</time></p>
{% elsif page.date %}
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time></p>
{% endif %}
</footer>
{% if page.share %}{% include social-share.html %}{% endif %}
{% include post_pagination.html %}
</div>
{% if site.comments.provider and page.comments %}
{% include comments.html %}
{% endif %}
</article>
{% comment %}<!-- only show related on a post page when not disabled -->{% endcomment %}
{% if page.id and page.related and site.related_posts.size > 0 %}
<div class="page__related">
{% if site.data.ui-text[site.locale].related_label %}
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
{% endif %}
<div class="grid__wrapper">
{% for post in site.related_posts limit:4 %}
{% include archive-single.html type="grid" %}
{% endfor %}
</div>
</div>
{% endif %}
</div>

View File

@ -18,11 +18,25 @@ layout: default
{% if page.modified %}<meta itemprop="dateModified" content="{{ page.modified | date: "%B %d, %Y" }}">{% endif %}
<section class="page__content" itemprop="text">
<hr>
<div class ="notice">For support, ask for help at <a href="http://webchat.freenode.net?channels=%23Cakey&uio=d4">#Cakey on Freenode IRC</a>.</div>
<div class ="notice">If you appreciate this guide, I accept <a href="donations">Donations</a> through <a href="bitcoin:1Ad3PnU6TmJxvJ62LobgMw5uT8hR1LQety">Bitcoin</a>.</div>
{% assign split_path = page.path | split: "/" %}
{% assign locale = split_path[1] %}
{% for link in site.data.navigation[locale].bottom %}
{% if link.url contains 'http' %}
{% assign domain = '' %}
{% else %}
{% assign domain = site.url | append: site.baseurl %}
{% endif %}
<div class ="notice"><b>{{ link.title }}</b></div>
{% endfor %}
<hr>
{{ content }}
</section>
</article>
</div>

View File

@ -1,9 +0,0 @@
---
title: "Page Not Found"
excerpt: "Page not found. Your pixels are in another canvas."
sitemap: false
permalink: /404.html
---
### Sorry, but the page you were trying to view does not exist.
{: .text-center}

View File

@ -1,6 +1,5 @@
---
title: "0.23.5 Install (CIAs)"
permalink: /0.23.5-install-(cias).html
---
You MUST downgrade with the correct pack for your console/region!

View File

@ -1,6 +1,5 @@
---
title: "0.23.5 Install (CSU)"
permalink: /0.23.5-install-(csu).html
---
To use the [magnet](https://en.wikipedia.org/wiki/Magnet_URI_scheme) links on this page, you will need a torrent client like [Deluge](http://dev.deluge-torrent.org/wiki/Download)

View File

@ -1,6 +1,5 @@
---
title: "0.23.5 Install"
permalink: /0.23.5-install.html
---
There are two different methods of installing the version 0.23.5 onto your PANDA unit.

8
_pages/en_US/404.txt Normal file
View File

@ -0,0 +1,8 @@
---
title: "Page Not Found" #
excerpt: "Page not found. Your pixels are in another canvas." #
sitemap: false
---
Sorry, but the page you were trying to view does not exist.
{: .notice--info}

View File

@ -1,6 +1,5 @@
---
title: "A9LH to B9S"
permalink: /a9lh-to-b9s.html
---
This page is for existing arm9loaderhax users to update their devices to boot9strap.

View File

@ -1,13 +1,14 @@
---
title: "Credits"
permalink: /credits.html
---
**Special thanks to all of [#Cakey on Freenode](http://webchat.freenode.net/?channels=%23Cakey) for being awesome!**
{: .notice--primary}
**Special thanks to all of [the translators](https://translate.3ds.guide/) for being awesome!**
{: .notice--primary}
If I forgot you here, contact me and I'll add your name.
{: .notice}
{% capture notice-1 %}

View File

@ -1,6 +1,5 @@
---
title: "Donations"
permalink: /donations.html
---
[![Paypal]({{ base_path }}/images/paypal_white.png){:height="72px" width="256px"}{: style="padding-bottom: .35em"}](https://www.paypal.me/plailectguides/15){: .align-center}

View File

@ -1,6 +1,5 @@
---
title: "F3 (Linux)"
permalink: /f3-(linux).html
---
This page will walk you through the process of checking your SD card for errors using F3.

View File

@ -1,6 +1,5 @@
---
title: "F3X (Mac)"
permalink: /f3x-(mac).html
---
This page will walk you through the process of checking your SD card for errors using F3X.

View File

@ -1,6 +1,5 @@
---
title: "FAQ"
permalink: /faq.html
---
{% capture notice-1 %}

View File

@ -1,6 +1,5 @@
---
title: "Finalizing Setup"
permalink: /finalizing-setup.html
---
To use the [magnet](https://en.wikipedia.org/wiki/Magnet_URI_scheme) links on this page, you will need a torrent client like [Deluge](http://dev.deluge-torrent.org/wiki/Download)

View File

@ -1,6 +1,5 @@
---
title: "Get Started"
permalink: /get-started.html
---
Before starting, you may want to check your SD card for errors using [H2testw (Windows)](h2testw-(windows)), [F3 (Linux)](f3-(linux)), or [F3X (Mac)](f3x-(mac))!

View File

@ -1,6 +1,5 @@
---
title: "GodMode9 Usage"
permalink: /godmode9-usage.html
---
GodMode9 is a full access file browser for the Nintendo 3DS console, giving you access to your SD card, to the FAT partitions inside your SysNAND and EmuNAND and to basically anything else. Among other functionality, you can copy, delete, rename files and create folders.

View File

@ -1,6 +1,5 @@
---
title: "H2testw (Windows)"
permalink: /h2testw-(windows).html
---
This page will walk you through the process of checking your SD card for errors using h2testw.

View File

@ -1,15 +1,14 @@
---
layout: splash
permalink: /index.html
title: "3DS devGuide"
title: "3DS devGuide" #
header:
overlay_color: "#5e616c"
overlay_image: images/home-page-feature.jpg
overlay_color: "#5e616c" #
overlay_image: /images/home-page-feature.jpg
overlay_filter: 0.5
cta_label: "Get Started"
cta_url: "/get-started"
cta_label: "Get Started" #
cta_url: "get-started" #
caption:
excerpt: 'A complete guide to developer 3DS custom firmware, <br /> from stock to boot9strap.<br />'
excerpt: "A complete guide to 3DS custom firmware, <br /> from stock to boot9strap.<br />"
---
{% capture notice-home %}

View File

@ -1,6 +1,5 @@
---
title: "Installing boot9strap (Browser)"
permalink: /installing-boot9strap-(browser).html
---
#### What you need

View File

@ -1,6 +1,5 @@
---
title: "Site Navigation"
permalink: /site-navigation.html
title: "Site Navigation" #
sitemap: false
---

View File

@ -1,6 +1,5 @@
---
title: "Troubleshooting"
permalink: /troubleshooting.html
---
If you are unable to boot your device, please look for the section relevant to you, and follow the instructions. Once a solution works for you, you can proceed on with the main guide

View File

@ -1,6 +1,5 @@
---
title: "Updating B9S"
permalink: /updating-b9s.html
---
This page is for existing boot9strap users to update their installation of boot9strap to the latest version.

View File

@ -94,33 +94,4 @@
.notice--danger {
@include notice($danger-color);
}
.screenshot_image{
position: relative;
width: auto;
display: inline-block;
position: relative;
font-family: $monospace;
font-size: $type-size-7;
line-height: 1.8;
border: 2px solid $border-color;
border-radius: $border-radius;
background-color: $border-color;
box-shadow: $box-shadow;
&:before {
position: absolute;
top: 0;
right: 0;
padding: 0.5em;
background-color: $nord6;
content: "\f08e";
font-family: "fontawesome" !important;
line-height: 1;
text-transform: none;
speak: none;
color: $background-color;
}
}

View File

@ -29,8 +29,8 @@ $(document).ready(function(){
$(".sticky").Stickyfill();
var stickySideBar = function(){
var show = $(".author__urls-wrapper button").length === 0 ? $(window).width() > 1024 : !$(".author__urls-wrapper button").is(":visible");
// console.log("has button: " + $(".author__urls-wrapper button").length === 0);
var show = $(".author__urls-wrapper #toggle-nav").length === 0 ? $(window).width() > 1024 : !$(".author__urls-wrapper #toggle-nav").is(":visible");
// console.log("has button: " + $(".author__urls-wrapper #toggle-nav").length === 0);
// console.log("Window Width: " + windowWidth);
// console.log("show: " + show);
//old code was if($(window).width() > 1024)
@ -54,9 +54,9 @@ $(document).ready(function(){
// Follow menu drop down
$(".author__urls-wrapper button").on("click", function() {
$(".author__urls-wrapper #toggle-nav").on("click", function() {
$(".author__urls").fadeToggle("fast", function() {});
$(".author__urls-wrapper button").toggleClass("open");
$(".author__urls-wrapper #toggle-nav").toggleClass("open");
});
// init smooth scroll
@ -97,4 +97,20 @@ $(document).ready(function(){
midClick: true // allow opening popup on middle mouse click. Always set it to true if you don't provide alternative source.
});
});
if((window.location.href.indexOf("/he_IL/") > -1) || (window.location.href.indexOf("/ar_SA/") > -1)) {
$(".nav-selector").css("left", "3rem");
$(".lang-selector").css("left", "0");
$(".links-menu").css("right", "auto");
$(".lang-menu").css("right", "auto");
$(".links-menu").css("left", "3rem");
$(".lang-menu").css("left", "0");
$('.greedy-nav').prepend('<style>.hidden-links:before{right:auto !important;}</style>');
$('.greedy-nav').prepend('<style>.hidden-links:after{right:auto !important;}</style>');
$('.greedy-nav').prepend('<style>.hidden-links:before{left:14px !important;}</style>');
$('.greedy-nav').prepend('<style>.hidden-links:after{left:14px !important;}</style>');
$(".masthead__menu-item--lg").css("padding-right", "inherit");
$(".masthead__menu-item--lg").css("padding-left", "2em");
document.body.style.direction = "rtl";
}
});

10
assets/js/main.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -6,15 +6,15 @@
*/
var $nav = $('#site-nav');
var $btn = $('#site-nav button');
var $btn = $('#site-nav #toggle-nav');
var $vlinks = $('#site-nav .visible-links');
var $hlinks = $('#site-nav .hidden-links');
var $hlinks = $('#site-nav .hidden-links.links-menu');
var breaks = [];
function updateNav() {
var availableSpace = $btn.hasClass('hidden') ? $nav.width() : $nav.width() - $btn.width() - 30;
var availableSpace = $btn.hasClass('hidden') ? $nav.width() : $nav.width() - $btn.width() - 80;
// The visible list is overflowing the nav
if($vlinks.width() > availableSpace) {
@ -65,8 +65,28 @@ $(window).resize(function() {
});
$btn.on('click', function() {
$hlinks.toggleClass('hidden');
$(this).toggleClass('close');
if($hlinks.is(":visible")){
$hlinks.addClass('hidden');
$btn.removeClass('close');
} else {
$hlinks.removeClass('hidden');
$('.lang-menu').addClass('hidden');
$btn.addClass('close');
$('.lang-selector').removeClass('close');
}
});
// Language selector button
$('.lang-selector').on('click', function() {
if($('.lang-menu').is(":visible")){
$('.lang-menu').addClass('hidden');
$('.lang-selector').removeClass('close');
} else {
$('.lang-menu').removeClass('hidden');
$('.lang-selector').addClass('close');
$hlinks.addClass('hidden');
$btn.removeClass('close');
}
});
updateNav();

5
crowdin.yaml Normal file
View File

@ -0,0 +1,5 @@
files:
- source: /_pages/en_US/*.txt
translation: /_pages/%locale_with_underscore%/%original_file_name%
- source: /_data/navigation/en_US.yml
translation: /_data/navigation/%locale_with_underscore%.yml

View File

@ -0,0 +1,58 @@
# last changed: 20170813
# author: Some1CP
set SUCCESSMSG "Cleanup completed successfully"
set ERRORMSG "Cleanup failed"
ask "This will clean the final setup files from your SD.\n\nContinue?"
#allow SD modifications
allow -a 0:/
# remove existing files
#2xrsa
rm -o -s 0:/arm9.bin
rm -o -s 0:/arm11.bin
#Cubic Ninja
rm -o -s 0:/ntr.bin
#Soundhax
rm -o -s 0:/soundhax-usa-o3ds.m4a
rm -o -s 0:/soundhax-usa-n3ds.m4a
rm -o -s 0:/soundhax-eur-o3ds.m4a
rm -o -s 0:/soundhax-eur-n3ds.m4a
rm -o -s 0:/soundhax-jpn-o3ds.m4a
rm -o -s 0:/soundhax-jpn-n3ds.m4a
rm -o -s 0:/soundhax-kor-o3ds.m4a
rm -o -s 0:/soundhax-kor-n3ds.m4a
rm -o -s 0:/otherapp.bin
rm -o -s 0:/3ds/safehax.3dsx
rm -o -s 0:/3ds/udsploit.3dsx
rm -o -s 0:/safehaxpayload.bin
#DSiWareHax
rm -o -s 0:/public.sav
rm -o -s 0:/boot.nds
rm -o -s 0:/savedata
rm -o -s 0:/sudoku_v0.app
rm -o -s 0:/4swords.app
#ntrboot_flasher
rm -o -s 0:/luma/payloads/ntrboot_flasher.firm
rm -o -s 0:/ntrboot
rm -o -s 0:/ntrboot.firm
#Common files
rm -o -s 0:/boot9strap
rm -o -s 0:/cias
rm -o -s 0:/gm9/scripts/setup_ctrnand_luma3ds.gm9
rm -o -s "0:/gm9/scripts/Clean Setup Files.gm9"
set ERRORMSG "Cleanup completed successfully"
#GodMode9's out folder
# Edited by Plailect--
# I don't believe a prompt is needed for this since the instructions already told them to make a copy of their NAND backup
#ask "Do you want to delete GM9's out folder, including\nyour NAND backups, from your SD?"
rm -o -s $[GM9OUT]

View File

@ -0,0 +1,24 @@
# CTRTransfer Ticket Copy script
# last changed: 20170716
# author: Plailect
set SUCCESSMSG "Copied tickets successfully"
ask "This will copy CTRTransfer tickets,\nallowing for your games to work correctly.\n\nContinue?"
allow 1:/
# Mount ticket image backup
set ERRORMSG "Could not find ticket backup.\nSomething has gone wrong with your CTRTransfer."
imgmount 1:/dbs/ticket.bak
# Check for "eshop" or "unknown" tickets, ignore "system" tickets (because "system" has no "o" in it)
# AFAIK there's no better way to do this because I can't do && in a "find" command
set ERRORMSG "No user tickets found.\nSkip the 'Reinstalling Tickets' section."
find T:/*o* NULL
set ERRORMSG ""
rm -o -s $[GM9OUT]/ctrtransfer_tickets
mkdir $[GM9OUT]/ctrtransfer_tickets
cp -o -s T:/eshop $[GM9OUT]/ctrtransfer_tickets/eshop
cp -o -s T:/unknown $[GM9OUT]/ctrtransfer_tickets/unknown

View File

@ -0,0 +1,19 @@
# SafeB9SInstaller reverter script (restores the backed up data)
# Not recommended on custom NCSDs(!)
# last changed: 20170706
# author: d0k3
set SUCCESSMSG "SB9SI reverted successfully"
# check for boot9strap firm backup
set ERRORMSG "SB9SI FIRM backup not found"
find 0:/boot9strap/firm0_enc.bak NULL
find 0:/boot9strap/firm1_enc.bak NULL
# inject the backups @ the correct locations
set ERRORMSG "SB9SI not reverted.\nNo changes written to the system."
ask "!!WARNING!!\nThis will restore the backups\nfound in 0:/boot9strap.\n \nProceed?"
allow S:/nand.bin
inject -n -s -o 0:/boot9strap/sector0x96_enc.bak S:/nand.bin@12C00
inject -n 0:/boot9strap/firm0_enc.bak S:/nand.bin@B130000
inject -n 0:/boot9strap/firm1_enc.bak S:/nand.bin@B530000

View File

@ -0,0 +1,17 @@
# SafeB9SInstaller reverter script (restores the backed up data)
# Not recommended on custom NCSDs(!)
# last changed: 20170706
# author: d0k3
set SUCCESSMSG "SB9SI reverted successfully"
# check for boot9strap firm backup
set ERRORMSG "SB9SI (pre0.0.7) FIRM backup not found"
find 0:/boot9strap/firm0firm1.bak NULL
# inject the backups @ the correct locations
set ERRORMSG "SB9SI not reverted.\nNo changes written to the system."
ask "!!WARNING!!\nThis will restore the backups\nfound in 0:/boot9strap/.\n \nProceed?"
allow S:/nand.bin
inject -n -s -o 0:/boot9strap/sector0x96.bak S:/nand.bin@12C00
inject -n 0:/boot9strap/firm0firm1.bak S:/nand.bin@B130000

View File

@ -0,0 +1,19 @@
# Luma3DS CTRNAND Setup script
# last changed: 20170716
# author: ihaveamac
set SUCCESSMSG "Luma3DS copied successfully"
ask "This will copy Luma3DS to your CTRNAND,\nallowing for the system to work without\nan SD card.\n\nContinue?"
allow 1:/
# remove existing files just in case
rm -o -s 1:/boot.firm
rm -o -s 1:/rw/luma
# copy specific files over
cp 0:/boot.firm 1:/boot.firm
mkdir 1:/rw/luma
cp 0:/luma/payloads 1:/rw/luma/payloads
cp 0:/luma/config.bin 1:/rw/luma/config.bin

View File

@ -0,0 +1,30 @@
# SigHax Uninstaller script (reverts from SigHax to stock)
# This is for retail N3DS units only
# Not recommended on custom NCSDs(!)
# last changed: 20170716
# author: d0k3
set SUCCESSMSG "CFW uninstalled successfully"
# check sector 0x96
set ERRORMSG "Sector 0x96 is not genuine.\nCan't continue."
sha S:/sector0x96.bin 82F2730D2C2DA3F30165F987FDCCAC5CBAB24B4E5F65C981CD7BE6F438E6D9D3
# grab NATIVE_FIRM out of the NCCH
set ERRORMSG "NATIVE_FIRM not found.\nIs this a N3DS?"
find 1:/title/00040138/20000002/content/????????.app NATIVE_NCCH
imgmount $[NATIVE_NCCH]
verify G:/exefs/.firm
set NATIVE_FIRM $[GM9OUT]/NATIVE_FIRM.firm
cp G:/exefs/.firm $[NATIVE_FIRM]
imgumount
# Write NATIVE_FIRM to the FIRM partitions
set ERRORMSG "Sighax not uninstalled.\nNo changes written to the system."
ask "!!WARNING!!\nThis will remove sighax and\nrevert your system to stock.\n \nProceed?"
allow S:/firm0.bin # same permission level for all firms
allow 1:/ # for ctrnand file removal
rm -o -s 1:/boot.firm
rm -o -s 1:/rw/luma
cp -n $[NATIVE_FIRM] S:/firm0.bin
cp -n $[NATIVE_FIRM] S:/firm1.bin

View File

@ -0,0 +1,26 @@
# SigHax Uninstaller script (reverts from SigHax to stock)
# This is for retail O3DS units only
# Not recommended on custom NCSDs(!)
# last changed: 20170716
# author: d0k3
set SUCCESSMSG "CFW uninstalled successfully"
# grab NATIVE_FIRM out of the NCCH
set ERRORMSG "NATIVE_FIRM not found.\nIs this a O3DS?"
find 1:/title/00040138/00000002/content/????????.app NATIVE_NCCH
imgmount $[NATIVE_NCCH]
verify G:/exefs/.firm
set NATIVE_FIRM $[GM9OUT]/NATIVE_FIRM.firm
cp G:/exefs/.firm $[NATIVE_FIRM]
imgumount
# Write NATIVE_FIRM to the FIRM partitions
set ERRORMSG "Sighax not uninstalled.\nNo changes written to the system."
ask "!!WARNING!!\nThis will remove sighax and\nrevert your system to stock.\n \nProceed?"
allow S:/nand.bin # same permission level for all firms
allow 1:/ # for ctrnand file removal
rm -o -s 1:/boot.firm
rm -o -s 1:/rw/luma
cp -n $[NATIVE_FIRM] S:/firm0.bin
cp -n $[NATIVE_FIRM] S:/firm1.bin