A Look At How Nintendo Mastered Dual Screens

When it was first announced, many people were skeptical of the Nintendo DS. Rather than pushing raw power, the unique dual screen handheld was designed to explore new styles of play. Compared to the more traditional handhelds like the Game Boy Advance (GBA) or even Sony’s PlayStation Portable (PSP), the DS seemed like huge gamble for the Japanese gaming giant.

But it paid off. The Nintendo DS ended up being one of the most successful gaming platforms of all time, and as [Modern Vintage Gamer] explains in a recent video, at least part of that was due to its surprising graphical prowess. While it was technically inferior to the PSP in almost every way, Nintendo’s decades of experience in pushing the limits of 2D graphics allowed them to squeeze more out of the hardware than many would have thought possible.

On one level, the Nintendo DS could be seen as a upgraded GBA. Developers who were already used to the 2D capabilities of that system would feel right at home when they made the switch to the DS. As with previous 2D consoles, the DS had several screen modes complete with hardware-accelerated support for moving, scaling, rotating, and reflecting up to four background layers. This made it easy and computationally efficient to pull off pseudo-3D effects such as having multiple backdrop images scrolling by at different speeds to convey a sense of depth.

On top of its GBA-inherited tile and sprite 2D engine, the DS also featured a rudimentary GPU responsible for handling 3D geometry and rendering. Hardware accelerated 3D could only used on one screen at a time, which meant most games would keep the closeup view of the action on one display, and used the second panel to show 2D imagery such as an overhead map. But developers did have the option of flipping between the displays on each frame to render 3D on both panels at a reduced frame rate. The hardware can also handle shadows and included integrated support for cell shading, which was a particularly popular graphical effect at the time.

By combining the 2D and 3D hardware capabilities of the Nintendo DS onto a single screen, developers could produce complex graphical effects. [Modern Vintage Gamer] uses the example of New Super Mario Bros, which places a detailed 3D model of Mario over several layers of moving 2D bitmaps. Ultimately the 3D capabilities of the DS were hindered by the limited resolution of its 256 x 192 LCD panels; but considering most people were still using flip phones when the DS came out, it was impressive for the time.

Compared to the Game Boy Advance, or even the original “brick” Game Boy, it doesn’t seem like hackers have had much luck coming up with ways to exploiting the capabilities of the Nintendo DS. But perhaps with more detailed retrospectives like this, the community will be inspired to take another look at this unique entry in gaming history.

Continue reading “A Look At How Nintendo Mastered Dual Screens” →

3D Print That Charging Dock For Your 3DS

The Switch is the new hotness and everyone wants Nintendo’s new portable gaming rig nestled in a dock next to their TV, but what about Nintendo’s other portable gaming system? Yes, the New Nintendo 3DS can get a charging dock, and you can 3D print it with swappable plates that make it look like something straight out of the Nintendo store.

[Hobby Hoarder] created this charging dock for the New Nintendo 3DS as a 3D printing project, with the goal of having everything printable without supports, and able to be constructed without any special tools. Printing a box is easy enough, but the real trick is how to charge the 3DS without any special tools. For this, [Hobby Hoarder] turned to the small charging contacts on the side of the console. All you do is apply power and ground to these contacts, and the 3DS charges.

Normally, adding contacts requires pogo pins or hilariously expensive connectors, but [Hobby Hoarder] has an interesting solution: just add some metal contacts constructed from LED leads or paper clips, and mount it on a spring-loaded slider. A regular ‘ol USB cable is scavenged, the wires stripped, and the red and black lines are attached to the spring-loaded slider.

There is a slight issue with the charging voltage in this setup; the 3DS charges at 4.6 Volts, and USB provides 5 Volts. If you want to keep everything within exacting specs, you could add an LDO linear regulator, but there might be issues with heat dissipation. You could use a buck converter, but at 0.4 Volts, you’re probably better off going with the ‘aaay yolo’ theory of engineering.

[Hobby Hoarder] produced a few great videos detailing this build, and one awesome video detailing how to print multicolored faceplates for this charging dock. It’s an excellent project, and a great example of what can be done with 3D printing and simple tools.

Continue reading “3D Print That Charging Dock For Your 3DS” →

Gaming System Built With Kite, The DIY Android Kit

As a gamer, [Lexie Dostal] dreamed of a smartphone that was a viable gaming platform: something with enough power to run the games and emulators he was interested in, with the controls to make playing them feel natural. So when he got his hands on an early version of Kite, the modular open hardware platform designed to be hacked and customized, that’s exactly what he decided to build. The Kite kit would provide the touch screen and Android-equipped motherboard, he just needed to design a case and integrate controls to make it a real gaming device.

The case design [Lexie] came up with is inspired by the bottom half of the Nintendo 3DS, and ended up only a few centimeters wider than the stock case from the Kite kit. Unfortunately, his delta 3D printer wasn’t large enough to fit the device’s case, so he ended up having to break it into five separate pieces and glue them together. With the case in one piece he worked his way from 220 to 400 grit sand paper, filling any voids in the print with glue as he went. A few coats of primer, more sanding, and a final matte texture spray give the final case a very professional-looking finish.

Not only was the Nintendo 3DS an inspiration for the device, it was also a donor for some of the parts. The directional pad, analog “nub”, and buttons are replacement 3DS hardware, which is interfaced to the KiteBoard with an Arduino Nano. When he couldn’t find springs small enough to use for the shoulder buttons, he bought some thin music wire and wound them himself. Talk about attention to detail.

There’s quite a bit of gear packed into the case, but [Lexie] thinks there’s probably still room to make some improvements. He could free up some room by dropping the connectors and soldering everything directly, and says he’d like to come up with a custom PCB to better interface with the 3DS’s hardware to cut down on some of the wiring required. With the extra room he thinks the battery, currently a 3200 mAh pack designed for the LG V20 smartphone, could probably be replaced with something even bigger.

Readers may recall that the Kite is currently in the running for the 2018 Hackaday prize. Seeing Kite already delivering on the promise of making it easier to develop powerful Android devices is very exciting, and we can’t wait to see what else hackers will be able to do with it.

Creating New Nintendo 3DS Hardware

For the last five years or so, Nintendo has been selling the 3DS, the latest in a long line of handheld consoles. Around two years ago, Nintendo announced the New Nintendo 3DS, with a faster processor and a few other refinements. The new 3DS comes in two sizes: normal and XL. You can buy the XL version anywhere in the world, but Nintendo fans in North America cannot buy the normal version.

[Stephen] didn’t want the jumbo-sized New 3DS XL, both because it’s too large for his pockets, and because there are no fancy cases for the XL. His solution? Creating a US non-XL 3DS with god-like soldering skills.

In manufacturing the XL and non-XL versions of the 3DS, Nintendo didn’t change much on the PCBs. Sure, the enclosure is different, but electronically there are really only two changes: the eMMC storage and the Nintendo processor. 3DS are region-locked, so simply swapping out the boards from a normal 3DS to an XL 3DS wouldn’t work; [Stephen] would also like to play US games on his modded console. That leaves only one option: desoldering two chips from a US XL and placing them on the board from a Japanese 3DS.

With a board preheater and heat gun, [Stephen] was able to desolder the eMMC chip off both boards. Of course this meant the BGA balls were completely destroyed in the process, which means reballing the package with solder bits only 0.3mm in diameter. With the US eMMC transplanted to the Japanese board, [Stephen] ended up with an error message that suggested the processor was reading the memory. Progress, at least.

[Stephen] then moved on to the processor. This was a nightmare of a 512 pin BGA package, with 512 pins that needed a tiny dot of solder placed on them. Here, sanity gave way and [Stephen] called up a local board and assembly house. They agreed to solder the chip onto the board and do an x-ray inspection. With the professional rework done, [Stephen] assembled his new US non-XL 3DS, and everything worked. It’s the only one in the world, and given the effort required to make these mods, we’re expecting it to remain the only one for a very long time.

Running Nintendo DS Unsigned Code With Audio

Even if you haven’t ripped off the top screen of your original DS to create an even better Game Boy Advance yet, there still might be some life left in that old bit of hardware. [Smea] is running unsigned code on the Nintendo DS, using only a bargain-bin game and an audio file.

The exploit this time comes in a form that might be familiar to anyone who has ever installed the homebrew channel on a Wii. Like SmashStack, this exploit uses a level editor/transfer feature in a game, this time with a 6 year old DS game Bangai-O Spirits.

[smea] is using the sound-based level transfer feature to load unsigned code into the DS. This level-transfer feature works by sending a single period sine wave at 1024Hz with a given amplitude; a binary 1 is a few dB louder than a binary 0, and with a buffer overrun it’s possible to load code into a DS and jump into that code. There’s no redundancy, error correction, and is not the thing you want when loading unsigned code onto a DS. It does, however, work.

The code to generate the audio payload for this exploit is available on github and if you have a copy of Bangai-O Spirits, you can try it out for yourself by playing this file (headphone warning).

Thanks [gudenau] for the tip

Continue reading “Running Nintendo DS Unsigned Code With Audio” →

3DS Homebrew Channel And Custom Firmware

Nintendo has always been very wary about allowing independent and homebrew developers making games for their consoles, and the 3DS is no exception. It’s locked down, and a few 3DS and console hackers have spent years searching for a method that will easily allow anyone to run unsigned code. That day is finally here. The exploit is called NINJHAX, and it allows anyone to install the Homebrew Channel, the repository for everything awesome in the world of 3DS homebrew development.

The latest exploit relies on a bit of code in a retail game – Cubic Ninja – to run unsigned code. This game includes a level editor that allows players to share different levels by QR codes and 3DS’ camera. By carefully crafting one of these QR codes, the 3DS gains the ability to run the Homebrew Channel

If this exploit sounds familiar, you’re right. The most common way to open up a Wii for homebrew development is Smash Stack, an exploit found in Super Smash Bros. Brawl. This exploit also works by modifying custom stages, and opened the door to a wealth of homebrew development for the Wii.

In the video below, [smea] shows off his exploit by starting Cubic Ninja, going to the QR code level editor, then loading up homebrew games. A copy of the game that enables this exploit, Cubic Ninja, is required for this exploit. Last week, you could buy Cubic Ninja for a few dollars on eBay and Amazon. Today, the price has settled around $50, with a few very dumb or very eager people paying up to $300. If you already have the game, you’ll only need to get the homebrew starter kit, generate a QR code, and start installing unsigned code. All the instructions are available on [smeal]’s site.

Continue reading “3DS Homebrew Channel And Custom Firmware” →

Hair Thin Wires Save A 3DS From The Landfill

Broken Nintendo 3DS

[Anton] recently acquired a broken Nintendo 3DS. When the power button was pressed, the device would start booting up only to shut back down after flashing a blue light and making a popping sound. It turns out this problem is pretty common with the 3DS.

[Anton] could have tossed this device into the landfill, but where’s the fun in that?  Instead, he cracked the device open like any self-respecting hacker would. It didn’t take him long to discover two broken flex ribbon cables. [Anton] could have then searched for replacement cables, but his inner hacker told him he could repair this himself. He carefully scraped the insulation off of the broken traces and then soldered on some hair thin wires to bridge the gap.

All that was left to do was to glue the wires securely in place and feed them back through the hinges. This project is a great example of how a little determination and know-how can keep a useful device from the landfill. If you attempt this repair yourself, you may find this 3DS teardown to be a helpful reference. What devices have you been able to save from an untimely demise?