Skip to content

CMahk/read_swsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1a54a75 · Feb 8, 2022

History

17 Commits
Jun 18, 2021
Aug 24, 2020
Feb 8, 2022
Jun 18, 2021

Repository files navigation

read_swsh

License

A script based on kwsch's pkNX project, specifically ported from Structures/Text/TextFile.cs.

read_swsh reads the encoded data from gen 8 Pokémon games. The script returns the table's labels, the label's FNV1_64 hash, and the label's flavor text.

More information about what goes on in the background can be found here.

Example file output from Pokémon Sword's zukan_comment_A table: Main Window

Features

Supports:

  • Pokémon Sword
  • Pokémon Shield
  • Pokémon Let's Go, Pikachu!
  • Pokémon Let's Go, Eevee!
  • Pokémon Legends: Arceus

You will need the supported game's .dat and .tbl files, which are found in their decompressed RomFS.

The files will be found in the RomFS directory: bin > message > language > common

Do note that not all of the flatbuffer delimiters and variables are supported, so some of the table entries will have garbage output.

This script mostly focuses on the zukan_comment_A and zukan_comment_B tables, but some of the other tables will also decompress just fine.

Dependencies

This script requires at least Python 3 to run

About

A script based on kwsch's project, pkNX

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages