Crate libsmallworld

Crate libsmallworld 

Source
Expand description

The library that powers smallworld. Handles everything other than reading CLI arguments.

Structs§

ConvertOpeningTitleBetweenRegionsConflictStrategies
Specifies strategies for handling the types of conflicts that can occur in convert_openingtitle_between_regions().

Enums§

ConflictStrategy
Indicates how a function should proceed if it finds that it needs to merge two or more conflicting things.
ConvertOpeningTitleBetweenRegionsError
All errors that can be encountered when converting an openingTitle.arc between regions.
ParseRegionError
An error that can occur when parsing a Region from a string.
ParseU8Error
All errors that can be encountered when parsing a U8 file.
Region
All unique regions of New Super Mario Bros. Wii, using the letter names from their game codes (SMNP01, SMNE01, etc.).

Functions§

convert_openingtitle_between_regions
Read openingTitle.arc from a Seek+Read, create a version of it with filenames corrected to match the requested output regions, and write it to a Seek+Write. The Seek+Write is assumed to be initially empty.

Type Aliases§

RegionBitFlags
A BitFlags of Regions, useful for selecting regions that an openingTitle.arc should include filenames for.