User Tools

Table of Contents

In Paper Mario: The Thousand-Year Door's root file structure, the game's text and dialogue is stored in root/msg with a subfolder.


The exact name of the $C folder varies by region, such as US for the NA version of the game and uses a country code instead. Inside of it are .txt files, which store normal text along with XML tags to signify special effects in text.

Default notepad can technically open the .txt files but they will appear scrambled and broken if opened with notepad. English and other languages are stored in pure ASCII while Japanese and non-Latin languages get stored in 2Byte unicode.

XML Tags

  • <wait> causes a temporary pause
  • <dynamic> makes the textbox move onto the bottom from the top of the screen
  • <wave> dialogue waves about in small circles
  • <k> pause until A is pressed
  • <p> automatically scroll the text upward
  • <icon> display a small image, typically buttons for tutorials
  • <col> text-color (RGBA format)
  • <NUM> number of coins
  • <ITEM> item name
  • <s> unknown usage
  • <AN> displays “a” or “an” depending on grammatical context
  • <system> blue textbox and a short tone SFX
  • <o> unknown usage
  • <dkey> unknown usage
  • <shake> text moves erratically
  • <housou> mechanical textbox
  • <tec> TEC-XX's textbox
  • <diary> “ripped paper” textbox
  • <scale> fontsize
  • <wpos> unknown usage
  • <S> displays “s” or nothing depending on grammatical context
  • <small> small textbox
  • <select> choices (i.e, yes/no)
  • <keyxon> advance text with x button
  • <kanban> wooden sign background
  • <speed> individual text letter speed
  • <boss> Hooktail's textbox
  • <se> unknown usage
  • <majo> Shadow Queen's textbox
  • <anim> unknown usage
  • <!> commenting
  • <plate> Rogueport notice-board textbox
  • <pos> sets text to specified x/y/z position in textbox
  • <AN_ITEM> combines usages of <AN> and <ITEM>

.txt files

  • aaa (Mario Bros.' House, and prologue or “pro”)
  • aji (X-Naut Fortress) (“stg7”)
  • bom (Fahr Outpost) (“stg7”)
  • dmo (Opening Demo) (“op_book” + “op”)
  • dou (Pirate's Grotto) (“stg5”)
  • eki (Riverside Station, interior) (“stg6”)
  • end (Staff Credits)
  • global (Menus, tattles, and mail)
  • gon (Hooktail Castle) (“stg1”)
  • gor (Rogueport)
  • gra (Twilight Trail) (“stg4”)
  • hei (Petal Meadows) (“stg1”)
  • hom (Riverside Station, exterior) (“stg6”)
  • jin (Creepy Steeple) (“stg4”)
  • jon (Pit of 100 Trials)
  • kpa (Bowser)
  • las (Palace of Shadow) (“stg8”)
  • moo (The Moon) (“stg7”)
  • mri (The Great Boggly Tree) (“stg2”)
  • muj (Keelhaul Key) (“stg5”), also includes all dialogue at sea
  • nok (Petalburg) (“stg1”)
  • pik (Poshley Heights + Poshley Sanctum) (“stg6”)
  • rsh (Excess Express) (“stg6”)
  • tik (Rogueport Sewers)
  • tou (Glitzville + Glitz Pit) (“stg3”)
  • usu (Twilight Town) (“stg4”)
  • win (Boggly Woods + Flurrie's House) (“stg2”)
  • yuu (Pianta Parlor)