From 2581ea591f4072a4904c6a15955ab4660526e71f Mon Sep 17 00:00:00 2001 From: Pk11 Date: Thu, 31 Dec 2020 00:36:05 -0600 Subject: [PATCH] Add 3DS forwarders page --- _includes/common-js.html | 4 + assets/css/dark.scss | 1 + assets/css/light.scss | 1 + assets/css/style.scss | 13 +++ assets/js/tabs.js | 52 +++++++++ pages/_en-US/ds-index/3ds-forwarders.md | 140 ++++++++++++++++++++++++ pages/_en-US/ds-index/dsi-twl-firm.md | 1 + pages/_en-US/ds-index/hardmod.md | 1 + pages/_en-US/ds-index/homebrew.md | 1 + pages/_en-US/ds-index/retail-roms.md | 1 + pages/_en-US/ds-index/wifi.md | 1 + 11 files changed, 216 insertions(+) create mode 100644 assets/js/tabs.js create mode 100644 pages/_en-US/ds-index/3ds-forwarders.md diff --git a/_includes/common-js.html b/_includes/common-js.html index 3620bc58..e5181b50 100644 --- a/_includes/common-js.html +++ b/_includes/common-js.html @@ -1,2 +1,6 @@ + +{% if content contains "tab-container" %} + +{% endif %} diff --git a/assets/css/dark.scss b/assets/css/dark.scss index 35fb2d6b..4a3aba43 100755 --- a/assets/css/dark.scss +++ b/assets/css/dark.scss @@ -18,6 +18,7 @@ --kbd-bg: #666; --kbd-border: #444; --alert-secondary-border: #2f2f2f; + --details-bg: #3f3f3f; // Cards --card-background: #444; diff --git a/assets/css/light.scss b/assets/css/light.scss index 8806cf6b..4f1d1f65 100755 --- a/assets/css/light.scss +++ b/assets/css/light.scss @@ -18,6 +18,7 @@ --kbd-bg: #fafafa; --kbd-border: #ddd; --alert-secondary-border: #bbb; + --details-bg: #f9f9f9; // Cards --card-background: var(--main-bg); diff --git a/assets/css/style.scss b/assets/css/style.scss index 852ab464..8629569e 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -45,6 +45,7 @@ code { background-color: var(--code-bg); padding: 3px; border-radius: 0.25rem; + white-space: nowrap; } // .a is for making other things look like s @@ -375,6 +376,18 @@ kbd.face { direction: rtl; } +// Details +:not(li) > details { + margin-bottom: 1rem; +} + +.details-content { + background-color: var(--details-bg); + margin-left: 1rem; + padding: 0.5rem; + border-radius: 0.5rem; +} + @media only screen and (min-width: 576px) { // Version of .position-absolute that only triggers for sm+ .position-absolute-sm { diff --git a/assets/js/tabs.js b/assets/js/tabs.js new file mode 100644 index 00000000..ac906474 --- /dev/null +++ b/assets/js/tabs.js @@ -0,0 +1,52 @@ +function openTab(event, tabName) { + for(let element of event.currentTarget.parentNode.parentNode.children) { + if (element.id.includes("tab")) { + element.style.display = "none"; + } + } + + for(let element of event.currentTarget.parentNode.children) { + element.classList.remove("btn-secondary"); + element.classList.add("btn-outline-secondary"); + } + + document.getElementById(tabName).style.display = "block"; + event.currentTarget.classList.remove("btn-outline-secondary"); + event.currentTarget.classList.add("btn-secondary"); +} + +// Remove links from tab buttons +for(a of document.getElementsByClassName("tab-link")) { + a.href = "javascript:void(0);"; +} + +// Open the tabs for the current OS or the default +for(let tabGroup of document.getElementsByClassName("tab-container")) { + for(let tab of tabGroup.children[0].children) { + if(tabGroup.classList.contains("tab-os")) { + if(navigator.platform.includes("Win")) { + if(tab.classList.contains("tab-windows")) { + tab.click(); + break; + } else if(tab.classList.contains("other")) { + tab.click(); + } + } else if(navigator.platform.includes("Mac")) { + if(tab.classList.contains("tab-macos")) { + tab.click(); + break; + } else if(tab.classList.contains("other")) { + tab.click(); + } + } else { + if(tab.classList.contains("tab-other")) { + tab.click(); + break; + } + } + } else if(tab.classList.contains("tab-default")) { + tab.click(); + break; + } + } +} diff --git a/pages/_en-US/ds-index/3ds-forwarders.md b/pages/_en-US/ds-index/3ds-forwarders.md new file mode 100644 index 00000000..d6d7390f --- /dev/null +++ b/pages/_en-US/ds-index/3ds-forwarders.md @@ -0,0 +1,140 @@ +--- +lang: en-US +layout: wiki +section: ds-index +title: DS game forwarders (3DS) +category: Guides +description: How to create CIA forwarders to have your DS games on your 3DS's home menu +--- + +### Requirements + +3DS: +- [Luma3DS](https://github.com/lumateam/luma3ds/releases), or any other CFW that patches TWL_NAND +- [FBI](https://github.com/Steveice10/FBI/releases) to install CIA files +- (Optional) A supported DS flashcard + +{% capture flashcards %} +The recommended flashcards are the DSTT and Acekard 2i. If you want perfect game compatibility, get the SuperCard DSTWO / DSTWO PLUS. The only downside is that it drains your system battery faster. + +If you have a flashcard that works with Apache Thunder's NTR Launcher, feel free to request it [on the GBAtemp thread](https://gbatemp.net/threads/nds-forwarder-cias-for-your-home-menu.426174/). Be sure to specify which build you're using (Normal or Alt), and if `RESETSLOT1` is set to `0` or `1` in `sd:/nds/ntr_launcher.ini`. + +Compatible: +- [Acekard 2(i)](http://www.nds-card.com/ProShow.asp?ProID=160) (DSi-Enhanced games, including newer NTR games, don't work.) +- [Acekard RPG](http://wiki.gbatemp.net/wiki/Acekard_RPG) +- [DSTT](http://www.nds-card.com/ProShow.asp?ProID=157) +- [DSTT Advance](http://kaze-tado.way-nifty.com/moo/images/2008/11/19/200811202.jpg) +- Galaxy Eagle +- M3 DS Real +- [M3 DS Simply](https://farm2.static.flickr.com/1333/752793411_d91b182eb7.jpg) (uses <2GB microSD card) +- [R4 DS](http://www.nds-card.com/ProShow.asp?ProID=141) (Original Non-SDHC version, uses <2GB microSD card) +- [R4 SDHC Snoopy](http://www.nds-card.com/ProShow.asp?ProID=567) +- [R4 SDHC RTS LITE](http://www.nds-card.com/ProShow.asp?ProID=450) ([www.r4isdhc.com](http://www.r4isdhc.com/)) +- R4 SDHC Upgrade ([www.r4i-sdhc.com](http://www.r4i-sdhc.com/)) +- [R4i3D](http://www.3ds-cart.com/en/other-flashcarts/35-r4i3d-revolution-cart-for-3ds-dsi-dsl-ds.html) ([www.r4i3d.com](http://www.r4i-sdhc.com/)) +- [R4iDSN](http://3ds-flashcard.com/home/28-r4idsn-3ds.html) +- [R4i Gold](http://www.nds-card.com/ProShow.asp?ProID=330) +- [R4i Gold RTS](http://www.nds-card.com/ProShow.asp?ProID=149) ([www.r4ids.cn](http://www.r4ids.cn/)) +- [R4i-SDHC](http://www.nds-card.com/ProShow.asp?ProID=146) ([www.r4i-sdhc.com](http://www.r4i-sdhc.com)) (Normal and RTS versions) +- R4iTT ([www.r4itt.net](http://www.r4itt.net/)) (Purple card may be incompatible) +- [SuperCard DSONE](http://wiki.gbatemp.net/wiki/SuperCard_DSONEi) +- [SuperCard DSTWO](http://www.nds-card.com/ProShow.asp?ProID=135) (Normal and Plus versions) + +Untested: +- R4i3D NEW (Use R4iDSN template and pack) + +Partially compatible: +- Ace 3DS+ (Game compatibility is bad, so saving/loading save file results in crashing.) +- Gateway Blue Card (Game compatibility is bad, so saving/loading save file results in crashing.) +- EX4DS (Game compatibility is bad, so saving/loading save file results in crashing.) +- R4iLS (Game compatibility is bad, so saving/loading save file results in crashing.) +- Cards with [www.r4isdhc.com.cn](http://www.r4isdhc.com.cn/) (Game compatibility is bad, so saving/loading save file results in crashing.) + +Incompatible: +- CycloDS (i)Evolution (Can autoboot ROMs, but it works differently than other flashcards.) +- (i)Edge (Unable to autoboot a .nds ROM) +- R4 Gold Pro ([www.r4i-gold.com](http://www.r4i-gold.com)/[www.r4i-gold.me](http://www.r4i-gold.me)) (YSMenu (not the forwarder process) bricks the card) +- R4i3D (2012) +- R4 Infinity Dual Core +- R4 SDHC +- R4 SDHC Dual-Core ([www.r4isdhc.com](http://www.r4isdhc.com/)) (YSMenu (not the forwarder process) bricks the card) +{% endcapture %} + +
+ Supported flashcards +
+ {{ flashcards | markdownify }} +
+
+ +PC: +- A 64 bit OS +- [Forwarder3-DS](https://www.dropbox.com/s/b9de5ii6vm3dxfn/Forwarder3DS-v2.9.6.zip?dl=0) +- Java 8 Update 251 +- **Linux users:** JavaFX + +### Part 1: Getting Started +{% capture tab-sd-card %} +1. Download the [SD card forwarder pack](https://www.dropbox.com/s/k5uaa4jzbtkgm0z/DS%20Game%20Forwarder%20pack%20%283DS%20SD%20Card%29.7z?dl=0) +1. Extract the contents of the `for SD card root` folder to the root of your 3DS's SD card + +After you extract the pack, you can edit `sd:/_nds/nds-bootstrap.ini` and change the settings: +- `BOOST_CPU`: If set to 1, TWL clock speed is used, so lags begone +- `SOUND_FREQ`: If set to 1, sound will play at 48khz, instead of 32khz +{% endcapture%} + +{% capture tab-flashcard %} +1. Download one of these packs: + - [Original R4/M3 Simply](https://www.dropbox.com/s/juxzri7h8bttunh/DS%20Game%20Forwarder%20pack%20%28Original%20R4%2C%20M3%20Simply%29.7z?dl=0) + - [Acekard 2(i)/M3DS Real](https://www.dropbox.com/s/5elogf885sd62hu/DS%20Game%20Forwarder%20pack%20%28M3DS%20Real%29.7z?dl=0) + - [DSTT / R4i Gold / R4i-SDHC / R4 SDHC Upgrade / SC DSONE](https://www.dropbox.com/s/xxfmvikwmnvsu63/DS%20Game%20Forwarder%20pack%20%28DSTT%2C%20R4i%20Gold%2C%20R4i-SDHC%2C%20SC%20DSONE%29.7z?dl=0) + - [Acekard RPG](https://drive.google.com/file/d/0B2_1xHkEp2_6OHVuZEJwU1BKbEU/view?usp=sharing) + - [R4iDSN / R4i Gold RTS / R4i Gold 3DS Plus](https://www.dropbox.com/s/j8nquh073k9y0h7/DS%20Game%20Forwarder%20pack%20%28R4iDSN%2C%20R4i%20Gold%20RTS%29.7z?dl=0) + - [Ace 3DS+/Gateway Blue Card/R4iLS/R4iTT](https://www.dropbox.com/s/fd7dzhn8burcq02/DS%20Game%20Forwarder%20pack%20%28Ace3DS%2C%20GW%20Blue%20Card%2C%20R4iTT%29.7z?dl=0) + - [SC DSTWO](https://www.dropbox.com/s/pyyg0vq8b0nmhqd/DS%20Game%20Forwarder%20pack%20%28SC%20DSTWO%29.7z?dl=0) + +1. Extract the contents of the `for Slot-1 microSD` folder to the root of your flashcard's microSD card, and (if the folder exists) the contents of the `for 3DS SD card` folder to the root of your 3DS's SD card. + +After you extract the pack for your card, you can edit `sd:/nds/ntr_forwarder.ini` to change the settings. This isn't possible for Acekard RPG, R4 DS, and R4i Gold RTS. +- `NTRCLOCK`: If set to `0` or A is held, the DSi boot screen will appear instead of the normal DS splash, and TWL clock speed is used, so lags begone +- `DISABLEANIMATION`: If set to `1` or B is held, the DS / DSi boot screen is skipped +- `HEALTHSAFETYMSG`: If set to `1`, the boot screen's health and safety message will appear on the bottom screen, otherwise the bottom screen stays white with no health and safety message +{% endcapture %} + +
+ +
+ + {{ tab-sd-card | markdownify }} +
+
+ + {{ tab-flashcard | markdownify }} +
+
+ +### Part 2: Getting the AP fix files from TWiLight Menu++ +If you already have TWiLight Menu++, skip to the next section. +1. Download the latest `TWiLightMenu-3DS.7z` from the [release page](https://github.com/DS-Homebrew/TWiLightMenu/releases) +1. In the 7z file, go to `_nds/TWiLightMenu/` +1. Copy the `apfix` folder to `sd:/_nds/ntr-forwarder/` on your 3DS's SD card + +### Part 3: Forwarder3-DS +1. Open `Forwarder3DS.jar` + - If it doesn't open, make a new text file in the same folder as Forwarder3DS.jar containing `java -jar Forwarder3DS.jar` and save it as `Forwarder3DS.bat` and run that (make sure there is no `.txt` at the end) +1. Set your card as the `Target` on the left + - **NOTE:** If you don't see a list of cards, download [this zip](https://github.com/Olmectron/olmectron.github.io/archive/master.zip), and put the `forwarders` folder in the same folder as Forwarder3DS.jar, then rename it to `.forwarders` +1. Enable `Automatically set ROM path` + - **Linux users:** The automatic path is incorrect since it includes the entire path (e.g. /media/$USER/something/), please remove that part + - **MacOS users:** The automatic path is incorrect since it includes `/Volumes/(cardname)/` at the start, please remove that part +1. Click the folder in the top right and select the ROMs you want to make forwarders for or drag and drop them onto the window + - **NOTE:** The ROMs must already be on your SD card when selecting them, and can't be moved without recreating the forwarders + - **SD card users:** If your save file is in the same folder as the ROM, move it to a folder called `saves`, with the `saves` folder being in the same place as the ROMs +1. If you're playing a hack / translation of a DSi-Enhanced game that has it's banner / title edited, find the banner for the game from [here](https://www.dropbox.com/sh/igr47pr0q5bh4p5/AAA9Dy8VOGfBLUA6KdLDSDW-a?dl=0), right click on the game in Forwarder3-DS, click `Import banner`, and click on the banner to use +1. If using a homebrew ROM, click on it, then clear the `Game title` and type the game's title +1. Click the floppy disk button to generate the forwarder CIA(s) +1. Copy the CIA(s) to your 3DS's SD card, then install them using FBI + - If using EmuNAND, install to both SysNAND and EmuNAND diff --git a/pages/_en-US/ds-index/dsi-twl-firm.md b/pages/_en-US/ds-index/dsi-twl-firm.md index eb02a124..353057b5 100644 --- a/pages/_en-US/ds-index/dsi-twl-firm.md +++ b/pages/_en-US/ds-index/dsi-twl-firm.md @@ -3,6 +3,7 @@ lang: en-US layout: wiki section: ds-index title: Nintendo DSi / Nintendo 3DS TWL_FIRM +category: Reference description: An explanation of all things DS modding --- diff --git a/pages/_en-US/ds-index/hardmod.md b/pages/_en-US/ds-index/hardmod.md index 8295fab0..021ed5ea 100644 --- a/pages/_en-US/ds-index/hardmod.md +++ b/pages/_en-US/ds-index/hardmod.md @@ -3,6 +3,7 @@ lang: en-US layout: wiki section: ds-index title: Hardmod +category: Guides description: An explanation of all things DS modding --- diff --git a/pages/_en-US/ds-index/homebrew.md b/pages/_en-US/ds-index/homebrew.md index 7dba7a89..9cc2a87f 100644 --- a/pages/_en-US/ds-index/homebrew.md +++ b/pages/_en-US/ds-index/homebrew.md @@ -3,6 +3,7 @@ lang: en-US layout: wiki section: ds-index title: Homebrew +category: Reference description: An explanation of all things DS modding --- diff --git a/pages/_en-US/ds-index/retail-roms.md b/pages/_en-US/ds-index/retail-roms.md index 1a5ef785..ad901a42 100644 --- a/pages/_en-US/ds-index/retail-roms.md +++ b/pages/_en-US/ds-index/retail-roms.md @@ -3,6 +3,7 @@ lang: en-US layout: wiki section: ds-index title: Retail ROMs +category: Reference description: An explanation of all things DS modding --- diff --git a/pages/_en-US/ds-index/wifi.md b/pages/_en-US/ds-index/wifi.md index 08277195..81f0342e 100644 --- a/pages/_en-US/ds-index/wifi.md +++ b/pages/_en-US/ds-index/wifi.md @@ -3,6 +3,7 @@ lang: en-US layout: wiki section: ds-index title: Wi-Fi +category: Reference description: An explanation of all things DS modding ---