Jazz2::Compatibility::JJ2Data class

Parses original .j2d data files.

Opens an original game data archive (.j2d), exposing its embedded items, and either extracts them verbatim or converts the recognized ones (such as the SFX list and menu images) into the engine's .pak format.

Public types

struct Item
Item from a .j2d data file.

Constructors, destructors, conversion operators

JJ2Data()
Creates a new instance.

Public functions

auto Open(StringView path, bool strictParser) -> bool
Opens and parses the specified .j2d data file.
void Extract(StringView targetPath)
Extracts all items to the specified target path.
void Convert(PakWriter& pakWriter, JJ2Version version)
Converts the data file and writes the result to a .pak file.

Public variables

SmallVector<Item, 0> Items
List of parsed items.