Retro Reversing - Peek behind the curtain to see how your favourite video games were made. (2025)

Retro Reversing - Peek behind the curtain to see how your favourite video games were made. (1)

Nintendo Switch File Formats

Edit on Github | Updated: 5th September 2020

The Nintendo Switch development scene has introduced a lot of new file formats, some completely new and others are extensions of what had been used on the Wii and Wii U.

Full Game files come in two standard formats depending if they are game cartridges (XCI) or EShop downloads (NSP).

XCI - NX Cart Images

The XCI format was created as a way to dump entire game cartridges to a single file.

XCI files are encrypted using the firmware specific master key and so can be run on any switch, just like game cartridges 1.

Creating XCI Files

Retro Reversing - Peek behind the curtain to see how your favourite video games were made. (2)

NXDumpTool - Dump your Games to XCI

The recommended way of creating XCI files is to use the NX Dump Tool available on GitHub

You can also dump game cartridges if you are using SX OS using the homebrew app SX Dumper.

Extracting XCI files

As XCI files are just a container for individual NCA files you can extract the contents of an XCI file with a tool called hactool.

Here is an example

./hactool --outdir ./output -x -t xci yourgame.xci

This will create 4 folders in the output directory:

For more information about the extracted files see the section on NCA files.

Cutting XCI files

As XCI files are a 1:1 copy of the data stored on the eMMC chip of a game cartridge it can also contain blank space at the end of the file if the game is smaller than the eMMC chip’s capacity.

XCI-Cutter - A tool to remove unused space from XCI-Dumps

You can remove this extra space with a tool such as XCI-Cutter

XCI File Format

XCI File Format Spec

If you are interested in the internals of the file format, the site `SwitchBrew` has an excellent page with what each byte represents

NSP - Nintendo Submission Package

NSP files is the format for games downloaded from the Switch EShop, similar to .apk on Android or .app on iOS.

NSP files are encrypted using master keys and rightsId keys and are encrypted for a specific user 1.

Creating NSP Files

The recommended way of creating NSP files is to use the NX Dump Tool homebrew available on GitHub.

Retro Reversing - Peek behind the curtain to see how your favourite video games were made. (3)

NXDumpTool - Dump your Games to NSP

The recommended way of creating NSP files is to use the NX Dump Tool available on GitHub

Even although NSP is the format for Eshop games the application NX Dump Tool allows you to dump cartridges as NSP files.

These files store part of the game and are normally included inside other file formats.

NCA - Nintendo Content Archives

NCA files are compressed archives (think zip) that contain game data, normally multiple NCA files can be extracted from a single XCI or NSP file.

There are multiple types of NCA file depending on what they contain:

  • EXEFS - Executable file system (code)
  • ROMFS - Read Only file system (data)
  • PFS0 - P??? File system (data)

EXEFS (Executable filesystem partition)

ExeFS stands for Executable filesystem and is part of the largest Nintendo Content Archive (NCA) file for a game. It is a file system that contains Nintendo Switch executables known as NSO’s 2.

There are a few files contains in the executable filesystem that we will cover in this section.

If you want to mod a game to change the actual behaviour (executable code) then this is the where you start, there are also multiple ways to apply an ExeFS mod which will be covered in another section.

CNMT (Content Meta Data) (*.cnmt.nca)

CNMT files are small meta data files that are inside an XCI or NSP archive.

CNMT File Format Spec

If you are interested in the internals of the file format, the site `SwitchBrew` has an excellent page with what each byte represents

This section covers the game code which is all stored in the executable Filesystem partition or EXEFS.

NPDM (*.npdm)

The NPDM file contains information about the game for example the title and services that the game is allowed to access.

Nintendo Switch Object (NSO) Files

NSO files are compiled Nintendo Switch executable code and can only be run if they are in the EXEFS partition of the game. These are compile from source files, normally from the official Nintendo Switch Software Development Kit.

rtld (Runtime Link editor NSO executable)

Basically the runtime Link editor executable is the first code that runs when a game is started. Its job is to manage the other executable code modules (NSO files) in memory.

Runtime Link Editor (RTLD)

If you are interested in the internals of how the RTLD works, the site `SwitchBrew` has an excellent page

main (NSO executable)

There is a main NSO executable file in the EXEFS partition, this as its name suggests is where the main game code was compiled.

sdk (NSO executable)

There is a sdk executable in the EXEFS portion, this is presumably the build of the official Nintendo Switch SDK.

subsdk’s (nso executable)

It is still unclear what the sub SDK executable are, my guess would be they are dynamic libraries of code. It is possible these are optional libraries bundled with the official Switch SDK.

For example:

  • subsdk0
  • subsdk1

Archive Files

SZS (ARMS & Mario Kart)

The SZS file format is used in many of Nintendos first party games on the switch such as ARMS and actually comes from the Wii version of Mario Kart. It is an archive file that compresses game assets such as Models and Textures 3.

SZS Modifier

ChadSoft has created a tool to modify SZS files aptly called the SZS Modifier

Retro Reversing - Peek behind the curtain to see how your favourite video games were made. (2025)

FAQs

What's behind the curtain game? ›

How To Play: Have two people hold the sheet in between two even teams. To begin play, one member of each team will stand very close to the sheet. When the sheet drops, the first person to correctly call out the name of the other team's player standing on the either side of the sheet, wins the round.

What will games be like in 10 years? ›

What is the future of gaming? Gaming could become more enhanced, thanks to AI improving non-player characters, AR and VR technologies offering more engaging experiences and cloud streaming making it possible to play games on multiple platforms.

Is there a video game tracker app? ›

With Gamery, you can organize your games with collections, track your achievements, and keep up with upcoming releases with the integrated wishlist across all your devices. Import your games directly from Steam, PlayStation, and Xbox, and get a detailed overview of your gaming activities.

What is video game in simple words? ›

A video game or computer game is an electronic game that involves interaction with a user interface or input device (such as a joystick, controller, keyboard, or motion sensing device) to generate visual feedback from a display device, most commonly shown in a video format on a television set, computer monitor, flat- ...

What's behind the curtain meaning? ›

This phrase 'behind the curtain' is a colloquialism that means to give away the elements that usually remain secret. The aspects of a business that nobody knows about that are guarded so secretly. Instead of hoarding them, tell customers how you do what you do.

What is the curtain behind the curtain called? ›

Masking curtains are used to conceal rigging, lighting equipment, and hardware from the audience. Side curtains, borders, and legs are all types of masking curtains. “Side curtains”, “back curtains”, or “rear setting curtains” describe any curtains that are behind the grand drape.

What game took 15 years to make? ›

Duke Nukem Forever began development under 3D Realms and underwent a severely protracted development that lasted more than 15 years. Announced in 1997 following the success of Duke Nukem 3D, it was delayed several times, which was attributed to engine changes, understaffing, and a lack of a development plan.

What game will come out in 2024? ›

2024 is set to be another fantastic year for video games. For example, Nintendo is releasing a brand-new Princess Peach game; Dragon's Dogma is finally getting a sequel; the next part of the acclaimed Final Fantasy 7 remake is coming out; Star Wars is getting another major release; and that just scratches the surface.

What is the longest going game? ›

Titles
RankFranchiseLatest release
1Space InvadersSpace Invaders: World Defense July 18, 2023
2The Oregon TrailThe Oregon Trail April 2, 2021
3MarioPrincess Peach: Showtime! March 22, 2024
4Donkey KongMario vs. Donkey Kong February 16, 2024
52 more rows

What does GG mean in game? ›

GG, short for a good game, is slang used in the gaming community. GG is often used as a sign of respect and acknowledgment that the opponent has played well. GG can also be used as a form of congratulations to the opponent who has won.

What does gg mean in Roblox? ›

In the ever-evolving digital playground of Roblox, lingo and slang develop rapidly. One term, however, transcends games, platforms, and even generations. ‍ That term is "GG" which stands for "Good Game". If you've played online games or spent any time in the Roblox community, you've likely encountered this acronym.

What is the #1 most popular video game? ›

What is the best-selling video game of all time. Minecraft is the best-selling game of all time, with over 300 million copies sold and 172,130,556 active players.

What is the number one game right now? ›

Start exploring game-level data with Newzoo
Game titlePublisher
1.MinecraftMojang Studios
2.ROBLOXRoblox
3.FortniteEpic Games
4.Counter-Strike 2 & GOValve
16 more rows

How does gaming affect the brain? ›

“Like stimulants, video gaming can increase gray matter in the brain,” says Dr. Manos. “Gray matter provides interconnectivity and allows parts of your brain to communicate with other parts of your brain and advance your self-perception.”

What is the man behind the curtain? ›

One of the iconic charterers in the film is the Wizard himself, the Man Behind the Curtain. Dorothy was in need of a champion, someone who had the power to help her get to her home. Toto pulls back the curtain revealing the Wizard to be a fraud, all smoke and mirrors and no real power.

What is the quote behind the curtain? ›

Pay no attention to the man behind the curtain,” we say while we hide the parts of ourselves that we think might be displeasing behind the curtain.

What is the point of curtains? ›

Curtains are a form of window decor and complete the overall appearance of the interior of the house. Curtains help control the ambiance and flow of natural light into the room. The effect of drapery or curtains is best seen in daylight, and with proper indoor light positioning, can look attractive even at night.

What is the point of see through curtains? ›

Sheer curtains provide a softening of harsh sunlight but still allow plenty of light into the room, unlike solid curtains which may block too much light, making a room feel dark and unwelcoming. Sheer curtains let in the light.

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Jonah Leffler

Last Updated:

Views: 5904

Rating: 4.4 / 5 (65 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Jonah Leffler

Birthday: 1997-10-27

Address: 8987 Kieth Ports, Luettgenland, CT 54657-9808

Phone: +2611128251586

Job: Mining Supervisor

Hobby: Worldbuilding, Electronics, Amateur radio, Skiing, Cycling, Jogging, Taxidermy

Introduction: My name is Jonah Leffler, I am a determined, faithful, outstanding, inexpensive, cheerful, determined, smiling person who loves writing and wants to share my knowledge and understanding with you.